diff options
| author | Kim F. Storm | 2003-05-24 23:54:43 +0000 |
|---|---|---|
| committer | Kim F. Storm | 2003-05-24 23:54:43 +0000 |
| commit | 6f8968c8c393b2b8b6b6a92c3c7676ebacb37570 (patch) | |
| tree | 1f43b6079ecb4e8c2e46d5efb05f4f97fc1749be | |
| parent | 43a74f12dd614bc4d69cc7e91848de595f6c2073 (diff) | |
| download | emacs-6f8968c8c393b2b8b6b6a92c3c7676ebacb37570.tar.gz emacs-6f8968c8c393b2b8b6b6a92c3c7676ebacb37570.zip | |
New per-window fringe and scroll-bar settings.
| -rw-r--r-- | etc/NEWS | 70 |
1 files changed, 59 insertions, 11 deletions
| @@ -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 | ||
| 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. | ||
| 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. | |||
| 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. |
| 1471 | 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. | ||
| 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, |