diff options
| -rw-r--r-- | etc/NEWS | 6 | ||||
| -rw-r--r-- | etc/TODO | 2 | ||||
| -rw-r--r-- | lispref/windows.texi | 8 | ||||
| -rw-r--r-- | man/display.texi | 6 | ||||
| -rw-r--r-- | src/ChangeLog | 17 |
5 files changed, 36 insertions, 3 deletions
| @@ -667,6 +667,12 @@ Horizontal scrolling now happens automatically if | |||
| 667 | `automatic-hscrolling' is set (the default). This setting can be | 667 | `automatic-hscrolling' is set (the default). This setting can be |
| 668 | customized. | 668 | customized. |
| 669 | 669 | ||
| 670 | If a window is scrolled horizontally with set-window-hscroll, or | ||
| 671 | scroll-left/scroll-right (C-x <, C-x >), this serves as a lower bound | ||
| 672 | for automatic horizontal scrolling. Automatic scrolling will scroll | ||
| 673 | the text more to the left if necessary, but won't scroll the text more | ||
| 674 | to the right than the column set with set-window-hscroll etc. | ||
| 675 | |||
| 670 | +++ | 676 | +++ |
| 671 | ** Tool bar support. | 677 | ** Tool bar support. |
| 672 | 678 | ||
| @@ -143,3 +143,5 @@ | |||
| 143 | 143 | ||
| 144 | * Remove the limitation that window and frame widths and heights can | 144 | * Remove the limitation that window and frame widths and heights can |
| 145 | be only full columns/lines. | 145 | be only full columns/lines. |
| 146 | |||
| 147 | * Add horizontal scroll bars. | ||
diff --git a/lispref/windows.texi b/lispref/windows.texi index 5d46ed35e9d..95a6c5f7f92 100644 --- a/lispref/windows.texi +++ b/lispref/windows.texi | |||
| @@ -1517,9 +1517,11 @@ left you can scroll, but eventually all the text will disappear off the | |||
| 1517 | left edge. | 1517 | left edge. |
| 1518 | 1518 | ||
| 1519 | In Emacs 21, redisplay automatically alters the horizontal scrolling | 1519 | In Emacs 21, redisplay automatically alters the horizontal scrolling |
| 1520 | of a window as necessary to ensure that point is always visible. | 1520 | of a window as necessary to ensure that point is always visible, if |
| 1521 | However, you can still set the horizontal scrolling value explicitly. | 1521 | @code{automatic-hscrolling} is set. However, you can still set the |
| 1522 | The value you specify will be used, provided it leaves point visible. | 1522 | horizontal scrolling value explicitly. The value you specify serves as |
| 1523 | a lower bound for automatic scrolling, i.e. automatic scrolling | ||
| 1524 | will not scroll a window to a column less than the specified one. | ||
| 1523 | 1525 | ||
| 1524 | @deffn Command scroll-left &optional count | 1526 | @deffn Command scroll-left &optional count |
| 1525 | This function scrolls the selected window @var{count} columns to the | 1527 | This function scrolls the selected window @var{count} columns to the |
diff --git a/man/display.texi b/man/display.texi index 65d4d2e8e2b..aa3d7de68b7 100644 --- a/man/display.texi +++ b/man/display.texi | |||
| @@ -200,6 +200,12 @@ necessary to keep point visible and not too far from the left or right | |||
| 200 | edge. If you don't want this, customize the variable | 200 | edge. If you don't want this, customize the variable |
| 201 | @code{automatic-hscrolling} and set it to nil. | 201 | @code{automatic-hscrolling} and set it to nil. |
| 202 | 202 | ||
| 203 | If a window is scrolled horizontally by means of @code{scroll-left}, the | ||
| 204 | chosen column serves as a lower bound for automatic horizontal | ||
| 205 | scrolling. Automatic scrolling will continue to scroll the window to | ||
| 206 | the left, if necessary, but won't scroll it more to the right than the | ||
| 207 | column set by @code{scroll-left}. | ||
| 208 | |||
| 203 | @node Follow Mode | 209 | @node Follow Mode |
| 204 | @section Follow Mode | 210 | @section Follow Mode |
| 205 | @cindex Follow mode | 211 | @cindex Follow mode |
diff --git a/src/ChangeLog b/src/ChangeLog index 83e83509c4d..b9794a8566e 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,22 @@ | |||
| 1 | 2000-12-20 Gerd Moellmann <gerd@gnu.org> | 1 | 2000-12-20 Gerd Moellmann <gerd@gnu.org> |
| 2 | 2 | ||
| 3 | * xdisp.c (hscroll_window_tree): Take window's min_hscroll | ||
| 4 | into account. | ||
| 5 | |||
| 6 | * window.c (make_window): Initialize window's min_hscroll. | ||
| 7 | (Fset_window_hscroll): Set window's hscroll and min_hscroll. | ||
| 8 | (set_window_buffer, temp_output_buffer_show): Set min_hscroll | ||
| 9 | to zero. | ||
| 10 | (struct saved_window): New member min_hscroll. | ||
| 11 | (SAVED_WINDOW_VECTOR_SIZE): Set to 17. | ||
| 12 | (Fset_window_configuration): Set window's min_hscroll. | ||
| 13 | (save_window_save): Save window's min_hscroll. | ||
| 14 | (compare_window_configurations): Compare min_hscroll values. | ||
| 15 | |||
| 16 | * window.h (struct window): New member min_hscroll. | ||
| 17 | |||
| 18 | * keyboard.c (echo_prompt): Prevent a compiler warning. | ||
| 19 | |||
| 3 | * xdisp.c (try_cursor_movement): Fix last change. The real | 20 | * xdisp.c (try_cursor_movement): Fix last change. The real |
| 4 | condition is that PT is at the end of the row, and should | 21 | condition is that PT is at the end of the row, and should |
| 5 | be displayed at the start of the next row. | 22 | be displayed at the start of the next row. |