Mercurial > emacs
annotate lisp/=term-nasty.el @ 13078:d7735534db86
(view-mode-enter): Renamed from view-mode. Callers changed.
Don't create local vars here. Set view-mode-auto-exit.
Don't change local map--just set view-mode.
(view-mode): New function toggles minor mode in the usual way.
(view-mode-map): Put this on minor-mode-map-alist.
(view-mode-exit): Do the exit actions only if view-mode-auto-exit.
(View-scroll-lines-forward): Exit only if view-scroll-lines-forward.
(view-mode-auto-exit, view-old-buffer-read-only)
(view-old-Helper-return-blurb, view-scroll-size, view-last-regexp)
(view-exit-action, view-return-here, view-exit-position):
Defvar them and make them always-local.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 25 Sep 1995 18:36:32 +0000 |
parents | ca3af688a85d |
children | 3938a0350eea |
rev | line source |
---|---|
657
fec3f9a1e3e5
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
83
diff
changeset
|
1 ;;; term-nasty.el --- Damned Things from terminfo.el |
897 | 2 ;;; This file is in the public domain, and was written by Stallman and Mlynarik |
657
fec3f9a1e3e5
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
83
diff
changeset
|
3 |
775
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
4 ;;; Commentary: |
83 | 5 |
775
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
6 ;; Some people used to be bothered by the following comments that were |
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
7 ;; found in terminal.el. We decided they were distracting, and that it |
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
8 ;; was better not to have them there. On the other hand, we didn't want |
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
9 ;; to appear to be giving in to the pressure to censor obscenity that |
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
10 ;; currently threatens freedom of speech and of the press in the US. |
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
11 ;; So we decided to put the comments here. |
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
12 |
1ca26ccad38e
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
657
diff
changeset
|
13 ;;; Code: |
83 | 14 |
15 These comments were removed from te-losing-unix. | |
16 ;(what lossage) | |
17 ;(message "fucking-unix: %d" char) | |
18 | |
19 This was before te-process-output. | |
20 ;; fucking unix has -such- braindamaged lack of tty control... | |
21 | |
22 And about the need to handle output characters such as C-m, C-g, C-h | |
23 and C-i even though the termcap doesn't say they may be used: | |
24 ;fuck me harder | |
25 ;again and again! | |
26 ;wa12id!! | |
657
fec3f9a1e3e5
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
83
diff
changeset
|
27 ;(spiked) |
fec3f9a1e3e5
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
83
diff
changeset
|
28 |
fec3f9a1e3e5
*** empty log message ***
Eric S. Raymond <esr@snark.thyrsus.com>
parents:
83
diff
changeset
|
29 ;;; term-nasty.el ends here |