diff options
Diffstat (limited to 'lisp/textmodes')
-rw-r--r-- | lisp/textmodes/bib-mode.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/bibtex.el | 7 | ||||
-rw-r--r-- | lisp/textmodes/fill.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/ispell.el | 613 | ||||
-rw-r--r-- | lisp/textmodes/ispell4.el | 35 | ||||
-rw-r--r-- | lisp/textmodes/makeinfo.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/nroff-mode.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/ooutline.el | 6 | ||||
-rw-r--r-- | lisp/textmodes/outline.el | 6 | ||||
-rw-r--r-- | lisp/textmodes/page-ext.el | 375 | ||||
-rw-r--r-- | lisp/textmodes/page.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/paragraphs.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/picture.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/refbib.el | 49 | ||||
-rw-r--r-- | lisp/textmodes/refer.el | 9 | ||||
-rw-r--r-- | lisp/textmodes/scribe.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/sgml-mode.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/spell.el | 5 | ||||
-rw-r--r-- | lisp/textmodes/texinfmt.el | 9 | ||||
-rw-r--r-- | lisp/textmodes/texinfo.el | 9 | ||||
-rw-r--r-- | lisp/textmodes/texnfo-upd.el | 201 | ||||
-rw-r--r-- | lisp/textmodes/text-mode.el | 6 | ||||
-rw-r--r-- | lisp/textmodes/underline.el | 5 |
23 files changed, 701 insertions, 679 deletions
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el index 89855e8e3af..55456fdd814 100644 --- a/lisp/textmodes/bib-mode.el +++ b/lisp/textmodes/bib-mode.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index cf888c49a38..844cc8c3207 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -23,10 +23,12 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: + ;; Major mode for editing and validating BibTeX files. ;; Usage: @@ -52,6 +54,7 @@ ;; previous: alarson@src.honeywell.com) ;;; Code: + ;; User Options: (defvar bibtex-field-left-delimiter "{" diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el index a31fd8894f1..23660cacaf9 100644 --- a/lisp/textmodes/fill.el +++ b/lisp/textmodes/fill.el @@ -17,8 +17,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index 7c71d1d53f8..a104e91ebe7 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1,319 +1,314 @@ ;;; ispell.el --- spell checking using Ispell -;;; Copyright (C) 1994, 1995 Free Software Foundation, Inc. - -;;; Authors : Ken Stevens <k.stevens@ieee.org> -;;; Note: version numbers and time stamp are not updated -;;; when this file is edited for release with GNU Emacs. -;;; Last Modified On: Tue Jun 13 12:05:28 EDT 1995 -;;; Update Revision : 2.37 -;;; Syntax : emacs-lisp -;;; Status : Release with 3.1.12+ ispell. -;;; Version : International Ispell Version 3.1 by Geoff Kuenning. -;;; Bug Reports : ispell-el-bugs@itcorp.com - -;;; Note: version numbers and time stamp are not updated -;;; when this file is edited for release with GNU Emacs. - -;;; This file is part of GNU Emacs. -;;; -;;; GNU Emacs is free software; you can redistribute it and/or modify -;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 2, or (at your option) -;;; any later version. -;;; -;;; GNU Emacs is distributed in the hope that it will be useful, -;;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;; GNU General Public License for more details. -;;; -;;; You should have received a copy of the GNU General Public License -;;; along with GNU Emacs; see the file COPYING. If not, write to -;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;;; -;;; Commentary: -;;; -;;; INSTRUCTIONS -;;; -;;; This code contains a section of user-settable variables that you should -;;; inspect prior to installation. Look past the end of the history list. -;;; Set them up for your locale and the preferences of the majority of the -;;; users. Otherwise the users may need to set a number of variables -;;; themselves. -;;; You particularly may want to change the default dictionary for your -;;; country and language. -;;; -;;; -;;; To fully install this, add this file to your Emacs Lisp directory and -;;; compile it with M-X byte-compile-file. Then add the following to the -;;; appropriate init file: -;;; -;;; (autoload 'ispell-word "ispell" -;;; "Check the spelling of word in buffer." t) -;;; (global-set-key "\e$" 'ispell-word) -;;; (autoload 'ispell-region "ispell" -;;; "Check the spelling of region." t) -;;; (autoload 'ispell-buffer "ispell" -;;; "Check the spelling of buffer." t) -;;; (autoload 'ispell-complete-word "ispell" -;;; "Look up current word in dictionary and try to complete it." t) -;;; (autoload 'ispell-change-dictionary "ispell" -;;; "Change ispell dictionary." t) -;;; (autoload 'ispell-message "ispell" -;;; "Check spelling of mail message or news post.") -;;; -;;; Depending on the mail system you use, you may want to include these: -;;; -;;; (add-hook 'news-inews-hook 'ispell-message) -;;; (add-hook 'mail-send-hook 'ispell-message) -;;; (add-hook 'mh-before-send-letter-hook 'ispell-message) -;;; -;;; -;;; Ispell has a TeX parser and a nroff parser (the default). -;;; The parsing is controlled by the variable ispell-parser. Currently -;;; it is just a "toggle" between TeX and nroff, but if more parsers are -;;; added it will be updated. See the variable description for more info. -;;; -;;; -;;; TABLE OF CONTENTS -;;; -;;; ispell-word -;;; ispell-region -;;; ispell-buffer -;;; ispell-message -;;; ispell-continue -;;; ispell-complete-word -;;; ispell-complete-word-interior-frag -;;; ispell-change-dictionary -;;; ispell-kill-ispell -;;; ispell-pdict-save -;;; -;;; -;;; Commands in ispell-region: -;;; Character replacement: Replace word with choice. May query-replace. -;;; ' ': Accept word this time. -;;; 'i': Accept word and insert into private dictionary. -;;; 'a': Accept word for this session. -;;; 'A': Accept word and place in buffer-local dictionary. -;;; 'r': Replace word with typed-in value. Rechecked. -;;; 'R': Replace word with typed-in value. Query-replaced in buffer. Rechecked. -;;; '?': Show these commands -;;; 'x': Exit spelling buffer. Move cursor to original point. -;;; 'X': Exit spelling buffer. Leave cursor at the current point. -;;; 'q': Quit spelling session (Kills ispell process). -;;; 'l': Look up typed-in replacement in alternate dictionary. Wildcards okay. -;;; 'u': Like 'i', but the word is lower-cased first. -;;; 'm': Like 'i', but allows one to include dictionary completion info. -;;; 'C-l': redraws screen -;;; 'C-r': recursive edit -;;; 'C-z': suspend emacs or iconify frame -;;; -;;; Buffer-Local features: -;;; There are a number of buffer-local features that can be used to customize -;;; ispell for the current buffer. This includes language dictionaries, -;;; personal dictionaries, parsing, and local word spellings. Each of these -;;; local customizations are done either through local variables, or by -;;; including the keyword and argument(s) at the end of the buffer (usually -;;; prefixed by the comment characters). See the end of this file for -;;; examples. The local keywords and variables are: -;;; -;;; ispell-dictionary-keyword language-dictionary -;;; uses local variable ispell-local-dictionary -;;; ispell-pdict-keyword personal-dictionary -;;; uses local variable ispell-local-pdict -;;; ispell-parsing-keyword mode-arg extended-char-arg -;;; ispell-words-keyword any number of local word spellings -;;; -;;; -;;; BUGS: -;;; Highlighting in version 19 still doesn't work on tty's. -;;; On some versions of emacs, growing the minibuffer fails. -;;; -;;; HISTORY -;;; -;;; Revision 2.37 1995/6/13 12:05:28 stevens -;;; Removed autoload from ispell-dictionary-alist. *choices* mode-line shows -;;; misspelled word. Block skip for pgp & forwarded messages added. -;;; RMS: the autoload changes had problems and I removed them. -;;; -;;; Revision 2.36 1995/2/6 17:39:38 stevens -;;; Properly adjust screen with different ispell-choices-win-default-height -;;; settings. Skips SGML entity references. -;;; -;;; Revision 2.35 1995/1/13 14:16:46 stevens -;;; Skips SGML tags, ispell-change-dictionary fix for add-hook, assure personal -;;; dictionary is saved when called from the menu -;;; -;;; Revision 2.34 1994/12/08 13:17:41 stevens -;;; Interaction corrected to function with all 3.1 ispell versions. -;;; -;;; Revision 2.33 1994/11/24 02:31:20 stevens -;;; Repaired bug introduced in 2.32 that corrupts buffers when correcting. -;;; Improved buffer scrolling. Nondestructive buffer selections allowed. -;;; -;;; Revision 2.32 1994/10/31 21:10:08 geoff -;;; Many revisions accepted from RMS/FSF. I think (though I don't know) that -;;; this represents an 'official' version. -;;; -;;; Revision 2.31 1994/5/31 10:18:17 stevens -;;; Repaired comments. buffer-local commands executed in `ispell-word' now. -;;; German dictionary described for extended character mode. Dict messages. -;;; -;;; Revision 2.30 1994/5/20 22:18:36 stevens -;;; Continue ispell from ispell-word, C-z functionality fixed. -;;; -;;; Revision 2.29 1994/5/12 09:44:33 stevens -;;; Restored ispell-use-ptys-p, ispell-message aborts sends with interrupt. -;;; defined fn ispell -;;; -;;; Revision 2.28 1994/4/28 16:24:40 stevens -;;; Window checking when ispell-message put on gnus-inews-article-hook jwz. -;;; prefixed ispell- to highlight functions and horiz-scroll fn. -;;; Try and respect case of word in ispell-complete-word. -;;; Ignore non-char events. Ispell-use-ptys-p commented out. Lucid menu. -;;; Better interrupt handling. ispell-message improvements from Ethan. -;;; -;;; Revision 2.27 -;;; version 18 explicit C-g handling disabled as it didn't work. Added -;;; ispell-extra-args for ispell customization (jwz) -;;; -;;; Revision 2.26 1994/2/15 16:11:14 stevens -;;; name changes for copyright assignment. Added word-frags in complete-word. -;;; Horizontal scroll (John Conover). Query-replace matches words now. bugs. -;;; -;;; Revision 2.25 -;;; minor mods, upgraded ispell-message -;;; -;;; Revision 2.24 -;;; query-replace more robust, messages, defaults, ispell-change-dict. -;;; -;;; Revision 2.23 1993/11/22 23:47:03 stevens -;;; ispell-message, Fixed highlighting, added menu-bar, fixed ispell-help, ... -;;; -;;; Revision 2.22 -;;; Added 'u' command. Fixed default in ispell-local-dictionary. -;;; fixed affix rules display. Tib skipping more robust. Contributions by -;;; Per Abraham (parser selection), Denis Howe, and Eberhard Mattes. -;;; -;;; Revision 2.21 1993/06/30 14:09:04 stevens -;;; minor bugs. (nroff word skipping fixed) -;;; -;;; Revision 2.20 1993/06/30 14:09:04 stevens -;;; -;;; Debugging and contributions by: Boris Aronov, Rik Faith, Chris Moore, -;;; Kevin Rodgers, Malcolm Davis. -;;; Particular thanks to Michael Lipp, Jamie Zawinski, Phil Queinnec -;;; and John Heidemann for suggestions and code. -;;; Major update including many tweaks. -;;; Many changes were integrations of suggestions. -;;; lookup-words rehacked to use call-process (Jamie). -;;; ispell-complete-word rehacked to be compatible with the rest of the -;;; system for word searching and to include multiple wildcards, -;;; and it's own dictionary. -;;; query-replace capability added. New options 'X', 'R', and 'A'. -;;; buffer-local modes for dictionary, word-spelling, and formatter-parsing. -;;; Many random bugs, like commented comments being skipped, fix to -;;; keep-choices-win, fix for math mode, added pipe mode choice, -;;; fixed 'q' command, ispell-word checks previous word and leave cursor -;;; in same location. Fixed tib code which could drop spelling regions. -;;; Cleaned up setq calls for efficiency. Gave more context on window overlays. -;;; Assure context on ispell-command-loop. Window lossage in look cmd fixed. -;;; Due to pervasive opinion, common-lisp package syntax removed. Display -;;; problem when not highlighting. -;;; -;;; Revision 2.19 1992/01/10 10:54:08 geoff -;;; Make another attempt at fixing the "Bogus, dude" problem. This one is -;;; less elegant, but has the advantage of working. -;;; -;;; Revision 2.18 1992/01/07 10:04:52 geoff -;;; Fix the "Bogus, Dude" problem in ispell-word. -;;; -;;; Revision 2.17 1991/09/12 00:01:42 geoff -;;; Add some changes to make ispell-complete-word work better, though -;;; still not perfectly. -;;; -;;; Revision 2.16 91/09/04 18:00:52 geoff -;;; More updates from Sebastian, to make the multiple-dictionary support -;;; more flexible. -;;; -;;; Revision 2.15 91/09/04 17:30:02 geoff -;;; Sebastian Kremer's tib support -;;; -;;; Revision 2.14 91/09/04 16:19:37 geoff -;;; Don't do set-window-start if the move-to-window-line moved us -;;; downward, rather than upward. This prevents getting the buffer all -;;; confused. Also, don't use the "not-modified" function to clear the -;;; modification flag; instead use set-buffer-modified-p. This prevents -;;; extra messages from flashing. -;;; -;;; Revision 2.13 91/09/04 14:35:41 geoff -;;; Fix a spelling error in a comment. Add code to handshake with the -;;; ispell process before sending anything to it. -;;; -;;; Revision 2.12 91/09/03 20:14:21 geoff -;;; Add Sebastian Kremer's multiple-language support. -;;; -;;; -;;; Walt Buehring -;;; Texas Instruments - Computer Science Center -;;; ARPA: Buehring%TI-CSL@CSNet-Relay -;;; UUCP: {smu, texsun, im4u, rice} ! ti-csl ! buehring -;;; -;;; ispell-region and associated routines added by -;;; Perry Smith -;;; pedz@bobkat -;;; Tue Jan 13 20:18:02 CST 1987 -;;; -;;; extensively modified by Mark Davies and Andrew Vignaux -;;; {mark,andrew}@vuwcomp -;;; Sun May 10 11:45:04 NZST 1987 -;;; -;;; Ken Stevens ARPA: k.stevens@ieee.org -;;; Tue Jan 3 16:59:07 PST 1989 -;;; This file has overgone a major overhaul to be compatible with ispell -;;; version 2.1. Most of the functions have been totally rewritten, and -;;; many user-accessible variables have been added. The syntax table has -;;; been removed since it didn't work properly anyway, and a filter is -;;; used rather than a buffer. Regular expressions are used based on -;;; ispell's internal definition of characters (see ispell(4)). -;;; Some new updates: -;;; - Updated to version 3.0 to include terse processing. -;;; - Added a variable for the look command. -;;; - Fixed a bug in ispell-word when cursor is far away from the word -;;; that is to be checked. -;;; - Ispell places the incorrect word or guess in the minibuffer now. -;;; - fixed a bug with 'l' option when multiple windows are on the screen. -;;; - lookup-words just didn't work with the process filter. Fixed. -;;; - Rewrote the process filter to make it cleaner and more robust -;;; in the event of a continued line not being completed. -;;; - Made ispell-init-process more robust in handling errors. -;;; - Fixed bug in continuation location after a region has been modified by -;;; correcting a misspelling. -;;; Mon 17 Sept 1990 -;;; -;;; Sebastian Kremer <sk@thp.uni-koeln.de> -;;; Wed Aug 7 14:02:17 MET DST 1991 -;;; - Ported ispell-complete-word from Ispell 2 to Ispell 3. -;;; - Added ispell-kill-ispell command. -;;; - Added ispell-dictionary and ispell-dictionary-alist variables to -;;; support other than default language. See their docstrings and -;;; command ispell-change-dictionary. -;;; - (ispelled it :-) -;;; - Added ispell-skip-tib variable to support the tib bibliography -;;; program. -;;; -;;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Copyright (C) 1994, 1995 Free Software Foundation, Inc. +;; Authors : Ken Stevens <k.stevens@ieee.org> +;; Last Modified On: Tue Jun 13 12:05:28 EDT 1995 +;; Update Revision : 2.37 +;; Syntax : emacs-lisp +;; Status : Release with 3.1.12+ ispell. +;; Version : International Ispell Version 3.1 by Geoff Kuenning. +;; Bug Reports : ispell-el-bugs@itcorp.com +;; This file is part of GNU Emacs. -;;; ********************************************************************** -;;; The following variables should be set according to personal preference -;;; and location of binaries: -;;; ********************************************************************** +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;; Note: version numbers and time stamp are not updated +;; when this file is edited for release with GNU Emacs. + +;;; Commentary: +;; INSTRUCTIONS +;; +;; This code contains a section of user-settable variables that you should +;; inspect prior to installation. Look past the end of the history list. +;; Set them up for your locale and the preferences of the majority of the +;; users. Otherwise the users may need to set a number of variables +;; themselves. +;; You particularly may want to change the default dictionary for your +;; country and language. +;; +;; +;; To fully install this, add this file to your Emacs Lisp directory and +;; compile it with M-X byte-compile-file. Then add the following to the +;; appropriate init file: +;; +;; (autoload 'ispell-word "ispell" +;; "Check the spelling of word in buffer." t) +;; (global-set-key "\e$" 'ispell-word) +;; (autoload 'ispell-region "ispell" +;; "Check the spelling of region." t) +;; (autoload 'ispell-buffer "ispell" +;; "Check the spelling of buffer." t) +;; (autoload 'ispell-complete-word "ispell" +;; "Look up current word in dictionary and try to complete it." t) +;; (autoload 'ispell-change-dictionary "ispell" +;; "Change ispell dictionary." t) +;; (autoload 'ispell-message "ispell" +;; "Check spelling of mail message or news post.") +;; +;; Depending on the mail system you use, you may want to include these: +;; +;; (add-hook 'news-inews-hook 'ispell-message) +;; (add-hook 'mail-send-hook 'ispell-message) +;; (add-hook 'mh-before-send-letter-hook 'ispell-message) +;; +;; +;; Ispell has a TeX parser and a nroff parser (the default). +;; The parsing is controlled by the variable ispell-parser. Currently +;; it is just a "toggle" between TeX and nroff, but if more parsers are +;; added it will be updated. See the variable description for more info. +;; +;; +;; TABLE OF CONTENTS +;; +;; ispell-word +;; ispell-region +;; ispell-buffer +;; ispell-message +;; ispell-continue +;; ispell-complete-word +;; ispell-complete-word-interior-frag +;; ispell-change-dictionary +;; ispell-kill-ispell +;; ispell-pdict-save +;; +;; +;; Commands in ispell-region: +;; Character replacement: Replace word with choice. May query-replace. +;; ' ': Accept word this time. +;; 'i': Accept word and insert into private dictionary. +;; 'a': Accept word for this session. +;; 'A': Accept word and place in buffer-local dictionary. +;; 'r': Replace word with typed-in value. Rechecked. +;; 'R': Replace word with typed-in value. Query-replaced in buffer. Rechecked. +;; '?': Show these commands +;; 'x': Exit spelling buffer. Move cursor to original point. +;; 'X': Exit spelling buffer. Leave cursor at the current point. +;; 'q': Quit spelling session (Kills ispell process). +;; 'l': Look up typed-in replacement in alternate dictionary. Wildcards okay. +;; 'u': Like 'i', but the word is lower-cased first. +;; 'm': Like 'i', but allows one to include dictionary completion info. +;; 'C-l': redraws screen +;; 'C-r': recursive edit +;; 'C-z': suspend emacs or iconify frame +;; +;; Buffer-Local features: +;; There are a number of buffer-local features that can be used to customize +;; ispell for the current buffer. This includes language dictionaries, +;; personal dictionaries, parsing, and local word spellings. Each of these +;; local customizations are done either through local variables, or by +;; including the keyword and argument(s) at the end of the buffer (usually +;; prefixed by the comment characters). See the end of this file for +;; examples. The local keywords and variables are: +;; +;; ispell-dictionary-keyword language-dictionary +;; uses local variable ispell-local-dictionary +;; ispell-pdict-keyword personal-dictionary +;; uses local variable ispell-local-pdict +;; ispell-parsing-keyword mode-arg extended-char-arg +;; ispell-words-keyword any number of local word spellings +;; +;; +;; BUGS: +;; Highlighting in version 19 still doesn't work on tty's. +;; On some versions of emacs, growing the minibuffer fails. +;; +;; HISTORY +;; +;; Revision 2.37 1995/6/13 12:05:28 stevens +;; Removed autoload from ispell-dictionary-alist. *choices* mode-line shows +;; misspelled word. Block skip for pgp & forwarded messages added. +;; RMS: the autoload changes had problems and I removed them. +;; +;; Revision 2.36 1995/2/6 17:39:38 stevens +;; Properly adjust screen with different ispell-choices-win-default-height +;; settings. Skips SGML entity references. +;; +;; Revision 2.35 1995/1/13 14:16:46 stevens +;; Skips SGML tags, ispell-change-dictionary fix for add-hook, assure personal +;; dictionary is saved when called from the menu +;; +;; Revision 2.34 1994/12/08 13:17:41 stevens +;; Interaction corrected to function with all 3.1 ispell versions. +;; +;; Revision 2.33 1994/11/24 02:31:20 stevens +;; Repaired bug introduced in 2.32 that corrupts buffers when correcting. +;; Improved buffer scrolling. Nondestructive buffer selections allowed. +;; +;; Revision 2.32 1994/10/31 21:10:08 geoff +;; Many revisions accepted from RMS/FSF. I think (though I don't know) that +;; this represents an 'official' version. +;; +;; Revision 2.31 1994/5/31 10:18:17 stevens +;; Repaired comments. buffer-local commands executed in `ispell-word' now. +;; German dictionary described for extended character mode. Dict messages. +;; +;; Revision 2.30 1994/5/20 22:18:36 stevens +;; Continue ispell from ispell-word, C-z functionality fixed. +;; +;; Revision 2.29 1994/5/12 09:44:33 stevens +;; Restored ispell-use-ptys-p, ispell-message aborts sends with interrupt. +;; defined fn ispell +;; +;; Revision 2.28 1994/4/28 16:24:40 stevens +;; Window checking when ispell-message put on gnus-inews-article-hook jwz. +;; prefixed ispell- to highlight functions and horiz-scroll fn. +;; Try and respect case of word in ispell-complete-word. +;; Ignore non-char events. Ispell-use-ptys-p commented out. Lucid menu. +;; Better interrupt handling. ispell-message improvements from Ethan. +;; +;; Revision 2.27 +;; version 18 explicit C-g handling disabled as it didn't work. Added +;; ispell-extra-args for ispell customization (jwz) +;; +;; Revision 2.26 1994/2/15 16:11:14 stevens +;; name changes for copyright assignment. Added word-frags in complete-word. +;; Horizontal scroll (John Conover). Query-replace matches words now. bugs. +;; +;; Revision 2.25 +;; minor mods, upgraded ispell-message +;; +;; Revision 2.24 +;; query-replace more robust, messages, defaults, ispell-change-dict. +;; +;; Revision 2.23 1993/11/22 23:47:03 stevens +;; ispell-message, Fixed highlighting, added menu-bar, fixed ispell-help, ... +;; +;; Revision 2.22 +;; Added 'u' command. Fixed default in ispell-local-dictionary. +;; fixed affix rules display. Tib skipping more robust. Contributions by +;; Per Abraham (parser selection), Denis Howe, and Eberhard Mattes. +;; +;; Revision 2.21 1993/06/30 14:09:04 stevens +;; minor bugs. (nroff word skipping fixed) +;; +;; Revision 2.20 1993/06/30 14:09:04 stevens +;; +;; Debugging and contributions by: Boris Aronov, Rik Faith, Chris Moore, +;; Kevin Rodgers, Malcolm Davis. +;; Particular thanks to Michael Lipp, Jamie Zawinski, Phil Queinnec +;; and John Heidemann for suggestions and code. +;; Major update including many tweaks. +;; Many changes were integrations of suggestions. +;; lookup-words rehacked to use call-process (Jamie). +;; ispell-complete-word rehacked to be compatible with the rest of the +;; system for word searching and to include multiple wildcards, +;; and it's own dictionary. +;; query-replace capability added. New options 'X', 'R', and 'A'. +;; buffer-local modes for dictionary, word-spelling, and formatter-parsing. +;; Many random bugs, like commented comments being skipped, fix to +;; keep-choices-win, fix for math mode, added pipe mode choice, +;; fixed 'q' command, ispell-word checks previous word and leave cursor +;; in same location. Fixed tib code which could drop spelling regions. +;; Cleaned up setq calls for efficiency. Gave more context on window overlays. +;; Assure context on ispell-command-loop. Window lossage in look cmd fixed. +;; Due to pervasive opinion, common-lisp package syntax removed. Display +;; problem when not highlighting. +;; +;; Revision 2.19 1992/01/10 10:54:08 geoff +;; Make another attempt at fixing the "Bogus, dude" problem. This one is +;; less elegant, but has the advantage of working. +;; +;; Revision 2.18 1992/01/07 10:04:52 geoff +;; Fix the "Bogus, Dude" problem in ispell-word. +;; +;; Revision 2.17 1991/09/12 00:01:42 geoff +;; Add some changes to make ispell-complete-word work better, though +;; still not perfectly. +;; +;; Revision 2.16 91/09/04 18:00:52 geoff +;; More updates from Sebastian, to make the multiple-dictionary support +;; more flexible. +;; +;; Revision 2.15 91/09/04 17:30:02 geoff +;; Sebastian Kremer's tib support +;; +;; Revision 2.14 91/09/04 16:19:37 geoff +;; Don't do set-window-start if the move-to-window-line moved us +;; downward, rather than upward. This prevents getting the buffer all +;; confused. Also, don't use the "not-modified" function to clear the +;; modification flag; instead use set-buffer-modified-p. This prevents +;; extra messages from flashing. +;; +;; Revision 2.13 91/09/04 14:35:41 geoff +;; Fix a spelling error in a comment. Add code to handshake with the +;; ispell process before sending anything to it. +;; +;; Revision 2.12 91/09/03 20:14:21 geoff +;; Add Sebastian Kremer's multiple-language support. +;; +;; +;; Walt Buehring +;; Texas Instruments - Computer Science Center +;; ARPA: Buehring%TI-CSL@CSNet-Relay +;; UUCP: {smu, texsun, im4u, rice} ! ti-csl ! buehring +;; +;; ispell-region and associated routines added by +;; Perry Smith +;; pedz@bobkat +;; Tue Jan 13 20:18:02 CST 1987 +;; +;; extensively modified by Mark Davies and Andrew Vignaux +;; {mark,andrew}@vuwcomp +;; Sun May 10 11:45:04 NZST 1987 +;; +;; Ken Stevens ARPA: k.stevens@ieee.org +;; Tue Jan 3 16:59:07 PST 1989 +;; This file has overgone a major overhaul to be compatible with ispell +;; version 2.1. Most of the functions have been totally rewritten, and +;; many user-accessible variables have been added. The syntax table has +;; been removed since it didn't work properly anyway, and a filter is +;; used rather than a buffer. Regular expressions are used based on +;; ispell's internal definition of characters (see ispell(4)). +;; Some new updates: +;; - Updated to version 3.0 to include terse processing. +;; - Added a variable for the look command. +;; - Fixed a bug in ispell-word when cursor is far away from the word +;; that is to be checked. +;; - Ispell places the incorrect word or guess in the minibuffer now. +;; - fixed a bug with 'l' option when multiple windows are on the screen. +;; - lookup-words just didn't work with the process filter. Fixed. +;; - Rewrote the process filter to make it cleaner and more robust +;; in the event of a continued line not being completed. +;; - Made ispell-init-process more robust in handling errors. +;; - Fixed bug in continuation location after a region has been modified by +;; correcting a misspelling. +;; Mon 17 Sept 1990 +;; +;; Sebastian Kremer <sk@thp.uni-koeln.de> +;; Wed Aug 7 14:02:17 MET DST 1991 +;; - Ported ispell-complete-word from Ispell 2 to Ispell 3. +;; - Added ispell-kill-ispell command. +;; - Added ispell-dictionary and ispell-dictionary-alist variables to +;; support other than default language. See their docstrings and +;; command ispell-change-dictionary. +;; - (ispelled it :-) +;; - Added ispell-skip-tib variable to support the tib bibliography +;; program. + + +;; ********************************************************************** +;; The following variables should be set according to personal preference +;; and location of binaries: +;; ********************************************************************** + +;; ******* THIS FILE IS WRITTEN FOR ISPELL VERSION 3.1 -;;; ******* THIS FILE IS WRITTEN FOR ISPELL VERSION 3.1 ;;; Code: (defvar ispell-highlight-p t diff --git a/lisp/textmodes/ispell4.el b/lisp/textmodes/ispell4.el index 1d7972a08ec..de1b8c72dd4 100644 --- a/lisp/textmodes/ispell4.el +++ b/lisp/textmodes/ispell4.el @@ -1,24 +1,25 @@ -;;; ispell.el --- this is the GNU EMACS interface to GNU ISPELL version 4. +;;; ispell4.el --- this is the GNU EMACS interface to GNU ISPELL version 4. -;;Copyright (C) 1990, 1991, 1993 Free Software Foundation, Inc. +;; Copyright (C) 1990, 1991, 1993 Free Software Foundation, Inc. ;; Keywords: wp -;;This file is part of GNU Emacs. -;; -;;GNU Emacs is free software; you can redistribute it and/or modify -;;it under the terms of the GNU General Public License as published by -;;the Free Software Foundation; either version 2, or (at your option) -;;any later version. -;; -;;GNU Emacs is distributed in the hope that it will be useful, -;;but WITHOUT ANY WARRANTY; without even the implied warranty of -;;MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;;GNU General Public License for more details. -;; -;;You should have received a copy of the GNU General Public License -;;along with GNU Emacs; see the file COPYING. If not, write to -;;the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/makeinfo.el b/lisp/textmodes/makeinfo.el index dbc5996d93f..a649d522156 100644 --- a/lisp/textmodes/makeinfo.el +++ b/lisp/textmodes/makeinfo.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el index 15d5fd32c24..71ef6c2643e 100644 --- a/lisp/textmodes/nroff-mode.el +++ b/lisp/textmodes/nroff-mode.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el index 7e504904333..f7710412cac 100644 --- a/lisp/textmodes/ooutline.el +++ b/lisp/textmodes/ooutline.el @@ -1,4 +1,5 @@ ;;; outline.el --- outline mode commands for Emacs + ;; Copyright (C) 1986, 1993, 1994 Free Software Foundation, Inc. ;; Maintainer: FSF @@ -17,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/outline.el b/lisp/textmodes/outline.el index b36e3c76163..6992b4380ce 100644 --- a/lisp/textmodes/outline.el +++ b/lisp/textmodes/outline.el @@ -1,4 +1,5 @@ ;;; outline.el --- outline mode commands for Emacs + ;; Copyright (C) 1986, 1993, 1994, 1995 Free Software Foundation, Inc. ;; Maintainer: FSF @@ -17,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el index 2a5ab9ef4a5..b0fad3a1bc3 100644 --- a/lisp/textmodes/page-ext.el +++ b/lisp/textmodes/page-ext.el @@ -1,8 +1,5 @@ ;;; page-ext.el --- extended page handling commands -;; You may use these commands to handle an address list or other -;; small data base. - ;; Copyright (C) 1990, 1991, 1993, 1994 Free Software Foundation ;; Maintainer: Robert J. Chassell <bob@gnu.ai.mit.edu> @@ -20,212 +17,218 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;;; Commentary: + +;; You may use these commands to handle an address list or other +;; small data base. ;;; Summary -; The current page commands are: - -; forward-page C-x ] -; backward-page C-x [ -; narrow-to-page C-x p -; count-lines-page C-x l -; mark-page C-x C-p (change this to C-x C-p C-m) -; sort-pages not bound -; what-page not bound - -; The new page handling commands all use `C-x C-p' as a prefix. This -; means that the key binding for `mark-page' must be changed. -; Otherwise, no other changes are made to the current commands or -; their bindings. - -; New page handling commands: - -; next-page C-x C-p C-n -; previous-page C-x C-p C-p -; search-pages C-x C-p C-s -; add-new-page C-x C-p C-a -; sort-pages-buffer C-x C-p s -; set-page-delimiter C-x C-p C-l -; pages-directory C-x C-p C-d -; pages-directory-for-addresses C-x C-p d -; pages-directory-goto C-c C-c +;; The current page commands are: + +;; forward-page C-x ] +;; backward-page C-x [ +;; narrow-to-page C-x p +;; count-lines-page C-x l +;; mark-page C-x C-p (change this to C-x C-p C-m) +;; sort-pages not bound +;; what-page not bound + +;; The new page handling commands all use `C-x C-p' as a prefix. This +;; means that the key binding for `mark-page' must be changed. +;; Otherwise, no other changes are made to the current commands or +;; their bindings. + +;; New page handling commands: + +;; next-page C-x C-p C-n +;; previous-page C-x C-p C-p +;; search-pages C-x C-p C-s +;; add-new-page C-x C-p C-a +;; sort-pages-buffer C-x C-p s +;; set-page-delimiter C-x C-p C-l +;; pages-directory C-x C-p C-d +;; pages-directory-for-addresses C-x C-p d +;; pages-directory-goto C-c C-c ;;; Using the page commands -; The page commands are helpful in several different contexts. For -; example, programmers often divide source files into sections using the -; `page-delimiter'; you can use the `pages-directory' command to list -; the sections. - -; You may change the buffer local value of the `page-delimiter' with -; the `set-page-delimiter' command. This command is bound to `C-x C-p -; C-l' The command prompts you for a new value for the page-delimiter. -; Called with a prefix-arg, the command resets the value of the -; page-delimiter to its original value. - -; You may set several user options: -; -; The `pages-directory-buffer-narrowing-p' variable causes the -; `pages-directory-goto' command to narrow to the destination page. -; -; The `pages-directory-for-adding-page-narrowing-p' variable, causes the -; `add-new-page' command to narrow to the new entry. -; -; The `pages-directory-for-adding-new-page-before-current-page-p' variable -; causes the `add-new-page' command to insert a new page before current -; page. -; -; These variables are true by default. -; -; Additional, addresses-related user options are described in the next page -; of this file. +;; The page commands are helpful in several different contexts. For +;; example, programmers often divide source files into sections using the +;; `page-delimiter'; you can use the `pages-directory' command to list +;; the sections. + +;; You may change the buffer local value of the `page-delimiter' with +;; the `set-page-delimiter' command. This command is bound to `C-x C-p +;; C-l' The command prompts you for a new value for the page-delimiter. +;; Called with a prefix-arg, the command resets the value of the +;; page-delimiter to its original value. + +;; You may set several user options: +;; +;; The `pages-directory-buffer-narrowing-p' variable causes the +;; `pages-directory-goto' command to narrow to the destination page. +;; +;; The `pages-directory-for-adding-page-narrowing-p' variable, causes the +;; `add-new-page' command to narrow to the new entry. +;; +;; The `pages-directory-for-adding-new-page-before-current-page-p' variable +;; causes the `add-new-page' command to insert a new page before current +;; page. +;; +;; These variables are true by default. +;; +;; Additional, addresses-related user options are described in the next page +;; of this file. ;;; Handling an address list or small data base -; You may use the page commands to handle an address list or other -; small data base. Put each address or entry on its own page. The -; first line of text in each page is a `header line' and is listed by -; the `pages-directory' or `pages-directory-for-addresses' command. - -; Specifically: -; -; 1. Begin each entry with a `page-delimiter' (which is, by default, -; `^L' at the beginning of the line). -; -; 2. The first line of text in each entry is the `heading line'; it -; will appear in the pages-directory-buffer which is constructed -; using the `C-x C-p C-d' (pages-directory) command or the `C-x -; C-p d' (pages-directory-for-addresses) command. -; -; The heading line may be on the same line as the page-delimiter -; or it may follow after. It is the first non-blank line on the -; page. Conventionally, the heading line is placed on the line -; immediately following the line containing page-delimiter. -; -; 3. Follow the heading line with the body of the entry. The body -; extends up to the next `page-delimiter'. The body may be of any -; length. It is conventional to place a blank line after the last -; line of the body. - -; For example, a file might look like this: -; -; FSF -; Free Software Foundation -; 675 Massachusetts Avenue -; Cambridge, MA 02139 USA -; (617) 876-3296 -; gnu@prep.ai.mit.edu -; -; -; House Subcommittee on Intellectual Property, -; U.S. House of Representatives, -; Washington, DC 20515 -; -; Congressional committee concerned with permitting or preventing -; monopolistic restrictions on the use of software technology. -; -; -; George Lakoff -; ``Women, Fire, and Dangerous Things: -; What Categories Reveal about the Mind'' -; 1987, Univ. of Chicago Press -; -; About philosophy, Whorfian effects, and linguistics. -; -; -; OBI (On line text collection.) -; Open Book Initiative -; c/o Software Tool & Die -; 1330 Beacon St, Brookline, MA 02146 USA -; (617) 739-0202 -; obi@world.std.com - -; In this example, the heading lines are: -; -; FSF -; House Subcommittee on Intellectual Property -; George Lakoff -; OBI (On line text collection.) - -; The `C-x C-p s' (sort-pages-buffer) command sorts the entries in the -; buffer alphabetically. - -; You may use any of the page commands, including the `next-page', -; `previous-page', `add-new-page', `mark-page', and `search-pages' -; commands. - -; You may use either the `C-x C-p d' (pages-directory-for-addresses) -; or the `C-x C-p C-d' (pages-directory) command to construct and -; display a directory of all the heading lines. - -; In the directory, you may position the cursor over a heading line -; and type `C-c C-c' (pages-directory-goto) to go to the entry to -; which it refers in the pages buffer. - -; You can type `C-c C-p C-a' (add-new-page) to add a new entry in the -; pages buffer or address file. This is the same command you use to -; add a new entry when you are in the pages buffer or address file. - -; If you wish, you may create several different directories, -; one for each different buffer. +;; You may use the page commands to handle an address list or other +;; small data base. Put each address or entry on its own page. The +;; first line of text in each page is a `header line' and is listed by +;; the `pages-directory' or `pages-directory-for-addresses' command. + +;; Specifically: +;; +;; 1. Begin each entry with a `page-delimiter' (which is, by default, +;; `^L' at the beginning of the line). +;; +;; 2. The first line of text in each entry is the `heading line'; it +;; will appear in the pages-directory-buffer which is constructed +;; using the `C-x C-p C-d' (pages-directory) command or the `C-x +;; C-p d' (pages-directory-for-addresses) command. +;; +;; The heading line may be on the same line as the page-delimiter +;; or it may follow after. It is the first non-blank line on the +;; page. Conventionally, the heading line is placed on the line +;; immediately following the line containing page-delimiter. +;; +;; 3. Follow the heading line with the body of the entry. The body +;; extends up to the next `page-delimiter'. The body may be of any +;; length. It is conventional to place a blank line after the last +;; line of the body. + +;; For example, a file might look like this: +;; +;; FSF +;; Free Software Foundation +;; 675 Massachusetts Avenue +;; Cambridge, MA 02139 USA +;; (617) 876-3296 +;; gnu@prep.ai.mit.edu +;; +;; +;; House Subcommittee on Intellectual Property, +;; U.S. House of Representatives, +;; Washington, DC 20515 +;; +;; Congressional committee concerned with permitting or preventing +;; monopolistic restrictions on the use of software technology. +;; +;; +;; George Lakoff +;; ``Women, Fire, and Dangerous Things: +;; What Categories Reveal about the Mind'' +;; 1987, Univ. of Chicago Press +;; +;; About philosophy, Whorfian effects, and linguistics. +;; +;; +;; OBI (On line text collection.) +;; Open Book Initiative +;; c/o Software Tool & Die +;; 1330 Beacon St, Brookline, MA 02146 USA +;; (617) 739-0202 +;; obi@world.std.com + +;; In this example, the heading lines are: +;; +;; FSF +;; House Subcommittee on Intellectual Property +;; George Lakoff +;; OBI (On line text collection.) + +;; The `C-x C-p s' (sort-pages-buffer) command sorts the entries in the +;; buffer alphabetically. + +;; You may use any of the page commands, including the `next-page', +;; `previous-page', `add-new-page', `mark-page', and `search-pages' +;; commands. + +;; You may use either the `C-x C-p d' (pages-directory-for-addresses) +;; or the `C-x C-p C-d' (pages-directory) command to construct and +;; display a directory of all the heading lines. + +;; In the directory, you may position the cursor over a heading line +;; and type `C-c C-c' (pages-directory-goto) to go to the entry to +;; which it refers in the pages buffer. + +;; You can type `C-c C-p C-a' (add-new-page) to add a new entry in the +;; pages buffer or address file. This is the same command you use to +;; add a new entry when you are in the pages buffer or address file. + +;; If you wish, you may create several different directories, +;; one for each different buffer. ;; `pages-directory-for-addresses' in detail -; The `pages-directory-for-addresses' assumes a default addresses -; file. You do not need to specify the addresses file but merely type -; `C-x C-p d' from any buffer. The command finds the file, constructs -; a directory for it, and switches you to the directory. If you call -; the command with a prefix arg, `C-u C-x C-p d', it prompts you for a -; file name. +;; The `pages-directory-for-addresses' assumes a default addresses +;; file. You do not need to specify the addresses file but merely type +;; `C-x C-p d' from any buffer. The command finds the file, constructs +;; a directory for it, and switches you to the directory. If you call +;; the command with a prefix arg, `C-u C-x C-p d', it prompts you for a +;; file name. -; You may customize the addresses commands: +;; You may customize the addresses commands: -; The `pages-addresses-file-name' variable determines the name of -; the addresses file; by default it is "~/addresses". +;; The `pages-addresses-file-name' variable determines the name of +;; the addresses file; by default it is "~/addresses". -; The `pages-directory-for-addresses-goto-narrowing-p' variable -; determines whether `pages-directory-goto' narrows the addresses -; buffer to the entry, which it does by default. +;; The `pages-directory-for-addresses-goto-narrowing-p' variable +;; determines whether `pages-directory-goto' narrows the addresses +;; buffer to the entry, which it does by default. -; The `pages-directory-for-addresses-buffer-keep-windows-p' variable -; determines whether `pages-directory-for-addresses' deletes other -; windows to show as many lines as possible on the screen or works -; in the usual Emacs manner and keeps other windows. Default is to -; keep other windows. +;; The `pages-directory-for-addresses-buffer-keep-windows-p' variable +;; determines whether `pages-directory-for-addresses' deletes other +;; windows to show as many lines as possible on the screen or works +;; in the usual Emacs manner and keeps other windows. Default is to +;; keep other windows. -; The `pages-directory-for-adding-addresses-narrowing-p' variable -; determines whether `pages-directory-for-addresses' narrows the -; addresses buffer to a new entry when you are adding that entry. -; Default is to narrow to new entry, which means you see a blank -; screen before you write the new entry. +;; The `pages-directory-for-adding-addresses-narrowing-p' variable +;; determines whether `pages-directory-for-addresses' narrows the +;; addresses buffer to a new entry when you are adding that entry. +;; Default is to narrow to new entry, which means you see a blank +;; screen before you write the new entry. ;; `pages-directory' in detail -; Call the `pages-directory' command from the buffer for which you -; want a directory created; it creates a directory for the buffer and -; pops you to the directory. - -; The `pages-directory' command has several options: - -; Called with a prefix arg, `C-u C-x C-p C-d', the `pages-directory' -; prompts you for a regular expression and only lists only those -; header lines that are part of pages that contain matches to the -; regexp. In the example above, `C-u C-x C-p C-d 617 RET' would -; match the telephone area code of the first and fourth entries, so -; only the header lines of those two entries would appear in the -; pages-directory-buffer. -; -; Called with a numeric argument, the `pages-directory' command -; lists the number of lines in each page. This is helpful when you -; are printing hardcopy. - -; Called with a negative numeric argument, the `pages-directory' -; command lists the lengths of pages whose contents match a regexp. +;; Call the `pages-directory' command from the buffer for which you +;; want a directory created; it creates a directory for the buffer and +;; pops you to the directory. + +;; The `pages-directory' command has several options: + +;; Called with a prefix arg, `C-u C-x C-p C-d', the `pages-directory' +;; prompts you for a regular expression and only lists only those +;; header lines that are part of pages that contain matches to the +;; regexp. In the example above, `C-u C-x C-p C-d 617 RET' would +;; match the telephone area code of the first and fourth entries, so +;; only the header lines of those two entries would appear in the +;; pages-directory-buffer. +;; +;; Called with a numeric argument, the `pages-directory' command +;; lists the number of lines in each page. This is helpful when you +;; are printing hardcopy. + +;; Called with a negative numeric argument, the `pages-directory' +;; command lists the lengths of pages whose contents match a regexp. ;;; Code: diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el index c110ca842ed..aecfbd698d7 100644 --- a/lisp/textmodes/page.el +++ b/lisp/textmodes/page.el @@ -17,8 +17,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/paragraphs.el b/lisp/textmodes/paragraphs.el index 9a50e555f58..120a381b3dc 100644 --- a/lisp/textmodes/paragraphs.el +++ b/lisp/textmodes/paragraphs.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el index ad69ddf2823..9dd63507ea1 100644 --- a/lisp/textmodes/picture.el +++ b/lisp/textmodes/picture.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/refbib.el b/lisp/textmodes/refbib.el index e329a8d6d65..c006b910a9b 100644 --- a/lisp/textmodes/refbib.el +++ b/lisp/textmodes/refbib.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: @@ -30,28 +31,28 @@ ;;; Change Log: -; HISTORY -; 9/88, created H.Kautz -; modified 1/19/89, allow books with editor but no author; -; added %O ordering field; -; appended illegal multiple fields, instead of -; discarding; -; added rule, a tech report whose %R number -; contains "ISBN" is really a book -; added rule, anything with an editor is a book -; or a proceedings -; added 'manual type, for items with institution -; but no author or editor -; fixed bug so trailing blanks are trimmed -; added 'proceedings type -; used "organization" field for proceedings -; modified 2/16/89, updated help messages -; modified 2/23/89, include capitalize stop words in r2b stop words, -; fixed problems with contractions (e.g. it's), -; caught multiple stop words in a row -; modified 3/1/89, fixed capitalize-title for first words all caps -; modified 3/15/89, allow use of " to delimit fields -; modified 4/18/89, properly "quote" special characters on output +;; HISTORY +;; 9/88, created H.Kautz +;; modified 1/19/89, allow books with editor but no author; +;; added %O ordering field; +;; appended illegal multiple fields, instead of +;; discarding; +;; added rule, a tech report whose %R number +;; contains "ISBN" is really a book +;; added rule, anything with an editor is a book +;; or a proceedings +;; added 'manual type, for items with institution +;; but no author or editor +;; fixed bug so trailing blanks are trimmed +;; added 'proceedings type +;; used "organization" field for proceedings +;; modified 2/16/89, updated help messages +;; modified 2/23/89, include capitalize stop words in r2b stop words, +;; fixed problems with contractions (e.g. it's), +;; caught multiple stop words in a row +;; modified 3/1/89, fixed capitalize-title for first words all caps +;; modified 3/15/89, allow use of " to delimit fields +;; modified 4/18/89, properly "quote" special characters on output ;;; Code: diff --git a/lisp/textmodes/refer.el b/lisp/textmodes/refer.el index 7409660fcc1..d98228c2422 100644 --- a/lisp/textmodes/refer.el +++ b/lisp/textmodes/refer.el @@ -19,11 +19,12 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: -;; + ;; Functions to look up references in bibliography files given lists of ;; keywords, similar to refer(1). I don't use tags since tags on .bib files ;; only picks up the cite key, where as refer-find-entry looks for occurrences @@ -60,7 +61,7 @@ ;; the (forward-paragraph 1) call in refer-find-entry-in-file. ;;; ChangeLog: -;; + ;; 01/08/89 Ashwin Ram <Ram-Ashwin@cs.yale.edu> ;; Initial release. ;; diff --git a/lisp/textmodes/scribe.el b/lisp/textmodes/scribe.el index 10c6ff3a42e..2ec4899585a 100644 --- a/lisp/textmodes/scribe.el +++ b/lisp/textmodes/scribe.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/sgml-mode.el b/lisp/textmodes/sgml-mode.el index 6613247e4bd..51512092857 100644 --- a/lisp/textmodes/sgml-mode.el +++ b/lisp/textmodes/sgml-mode.el @@ -19,8 +19,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el index 20a6d8be27c..65dde5383c7 100644 --- a/lisp/textmodes/spell.el +++ b/lisp/textmodes/spell.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el index e4b0edf1b31..50a5c5dd534 100644 --- a/lisp/textmodes/texinfmt.el +++ b/lisp/textmodes/texinfmt.el @@ -1,7 +1,7 @@ ;;; texinfmt.el --- format Texinfo files into Info files. -;; Copyright (C) 1985, 1986, 1988, -;; 1990, 1991, 1992, 1993 Free Software Foundation, Inc. +;; Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993 Free Software +;; Foundation, Inc. ;; Maintainer: Robert J. Chassell <bug-texinfo@prep.ai.mit.edu> @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Code: diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el index d7f1bd6ee78..7298c8e6a3e 100644 --- a/lisp/textmodes/texinfo.el +++ b/lisp/textmodes/texinfo.el @@ -1,7 +1,7 @@ ;;; texinfo.el --- major mode for editing Texinfo files -;; Copyright (C) 1985, '88, '89, -;; '90, '91, '92, '93 Free Software Foundation, Inc. +;; Copyright (C) 1985, 1988, 1989, 1990, 1991, 1992, 1993 Free Software +;; Foundation, Inc. ;; Author: Robert J. Chassell ;; Maintainer: FSF @@ -19,8 +19,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Autoloads: diff --git a/lisp/textmodes/texnfo-upd.el b/lisp/textmodes/texnfo-upd.el index cfd64adce4b..5173739ef8a 100644 --- a/lisp/textmodes/texnfo-upd.el +++ b/lisp/textmodes/texnfo-upd.el @@ -19,131 +19,132 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: -;;; Known bug: update commands fail to ignore @ignore. +;; Known bug: update commands fail to ignore @ignore. -;;; Summary: how to use the updating commands +;; Summary: how to use the updating commands -; The node and menu updating functions automatically +;; The node and menu updating functions automatically -; * insert missing `@node' lines, -; * insert the `Next', `Previous' and `Up' pointers of a node, -; * insert or update the menu for a section, -; * create a master menu for a Texinfo source file. -; -; Passed an argument, the `texinfo-update-node' and -; `texinfo-make-menu' functions do their jobs in the region. -; -; In brief, the functions for creating or updating nodes and menus, are: -; -; texinfo-update-node (&optional region-p) -; texinfo-every-node-update () -; texinfo-sequential-node-update (&optional region-p) -; -; texinfo-make-menu (&optional region-p) -; texinfo-all-menus-update () -; texinfo-master-menu () -; -; texinfo-insert-node-lines (&optional title-p) -; -; texinfo-indent-menu-description (column &optional region-p) +;; * insert missing `@node' lines, +;; * insert the `Next', `Previous' and `Up' pointers of a node, +;; * insert or update the menu for a section, +;; * create a master menu for a Texinfo source file. +;; +;; Passed an argument, the `texinfo-update-node' and +;; `texinfo-make-menu' functions do their jobs in the region. +;; +;; In brief, the functions for creating or updating nodes and menus, are: +;; +;; texinfo-update-node (&optional region-p) +;; texinfo-every-node-update () +;; texinfo-sequential-node-update (&optional region-p) +;; +;; texinfo-make-menu (&optional region-p) +;; texinfo-all-menus-update () +;; texinfo-master-menu () +;; +;; texinfo-insert-node-lines (&optional title-p) +;; +;; texinfo-indent-menu-description (column &optional region-p) -; The `texinfo-column-for-description' variable specifies the column to -; which menu descriptions are indented. +;; The `texinfo-column-for-description' variable specifies the column to +;; which menu descriptions are indented. -; Texinfo file structure -; ---------------------- +;; Texinfo file structure +;; ---------------------- -; To use the updating commands, you must structure your Texinfo file -; hierarchically. Each `@node' line, with the exception of the top -; node, must be accompanied by some kind of section line, such as an -; `@chapter' or `@section' line. Each node-line/section-line -; combination must look like this: +;; To use the updating commands, you must structure your Texinfo file +;; hierarchically. Each `@node' line, with the exception of the top +;; node, must be accompanied by some kind of section line, such as an +;; `@chapter' or `@section' line. Each node-line/section-line +;; combination must look like this: -; @node Lists and Tables, Cross References, Structuring, Top -; @comment node-name, next, previous, up -; @chapter Making Lists and Tables +;; @node Lists and Tables, Cross References, Structuring, Top +;; @comment node-name, next, previous, up +;; @chapter Making Lists and Tables -; or like this (without the `@comment' line): +;; or like this (without the `@comment' line): -; @node Lists and Tables, Cross References, Structuring, Top -; @chapter Making Lists and Tables +;; @node Lists and Tables, Cross References, Structuring, Top +;; @chapter Making Lists and Tables -; If the file has a `top' node, it must be called `top' or `Top' and -; be the first node in the file. +;; If the file has a `top' node, it must be called `top' or `Top' and +;; be the first node in the file. ;;; The update node functions described in detail -; The `texinfo-update-node' function without an argument inserts -; the correct next, previous and up pointers for the node in which -; point is located (i.e., for the node preceding point). +;; The `texinfo-update-node' function without an argument inserts +;; the correct next, previous and up pointers for the node in which +;; point is located (i.e., for the node preceding point). -; With an argument, the `texinfo-update-node' function inserts the -; correct next, previous and up pointers for the nodes inside the -; region. +;; With an argument, the `texinfo-update-node' function inserts the +;; correct next, previous and up pointers for the nodes inside the +;; region. -; It does not matter whether the `@node' line has pre-existing -; `Next', `Previous', or `Up' pointers in it. They are removed. +;; It does not matter whether the `@node' line has pre-existing +;; `Next', `Previous', or `Up' pointers in it. They are removed. -; The `texinfo-every-node-update' function runs `texinfo-update-node' -; on the whole buffer. +;; The `texinfo-every-node-update' function runs `texinfo-update-node' +;; on the whole buffer. -; The `texinfo-sequential-node-update' function inserts the -; immediately following and preceding node into the `Next' or -; `Previous' pointers regardless of their hierarchical level. This is -; only useful for certain kinds of text, like a novel, which you go -; through sequentially. +;; The `texinfo-sequential-node-update' function inserts the +;; immediately following and preceding node into the `Next' or +;; `Previous' pointers regardless of their hierarchical level. This is +;; only useful for certain kinds of text, like a novel, which you go +;; through sequentially. ;;; The menu making functions described in detail -; The `texinfo-make-menu' function without an argument creates or -; updates a menu for the section encompassing the node that follows -; point. With an argument, it makes or updates menus for the nodes -; within or part of the marked region. - -; Whenever an existing menu is updated, the descriptions from -; that menu are incorporated into the new menu. This is done by copying -; descriptions from the existing menu to the entries in the new menu -; that have the same node names. If the node names are different, the -; descriptions are not copied to the new menu. - -; Menu entries that refer to other Info files are removed since they -; are not a node within current buffer. This is a deficiency. - -; The `texinfo-all-menus-update' function runs `texinfo-make-menu' -; on the whole buffer. - -; The `texinfo-master-menu' function creates an extended menu located -; after the top node. (The file must have a top node.) The function -; first updates all the regular menus in the buffer (incorporating the -; descriptions from pre-existing menus), and then constructs a master -; menu that includes every entry from every other menu. (However, the -; function cannot update an already existing master menu; if one -; exists, it must be removed before calling the function.) - -; The `texinfo-indent-menu-description' function indents every -; description in the menu following point, to the specified column. -; Non-nil argument (prefix, if interactive) means indent every -; description in every menu in the region. This function does not -; indent second and subsequent lines of a multi-line description. - -; The `texinfo-insert-node-lines' function inserts `@node' before the -; `@chapter', `@section', and such like lines of a region in a Texinfo -; file where the `@node' lines are missing. -; -; With a non-nil argument (prefix, if interactive), the function not -; only inserts `@node' lines but also inserts the chapter or section -; titles as the names of the corresponding nodes; and inserts titles -; as node names in pre-existing `@node' lines that lack names. -; -; Since node names should be more concise than section or chapter -; titles, node names so inserted will need to be edited manually. +;; The `texinfo-make-menu' function without an argument creates or +;; updates a menu for the section encompassing the node that follows +;; point. With an argument, it makes or updates menus for the nodes +;; within or part of the marked region. + +;; Whenever an existing menu is updated, the descriptions from +;; that menu are incorporated into the new menu. This is done by copying +;; descriptions from the existing menu to the entries in the new menu +;; that have the same node names. If the node names are different, the +;; descriptions are not copied to the new menu. + +;; Menu entries that refer to other Info files are removed since they +;; are not a node within current buffer. This is a deficiency. + +;; The `texinfo-all-menus-update' function runs `texinfo-make-menu' +;; on the whole buffer. + +;; The `texinfo-master-menu' function creates an extended menu located +;; after the top node. (The file must have a top node.) The function +;; first updates all the regular menus in the buffer (incorporating the +;; descriptions from pre-existing menus), and then constructs a master +;; menu that includes every entry from every other menu. (However, the +;; function cannot update an already existing master menu; if one +;; exists, it must be removed before calling the function.) + +;; The `texinfo-indent-menu-description' function indents every +;; description in the menu following point, to the specified column. +;; Non-nil argument (prefix, if interactive) means indent every +;; description in every menu in the region. This function does not +;; indent second and subsequent lines of a multi-line description. + +;; The `texinfo-insert-node-lines' function inserts `@node' before the +;; `@chapter', `@section', and such like lines of a region in a Texinfo +;; file where the `@node' lines are missing. +;; +;; With a non-nil argument (prefix, if interactive), the function not +;; only inserts `@node' lines but also inserts the chapter or section +;; titles as the names of the corresponding nodes; and inserts titles +;; as node names in pre-existing `@node' lines that lack names. +;; +;; Since node names should be more concise than section or chapter +;; titles, node names so inserted will need to be edited manually. ;;; Code: diff --git a/lisp/textmodes/text-mode.el b/lisp/textmodes/text-mode.el index 2dd825187ce..ab8895e9872 100644 --- a/lisp/textmodes/text-mode.el +++ b/lisp/textmodes/text-mode.el @@ -17,9 +17,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/textmodes/underline.el b/lisp/textmodes/underline.el index 78c7d8b9e9b..91dc0b2c2f8 100644 --- a/lisp/textmodes/underline.el +++ b/lisp/textmodes/underline.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: |