aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim F. Storm2003-05-24 23:54:43 +0000
committerKim F. Storm2003-05-24 23:54:43 +0000
commit6f8968c8c393b2b8b6b6a92c3c7676ebacb37570 (patch)
tree1f43b6079ecb4e8c2e46d5efb05f4f97fc1749be
parent43a74f12dd614bc4d69cc7e91848de595f6c2073 (diff)
downloademacs-6f8968c8c393b2b8b6b6a92c3c7676ebacb37570.tar.gz
emacs-6f8968c8c393b2b8b6b6a92c3c7676ebacb37570.zip
New per-window fringe and scroll-bar settings.
-rw-r--r--etc/NEWS70
1 files changed, 59 insertions, 11 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 7d3d73dafb1..456122b1aad 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -88,6 +88,17 @@ See the files mac/README and mac/INSTALL for build instructions.
88 88
89* Changes in Emacs 21.4 89* Changes in Emacs 21.4
90 90
91** When display margins are present in a window, the fringes are now
92displayed between the margins and the buffer's text area, rather than
93at the edges of the window.
94
95** A windows may now have individual fringe and scroll-bar settings,
96in addition to the individual display margin settings.
97
98Such individual settings are now preserved when windows are split
99horisontally or vertically, a saved window configuration is restored,
100or when the frame is resized.
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
@@ -1450,25 +1461,62 @@ with the form as argument, and if any returns t, the form is ok to call.
1450If the form is not "ok to call", that means Emacs asks for 1461If the form is not "ok to call", that means Emacs asks for
1451confirmation as before. 1462confirmation as before.
1452 1463
1453** Controlling the left and right fringe widths. 1464** Controlling the default left and right fringe widths.
1454 1465
1455The left and right fringe widths can now be controlled by setting the 1466The default left and right fringe widths for all windows of a frame
1456`left-fringe' and `right-fringe' frame parameters to an integer value 1467can now be controlled by setting the `left-fringe' and `right-fringe'
1457specifying the width in pixels. Setting the width to 0 effectively 1468frame parameters to an integer value specifying the width in pixels.
1458removes the corresponding fringe. 1469Setting the width to 0 effectively removes the corresponding fringe.
1459 1470
1460The actual fringe widths may deviate from the specified widths, since 1471The actual default fringe widths for the frame may deviate from the
1461the combined fringe widths must match an integral number of columns. 1472specified widths, since the combined fringe widths must match an
1462The extra width is distributed evenly between the left and right fringe. 1473integral number of columns. The extra width is distributed evenly
1463For force a specific fringe width, specify the width as a negative 1474between the left and right fringe. For force a specific fringe width,
1464integer (if both widths are negative, only the left fringe gets the 1475specify the width as a negative integer (if both widths are negative,
1465specified width). 1476only the left fringe gets the specified width).
1466 1477
1467Setting the width to nil (the default), restores the default fringe 1478Setting the width to nil (the default), restores the default fringe
1468width which is the minimum number of pixels necessary to display any 1479width which is the minimum number of pixels necessary to display any
1469of the currently defined fringe bitmaps. The width of the built-in 1480of the currently defined fringe bitmaps. The width of the built-in
1470fringe bitmaps is 8 pixels. 1481fringe bitmaps is 8 pixels.
1471 1482
1483** Per-window fringes settings
1484
1485Windows can now have their own individual fringe widths and position
1486settings.
1487
1488To control the fringe widths of a window, either set the buffer-local
1489variables `left-fringe-width', `right-fringe-width', or call
1490`set-window-fringes'.
1491
1492To control the fringe position in a window, that is, whether fringes
1493are positioned between the display margins and the window's text area,
1494or at the edges of the window, either set the buffer-local variable
1495`fringes-outside-margins' or call `set-window-fringes'.
1496
1497The function `window-fringes' can be used to obtain the current
1498settings. To make `left-fringe-width', `right-fringe-width', and
1499`fringes-outside-margins' take effect, you must set them before
1500displaying the buffer in a window, or use `set-window-buffer' to force
1501an update of the display margins.
1502
1503** Per-window vertical scroll-bar settings
1504
1505Windows can now have their own individual scroll-bar settings
1506controlling the width and position of scroll-bars.
1507
1508To control the scroll-bar of a window, either set the buffer-local
1509variables `scroll-bar-mode' and `scroll-bar-width', or call
1510`set-window-scroll-bars'. The function `window-scroll-bars' can be
1511used to obtain the current settings. To make `scroll-bar-mode' and
1512`scroll-bar-width' take effect, you must set them before displaying
1513the buffer in a window, or use `set-window-buffer' to force an update
1514of the display margins.
1515
1516** The function `set-window-buffer' now has an optional third argument
1517KEEP-MARGINS which will preserve the window's current margin, fringe,
1518and scroll-bar settings if non-nil.
1519
1472+++ 1520+++
1473** Renamed file hooks to follow the convention: 1521** Renamed file hooks to follow the convention:
1474find-file-hooks to find-file-hook, 1522find-file-hooks to find-file-hook,