aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerd Moellmann2000-12-20 15:37:23 +0000
committerGerd Moellmann2000-12-20 15:37:23 +0000
commit03ff8aabc3abe5d64bfec53cdb82cebc45cc8e49 (patch)
treee109d4e9ba2cf1262799a21037e157c9bc3aeccb
parent3172f70b5186d88bd4bb12da05dcf15a172c631a (diff)
downloademacs-03ff8aabc3abe5d64bfec53cdb82cebc45cc8e49.tar.gz
emacs-03ff8aabc3abe5d64bfec53cdb82cebc45cc8e49.zip
*** empty log message ***
-rw-r--r--etc/NEWS6
-rw-r--r--etc/TODO2
-rw-r--r--lispref/windows.texi8
-rw-r--r--man/display.texi6
-rw-r--r--src/ChangeLog17
5 files changed, 36 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index f1da038cb8b..393c352ae42 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
668customized. 668customized.
669 669
670If a window is scrolled horizontally with set-window-hscroll, or
671scroll-left/scroll-right (C-x <, C-x >), this serves as a lower bound
672for automatic horizontal scrolling. Automatic scrolling will scroll
673the text more to the left if necessary, but won't scroll the text more
674to the right than the column set with set-window-hscroll etc.
675
670+++ 676+++
671** Tool bar support. 677** Tool bar support.
672 678
diff --git a/etc/TODO b/etc/TODO
index ce15a579bd2..12eb39595f2 100644
--- a/etc/TODO
+++ b/etc/TODO
@@ -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
1517left edge. 1517left edge.
1518 1518
1519 In Emacs 21, redisplay automatically alters the horizontal scrolling 1519 In Emacs 21, redisplay automatically alters the horizontal scrolling
1520of a window as necessary to ensure that point is always visible. 1520of a window as necessary to ensure that point is always visible, if
1521However, you can still set the horizontal scrolling value explicitly. 1521@code{automatic-hscrolling} is set. However, you can still set the
1522The value you specify will be used, provided it leaves point visible. 1522horizontal scrolling value explicitly. The value you specify serves as
1523a lower bound for automatic scrolling, i.e. automatic scrolling
1524will 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
1525This function scrolls the selected window @var{count} columns to the 1527This 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
200edge. If you don't want this, customize the variable 200edge. 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
203If a window is scrolled horizontally by means of @code{scroll-left}, the
204chosen column serves as a lower bound for automatic horizontal
205scrolling. Automatic scrolling will continue to scroll the window to
206the left, if necessary, but won't scroll it more to the right than the
207column 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 @@
12000-12-20 Gerd Moellmann <gerd@gnu.org> 12000-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.