Mercurial > emacs
annotate lisp/hscroll.el @ 33969:96d72c104f9a raeburn-tag-5-for-export
Add hints to `automatic-hscrolling' to doc strings.
| author | Gerd Moellmann <gerd@gnu.org> |
|---|---|
| date | Tue, 28 Nov 2000 16:50:40 +0000 |
| parents | c336fb1b43e1 |
| children |
| rev | line source |
|---|---|
| 29763 | 1 ;;; hscroll.el --- automatically scroll truncated lines horizontally |
| 16583 | 2 ;;; Copyright (C) 1992, 1993, 1995, 1996 Free Software Foundation, Inc. |
| 3 | |
| 4 ;; Author: Wayne Mesard <wmesard@esd.sgi.com> | |
| 5 ;; Keywords: display | |
| 6 | |
| 7 ;; This file is part of GNU Emacs. | |
| 8 | |
| 9 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
| 10 ;; it under the terms of the GNU General Public License as published by | |
| 11 ;; the Free Software Foundation; either version 2, or (at your option) | |
| 12 ;; any later version. | |
| 13 | |
| 14 ;; GNU Emacs is distributed in the hope that it will be useful, | |
| 15 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 16 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 17 ;; GNU General Public License for more details. | |
| 18 | |
| 19 ;; You should have received a copy of the GNU General Public License | |
| 20 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
| 21 ;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, | |
| 22 ;; Boston, MA 02111-1307, USA. | |
| 23 | |
|
23789
7d763e90da82
(hscroll-mode, hscroll-global-mode, hscroll-window-maybe):
Richard M. Stallman <rms@gnu.org>
parents:
21670
diff
changeset
|
24 ;;; Commentary: |
| 16583 | 25 ;; |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
26 ;; This file contains dummy variables and functions only because Emacs |
|
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
27 ;; does hscrolling automatically, now. |
| 16583 | 28 |
| 29 ;;; Code: | |
| 30 | |
| 31 ;;; | |
| 32 ;;; PUBLIC VARIABLES | |
| 33 ;;; | |
| 34 | |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
35 (defvar hscroll-version "0.0") |
| 16583 | 36 |
| 19420 | 37 (defgroup hscroll nil |
| 27174 | 38 "This customization group is kept for compatibility only. |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
39 Emacs now does hscrolling automatically. Please remove references |
|
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
40 to hscroll from your init file and code." |
| 19420 | 41 :group 'editing) |
| 42 | |
|
20765
2bdc3877262b
(hscroll-global-mode): New customize variable to automatically load the
Stephen Eglen <stephen@gnu.org>
parents:
19420
diff
changeset
|
43 |
|
2bdc3877262b
(hscroll-global-mode): New customize variable to automatically load the
Stephen Eglen <stephen@gnu.org>
parents:
19420
diff
changeset
|
44 (defcustom hscroll-global-mode nil |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
45 "*Obsolete." |
|
20765
2bdc3877262b
(hscroll-global-mode): New customize variable to automatically load the
Stephen Eglen <stephen@gnu.org>
parents:
19420
diff
changeset
|
46 :group 'hscroll |
|
2bdc3877262b
(hscroll-global-mode): New customize variable to automatically load the
Stephen Eglen <stephen@gnu.org>
parents:
19420
diff
changeset
|
47 :type 'boolean |
|
21670
808ecc2eaa84
*** empty log message ***
Dan Nicolaescu <done@ece.arizona.edu>
parents:
20765
diff
changeset
|
48 :require 'hscroll |
|
808ecc2eaa84
*** empty log message ***
Dan Nicolaescu <done@ece.arizona.edu>
parents:
20765
diff
changeset
|
49 :version "20.3") |
|
20765
2bdc3877262b
(hscroll-global-mode): New customize variable to automatically load the
Stephen Eglen <stephen@gnu.org>
parents:
19420
diff
changeset
|
50 |
| 19420 | 51 (defcustom hscroll-margin 5 |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
52 "*Obsolete." |
| 19420 | 53 :group 'hscroll |
| 54 :type 'integer) | |
| 16583 | 55 |
| 19420 | 56 (defcustom hscroll-snap-threshold 30 |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
57 "*Obsolete." |
| 19420 | 58 :group 'hscroll |
| 59 :type 'integer) | |
| 16583 | 60 |
| 19420 | 61 (defcustom hscroll-step-percent 25 |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
62 "*Obsolete." |
| 19420 | 63 :group 'hscroll |
| 64 :type 'integer) | |
| 16583 | 65 |
| 19420 | 66 (defcustom hscroll-mode-name " Hscr" |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
67 "*Obsolete." |
| 19420 | 68 :group 'hscroll |
| 69 :type 'string) | |
| 16583 | 70 |
| 71 ;;; | |
| 72 ;;; PUBLIC COMMANDS | |
| 73 ;;; | |
| 74 | |
| 75 ;;;###autoload | |
| 76 (defun turn-on-hscroll () | |
|
33816
c336fb1b43e1
(turn-on-hscroll, hscroll-mode, hscroll-global-mode)
Eli Zaretskii <eliz@gnu.org>
parents:
29763
diff
changeset
|
77 "This function is obsolete. |
|
33969
96d72c104f9a
Add hints to `automatic-hscrolling' to doc strings.
Gerd Moellmann <gerd@gnu.org>
parents:
33816
diff
changeset
|
78 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. |
|
96d72c104f9a
Add hints to `automatic-hscrolling' to doc strings.
Gerd Moellmann <gerd@gnu.org>
parents:
33816
diff
changeset
|
79 Also see `automatic-hscrolling'.") |
| 16583 | 80 |
| 81 ;;;###autoload | |
| 82 (defun hscroll-mode (&optional arg) | |
|
33816
c336fb1b43e1
(turn-on-hscroll, hscroll-mode, hscroll-global-mode)
Eli Zaretskii <eliz@gnu.org>
parents:
29763
diff
changeset
|
83 "This function is obsolete. |
|
33969
96d72c104f9a
Add hints to `automatic-hscrolling' to doc strings.
Gerd Moellmann <gerd@gnu.org>
parents:
33816
diff
changeset
|
84 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. |
|
96d72c104f9a
Add hints to `automatic-hscrolling' to doc strings.
Gerd Moellmann <gerd@gnu.org>
parents:
33816
diff
changeset
|
85 Also see `automatic-hscrolling'." |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
86 (interactive "P")) |
| 16583 | 87 |
| 88 ;;;###autoload | |
| 89 (defun hscroll-global-mode (&optional arg) | |
|
33816
c336fb1b43e1
(turn-on-hscroll, hscroll-mode, hscroll-global-mode)
Eli Zaretskii <eliz@gnu.org>
parents:
29763
diff
changeset
|
90 "This function is obsolete. |
|
33969
96d72c104f9a
Add hints to `automatic-hscrolling' to doc strings.
Gerd Moellmann <gerd@gnu.org>
parents:
33816
diff
changeset
|
91 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. |
|
96d72c104f9a
Add hints to `automatic-hscrolling' to doc strings.
Gerd Moellmann <gerd@gnu.org>
parents:
33816
diff
changeset
|
92 Also see `automatic-hscrolling'." |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
93 (interactive "P")) |
|
24939
db6ed843d5e8
(hscroll-minibuffer-hook): New function.
Richard M. Stallman <rms@gnu.org>
parents:
24922
diff
changeset
|
94 |
| 16583 | 95 (defun hscroll-window-maybe () |
|
33816
c336fb1b43e1
(turn-on-hscroll, hscroll-mode, hscroll-global-mode)
Eli Zaretskii <eliz@gnu.org>
parents:
29763
diff
changeset
|
96 "This function is obsolete. |
|
33969
96d72c104f9a
Add hints to `automatic-hscrolling' to doc strings.
Gerd Moellmann <gerd@gnu.org>
parents:
33816
diff
changeset
|
97 Emacs now does hscrolling automatically, if `truncate-lines' is non-nil. |
|
96d72c104f9a
Add hints to `automatic-hscrolling' to doc strings.
Gerd Moellmann <gerd@gnu.org>
parents:
33816
diff
changeset
|
98 Also see `automatic-hscrolling'." |
|
25563
856179ce1645
Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents:
24939
diff
changeset
|
99 (interactive)) |
|
20765
2bdc3877262b
(hscroll-global-mode): New customize variable to automatically load the
Stephen Eglen <stephen@gnu.org>
parents:
19420
diff
changeset
|
100 |
| 16583 | 101 (provide 'hscroll) |
| 102 | |
| 103 ;;; hscroll.el ends here |
