Mercurial > emacs
comparison etc/NEWS @ 51215:7cb8c4e0b650
New per-window fringe and scroll-bar settings.
author | Kim F. Storm <storm@cua.dk> |
---|---|
date | Sat, 24 May 2003 23:54:43 +0000 |
parents | 3dd4104b45b6 |
children | 083c1ba5b1d9 |
comparison
equal
deleted
inserted
replaced
51214:4011d3fb2912 | 51215:7cb8c4e0b650 |
---|---|
85 --- | 85 --- |
86 ** A French translation of the Emacs Tutorial is available. | 86 ** A French translation of the Emacs Tutorial is available. |
87 | 87 |
88 | 88 |
89 * Changes in Emacs 21.4 | 89 * Changes in Emacs 21.4 |
90 | |
91 ** When display margins are present in a window, the fringes are now | |
92 displayed between the margins and the buffer's text area, rather than | |
93 at the edges of the window. | |
94 | |
95 ** A windows may now have individual fringe and scroll-bar settings, | |
96 in addition to the individual display margin settings. | |
97 | |
98 Such individual settings are now preserved when windows are split | |
99 horisontally or vertically, a saved window configuration is restored, | |
100 or when the frame is resized. | |
90 | 101 |
91 ** Under X, mouse-wheel-mode is turned on by default. | 102 ** Under X, mouse-wheel-mode is turned on by default. |
92 | 103 |
93 ** The X resource useXIM can be used to turn off use of XIM, which may | 104 ** The X resource useXIM can be used to turn off use of XIM, which may |
94 speed up Emacs with slow networking to the X server. | 105 speed up Emacs with slow networking to the X server. |
1448 with the form as argument, and if any returns t, the form is ok to call. | 1459 with the form as argument, and if any returns t, the form is ok to call. |
1449 | 1460 |
1450 If the form is not "ok to call", that means Emacs asks for | 1461 If the form is not "ok to call", that means Emacs asks for |
1451 confirmation as before. | 1462 confirmation as before. |
1452 | 1463 |
1453 ** Controlling the left and right fringe widths. | 1464 ** Controlling the default left and right fringe widths. |
1454 | 1465 |
1455 The left and right fringe widths can now be controlled by setting the | 1466 The default left and right fringe widths for all windows of a frame |
1456 `left-fringe' and `right-fringe' frame parameters to an integer value | 1467 can now be controlled by setting the `left-fringe' and `right-fringe' |
1457 specifying the width in pixels. Setting the width to 0 effectively | 1468 frame parameters to an integer value specifying the width in pixels. |
1458 removes the corresponding fringe. | 1469 Setting the width to 0 effectively removes the corresponding fringe. |
1459 | 1470 |
1460 The actual fringe widths may deviate from the specified widths, since | 1471 The actual default fringe widths for the frame may deviate from the |
1461 the combined fringe widths must match an integral number of columns. | 1472 specified widths, since the combined fringe widths must match an |
1462 The extra width is distributed evenly between the left and right fringe. | 1473 integral number of columns. The extra width is distributed evenly |
1463 For force a specific fringe width, specify the width as a negative | 1474 between the left and right fringe. For force a specific fringe width, |
1464 integer (if both widths are negative, only the left fringe gets the | 1475 specify the width as a negative integer (if both widths are negative, |
1465 specified width). | 1476 only the left fringe gets the specified width). |
1466 | 1477 |
1467 Setting the width to nil (the default), restores the default fringe | 1478 Setting the width to nil (the default), restores the default fringe |
1468 width which is the minimum number of pixels necessary to display any | 1479 width which is the minimum number of pixels necessary to display any |
1469 of the currently defined fringe bitmaps. The width of the built-in | 1480 of the currently defined fringe bitmaps. The width of the built-in |
1470 fringe bitmaps is 8 pixels. | 1481 fringe bitmaps is 8 pixels. |
1482 | |
1483 ** Per-window fringes settings | |
1484 | |
1485 Windows can now have their own individual fringe widths and position | |
1486 settings. | |
1487 | |
1488 To control the fringe widths of a window, either set the buffer-local | |
1489 variables `left-fringe-width', `right-fringe-width', or call | |
1490 `set-window-fringes'. | |
1491 | |
1492 To control the fringe position in a window, that is, whether fringes | |
1493 are positioned between the display margins and the window's text area, | |
1494 or at the edges of the window, either set the buffer-local variable | |
1495 `fringes-outside-margins' or call `set-window-fringes'. | |
1496 | |
1497 The function `window-fringes' can be used to obtain the current | |
1498 settings. To make `left-fringe-width', `right-fringe-width', and | |
1499 `fringes-outside-margins' take effect, you must set them before | |
1500 displaying the buffer in a window, or use `set-window-buffer' to force | |
1501 an update of the display margins. | |
1502 | |
1503 ** Per-window vertical scroll-bar settings | |
1504 | |
1505 Windows can now have their own individual scroll-bar settings | |
1506 controlling the width and position of scroll-bars. | |
1507 | |
1508 To control the scroll-bar of a window, either set the buffer-local | |
1509 variables `scroll-bar-mode' and `scroll-bar-width', or call | |
1510 `set-window-scroll-bars'. The function `window-scroll-bars' can be | |
1511 used to obtain the current settings. To make `scroll-bar-mode' and | |
1512 `scroll-bar-width' take effect, you must set them before displaying | |
1513 the buffer in a window, or use `set-window-buffer' to force an update | |
1514 of the display margins. | |
1515 | |
1516 ** The function `set-window-buffer' now has an optional third argument | |
1517 KEEP-MARGINS which will preserve the window's current margin, fringe, | |
1518 and scroll-bar settings if non-nil. | |
1471 | 1519 |
1472 +++ | 1520 +++ |
1473 ** Renamed file hooks to follow the convention: | 1521 ** Renamed file hooks to follow the convention: |
1474 find-file-hooks to find-file-hook, | 1522 find-file-hooks to find-file-hook, |
1475 find-file-not-found-hooks to find-file-not-found-functions, | 1523 find-file-not-found-hooks to find-file-not-found-functions, |