annotate lisp/auto-show.el @ 30601:7c995a54a0e8

Replace `illegal' with `invalid'.
author Gerd Moellmann <gerd@gnu.org>
date Sat, 05 Aug 2000 15:47:13 +0000
parents 24c42492035e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
13337
84acc3adcd63 Comment change.
Richard M. Stallman <rms@gnu.org>
parents: 10974
diff changeset
1 ;;; auto-show.el --- perform automatic horizontal scrolling as point moves
10974
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
2 ;;; This file is in the public domain.
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
3
24812
4bdc30f27628 Don't change hooks on loading.
Karl Heuer <kwzh@gnu.org>
parents: 20451
diff changeset
4 ;;; Keywords: scroll display convenience
10974
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
5 ;;; Author: Pete Ware <ware@cis.ohio-state.edu>
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
6 ;;; Maintainer: FSF
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
7
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
8 ;;; Commentary:
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9
25565
222e261cc577 Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents: 25180
diff changeset
10 ;; This file contains dummy variables and functions only because Emacs
222e261cc577 Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents: 25180
diff changeset
11 ;; does hscrolling automatically, now.
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
12
10974
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
13 ;;; Code:
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
14
20451
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
15 (defgroup auto-show nil
27828
24c42492035e (auto-show): Defgroup doc fix.
Dave Love <fx@gnu.org>
parents: 25569
diff changeset
16 "This customization group is kept for compatibility only.
25565
222e261cc577 Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents: 25180
diff changeset
17 Emacs now does hscrolling automatically. Please remove references
27828
24c42492035e (auto-show): Defgroup doc fix.
Dave Love <fx@gnu.org>
parents: 25569
diff changeset
18 to auto-show from your init file and code."
20451
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
19 :group 'editing)
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
20
24812
4bdc30f27628 Don't change hooks on loading.
Karl Heuer <kwzh@gnu.org>
parents: 20451
diff changeset
21 ;;;###autoload
4bdc30f27628 Don't change hooks on loading.
Karl Heuer <kwzh@gnu.org>
parents: 20451
diff changeset
22 (defcustom auto-show-mode nil
25565
222e261cc577 Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents: 25180
diff changeset
23 "Obsolete."
24812
4bdc30f27628 Don't change hooks on loading.
Karl Heuer <kwzh@gnu.org>
parents: 20451
diff changeset
24 :version "20.4"
20451
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
25 :type 'boolean
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
26 :group 'auto-show)
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
20451
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
28 (defcustom auto-show-shift-amount 8
25565
222e261cc577 Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents: 25180
diff changeset
29 "*Obsolete."
20451
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
30 :type 'integer
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
31 :group 'auto-show)
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
32
20451
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
33 (defcustom auto-show-show-left-margin-threshold 50
25565
222e261cc577 Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents: 25180
diff changeset
34 "*Obsolete."
20451
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
35 :type 'integer
93652fd3234d Customized.
Andreas Schwab <schwab@suse.de>
parents: 16979
diff changeset
36 :group 'auto-show)
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37
10974
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
38 ;;;###autoload
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
39 (defun auto-show-mode (arg)
25569
fcdaa4081df4 Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 25565
diff changeset
40 "This command is obsolete."
25565
222e261cc577 Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents: 25180
diff changeset
41 (interactive "P"))
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
42
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
43 (defun auto-show-make-point-visible (&optional ignore-arg)
25569
fcdaa4081df4 Doc fixes.
Richard M. Stallman <rms@gnu.org>
parents: 25565
diff changeset
44 "This command is obsolete."
25565
222e261cc577 Remove all code, keep interface.
Gerd Moellmann <gerd@gnu.org>
parents: 25180
diff changeset
45 (interactive))
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
46
10974
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
47 (provide 'auto-show)
10973
a937df996aa4 Initial revision
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
48
10974
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
49 ;; auto-show.el ends here
4ef3ef45089f Unconditionally add to comint-output-filter-functions.
Richard M. Stallman <rms@gnu.org>
parents: 10973
diff changeset
50