aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond1992-07-16 21:47:34 +0000
committerEric S. Raymond1992-07-16 21:47:34 +0000
commite516799970be4553edae8ca46d5f64852befec77 (patch)
treed43d904ac4a87a1be2f4c0375b3f70928f952cf1
parentde49a6d37ea9c3111763e38df15e50a7fb9fa5c5 (diff)
downloademacs-e516799970be4553edae8ca46d5f64852befec77.tar.gz
emacs-e516799970be4553edae8ca46d5f64852befec77.zip
*** empty log message ***
-rw-r--r--lisp/abbrev.el11
-rw-r--r--lisp/abbrevlist.el6
-rw-r--r--lisp/ada.el16
-rw-r--r--lisp/apropos.el12
-rw-r--r--lisp/array.el15
-rw-r--r--lisp/autoinsert.el10
-rw-r--r--lisp/calendar/appt.el13
-rw-r--r--lisp/case-table.el11
-rw-r--r--lisp/chistory.el10
-rw-r--r--lisp/comint.el14
-rw-r--r--lisp/compare-w.el7
-rw-r--r--lisp/dabbrev.el10
-rw-r--r--lisp/diff.el13
-rw-r--r--lisp/dired-aux.el7
-rw-r--r--lisp/disp-table.el9
-rw-r--r--lisp/ebuff-menu.el14
-rw-r--r--lisp/echistory.el8
-rw-r--r--lisp/edmacro.el13
-rw-r--r--lisp/ehelp.el7
-rw-r--r--lisp/electric.el7
-rw-r--r--lisp/emacs-lisp/autoload.el8
-rw-r--r--lisp/emacs-lisp/backquote.el10
-rw-r--r--lisp/emacs-lisp/cl-indent.el9
-rw-r--r--lisp/emacs-lisp/cust-print.el13
-rw-r--r--lisp/emacs-lisp/debug.el6
-rw-r--r--lisp/emacs-lisp/float.el11
-rw-r--r--lisp/emacs-lisp/helper.el8
-rw-r--r--lisp/emacs-lisp/lisp-mode.el5
-rw-r--r--lisp/emacs-lisp/lisp.el6
-rw-r--r--lisp/emacs-lisp/profile.el6
-rw-r--r--lisp/emulation/edt.el31
-rw-r--r--lisp/emulation/mlconvert.el7
-rw-r--r--lisp/emulation/mlsupport.el6
-rw-r--r--lisp/env.el7
-rw-r--r--lisp/files.el7
-rw-r--r--lisp/find-dired.el20
-rw-r--r--lisp/find-gc.el7
-rw-r--r--lisp/float-sup.el7
-rw-r--r--lisp/ftp.el4
-rw-r--r--lisp/gnus.el12
-rw-r--r--lisp/gnusmail.el14
-rw-r--r--lisp/gnusmisc.el10
-rw-r--r--lisp/gnuspost.el10
-rw-r--r--lisp/gosmacs.el6
-rw-r--r--lisp/grow-vers.el13
-rw-r--r--lisp/help.el7
-rw-r--r--lisp/hexl.el14
-rw-r--r--lisp/inc-vers.el6
-rw-r--r--lisp/indent.el6
-rw-r--r--lisp/info.el13
-rw-r--r--lisp/informat.el7
-rw-r--r--lisp/international/iso-ascii.el11
-rw-r--r--lisp/international/iso-insert.el7
-rw-r--r--lisp/international/iso-swed.el9
-rw-r--r--lisp/international/swedish.el6
-rw-r--r--lisp/isearch-old.el7
-rw-r--r--lisp/iso8859-1.el10
-rw-r--r--lisp/kermit.el4
-rw-r--r--lisp/ledit.el6
-rw-r--r--lisp/loadup.el7
-rw-r--r--lisp/lpr.el6
-rw-r--r--lisp/macros.el6
-rw-r--r--lisp/mail/emacsbug.el4
-rw-r--r--lisp/mail/mail-utils.el6
-rw-r--r--lisp/mail/mailalias.el6
-rw-r--r--lisp/mail/rmail.el6
-rw-r--r--lisp/mail/rmailedit.el6
-rw-r--r--lisp/mail/rmailkwd.el6
-rw-r--r--lisp/mail/rmailmsc.el5
-rw-r--r--lisp/mail/rmailout.el4
-rw-r--r--lisp/mail/rmailsort.el6
-rw-r--r--lisp/mail/rmailsum.el6
-rw-r--r--lisp/mail/rnews.el10
-rw-r--r--lisp/mail/rnewspost.el14
-rw-r--r--lisp/mail/sendmail.el6
-rw-r--r--lisp/mail/undigest.el11
-rw-r--r--lisp/makesum.el4
-rw-r--r--lisp/man.el7
-rw-r--r--lisp/map-ynp.el12
-rw-r--r--lisp/medit.el13
-rw-r--r--lisp/mim-mode.el8
-rw-r--r--lisp/mim-syntax.el8
-rw-r--r--lisp/misc.el6
-rw-r--r--lisp/netunam.el4
-rw-r--r--lisp/novice.el6
-rw-r--r--lisp/options.el6
-rw-r--r--lisp/paths.el8
-rw-r--r--lisp/play/dissociate.el3
-rw-r--r--lisp/play/doctor.el7
-rw-r--r--lisp/play/gomoku.el11
-rw-r--r--lisp/play/life.el8
-rw-r--r--lisp/play/spook.el4
-rw-r--r--lisp/play/yow.el4
-rw-r--r--lisp/progmodes/c-mode.el7
-rw-r--r--lisp/progmodes/cmacexp.el7
-rw-r--r--lisp/progmodes/etags.el10
-rw-r--r--lisp/progmodes/fortran.el44
-rw-r--r--lisp/progmodes/icon.el19
-rw-r--r--lisp/progmodes/prolog.el8
-rw-r--r--lisp/progmodes/scheme.el13
-rw-r--r--lisp/rect.el4
-rw-r--r--lisp/register.el4
-rw-r--r--lisp/reposition.el10
-rw-r--r--lisp/rot13.el9
-rw-r--r--lisp/server.el4
-rw-r--r--lisp/shell.el4
-rw-r--r--lisp/sort.el8
-rw-r--r--lisp/sun-curs.el7
-rw-r--r--lisp/sun-fns.el13
-rw-r--r--lisp/sun-keys.el25
-rw-r--r--lisp/tabify.el4
-rw-r--r--lisp/tar-mode.el4
-rw-r--r--lisp/term/bg-mouse.el15
-rw-r--r--lisp/term/sun-mouse.el10
-rw-r--r--lisp/term/sup-mouse.el24
-rw-r--r--lisp/terminal.el9
-rw-r--r--lisp/textmodes/bib-mode.el7
-rw-r--r--lisp/textmodes/bibtex.el580
-rw-r--r--lisp/textmodes/fill.el6
-rw-r--r--lisp/textmodes/nroff-mode.el4
-rw-r--r--lisp/textmodes/ooutline.el7
-rw-r--r--lisp/textmodes/page-ext.el17
-rw-r--r--lisp/textmodes/page.el6
-rw-r--r--lisp/textmodes/picture.el8
-rw-r--r--lisp/textmodes/refbib.el12
-rw-r--r--lisp/textmodes/spell.el4
-rw-r--r--lisp/textmodes/tex-mode.el10
-rw-r--r--lisp/textmodes/texinfmt.el10
-rw-r--r--lisp/textmodes/texinfo.el8
-rw-r--r--lisp/textmodes/underline.el6
-rw-r--r--lisp/time.el6
-rw-r--r--lisp/timer.el7
-rw-r--r--lisp/uncompress.el7
-rw-r--r--lisp/userlock.el9
-rw-r--r--lisp/view.el8
-rw-r--r--lisp/vms-patch.el6
-rw-r--r--lisp/vmsproc.el10
-rw-r--r--lisp/vmsx.el8
-rw-r--r--lisp/vt100-led.el8
-rw-r--r--lisp/xscheme.el6
140 files changed, 1288 insertions, 537 deletions
diff --git a/lisp/abbrev.el b/lisp/abbrev.el
index 3cbeb19391b..0b0247d8dfe 100644
--- a/lisp/abbrev.el
+++ b/lisp/abbrev.el
@@ -1,12 +1,15 @@
1;;; abbrev.el --- abbrev mode commands for Emacs 1;;; abbrev.el --- abbrev mode commands for Emacs
2 2
3;; Copyright (C) 1985-1991 Free Software Foundation, Inc. 3;; Maintainer: FSF
4;; Last-Modified: 09 Jul 1992
5
6;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defconst only-global-abbrevs nil "\ 26(defconst only-global-abbrevs nil "\
23*t means user plans to use global abbrevs only. 27*t means user plans to use global abbrevs only.
@@ -152,7 +156,7 @@ Does not print anything."
152 (read-abbrev-file file t)) 156 (read-abbrev-file file t))
153 157
154(defun write-abbrev-file (file) 158(defun write-abbrev-file (file)
155 "Write all abbrev definitions to file of Lisp code. 159 "Write all abbrev definitions to a file of Lisp code.
156The file written can be loaded in another session to define the same abbrevs. 160The file written can be loaded in another session to define the same abbrevs.
157The argument FILE is the file name to write." 161The argument FILE is the file name to write."
158 (interactive 162 (interactive
@@ -160,7 +164,6 @@ The argument FILE is the file name to write."
160 (read-file-name "Write abbrev file: " 164 (read-file-name "Write abbrev file: "
161 (file-name-directory (expand-file-name abbrev-file-name)) 165 (file-name-directory (expand-file-name abbrev-file-name))
162 abbrev-file-name))) 166 abbrev-file-name)))
163 (interactive "FWrite abbrev file: ")
164 (or (and file (> (length file) 0)) 167 (or (and file (> (length file) 0))
165 (setq file abbrev-file-name)) 168 (setq file abbrev-file-name))
166 (save-excursion 169 (save-excursion
diff --git a/lisp/abbrevlist.el b/lisp/abbrevlist.el
index 520ce29b201..4db719486cd 100644
--- a/lisp/abbrevlist.el
+++ b/lisp/abbrevlist.el
@@ -1,5 +1,8 @@
1;;; abbrevlist.el --- list one abbrev table alphabetically ordered. 1;;; abbrevlist.el --- list one abbrev table alphabetically ordered.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1986, 1992 Free Software Foundation, Inc. 6;; Copyright (C) 1986, 1992 Free Software Foundation, Inc.
4;; Suggested by a previous version by Gildea. 7;; Suggested by a previous version by Gildea.
5 8
@@ -7,7 +10,7 @@
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,7 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
22 26
23(defun list-one-abbrev-table (abbrev-table output-buffer) 27(defun list-one-abbrev-table (abbrev-table output-buffer)
24 "Display alphabetical listing of ABBREV-TABLE in buffer OUTPUT-BUFFER." 28 "Display alphabetical listing of ABBREV-TABLE in buffer OUTPUT-BUFFER."
diff --git a/lisp/ada.el b/lisp/ada.el
index 4588d72780e..f3746313998 100644
--- a/lisp/ada.el
+++ b/lisp/ada.el
@@ -1,8 +1,8 @@
1;;; ada.el --- Ada editing support package in GNUlisp. v1.0 1;;; ada.el --- Ada editing support package in GNUlisp. v1.0
2 2
3; Author: Vincent Broman <broman@bugs.nosc.mil> May 1987. 3;; Author: Vincent Broman <broman@bugs.nosc.mil>
4; (borrows heavily from Mick Jordan's Modula-2 package for GNU, 4;; Last-Modified: 30 Jan 1991
5; as modified by Peter Robinson, Michael Schmidt, and Tom Perrine.) 5;; Keywords: languages
6 6
7;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
8 8
@@ -10,7 +10,7 @@
10 10
11;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
12;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
13;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
14;; any later version. 14;; any later version.
15 15
16;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -22,6 +22,14 @@
22;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
24 24
25;;; Commentary:
26
27;; Created May 1987.
28;; (borrows heavily from Mick Jordan's Modula-2 package for GNU,
29;; as modified by Peter Robinson, Michael Schmidt, and Tom Perrine.)
30
31;;; Code:
32
25(setq auto-mode-alist (cons (cons "\\.ada$" 'ada-mode) auto-mode-alist)) 33(setq auto-mode-alist (cons (cons "\\.ada$" 'ada-mode) auto-mode-alist))
26 34
27(defvar ada-mode-syntax-table nil 35(defvar ada-mode-syntax-table nil
diff --git a/lisp/apropos.el b/lisp/apropos.el
index 5f0eab734f1..987ef12489b 100644
--- a/lisp/apropos.el
+++ b/lisp/apropos.el
@@ -1,12 +1,15 @@
1;;; apropos.el --- faster apropos commands. 1;;; apropos.el --- faster apropos commands.
2 2
3;; Author: Joe Wells <jbw@bigbird.bu.edu>
4;; Last-Modified: 5 May 1989
5
3;; Copyright (C) 1989 Free Software Foundation, Inc. 6;; Copyright (C) 1989 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,10 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
21;; Author: Joe Wells 24;;; Commentary:
22;; Last changed: Fri May 5 18:08:16 1989 by jbw (Joseph Wells) on bucsf
23;; jbw%bucsf.bu.edu@bu-it.bu.edu (school year)
24;; joew@uswest.com (summer)
25 25
26;; The ideas for this package were derived from the C code in 26;; The ideas for this package were derived from the C code in
27;; src/keymap.c and elsewhere. The functions in this file should 27;; src/keymap.c and elsewhere. The functions in this file should
@@ -43,6 +43,8 @@
43;; Made doc file buffer read-only, buried it. 43;; Made doc file buffer read-only, buried it.
44;; Only call substitute-command-keys if do-all set. 44;; Only call substitute-command-keys if do-all set.
45 45
46;;; Code:
47
46(defvar apropos-do-all nil 48(defvar apropos-do-all nil
47 "*Whether `apropos' and `super-apropos' should do everything that they can. 49 "*Whether `apropos' and `super-apropos' should do everything that they can.
48Makes them run 2 or 3 times slower. Set this non-nil if you have a fast 50Makes them run 2 or 3 times slower. Set this non-nil if you have a fast
diff --git a/lisp/array.el b/lisp/array.el
index b7abdee6dd2..ad7d6c54443 100644
--- a/lisp/array.el
+++ b/lisp/array.el
@@ -1,8 +1,8 @@
1;;; array.el --- array editing commands for Gnu Emacs 1;;; array.el --- array editing commands for Gnu Emacs
2 2
3;;; Written by dmb%morgoth@harvard.harvard.edu (address is old) 3;; Author David M. Brown
4;;; (David M. Brown at Goldberg-Zoino & Associates, Inc.) 4;; Maintainer: FSF
5;;; Thanks to cph@kleph.ai.mit.edu for assistance 5;; Last-Modified: 30 Jan 1991
6 6
7;; Copyright (C) 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1987 Free Software Foundation, Inc.
8 8
@@ -10,7 +10,7 @@
10 10
11;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
12;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
13;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
14;; any later version. 14;; any later version.
15 15
16;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -22,12 +22,19 @@
22;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
24 24
25;;; Commentary:
26
27;;; Written by dmb%morgoth@harvard.harvard.edu (address is old)
28;;; (David M. Brown at Goldberg-Zoino & Associates, Inc.)
29;;; Thanks to cph@kleph.ai.mit.edu for assistance
30
25;;; To do: 31;;; To do:
26;;; Smooth initialization process by grokking local variables list 32;;; Smooth initialization process by grokking local variables list
27;;; at end of buffer or parsing buffer using whitespace as delimiters. 33;;; at end of buffer or parsing buffer using whitespace as delimiters.
28;;; Make 'array-copy-column-right faster. 34;;; Make 'array-copy-column-right faster.
29 35
30 36
37;;; Code:
31 38
32;;; Internal information functions. 39;;; Internal information functions.
33 40
diff --git a/lisp/autoinsert.el b/lisp/autoinsert.el
index d8eba1bb0dc..ca583bb0780 100644
--- a/lisp/autoinsert.el
+++ b/lisp/autoinsert.el
@@ -1,12 +1,16 @@
1;;; autoinsert.el --- automatic mode-dependent insertion of text into new files 1;;; autoinsert.el --- automatic mode-dependent insertion of text into new files
2 2
3;; Author: Charlie Martin <crm@cs.duke.edu>
4;; Created: 01 Jul 1988
5;; Last-Modified: 30 Jun 1992
6
3;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,7 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
21;;; autoinsert.el 25;;; Commentary:
22 26
23;;; Abstract: 27;;; Abstract:
24;;; 28;;;
@@ -49,6 +53,8 @@
49;;; 53;;;
50;;; Date: Fri Jul 1 16:15:31 EDT 1988 54;;; Date: Fri Jul 1 16:15:31 EDT 1988
51 55
56;;; Code:
57
52(defvar auto-insert-alist '(("\\.tex$" . "tex-insert.tex") 58(defvar auto-insert-alist '(("\\.tex$" . "tex-insert.tex")
53 ("\\.c$" . "c-insert.c") 59 ("\\.c$" . "c-insert.c")
54 ("\\.h$" . "h-insert.c") 60 ("\\.h$" . "h-insert.c")
diff --git a/lisp/calendar/appt.el b/lisp/calendar/appt.el
index 3f2778be604..c9339532349 100644
--- a/lisp/calendar/appt.el
+++ b/lisp/calendar/appt.el
@@ -1,12 +1,17 @@
1;;; appt.el --- appointment notification functions. 1;;; appt.el --- appointment notification functions.
2 2
3;; Author: Neil Mager <neilm@juliet.ll.mit.edu>
4;; Version: 2.1
5;; Last-Modified: 14 Jul 1992
6;; Keywords: calendar
7
3;; Copyright (C) 1989, 1990 Free Software Foundation, Inc. 8;; Copyright (C) 1989, 1990 Free Software Foundation, Inc.
4 9
5;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
6 11
7;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 15;; any later version.
11 16
12;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,12 +23,13 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 25
26;;; Commentary:
27
21;; 28;;
22;; appt.el - visible and/or audible notification of 29;; appt.el - visible and/or audible notification of
23;; appointments from ~/diary file generated from 30;; appointments from ~/diary file generated from
24;; Edward M. Reingold's calendar.el. 31;; Edward M. Reingold's calendar.el.
25;; 32;;
26;; Version 2.1
27;; 33;;
28;; Comments, corrections, and improvements should be sent to 34;; Comments, corrections, and improvements should be sent to
29;; Neil M. Mager 35;; Neil M. Mager
@@ -99,6 +105,9 @@
99;;; reads. This is all done automatically. 105;;; reads. This is all done automatically.
100;;; It is invoked from the function list-diary-entries. 106;;; It is invoked from the function list-diary-entries.
101;;; 107;;;
108
109;;; Code:
110
102(defvar appt-issue-message t 111(defvar appt-issue-message t
103 "*Non-nil means check for appointments in the diary buffer. 112 "*Non-nil means check for appointments in the diary buffer.
104To be detected, the diary entry must have the time 113To be detected, the diary entry must have the time
diff --git a/lisp/case-table.el b/lisp/case-table.el
index bdc109675ba..407c63ed14c 100644
--- a/lisp/case-table.el
+++ b/lisp/case-table.el
@@ -1,4 +1,8 @@
1;;; case-table.el --- functions for extending the character set and dealing with case tables. 1;;; case-table.el ---code to extend the character set and support case tables.
2
3;; Author: Howard Gayle
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
2 6
3;; Copyright (C) 1988 Free Software Foundation, Inc. 7;; Copyright (C) 1988 Free Software Foundation, Inc.
4 8
@@ -6,7 +10,7 @@
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Commentary:
21 26
22;; Written by: 27;; Written by:
23;; TN/ETX/TX/UMG Howard Gayle UUCP : seismo!enea!erix!howard 28;; TN/ETX/TX/UMG Howard Gayle UUCP : seismo!enea!erix!howard
@@ -26,6 +31,8 @@
26;; S-126 25 Stockholm FAX : +46 8 719 64 82 31;; S-126 25 Stockholm FAX : +46 8 719 64 82
27;; Sweden 32;; Sweden
28 33
34;;; Code:
35
29(defun describe-buffer-case-table () 36(defun describe-buffer-case-table ()
30 "Describe the case table of the current buffer." 37 "Describe the case table of the current buffer."
31 (interactive) 38 (interactive)
diff --git a/lisp/chistory.el b/lisp/chistory.el
index 620288fc77a..e6871f53e49 100644
--- a/lisp/chistory.el
+++ b/lisp/chistory.el
@@ -1,13 +1,16 @@
1;;; chistory.el --- list command history 1;;; chistory.el --- list command history
2 2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
6
3;; Copyright (C) 1985 Free Software Foundation, Inc. 7;; Copyright (C) 1985 Free Software Foundation, Inc.
4;; Principal author K. Shane Hartman
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,12 +22,15 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Commentary:
22 26
23;; This really has nothing to do with list-command-history per se, but 27;; This really has nothing to do with list-command-history per se, but
24;; its a nice alternative to C-x ESC (repeat-complex-command) and 28;; its a nice alternative to C-x ESC (repeat-complex-command) and
25;; functions as a lister if given no pattern. It's not important 29;; functions as a lister if given no pattern. It's not important
26;; enough to warrant a file of its own. 30;; enough to warrant a file of its own.
27 31
32;;; Code:
33
28;;;###autoload 34;;;###autoload
29(defun repeat-matching-complex-command (&optional pattern) 35(defun repeat-matching-complex-command (&optional pattern)
30 "Edit and re-evaluate complex command with name matching PATTERN. 36 "Edit and re-evaluate complex command with name matching PATTERN.
diff --git a/lisp/comint.el b/lisp/comint.el
index 24ba4459246..b4686ac42a4 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -1,12 +1,16 @@
1;;; comint.el --- general command interpreter in a window stuff 1;;; comint.el --- general command interpreter in a window stuff
2 2
3;; Maintainer: Olin Shivers <shivers@cs.cmu.edu>
4;; Last-Modified: 16 Jul 1992
5;; Version: 2.03
6
3;;; Copyright Olin Shivers (1988). 7;;; Copyright Olin Shivers (1988).
4 8
5;;; This file is part of GNU Emacs. 9;;; This file is part of GNU Emacs.
6 10
7;;; GNU Emacs is free software; you can redistribute it and/or modify 11;;; GNU Emacs is free software; you can redistribute it and/or modify
8;;; it under the terms of the GNU General Public License as published by 12;;; it under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 1, or (at your option) 13;;; the Free Software Foundation; either version 2, or (at your option)
10;;; any later version. 14;;; any later version.
11 15
12;;; GNU Emacs is distributed in the hope that it will be useful, 16;;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,8 @@
18;;; along with GNU Emacs; see the file COPYING. If not, write to 22;;; along with GNU Emacs; see the file COPYING. If not, write to
19;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Commentary:
26
21;;; The changelog is at the end of this file. 27;;; The changelog is at the end of this file.
22 28
23;;; Please send me bug reports, bug fixes, and extensions, so that I can 29;;; Please send me bug reports, bug fixes, and extensions, so that I can
@@ -57,8 +63,6 @@
57;;; background, dbx, gdb, kermit, prolog, telnet) to use comint-mode 63;;; background, dbx, gdb, kermit, prolog, telnet) to use comint-mode
58;;; instead of shell-mode, see the notes at the end of this file. 64;;; instead of shell-mode, see the notes at the end of this file.
59 65
60(defconst comint-version "2.03")
61
62 66
63;;; Brief Command Documentation: 67;;; Brief Command Documentation:
64;;;============================================================================ 68;;;============================================================================
@@ -101,6 +105,10 @@
101;;; comint-mode-hook is the comint mode hook. Basically for your keybindings. 105;;; comint-mode-hook is the comint mode hook. Basically for your keybindings.
102;;; comint-load-hook is run after loading in this package. 106;;; comint-load-hook is run after loading in this package.
103 107
108;;; Code:
109
110(defconst comint-version "2.03")
111
104 112
105;;; Buffer Local Variables: 113;;; Buffer Local Variables:
106;;;============================================================================ 114;;;============================================================================
diff --git a/lisp/compare-w.el b/lisp/compare-w.el
index b4f4e6f383f..f244e1d1f7c 100644
--- a/lisp/compare-w.el
+++ b/lisp/compare-w.el
@@ -1,12 +1,15 @@
1;;; compare-w.el --- compare text between windows for Emacs. 1;;; compare-w.el --- compare text between windows for Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1986, 1989 Free Software Foundation, Inc. 6;; Copyright (C) 1986, 1989 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21(defvar compare-windows-whitespace " \t\n" 26(defvar compare-windows-whitespace " \t\n"
22 "*String of characters considered whitespace for \\[compare-windows]. 27 "*String of characters considered whitespace for \\[compare-windows].
23Changes in whitespace are optionally ignored. 28Changes in whitespace are optionally ignored.
diff --git a/lisp/dabbrev.el b/lisp/dabbrev.el
index 218e7c02460..476a36b37fb 100644
--- a/lisp/dabbrev.el
+++ b/lisp/dabbrev.el
@@ -1,12 +1,15 @@
1;;; dabbrev.el --- dynamic abbreviation package for GNU Emacs. 1;;; dabbrev.el --- dynamic abbreviation package for GNU Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Commentary:
21 25
22; DABBREVS - "Dynamic abbreviations" hack, originally written by Don Morrison 26; DABBREVS - "Dynamic abbreviations" hack, originally written by Don Morrison
23; for Twenex Emacs. Converted to mlisp by Russ Fish. Supports the table 27; for Twenex Emacs. Converted to mlisp by Russ Fish. Supports the table
@@ -30,10 +34,12 @@
30; 34;
31; If anyone feels like hacking at it, Bob Keller (Keller@Utah-20) first 35; If anyone feels like hacking at it, Bob Keller (Keller@Utah-20) first
32; suggested the beast, and has some good ideas for its improvement, but 36; suggested the beast, and has some good ideas for its improvement, but
33; doesn?tknow TECO (the lucky devil...). One thing that should definitely 37; doesn't know TECO (the lucky devil...). One thing that should definitely
34; be done is adding the ability to search some other buffer(s) if you can?t 38; be done is adding the ability to search some other buffer(s) if you can?t
35; find the expansion you want in the current one. 39; find the expansion you want in the current one.
36 40
41;;; Code:
42
37;; (defun dabbrevs-help () 43;; (defun dabbrevs-help ()
38;; "Give help about dabbrevs." 44;; "Give help about dabbrevs."
39;; (interactive) 45;; (interactive)
diff --git a/lisp/diff.el b/lisp/diff.el
index 7a0dd95387c..aa0551cef08 100644
--- a/lisp/diff.el
+++ b/lisp/diff.el
@@ -1,13 +1,17 @@
1;;; diff.el --- "DIFF" mode for handling output from unix diff utility. 1;;; diff.el --- "DIFF" mode for handling output from unix diff utility.
2 2
3;; Author: Frank P. Bresz <fpb@ittc.wec.com>
4;; Maintainer: FSF
5;; Created: 27 Jan 1989
6;; Last-Modified: 21 Dec 1992
7
3;; Copyright (C) 1990 Free Software Foundation, Inc. 8;; Copyright (C) 1990 Free Software Foundation, Inc.
4;; Written fpb@ittc.wec.com 1/27/89
5 9
6;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
7 11
8;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 15;; any later version.
12 16
13;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +23,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 25
26;;; Commentary:
27
22;; todo: diff-switches flexibility: 28;; todo: diff-switches flexibility:
23;; (defconst diff-switches-function 29;; (defconst diff-switches-function
24;; '(lambda (file) 30;; '(lambda (file)
@@ -36,7 +42,8 @@
36;; search for the pattern. If you only 1 addition you won't find the end 42;; search for the pattern. If you only 1 addition you won't find the end
37;; of the pattern (minor) 43;; of the pattern (minor)
38 44
39;; 45;;; Code:
46
40(defvar diff-switches nil 47(defvar diff-switches nil
41 "*A list of switches to pass to the diff program.") 48 "*A list of switches to pass to the diff program.")
42 49
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index 98f8a0dde37..04e9af44c59 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -1,15 +1,16 @@
1;; dired-aux.el --- directory browsing command support 1;; dired-aux.el --- directory browsing command support
2;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc.
3 2
4;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>. 3;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>.
5;; Version: 5.234 4;; Version: 5.234
6;; Last-Modified: 14 Jul 1992 5;; Last-Modified: 14 Jul 1992
7 6
7;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc.
8
8;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
9 10
10;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 14;; any later version.
14 15
15;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -1779,4 +1780,4 @@ Use \\[dired-hide-subdir] to (un)hide a particular subdirectory."
1779 1780
1780;;;###end dired-ins.el 1781;;;###end dired-ins.el
1781 1782
1782;;; dired-aux.el ends here \ No newline at end of file 1783;;; dired-aux.el ends here
diff --git a/lisp/disp-table.el b/lisp/disp-table.el
index 9b275cbca0f..88366207a5e 100644
--- a/lisp/disp-table.el
+++ b/lisp/disp-table.el
@@ -1,12 +1,16 @@
1;;; disp-table.el --- functions for dealing with char tables. 1;;; disp-table.el --- functions for dealing with char tables.
2 2
3;; Author: Howard Gayle
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
6
3;; Copyright (C) 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1987 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,8 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
21 25;;; Code:
22;; Written by Howard Gayle.
23 26
24(defun rope-to-vector (rope) 27(defun rope-to-vector (rope)
25 (let* ((len (/ (length rope) 2)) 28 (let* ((len (/ (length rope) 2))
diff --git a/lisp/ebuff-menu.el b/lisp/ebuff-menu.el
index 88e50a9799e..d9f1525d645 100644
--- a/lisp/ebuff-menu.el
+++ b/lisp/ebuff-menu.el
@@ -1,9 +1,7 @@
1;;; ebuff-menu.el --- electric-buffer-list mode 1;;; ebuff-menu.el --- electric-buffer-list mode
2 2
3; buggestions to mly@ai.mit.edu 3;; Author: Richard Mlynarik <mly@ai.mit.edu>
4 4;; Last-Modified: 21 Dec 1991
5;; who says one can't have typeout windows in gnu emacs?
6;; like ^r select buffer from its emacs lunar or tmacs libraries.
7 5
8;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
9 7
@@ -11,7 +9,7 @@
11 9
12;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
13;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
14;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
15;; any later version. 13;; any later version.
16 14
17;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -23,6 +21,12 @@
23;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25 23
24;;; Commentary:
25
26;; who says one can't have typeout windows in gnu emacs?
27;; like ^r select buffer from its emacs lunar or tmacs libraries.
28
29;;; Code:
26 30
27(require 'electric) 31(require 'electric)
28 32
diff --git a/lisp/echistory.el b/lisp/echistory.el
index 59e51cddf6a..d3d495456a8 100644
--- a/lisp/echistory.el
+++ b/lisp/echistory.el
@@ -1,13 +1,16 @@
1;;; echistory.el --- Electric Command History Mode 1;;; echistory.el --- Electric Command History Mode
2 2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 09 May 1991
6
3;; Copyright (C) 1985 Free Software Foundation, Inc. 7;; Copyright (C) 1985 Free Software Foundation, Inc.
4;; Principal author K. Shane Hartman
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,7 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
22 26
23(require 'electric) ; command loop 27(require 'electric) ; command loop
24(require 'chistory) ; history lister 28(require 'chistory) ; history lister
diff --git a/lisp/edmacro.el b/lisp/edmacro.el
index 05ee0912a2c..4d92b45b89f 100644
--- a/lisp/edmacro.el
+++ b/lisp/edmacro.el
@@ -1,4 +1,9 @@
1;;; edmacro.el --- keyboard macro editor for GNU Emacs. Version 1.02. 1;;; edmacro.el --- keyboard macro editor
2
3;; Author: Dave Gillespie <daveg@csvax.caltech.edu>
4;; Maintainer: FSF
5;; Version: 1.02
6;; Last-Modified: 09 May 1991
2 7
3;; Copyright (C) 1990 Free Software Foundation, Inc. 8;; Copyright (C) 1990 Free Software Foundation, Inc.
4 9
@@ -6,7 +11,7 @@
6 11
7;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 15;; any later version.
11 16
12;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,13 +23,15 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 25
21;; Original from: Dave Gillespie, daveg@csvax.caltech.edu. 26;;; Commentary:
22 27
23;; To use, type `M-x edit-last-kbd-macro' to edit the most recently 28;; To use, type `M-x edit-last-kbd-macro' to edit the most recently
24;; defined keyboard macro. If you have used `M-x name-last-kbd-macro' 29;; defined keyboard macro. If you have used `M-x name-last-kbd-macro'
25;; to give a keyboard macro a name, type `M-x edit-kbd-macro' to edit 30;; to give a keyboard macro a name, type `M-x edit-kbd-macro' to edit
26;; the macro by name. When you are done editing, type `C-c C-c' to 31;; the macro by name. When you are done editing, type `C-c C-c' to
27;; record your changes back into the original keyboard macro. 32;; record your changes back into the original keyboard macro.
33
34;;; Code:
28 35
29;;; The user-level commands for editing macros. 36;;; The user-level commands for editing macros.
30 37
diff --git a/lisp/ehelp.el b/lisp/ehelp.el
index 94eadfadbd3..713a8984acd 100644
--- a/lisp/ehelp.el
+++ b/lisp/ehelp.el
@@ -1,12 +1,15 @@
1;;; ehelp.el --- bindings for electric-help mode 1;;; ehelp.el --- bindings for electric-help mode
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21(require 'electric) 26(require 'electric)
22(defvar electric-help-map () 27(defvar electric-help-map ()
23 "Keymap defining commands available in `electric-help-mode'.") 28 "Keymap defining commands available in `electric-help-mode'.")
diff --git a/lisp/electric.el b/lisp/electric.el
index b42eb47ed0e..cce4b101304 100644
--- a/lisp/electric.el
+++ b/lisp/electric.el
@@ -1,13 +1,16 @@
1;;; electric.el --- window maker and Command loop for `electric' modes. 1;;; electric.el --- window maker and Command loop for `electric' modes.
2 2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 09 Jun 1992
6
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4;; Principal author K. Shane Hartman
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el
index c6916a3dd56..cdc5785c35e 100644
--- a/lisp/emacs-lisp/autoload.el
+++ b/lisp/emacs-lisp/autoload.el
@@ -1,11 +1,13 @@
1;;; autoload.el --- maintain autoloads in loaddefs.el. 1;;; autoload.el --- maintain autoloads in loaddefs.el.
2 2
3;; Author: Roland McGrath <roland@gnu.ai.mit.edu>
4;; Last-Modified: 24 Jun 1992
5
3;;; Copyright (C) 1991, 1992 Free Software Foundation, Inc. 6;;; Copyright (C) 1991, 1992 Free Software Foundation, Inc.
4;;; Written by Roland McGrath.
5;;; 7;;;
6;;; This program is free software; you can redistribute it and/or modify 8;;; This program is free software; you can redistribute it and/or modify
7;;; it under the terms of the GNU General Public License as published by 9;;; it under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 1, or (at your option) 10;;; the Free Software Foundation; either version 2, or (at your option)
9;;; any later version. 11;;; any later version.
10;;; 12;;;
11;;; This program is distributed in the hope that it will be useful, 13;;; This program is distributed in the hope that it will be useful,
@@ -19,6 +21,8 @@
19;;; 02139, USA. 21;;; 02139, USA.
20;;; 22;;;
21 23
24;;; Code:
25
22(defun make-autoload (form file) 26(defun make-autoload (form file)
23 "Turn FORM, a defun or defmacro, into an autoload for source file FILE. 27 "Turn FORM, a defun or defmacro, into an autoload for source file FILE.
24Returns nil if FORM is not a defun or defmacro." 28Returns nil if FORM is not a defun or defmacro."
diff --git a/lisp/emacs-lisp/backquote.el b/lisp/emacs-lisp/backquote.el
index 9a4d7d5ffd7..bff397e3d74 100644
--- a/lisp/emacs-lisp/backquote.el
+++ b/lisp/emacs-lisp/backquote.el
@@ -1,13 +1,15 @@
1;; backquote.el --- backquoting for Emacs Lisp macros 1;; backquote.el --- backquoting for Emacs Lisp macros
2 2
3;; Author: Dick King (king@kestrel).
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4;; Written by Dick King (king@kestrel).
5 7
6;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
7 9
8;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 13;; any later version.
12 14
13;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,8 +21,9 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 23
24;;; Commentary:
22 25
23;;; This is a rudimentry backquote package written by D. King, 26 ;;; This is a rudimentry backquote package written by D. King,
24 ;;; king@kestrel, on 8/31/85. (` x) is a macro 27 ;;; king@kestrel, on 8/31/85. (` x) is a macro
25 ;;; that expands to a form that produces x. (` (a b ..)) is 28 ;;; that expands to a form that produces x. (` (a b ..)) is
26 ;;; a macro that expands into a form that produces a list of what a b 29 ;;; a macro that expands into a form that produces a list of what a b
@@ -58,6 +61,7 @@
58 ;;; This is so crunchy that I am considering including a check for 61 ;;; This is so crunchy that I am considering including a check for
59 ;;; this or changing the syntax to ... ,(<form>). RMS: opinion? 62 ;;; this or changing the syntax to ... ,(<form>). RMS: opinion?
60 63
64;;; Code:
61 65
62;;; a raft of general-purpose macros follows. See the nearest 66;;; a raft of general-purpose macros follows. See the nearest
63 ;;; Commonlisp manual. 67 ;;; Commonlisp manual.
diff --git a/lisp/emacs-lisp/cl-indent.el b/lisp/emacs-lisp/cl-indent.el
index 92f20f7cc4f..d27e29d7e07 100644
--- a/lisp/emacs-lisp/cl-indent.el
+++ b/lisp/emacs-lisp/cl-indent.el
@@ -1,5 +1,9 @@
1;;; cl-indent.el --- enhanced lisp-indent mode 1;;; cl-indent.el --- enhanced lisp-indent mode
2 2
3;; Author: Richard Mlynark <mly@eddie.mit.edu>
4;; Maintainer: FSF
5;; Last-Modified: 09 May 1991
6
3;; Copyright (C) 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1987 Free Software Foundation, Inc.
4;; Written by Richard Mlynarik July 1987 8;; Written by Richard Mlynarik July 1987
5 9
@@ -7,7 +11,7 @@
7 11
8;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 15;; any later version.
12 16
13;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +23,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 25
26;;; Commentary:
27
22;;>> TODO 28;;>> TODO
23;; :foo 29;; :foo
24;; bar 30;; bar
@@ -33,6 +39,7 @@
33;; baz) 39;; baz)
34;; Need something better than &rest for such cases 40;; Need something better than &rest for such cases
35 41
42;;; Code:
36 43
37;;; Hairy lisp indentation. 44;;; Hairy lisp indentation.
38 45
diff --git a/lisp/emacs-lisp/cust-print.el b/lisp/emacs-lisp/cust-print.el
index 444cc29f913..767119fa9c4 100644
--- a/lisp/emacs-lisp/cust-print.el
+++ b/lisp/emacs-lisp/cust-print.el
@@ -1,9 +1,9 @@
1;; cus-print.el -- handles print-level and print-circle. 1;; cus-print.el -- handles print-level and print-circle.
2 2
3;; LCD Archive Entry: 3;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu>
4;; custom-print|Daniel LaLiberte|liberte@cs.uiuc.edu 4;; Version: 1.0
5;; |Handle print-level, print-circle and more. 5;; Last-Modified: 17 Mar 1992
6;; |$Date: Tue Mar 17, 1992$|$Revision: 1.0$| 6;; Adapted-By: ESR
7 7
8;; Copyright (C) 1992 Free Software Foundation, Inc. 8;; Copyright (C) 1992 Free Software Foundation, Inc.
9 9
@@ -11,7 +11,7 @@
11 11
12;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
13;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
14;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
15;; any later version. 15;; any later version.
16 16
17;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -23,6 +23,8 @@
23;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25 25
26;;; Commentary:
27
26;; This package provides a general print handler for prin1 and princ 28;; This package provides a general print handler for prin1 and princ
27;; that supports print-level and print-circle, and by the way, 29;; that supports print-level and print-circle, and by the way,
28;; print-length since the standard routines are being replaced. Also, 30;; print-length since the standard routines are being replaced. Also,
@@ -88,6 +90,7 @@
88;; custom-message 90;; custom-message
89;; custom-error 91;; custom-error
90 92
93;;; Code:
91 94
92(provide 'custom-print) 95(provide 'custom-print)
93;; Abbreviated package name: "CP" 96;; Abbreviated package name: "CP"
diff --git a/lisp/emacs-lisp/debug.el b/lisp/emacs-lisp/debug.el
index 9faf131dd26..f3378c5f01d 100644
--- a/lisp/emacs-lisp/debug.el
+++ b/lisp/emacs-lisp/debug.el
@@ -1,12 +1,15 @@
1;;; debug.el --- debuggers and related commands for Emacs 1;;; debug.el --- debuggers and related commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 08 Jan 1992
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defvar debug-function-list nil 26(defvar debug-function-list nil
23 "List of functions currently set for debug on entry.") 27 "List of functions currently set for debug on entry.")
diff --git a/lisp/emacs-lisp/float.el b/lisp/emacs-lisp/float.el
index d01ba1e291d..85d9b4db78c 100644
--- a/lisp/emacs-lisp/float.el
+++ b/lisp/emacs-lisp/float.el
@@ -1,13 +1,16 @@
1;;; float.el --- floating point arithmetic package. 1;;; float.el --- floating point arithmetic package.
2 2
3;; Author: Bill Rosenblatt
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
6
3;; Copyright (C) 1986 Free Software Foundation, Inc. 7;; Copyright (C) 1986 Free Software Foundation, Inc.
4;; Author Bill Rosenblatt
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Commentary:
26
22;; Floating point numbers are represented by dot-pairs (mant . exp) 27;; Floating point numbers are represented by dot-pairs (mant . exp)
23;; where mant is the 24-bit signed integral mantissa and exp is the 28;; where mant is the 24-bit signed integral mantissa and exp is the
24;; base 2 exponent. 29;; base 2 exponent.
@@ -46,6 +51,8 @@
46;; June 20, 1986 51;; June 20, 1986
47;; 52;;
48 53
54;;; Code:
55
49;; fundamental implementation constants 56;; fundamental implementation constants
50(defconst exp-base 2 57(defconst exp-base 2
51 "Base of exponent in this floating point representation.") 58 "Base of exponent in this floating point representation.")
diff --git a/lisp/emacs-lisp/helper.el b/lisp/emacs-lisp/helper.el
index e3565856f56..cf9b2899319 100644
--- a/lisp/emacs-lisp/helper.el
+++ b/lisp/emacs-lisp/helper.el
@@ -1,13 +1,16 @@
1;;; helper.el --- utility help package supporting help in electric modes 1;;; helper.el --- utility help package supporting help in electric modes
2 2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1991
6
3;; Copyright (C) 1985 Free Software Foundation, Inc. 7;; Copyright (C) 1985 Free Software Foundation, Inc.
4;; Principal author K. Shane Hartman
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,7 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
22 26
23; hey, here's a helping hand. 27; hey, here's a helping hand.
24 28
diff --git a/lisp/emacs-lisp/lisp-mode.el b/lisp/emacs-lisp/lisp-mode.el
index d3c1c519460..9314d0b51fb 100644
--- a/lisp/emacs-lisp/lisp-mode.el
+++ b/lisp/emacs-lisp/lisp-mode.el
@@ -1,12 +1,15 @@
1;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands. 1;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 03 Jun 1992
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el
index cc3b189ea3d..feedaa56077 100644
--- a/lisp/emacs-lisp/lisp.el
+++ b/lisp/emacs-lisp/lisp.el
@@ -1,12 +1,15 @@
1;;; lisp.el --- Lisp editing commands for Emacs 1;;; lisp.el --- Lisp editing commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 12 Mar 1992
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defvar defun-prompt-regexp nil 26(defvar defun-prompt-regexp nil
23 "Non-nil => regexp to ignore, before the `(' that starts a defun.") 27 "Non-nil => regexp to ignore, before the `(' that starts a defun.")
diff --git a/lisp/emacs-lisp/profile.el b/lisp/emacs-lisp/profile.el
index dfd853fcb32..27757ce0b1d 100644
--- a/lisp/emacs-lisp/profile.el
+++ b/lisp/emacs-lisp/profile.el
@@ -1,8 +1,8 @@
1;;; profile.el -- generate run time measurements of Emacs Lisp functions 1;;; profile.el -- generate run time measurements of Emacs Lisp functions
2 2
3;; Author: Boaz Ben-Zvi <boaz@lcs.mit.edu> 3;; Author: Boaz Ben-Zvi <boaz@lcs.mit.edu>
4;; Created: 7 Feb 1992 4;; Created: 07 Feb 1992
5;; Last-Modified: 7 Feb 1992 5;; Last-Modified: 07 Feb 1992
6;; Version: 1.0 6;; Version: 1.0
7;; Adapted-By: ESR 7;; Adapted-By: ESR
8 8
@@ -12,7 +12,7 @@
12 12
13;; GNU Emacs is free software; you can redistribute it and/or modify 13;; GNU Emacs is free software; you can redistribute it and/or modify
14;; it under the terms of the GNU General Public License as published by 14;; it under the terms of the GNU General Public License as published by
15;; the Free Software Foundation; either version 1, or (at your option) 15;; the Free Software Foundation; either version 2, or (at your option)
16;; any later version. 16;; any later version.
17 17
18;; GNU Emacs is distributed in the hope that it will be useful, 18;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/emulation/edt.el b/lisp/emulation/edt.el
index 589f7418bf6..15a45251f53 100644
--- a/lisp/emulation/edt.el
+++ b/lisp/emulation/edt.el
@@ -1,5 +1,10 @@
1;;; edt.el --- EDT emulation in Emacs 1;;; edt.el --- EDT emulation in Emacs
2 2
3;; Author: Mike Clarkson <mike@yetti.UUCP>
4;; Maintainer: FSF
5;; Created: 27 Aug 1986
6;; Last-Modified: 09 May 1991
7
3;; Copyright (C) 1986 Free Software Foundation, Inc. 8;; Copyright (C) 1986 Free Software Foundation, Inc.
4;; It started from public domain code by Mike Clarkson 9;; It started from public domain code by Mike Clarkson
5;; but has been greatly altered. 10;; but has been greatly altered.
@@ -8,7 +13,7 @@
8 13
9;; GNU Emacs is free software; you can redistribute it and/or modify 14;; 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 15;; it under the terms of the GNU General Public License as published by
11;; the Free Software Foundation; either version 1, or (at your option) 16;; the Free Software Foundation; either version 2, or (at your option)
12;; any later version. 17;; any later version.
13 18
14;; GNU Emacs is distributed in the hope that it will be useful, 19;; GNU Emacs is distributed in the hope that it will be useful,
@@ -20,25 +25,13 @@
20;; along with GNU Emacs; see the file COPYING. If not, write to 25;; along with GNU Emacs; see the file COPYING. If not, write to
21;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 26;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 27
23;; From mike@yetti.UUCP Fri Aug 29 12:49:28 1986 28;;; Commentary:
24;; Path: yetti!mike@uunet.uu.net 29
25;; From: mike@yetti.UUCP (Mike Clarkson )
26;; Newsgroups: net.sources
27;; Subject: Gnu Emacs EDT Emulation - Introduction - 1/3
28;; Date: 27 Aug 86 23:30:33 GMT
29;; Reply-To: mike@yetti.UUCP (Mike Clarkson )
30;; Organization: York University Computer Science
31;;
32;; Here's my EDT emulation for GNU Emacs that is based on the EDT emulation 30;; Here's my EDT emulation for GNU Emacs that is based on the EDT emulation
33;; for Gosling's Emacs sent out on the net a couple of years ago by Lynn Olson 31;; for Gosling's Emacs sent out on the net a couple of years ago by Lynn Olson
34;; at Tektronics. This emulation was widely distributed as the file edt.ml 32;; at Tektronics. This emulation was widely distributed as the file edt.ml
35;; in the maclib directory of most Emacs distributions. 33;; in the maclib directory of most Emacs distributions.
36;; 34;;
37;; My emulation consists of two files: edt.el and edtdoc.el. The edtdoc.el
38;; file is the documentation, that you can add to the beginning of edt.el if
39;; you want. I have split them because I have been loading the edt.el file a
40;; lot during debugging.
41;;
42;; I will gladly take all criticisms and complaints to heart, and will fix what 35;; I will gladly take all criticisms and complaints to heart, and will fix what
43;; bugs I can find. As this is my first Emacs Lisp hack, you may have to root 36;; bugs I can find. As this is my first Emacs Lisp hack, you may have to root
44;; out a few nasties hidden in the code. Please let me know if you find any 37;; out a few nasties hidden in the code. Please let me know if you find any
@@ -120,12 +113,8 @@
120;; UUCP. If you have a UUCP or BITNET address please use it for communication 113;; UUCP. If you have a UUCP or BITNET address please use it for communication
121;; so that I can reach you directly. If you have both, the BITNET address 114;; so that I can reach you directly. If you have both, the BITNET address
122;; is preferred. 115;; is preferred.
123;; -- 116
124;; Mike Clarkson, ...!allegra \ BITNET: mike@YUYETTI or 117;;; Code:
125;; CRESS, York University, ...!decvax \ SYMALG@YUSOL
126;; 4700 Keele Street, ...!ihnp4 > !utzoo!yetti!mike
127;; North York, Ontario, ...!linus /
128;; CANADA M3J 1P3. ...!watmath / Phone: +1 (416) 737-2100 x 7767
129 118
130(require 'keypad) 119(require 'keypad)
131 120
diff --git a/lisp/emulation/mlconvert.el b/lisp/emulation/mlconvert.el
index ec6d93eb4a1..e1609a8748c 100644
--- a/lisp/emulation/mlconvert.el
+++ b/lisp/emulation/mlconvert.el
@@ -1,12 +1,15 @@
1;;; mlconvert.el --- convert buffer of Mocklisp code to real lisp. 1;;; mlconvert.el --- convert buffer of Mocklisp code to real lisp.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 09 May 1991
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21;;;###autoload 26;;;###autoload
22(defun convert-mocklisp-buffer () 27(defun convert-mocklisp-buffer ()
23 "Convert buffer of Mocklisp code to real Lisp that GNU Emacs can run." 28 "Convert buffer of Mocklisp code to real Lisp that GNU Emacs can run."
diff --git a/lisp/emulation/mlsupport.el b/lisp/emulation/mlsupport.el
index 65af46a309e..7023662e764 100644
--- a/lisp/emulation/mlsupport.el
+++ b/lisp/emulation/mlsupport.el
@@ -1,12 +1,15 @@
1;;; mlsupport.el --- run-time support for mocklisp code. 1;;; mlsupport.el --- run-time support for mocklisp code.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defmacro ml-defun (&rest defs) 26(defmacro ml-defun (&rest defs)
23 (list 'ml-defun-1 (list 'quote defs))) 27 (list 'ml-defun-1 (list 'quote defs)))
diff --git a/lisp/env.el b/lisp/env.el
index d80338a00aa..e03c38be1a7 100644
--- a/lisp/env.el
+++ b/lisp/env.el
@@ -1,12 +1,15 @@
1;;; setenv.el --- functions to manipulate environment variables. 1;;; setenv.el --- functions to manipulate environment variables.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;;; Copyright Free Software Foundation 1991 6;;; Copyright Free Software Foundation 1991
4 7
5;;; This file is part of GNU Emacs. 8;;; This file is part of GNU Emacs.
6 9
7;;; GNU Emacs is free software; you can redistribute it and/or modify 10;;; GNU Emacs is free software; you can redistribute it and/or modify
8;;; it under the terms of the GNU General Public License as published by 11;;; it under the terms of the GNU General Public License as published by
9;;; the Free Software Foundation; either version 1, or (at your option) 12;;; the Free Software Foundation; either version 2, or (at your option)
10;;; any later version. 13;;; any later version.
11 14
12;;; GNU Emacs is distributed in the hope that it will be useful, 15;;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;;; along with GNU Emacs; see the file COPYING. If not, write to 21;;; along with GNU Emacs; see the file COPYING. If not, write to
19;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21(defun setenv (variable value) 26(defun setenv (variable value)
22 "Set the value of the environment variable named VARIABLE to VALUE. 27 "Set the value of the environment variable named VARIABLE to VALUE.
23VARIABLE and VALUE should both be strings. 28VARIABLE and VALUE should both be strings.
diff --git a/lisp/files.el b/lisp/files.el
index 21f0bd1c4ca..6e68c137f77 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -1,12 +1,15 @@
1;;; files.el --- file input and output commands for Emacs 1;;; files.el --- file input and output commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 09 Jul 92
5
3;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21(defconst delete-auto-save-files t 26(defconst delete-auto-save-files t
22 "*Non-nil means delete a buffer's auto-save file when the buffer is saved.") 27 "*Non-nil means delete a buffer's auto-save file when the buffer is saved.")
23 28
diff --git a/lisp/find-dired.el b/lisp/find-dired.el
index ab5e3c43ef3..be7b0eaf662 100644
--- a/lisp/find-dired.el
+++ b/lisp/find-dired.el
@@ -1,13 +1,18 @@
1;; find-dired.el --- run a `find' command and dired the output 1;; find-dired.el --- run a `find' command and dired the output
2 2
3;;; Copyright (C) 1991 Roland McGrath 3;; Author: Roland McGrath <roland@gnu.ai.mit.edu>
4;; Sebastian Kremer <sk@thp.uni-koeln.de>
5;; Maintainer: Roland McGrath <roland@gnu.ai.mit.edu>
6;; Last-Modified: 16 Mar 1992
4 7
5(defconst find-dired-version (substring "$Revision: 1.9 $" 11 -2) 8(defconst find-dired-version (substring "$Revision: 1.9 $" 11 -2)
6 "$Id: find-dired.el,v 1.9 1991/11/11 13:24:31 sk Exp $") 9 "$Id: find-dired.el,v 1.9 1991/11/11 13:24:31 sk Exp $")
7 10
11;;; Copyright (C) 1991 Roland McGrath
12
8;;; This program is free software; you can redistribute it and/or modify 13;;; This program is free software; you can redistribute it and/or modify
9;;; it under the terms of the GNU General Public License as published by 14;;; it under the terms of the GNU General Public License as published by
10;;; the Free Software Foundation; either version 1, or (at your option) 15;;; the Free Software Foundation; either version 2, or (at your option)
11;;; any later version. 16;;; any later version.
12;;; 17;;;
13;;; This program is distributed in the hope that it will be useful, 18;;; This program is distributed in the hope that it will be useful,
@@ -19,13 +24,8 @@
19;;; program's author (send electronic mail to roland@ai.mit.edu) or from 24;;; program's author (send electronic mail to roland@ai.mit.edu) or from
20;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 25;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
21;;; 02139, USA. 26;;; 02139, USA.
22;;; 27
23;; LISPDIR ENTRY for the Elisp Archive =============================== 28;;; Commentary:
24;; LCD Archive Entry:
25;; find-dired|Roland McGrath, Sebastian Kremer
26;; |roland@gnu.ai.mit.edu, sk@thp.uni-koeln.de
27;; |Run a `find' command and dired the output
28;; |$Date: 1991/11/11 13:24:31 $|$Revision: 1.9 $|
29 29
30;; INSTALLATION ====================================================== 30;; INSTALLATION ======================================================
31 31
@@ -46,6 +46,8 @@
46;; 46;;
47;; in your ~/.emacs. 47;; in your ~/.emacs.
48 48
49;;; Code:
50
49(require 'dired) 51(require 'dired)
50;;;###autoload 52;;;###autoload
51(defvar find-ls-option (if (eq system-type 'berkeley-unix) "-ls" 53(defvar find-ls-option (if (eq system-type 'berkeley-unix) "-ls"
diff --git a/lisp/find-gc.el b/lisp/find-gc.el
index 1e02e65c1d0..3523f9ca4e2 100644
--- a/lisp/find-gc.el
+++ b/lisp/find-gc.el
@@ -1,12 +1,15 @@
1;;; find-gc.el --- detect functions that call the garbage collector 1;;; find-gc.el --- detect functions that call the garbage collector
2 2
3;; Maintainer: FSF
4;; Last-Modified: 21 Nov 1990
5
3;; Copyright (C) 1992 Free Software Foundation, Inc. 6;; Copyright (C) 1992 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;; Code:
25
21;;; Produce in unsafe-list the set of all functions that may invoke GC. 26;;; Produce in unsafe-list the set of all functions that may invoke GC.
22;;; This expects the Emacs sources to live in emacs-source-directory. 27;;; This expects the Emacs sources to live in emacs-source-directory.
23;;; It creates a temporary working directory /tmp/esrc. 28;;; It creates a temporary working directory /tmp/esrc.
diff --git a/lisp/float-sup.el b/lisp/float-sup.el
index f52832fb3a1..e4cb195fbc8 100644
--- a/lisp/float-sup.el
+++ b/lisp/float-sup.el
@@ -1,12 +1,15 @@
1;;; float-sup.el --- detect absence of floating-point support in Emacs runtime 1;;; float-sup.el --- detect absence of floating-point support in Emacs runtime
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21;; Provide a meaningful error message if we are running on 26;; Provide a meaningful error message if we are running on
22;; bare (non-float) emacs. 27;; bare (non-float) emacs.
23;; Can't test for 'floatp since that may be defined by float-imitation 28;; Can't test for 'floatp since that may be defined by float-imitation
diff --git a/lisp/ftp.el b/lisp/ftp.el
index fec6a493484..2d051e1195f 100644
--- a/lisp/ftp.el
+++ b/lisp/ftp.el
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -21,6 +21,8 @@
21;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
23 23
24;;; Code:
25
24;; Prevent changes in major modes from altering these variables. 26;; Prevent changes in major modes from altering these variables.
25(put 'ftp-temp-file-name 'permanent-local t) 27(put 'ftp-temp-file-name 'permanent-local t)
26(put 'ftp-file 'permanent-local t) 28(put 'ftp-file 'permanent-local t)
diff --git a/lisp/gnus.el b/lisp/gnus.el
index 17a0c2d206a..ea56efd1b73 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -1,13 +1,17 @@
1;;; gnus.el --- GNUS: an NNTP-based News Reader for GNU Emacs 1;;; gnus.el --- GNUS: an NNTP-based News Reader for GNU Emacs
2 2
3;; Copyright (C) 1987, 1988, 1989, 1990 Free Software Foundation, Inc. 3;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
4;; Last-Modified: 10 Jun 1992
5
4;; $Header: gnus.el,v 3.13 90/03/23 13:24:27 umerin Locked $ 6;; $Header: gnus.el,v 3.13 90/03/23 13:24:27 umerin Locked $
5 7
8;; Copyright (C) 1987, 1988, 1989, 1990 Free Software Foundation, Inc.
9
6;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
7 11
8;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 15;; any later version.
12 16
13;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +23,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 25
26;;; Commentary:
27
22;; GNUS Mailing List: 28;; GNUS Mailing List:
23;; There are two mailing lists for GNUS lovers in the world: 29;; There are two mailing lists for GNUS lovers in the world:
24;; 30;;
@@ -47,6 +53,8 @@
47;; (3) Multi-GNUS (Talking to many hosts same time). 53;; (3) Multi-GNUS (Talking to many hosts same time).
48;; (4) Asynchronous transmission of large messages. 54;; (4) Asynchronous transmission of large messages.
49 55
56;;; Code:
57
50(require 'nntp) 58(require 'nntp)
51(require 'mail-utils) 59(require 'mail-utils)
52 60
diff --git a/lisp/gnusmail.el b/lisp/gnusmail.el
index 73f58b4317c..049cd47c626 100644
--- a/lisp/gnusmail.el
+++ b/lisp/gnusmail.el
@@ -1,13 +1,17 @@
1;;; gnusmail.el --- mail reply commands for GNUS newsreader 1;;; gnusmail.el --- mail reply commands for GNUS newsreader
2 2
3;; Copyright (C) 1990 Free Software Foundation, Inc. 3;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
4;; Last-Modified: 10 Jun 1992
5
4;; $Header: gnusmail.el,v 1.1 90/03/23 13:24:39 umerin Locked $ 6;; $Header: gnusmail.el,v 1.1 90/03/23 13:24:39 umerin Locked $
5 7
8;; Copyright (C) 1990 Free Software Foundation, Inc.
9
6;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
7 11
8;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 15;; any later version.
12 16
13;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,7 +23,7 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 25
22(require 'gnus) 26;;; Commentary:
23 27
24;; Provides mail reply and mail other window command using usual mail 28;; Provides mail reply and mail other window command using usual mail
25;; interface and mh-e interface. 29;; interface and mh-e interface.
@@ -32,6 +36,10 @@
32;; gnus-mail-other-window-method to gnus-mail-reply-using-mhe and 36;; gnus-mail-other-window-method to gnus-mail-reply-using-mhe and
33;; gnus-mail-other-window-using-mhe, respectively. 37;; gnus-mail-other-window-using-mhe, respectively.
34 38
39;;; Code:
40
41(require 'gnus)
42
35(autoload 'news-mail-reply "rnewspost") 43(autoload 'news-mail-reply "rnewspost")
36(autoload 'news-mail-other-window "rnewspost") 44(autoload 'news-mail-other-window "rnewspost")
37 45
diff --git a/lisp/gnusmisc.el b/lisp/gnusmisc.el
index a1c269a6197..8d1b0e37820 100644
--- a/lisp/gnusmisc.el
+++ b/lisp/gnusmisc.el
@@ -1,13 +1,17 @@
1;;; gnusmisc.el --- miscellaneous commands for GNUS newsreader 1;;; gnusmisc.el --- miscellaneous commands for GNUS newsreader
2 2
3;; Copyright (C) 1989, 1990 Free Software Foundation, Inc. 3;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
4;; Last-Modified: 10 Jun 1992
5
4;; $Header: gnusmisc.el,v 1.2 90/03/23 13:25:04 umerin Locked $ 6;; $Header: gnusmisc.el,v 1.2 90/03/23 13:25:04 umerin Locked $
5 7
8;; Copyright (C) 1989, 1990 Free Software Foundation, Inc.
9
6;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
7 11
8;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 15;; any later version.
12 16
13;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +23,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 25
26;;; Code:
27
22(require 'gnus) 28(require 'gnus)
23 29
24;;; 30;;;
diff --git a/lisp/gnuspost.el b/lisp/gnuspost.el
index d7eecf2242e..b5becd39fca 100644
--- a/lisp/gnuspost.el
+++ b/lisp/gnuspost.el
@@ -1,13 +1,17 @@
1;;; gnuspost.el --- post news commands for GNUS newsreader 1;;; gnuspost.el --- post news commands for GNUS newsreader
2 2
3;; Copyright (C) 1989, 1990 Free Software Foundation, Inc. 3;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
4;; Last-Modified: 10 Jun 1992
5
4;; $Header: gnuspost.el,v 1.2 90/03/23 13:25:16 umerin Locked $ 6;; $Header: gnuspost.el,v 1.2 90/03/23 13:25:16 umerin Locked $
5 7
8;; Copyright (C) 1989, 1990 Free Software Foundation, Inc.
9
6;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
7 11
8;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 15;; any later version.
12 16
13;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +23,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 25
26;;; Code:
27
22(require 'gnus) 28(require 'gnus)
23 29
24(defvar gnus-organization-file "/usr/lib/news/organization" 30(defvar gnus-organization-file "/usr/lib/news/organization"
diff --git a/lisp/gosmacs.el b/lisp/gosmacs.el
index 7246959f3a5..5791956bb61 100644
--- a/lisp/gosmacs.el
+++ b/lisp/gosmacs.el
@@ -1,12 +1,15 @@
1;;; gosmacs.el --- rebindings to imitate Gosmacs. 1;;; gosmacs.el --- rebindings to imitate Gosmacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 09 May 1991
5
3;; Copyright (C) 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defvar non-gosmacs-binding-alist nil) 26(defvar non-gosmacs-binding-alist nil)
23 27
diff --git a/lisp/grow-vers.el b/lisp/grow-vers.el
index 7e34961faaa..ceea85d9a06 100644
--- a/lisp/grow-vers.el
+++ b/lisp/grow-vers.el
@@ -1,14 +1,15 @@
1;;; grow-vers.el --- increment Emacs version number 1;;; grow-vers.el --- increment Emacs version number
2 2
3;; Load this file to add a new level (starting at zero) 3;; Maintainer: FSF
4;; to the Emacs version number recorded in version.el. 4;; Last-Modified: 31 Oct 1989
5
5;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
6 7
7;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
8 9
9;; GNU Emacs is free software; you can redistribute it and/or modify 10;; 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;; it under the terms of the GNU General Public License as published by
11;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
12;; any later version. 13;; any later version.
13 14
14;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -20,6 +21,12 @@
20;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
21;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 23
24;;; Commentary:
25
26;; Load this file to add a new level (starting at zero)
27;; to the Emacs version number recorded in version.el.
28
29;;; Code:
23 30
24(insert-file-contents "lisp/version.el") 31(insert-file-contents "lisp/version.el")
25 32
diff --git a/lisp/help.el b/lisp/help.el
index 270934d989b..6c4c33e40fa 100644
--- a/lisp/help.el
+++ b/lisp/help.el
@@ -1,12 +1,15 @@
1;;; help.el --- help commands for Emacs 1;;; help.el --- help commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 30 Jun 1992
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21(defvar help-map (make-sparse-keymap) 26(defvar help-map (make-sparse-keymap)
22 "Keymap for characters following the Help key.") 27 "Keymap for characters following the Help key.")
23 28
diff --git a/lisp/hexl.el b/lisp/hexl.el
index 4656a9e7c0c..56c94d8e372 100644
--- a/lisp/hexl.el
+++ b/lisp/hexl.el
@@ -1,4 +1,7 @@
1;;; hexl-mode.el --- edit a file in a hex dump format. 1;;; hexl-mode.el --- edit a file in a hex dump format using the hexl filter.
2
3;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu>
4;; Last-Modified: 06 Mar 1991
2 5
3;; Copyright (C) 1989 Free Software Foundation, Inc. 6;; Copyright (C) 1989 Free Software Foundation, Inc.
4 7
@@ -6,7 +9,7 @@
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,9 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
21;; 24;;; Commentary:
22;; By: Keith Gabryelski (ag@wheaties.ai.mit.edu) 25
23;;
24;; This may be useful in your .emacs: 26;; This may be useful in your .emacs:
25;; 27;;
26;; (autoload 'hexl-find-file "hexl" 28;; (autoload 'hexl-find-file "hexl"
@@ -37,6 +39,8 @@
37;; ASCII region of the screen (if your emacs supports this) instead of 39;; ASCII region of the screen (if your emacs supports this) instead of
38;; changing them to dots. 40;; changing them to dots.
39 41
42;;; Code:
43
40;; 44;;
41;; vars here 45;; vars here
42;; 46;;
diff --git a/lisp/inc-vers.el b/lisp/inc-vers.el
index 1eed7b35940..0260dfa5232 100644
--- a/lisp/inc-vers.el
+++ b/lisp/inc-vers.el
@@ -1,12 +1,15 @@
1;;; inc-vers.el --- load this to increment the recorded Emacs version number. 1;;; inc-vers.el --- load this to increment the recorded Emacs version number.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 31 Oct 1989
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(insert-file-contents "../lisp/version.el") 26(insert-file-contents "../lisp/version.el")
23 27
diff --git a/lisp/indent.el b/lisp/indent.el
index 2990a5ae2df..3f5d5fe8156 100644
--- a/lisp/indent.el
+++ b/lisp/indent.el
@@ -1,12 +1,15 @@
1;;; indent.el --- indentation commands for Emacs 1;;; indent.el --- indentation commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 09 Jul 1992
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defvar indent-line-function 'indent-to-left-margin "\ 26(defvar indent-line-function 'indent-to-left-margin "\
23Function to indent current line.");Now in loaddefs.el 27Function to indent current line.");Now in loaddefs.el
diff --git a/lisp/info.el b/lisp/info.el
index 58eccfc8392..abf05ea71ff 100644
--- a/lisp/info.el
+++ b/lisp/info.el
@@ -1,12 +1,15 @@
1;;; info.el --- info package for Emacs. 1;;; info.el --- info package for Emacs.
2;;; Note that nowadays we expect info files to be made using makeinfo. 2
3;; Maintainer: FSF
4;; Last-Modified: 30 Jun 1992
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,12 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Commentary:
25
26;;; Note that nowadays we expect info files to be made using makeinfo.
27
28;;; Code:
29
21(defvar Info-history nil 30(defvar Info-history nil
22 "List of info nodes user has visited. 31 "List of info nodes user has visited.
23Each element of list is a list (FILENAME NODENAME BUFFERPOS).") 32Each element of list is a list (FILENAME NODENAME BUFFERPOS).")
diff --git a/lisp/informat.el b/lisp/informat.el
index 939b1cbb632..af970512ee6 100644
--- a/lisp/informat.el
+++ b/lisp/informat.el
@@ -1,12 +1,15 @@
1;;; informat.el --- info support functions package for Emacs 1;;; informat.el --- info support functions package for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 09 May 1991
5
3;; Copyright (C) 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21(require 'info) 26(require 'info)
22 27
23;;;###autoload 28;;;###autoload
diff --git a/lisp/international/iso-ascii.el b/lisp/international/iso-ascii.el
index b90d5aa47c0..2a7417d7cd0 100644
--- a/lisp/international/iso-ascii.el
+++ b/lisp/international/iso-ascii.el
@@ -1,4 +1,8 @@
1;;; iso-ascii.el --- set up char tables for ISO 8859/1 character set for ASCII terminals. 1;;; iso-ascii.el --- set up char tables for ISO 8859/1 on ASCII terminals.
2
3;; Author: Howard Gayle
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
2 6
3;; Copyright (C) 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1987 Free Software Foundation, Inc.
4 8
@@ -6,7 +10,7 @@
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Commentary:
21 26
22;; Written by Howard Gayle. See display-table.el for details. 27;; Written by Howard Gayle. See display-table.el for details.
23 28
@@ -25,6 +30,8 @@
25;; ASCII terminals. The display strings for the characters are 30;; ASCII terminals. The display strings for the characters are
26;; more-or-less based on TeX. 31;; more-or-less based on TeX.
27 32
33;;; Code:
34
28(require 'disp-table) 35(require 'disp-table)
29 36
30(standard-display-ascii 160 "{_}") ; NBSP (no-break space) 37(standard-display-ascii 160 "{_}") ; NBSP (no-break space)
diff --git a/lisp/international/iso-insert.el b/lisp/international/iso-insert.el
index 84f19858735..be653bed52f 100644
--- a/lisp/international/iso-insert.el
+++ b/lisp/international/iso-insert.el
@@ -1,12 +1,16 @@
1;;; iso-insert.el --- insert functions for ISO 8859/1. 1;;; iso-insert.el --- insert functions for ISO 8859/1.
2 2
3;; Author: Howard Gayle
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
6
3;; Copyright (C) 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1987 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Code:
21 26
22;; Written by Howard Gayle. See case-table.el for details. 27;; Written by Howard Gayle. See case-table.el for details.
23 28
diff --git a/lisp/international/iso-swed.el b/lisp/international/iso-swed.el
index 0e8caf49ed0..7d16f1d9a12 100644
--- a/lisp/international/iso-swed.el
+++ b/lisp/international/iso-swed.el
@@ -1,4 +1,8 @@
1;;; iso-swed.el --- set up char tables for ISO 8859/1 for Swedish/Finnish terminals. 1;;; iso-swed.el --- set up char tables for ISO 8859/1 for Swedish/Finnish ttys
2
3;; Author: Howard Gayle
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
2 6
3;; Copyright (C) 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1987 Free Software Foundation, Inc.
4 8
@@ -6,7 +10,7 @@
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Code:
21 26
22;; Written by Howard Gayle. See case-table.el for details. 27;; Written by Howard Gayle. See case-table.el for details.
23 28
diff --git a/lisp/international/swedish.el b/lisp/international/swedish.el
index 46465167d09..865a6f16edd 100644
--- a/lisp/international/swedish.el
+++ b/lisp/international/swedish.el
@@ -1,12 +1,15 @@
1;;; swedish.el --- miscellaneous functions for dealing with Swedish. 1;;; swedish.el --- miscellaneous functions for dealing with Swedish.
2 2
3;; Author: Howard Gayle
4;; Maintainer: FSF
5
3;; Copyright (C) 1988 Free Software Foundation, Inc. 6;; Copyright (C) 1988 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;; Written by Howard Gayle. See case-table.el for details. 26;; Written by Howard Gayle. See case-table.el for details.
23 27
diff --git a/lisp/isearch-old.el b/lisp/isearch-old.el
index 1661979e5f1..570ddc1c973 100644
--- a/lisp/isearch-old.el
+++ b/lisp/isearch-old.el
@@ -1,12 +1,15 @@
1;;; isearch.el --- incremental search commands 1;;; isearch.el --- incremental search commands
2 2
3;; Maintainer: FSF
4;; Last-Modified: 30 Jun 1992
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21(defvar search-last-string "" "\ 26(defvar search-last-string "" "\
22Last string search for by a non-regexp search command. 27Last string search for by a non-regexp search command.
23This does not include direct calls to the primitive search functions, 28This does not include direct calls to the primitive search functions,
diff --git a/lisp/iso8859-1.el b/lisp/iso8859-1.el
index a91546ebd96..3939bcab6a2 100644
--- a/lisp/iso8859-1.el
+++ b/lisp/iso8859-1.el
@@ -1,11 +1,16 @@
1;; Set up case-conversion and syntax tables for ISO 8859/1 character set. 1;; iso8859-1.el --- set up case-conversion and syntax tables for ISO 8859/1
2
3;; Author: Howard Gayle
4;; Maintainer: FSF
5;; Last-Modified: 24 Jun 1992
6
2;; Copyright (C) 1988 Free Software Foundation, Inc. 7;; Copyright (C) 1988 Free Software Foundation, Inc.
3 8
4;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
5 10
6;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
7;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
8;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
9;; any later version. 14;; any later version.
10 15
11;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -17,6 +22,7 @@
17;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
18;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19 24
25;;; Code:
20 26
21;; Written by Howard Gayle. See case-table.el for details. 27;; Written by Howard Gayle. See case-table.el for details.
22 28
diff --git a/lisp/kermit.el b/lisp/kermit.el
index 883ed787bd1..75e5f3ff227 100644
--- a/lisp/kermit.el
+++ b/lisp/kermit.el
@@ -10,7 +10,7 @@
10 10
11;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
12;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
13;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
14;; any later version. 14;; any later version.
15 15
16;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -73,6 +73,8 @@
73;; Please let me know if any bugs turn up. 73;; Please let me know if any bugs turn up.
74;; Feb 1988, Jeff Norden - jeff@colgate.csnet 74;; Feb 1988, Jeff Norden - jeff@colgate.csnet
75 75
76;;; Code:
77
76(require 'shell) 78(require 'shell)
77 79
78(defvar kermit-esc-char "\C-\\" "*Kermit's escape char") 80(defvar kermit-esc-char "\C-\\" "*Kermit's escape char")
diff --git a/lisp/ledit.el b/lisp/ledit.el
index 90347323056..1f8667bd268 100644
--- a/lisp/ledit.el
+++ b/lisp/ledit.el
@@ -1,12 +1,15 @@
1;;; ledit.el --- Emacs side of ledit interface 1;;; ledit.el --- Emacs side of ledit interface
2 2
3;; Maintainer: FSF
4;; Last-Modified: 13 May 1991
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;;; To do: 26;;; To do:
23;;; o lisp -> emacs side of things (grind-definition and find-definition) 27;;; o lisp -> emacs side of things (grind-definition and find-definition)
diff --git a/lisp/loadup.el b/lisp/loadup.el
index 24b09eb6bcf..81123a297ea 100644
--- a/lisp/loadup.el
+++ b/lisp/loadup.el
@@ -1,5 +1,8 @@
1;;; loadup.el --- load up standardly loaded Lisp files for Emacs. 1;;; loadup.el --- load up standardly loaded Lisp files for Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 14 Jul 1992
5
3;; This is loaded into a bare Emacs to make a dumpable one. 6;; This is loaded into a bare Emacs to make a dumpable one.
4;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc.
5 8
@@ -7,7 +10,7 @@
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
26
22;;; We don't want to have any undo records in the dumped Emacs. 27;;; We don't want to have any undo records in the dumped Emacs.
23(buffer-disable-undo "*scratch*") 28(buffer-disable-undo "*scratch*")
24 29
diff --git a/lisp/lpr.el b/lisp/lpr.el
index e7d182fede8..d6b3723f2a5 100644
--- a/lisp/lpr.el
+++ b/lisp/lpr.el
@@ -1,12 +1,15 @@
1;;; lpr.el --- print Emacs buffer on line printer. 1;;; lpr.el --- print Emacs buffer on line printer.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 19 Apr 1992
5
3;; Copyright (C) 1985, 1988, 1992 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1988, 1992 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;;;###autoload 26;;;###autoload
23(defconst lpr-switches nil "\ 27(defconst lpr-switches nil "\
diff --git a/lisp/macros.el b/lisp/macros.el
index 4cd6a34ebe8..74fdff6f7f0 100644
--- a/lisp/macros.el
+++ b/lisp/macros.el
@@ -1,12 +1,15 @@
1;;; macros.el --- non-primitive commands for keyboard macros. 1;;; macros.el --- non-primitive commands for keyboard macros.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 05 Nov 1991
5
3;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;;;###autoload 26;;;###autoload
23(defun name-last-kbd-macro (symbol) 27(defun name-last-kbd-macro (symbol)
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index aff48f1a45c..a450af90a84 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -1,17 +1,17 @@
1;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list. 1;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list.
2 2
3;; Author: K. Shane Hartman
3;; Maintainer: FSF 4;; Maintainer: FSF
4;; Last-Modified: 21 Dec 1991 5;; Last-Modified: 21 Dec 1991
5 6
6;; Not fully installed because it can work only on Internet hosts. 7;; Not fully installed because it can work only on Internet hosts.
7;; Copyright (C) 1985 Free Software Foundation, Inc. 8;; Copyright (C) 1985 Free Software Foundation, Inc.
8;; Principal author K. Shane Hartman
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
12;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
13;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
14;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
15;; any later version. 15;; any later version.
16 16
17;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/mail/mail-utils.el b/lisp/mail/mail-utils.el
index a7d9ef9c3b3..dbed4b708b6 100644
--- a/lisp/mail/mail-utils.el
+++ b/lisp/mail/mail-utils.el
@@ -1,12 +1,15 @@
1;;; mail-utils.el --- utility functions used both by rmail and rnews 1;;; mail-utils.el --- utility functions used both by rmail and rnews
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;;; We require lisp-mode to make sure that lisp-mode-syntax-table has 26;;; We require lisp-mode to make sure that lisp-mode-syntax-table has
23;;; been initialized. 27;;; been initialized.
diff --git a/lisp/mail/mailalias.el b/lisp/mail/mailalias.el
index e0b44601b9e..190ba5aa887 100644
--- a/lisp/mail/mailalias.el
+++ b/lisp/mail/mailalias.el
@@ -1,12 +1,15 @@
1;;; mailalias.el --- expand mailing address aliases defined in ~/.mailrc. 1;;; mailalias.el --- expand mailing address aliases defined in ~/.mailrc.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 01 Jun 1992
5
3;; Copyright (C) 1985, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;; Called from sendmail-send-it, or similar functions, 26;; Called from sendmail-send-it, or similar functions,
23;; only if some mail aliases are defined. 27;; only if some mail aliases are defined.
diff --git a/lisp/mail/rmail.el b/lisp/mail/rmail.el
index f4a6656297c..9a88ce98005 100644
--- a/lisp/mail/rmail.el
+++ b/lisp/mail/rmail.el
@@ -1,12 +1,15 @@
1;;; rmail.el --- main code of "RMAIL" mail reader for Emacs. 1;;; rmail.el --- main code of "RMAIL" mail reader for Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 24 Apr 1992
5
3;; Copyright (C) 1985, 1986, 1987, 1988, 1991, 1992 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1987, 1988, 1991, 1992 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;; Souped up by shane@mit-ajax based on ideas of rlk@athena.mit.edu 26;; Souped up by shane@mit-ajax based on ideas of rlk@athena.mit.edu
23;; New features include attribute and keyword support, message 27;; New features include attribute and keyword support, message
diff --git a/lisp/mail/rmailedit.el b/lisp/mail/rmailedit.el
index fa29b50c084..60eca528952 100644
--- a/lisp/mail/rmailedit.el
+++ b/lisp/mail/rmailedit.el
@@ -1,12 +1,15 @@
1;;; rmailedit.el --- "RMAIL edit mode" Edit the current message. 1;;; rmailedit.el --- "RMAIL edit mode" Edit the current message.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 31 Jul 1991
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(require 'rmail) 26(require 'rmail)
23 27
diff --git a/lisp/mail/rmailkwd.el b/lisp/mail/rmailkwd.el
index b8ad6a59f58..1ac89d3461d 100644
--- a/lisp/mail/rmailkwd.el
+++ b/lisp/mail/rmailkwd.el
@@ -1,12 +1,15 @@
1;;; rmailkwd.el --- part of the "RMAIL" mail reader for Emacs. 1;;; rmailkwd.el --- part of the "RMAIL" mail reader for Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 31 Oct 1989
5
3;; Copyright (C) 1985, 1988 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1988 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;; Global to all RMAIL buffers. It exists primarily for the sake of 26;; Global to all RMAIL buffers. It exists primarily for the sake of
23;; completion. It is better to use strings with the label functions 27;; completion. It is better to use strings with the label functions
diff --git a/lisp/mail/rmailmsc.el b/lisp/mail/rmailmsc.el
index cd042ae94c0..26ce9aa8bc5 100644
--- a/lisp/mail/rmailmsc.el
+++ b/lisp/mail/rmailmsc.el
@@ -1,12 +1,15 @@
1;;; rmailmsc.el --- miscellaneous support functions for the RMAIL mail reader 1;;; rmailmsc.el --- miscellaneous support functions for the RMAIL mail reader
2 2
3;; Maintainer: FSF
4;; Last-Modified: 31 Oct 1989
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/mail/rmailout.el b/lisp/mail/rmailout.el
index a9dc5e385f1..fdb3f029ca6 100644
--- a/lisp/mail/rmailout.el
+++ b/lisp/mail/rmailout.el
@@ -1,7 +1,7 @@
1;;; rmailout.el --- "RMAIL" mail reader for Emacs: output message to a file. 1;;; rmailout.el --- "RMAIL" mail reader for Emacs: output message to a file.
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 1 Mar 1991 4;; Last-Modified: 01 Mar 1991
5 5
6;; Copyright (C) 1985, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1987 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/mail/rmailsort.el b/lisp/mail/rmailsort.el
index 32f459c0d4d..a069aec05c3 100644
--- a/lisp/mail/rmailsort.el
+++ b/lisp/mail/rmailsort.el
@@ -1,11 +1,14 @@
1;;; rmailsort.el --- Rmail: sort messages. 1;;; rmailsort.el --- Rmail: sort messages.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1990 Free Software Foundation, Inc. 6;; Copyright (C) 1990 Free Software Foundation, Inc.
4;; This file is part of GNU Emacs. 7;; This file is part of GNU Emacs.
5 8
6;; GNU Emacs is free software; you can redistribute it and/or modify 9;; GNU Emacs is free software; you can redistribute it and/or modify
7;; it under the terms of the GNU General Public License as published by 10;; it under the terms of the GNU General Public License as published by
8;; the Free Software Foundation; either version 1, or (at your option) 11;; the Free Software Foundation; either version 2, or (at your option)
9;; any later version. 12;; any later version.
10 13
11;; GNU Emacs is distributed in the hope that it will be useful, 14;; GNU Emacs is distributed in the hope that it will be useful,
@@ -17,6 +20,7 @@
17;; along with GNU Emacs; see the file COPYING. If not, write to 20;; along with GNU Emacs; see the file COPYING. If not, write to
18;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 21;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
19 22
23;;; Code:
20 24
21(require 'rmail) 25(require 'rmail)
22(require 'sort) 26(require 'sort)
diff --git a/lisp/mail/rmailsum.el b/lisp/mail/rmailsum.el
index 12f6cf527a3..1a4e0e48301 100644
--- a/lisp/mail/rmailsum.el
+++ b/lisp/mail/rmailsum.el
@@ -1,12 +1,15 @@
1;;; rmailsum.el --- "RMAIL" mail reader for Emacs. 1;;; rmailsum.el --- "RMAIL" mail reader for Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 30 Nov 1990
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;; summary things 26;; summary things
23 27
diff --git a/lisp/mail/rnews.el b/lisp/mail/rnews.el
index 4bec3713f5e..a4fc266fd4c 100644
--- a/lisp/mail/rnews.el
+++ b/lisp/mail/rnews.el
@@ -1,12 +1,15 @@
1;;; rnews.el --- USENET news reader for gnu emacs 1;;; rnews.el --- USENET news reader for gnu emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Change Log:
25
21;; Created Sun Mar 10,1985 at 21:35:01 ads and sundar@hernes.ai.mit.edu 26;; Created Sun Mar 10,1985 at 21:35:01 ads and sundar@hernes.ai.mit.edu
22;; Should do the point pdl stuff sometime 27;; Should do the point pdl stuff sometime
23;; finito except pdl.... Sat Mar 16,1985 at 06:43:44 28;; finito except pdl.... Sat Mar 16,1985 at 06:43:44
@@ -44,6 +49,9 @@
44;; added caesar-region, rename news-caesar-buffer-body, hacked accordingly 49;; added caesar-region, rename news-caesar-buffer-body, hacked accordingly
45;; tower@prep Nov 21 1986 50;; tower@prep Nov 21 1986
46;; added tower@prep 22 Apr 87 51;; added tower@prep 22 Apr 87
52
53;;; Code:
54
47(require 'mail-utils) 55(require 'mail-utils)
48 56
49(autoload 'rmail-output "rmailout" 57(autoload 'rmail-output "rmailout"
diff --git a/lisp/mail/rnewspost.el b/lisp/mail/rnewspost.el
index 91077ed311a..cdc7dd388e7 100644
--- a/lisp/mail/rnewspost.el
+++ b/lisp/mail/rnewspost.el
@@ -1,12 +1,15 @@
1;;; rnewspost.el --- USENET news poster/mailer for GNU Emacs 1;;; rnewspost.el --- USENET news poster/mailer for GNU Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 30 May 1992
5
3;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;; Change Log:
25
21;; moved posting and mail code from rnews.el 26;; moved posting and mail code from rnews.el
22;; tower@prep.ai.mit.edu Wed Oct 29 1986 27;; tower@prep.ai.mit.edu Wed Oct 29 1986
23;; brought posting code almost up to the revision of RFC 850 for News 2.11 28;; brought posting code almost up to the revision of RFC 850 for News 2.11
@@ -32,8 +37,6 @@
32;; tower@prep 28 Apr 87 37;; tower@prep 28 Apr 87
33;; commented out Posting-Front-End to save USENET bytes tower@prep Jul 31 87 38;; commented out Posting-Front-End to save USENET bytes tower@prep Jul 31 87
34;; commented out -n and -t args in news-inews tower@prep 15 Oct 87 39;; commented out -n and -t args in news-inews tower@prep 15 Oct 87
35(require 'sendmail)
36(require 'rnews)
37 40
38;Now in paths.el. 41;Now in paths.el.
39;(defvar news-inews-program "inews" 42;(defvar news-inews-program "inews"
@@ -48,6 +51,11 @@
48;;; >> Nuked by Mly to autoload those functions again, as the duplication of 51;;; >> Nuked by Mly to autoload those functions again, as the duplication of
49;;; >> code was making maintenance too difficult. 52;;; >> code was making maintenance too difficult.
50 53
54;;; Code:
55
56(require 'sendmail)
57(require 'rnews)
58
51(defvar news-reply-mode-map () "Mode map used by news-reply.") 59(defvar news-reply-mode-map () "Mode map used by news-reply.")
52 60
53(or news-reply-mode-map 61(or news-reply-mode-map
diff --git a/lisp/mail/sendmail.el b/lisp/mail/sendmail.el
index a9f6c864fec..3373886703d 100644
--- a/lisp/mail/sendmail.el
+++ b/lisp/mail/sendmail.el
@@ -1,12 +1,15 @@
1;;; sendmail.el --- mail sending commands for Emacs. 1;;; sendmail.el --- mail sending commands for Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 24 Jun 1992
5
3;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;;;###autoload 26;;;###autoload
23(defconst mail-self-blind nil "\ 27(defconst mail-self-blind nil "\
diff --git a/lisp/mail/undigest.el b/lisp/mail/undigest.el
index 5b80fbf8e2e..fe10a4e1a20 100644
--- a/lisp/mail/undigest.el
+++ b/lisp/mail/undigest.el
@@ -1,12 +1,15 @@
1;;; undigest.el --- digest-cracking support for the RMAIL mail reader 1;;; undigest.el --- digest-cracking support for the RMAIL mail reader
2 2
3;; Maintainer: FSF
4;; Last-Modified: 14 Jul 1992
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,7 +21,11 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
21;; note Interent RFP934 24;;; Commentary:
25
26;; See Internet RFC 934
27
28;;; Code:
22 29
23(defun undigestify-rmail-message () 30(defun undigestify-rmail-message ()
24 "Break up a digest message into its constituent messages. 31 "Break up a digest message into its constituent messages.
diff --git a/lisp/makesum.el b/lisp/makesum.el
index 8a7445d0b7c..46dd0dfe5a4 100644
--- a/lisp/makesum.el
+++ b/lisp/makesum.el
@@ -1,7 +1,7 @@
1;;; makesum.el --- generate key binding summary for Emacs 1;;; makesum.el --- generate key binding summary for Emacs
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 9 May 1991 4;; Last-Modified: 09 May 1991
5 5
6;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/man.el b/lisp/man.el
index c2e0d45ac3f..77201267a80 100644
--- a/lisp/man.el
+++ b/lisp/man.el
@@ -1,12 +1,15 @@
1;;; man.el --- read in and display parts of Unix manual. 1;;; man.el --- read in and display parts of Unix manual.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 21 Dec 1991
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21;;;###autoload 26;;;###autoload
22(defun manual-entry (topic &optional section) 27(defun manual-entry (topic &optional section)
23 "Display the Unix manual entry for TOPIC. 28 "Display the Unix manual entry for TOPIC.
diff --git a/lisp/map-ynp.el b/lisp/map-ynp.el
index 5f4571f4ab8..16b34246790 100644
--- a/lisp/map-ynp.el
+++ b/lisp/map-ynp.el
@@ -1,11 +1,13 @@
1;;; map-ynp.el --- General-purpose boolean question-asker. 1;;; map-ynp.el --- General-purpose boolean question-asker.
2 2
3;; Author: Roland McGrath <roland@gnu.ai.mit.edu>
4;; Last-Modified: 14 Mar 1992
5
3;;; Copyright (C) 1991, 1992 Free Software Foundation, Inc. 6;;; Copyright (C) 1991, 1992 Free Software Foundation, Inc.
4;;; Written by Roland McGrath.
5;;; 7;;;
6;;; This program is free software; you can redistribute it and/or modify 8;;; This program is free software; you can redistribute it and/or modify
7;;; it under the terms of the GNU General Public License as published by 9;;; it under the terms of the GNU General Public License as published by
8;;; the Free Software Foundation; either version 1, or (at your option) 10;;; the Free Software Foundation; either version 2, or (at your option)
9;;; any later version. 11;;; any later version.
10;;; 12;;;
11;;; This program is distributed in the hope that it will be useful, 13;;; This program is distributed in the hope that it will be useful,
@@ -17,7 +19,9 @@
17;;; program's author (send electronic mail to roland@ai.mit.edu) or from 19;;; program's author (send electronic mail to roland@ai.mit.edu) or from
18;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 20;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA
19;;; 02139, USA. 21;;; 02139, USA.
20;;; 22
23;;; Commentary:
24
21;;; map-y-or-n-p is a general-purpose question-asking function. 25;;; map-y-or-n-p is a general-purpose question-asking function.
22;;; It asks a series of y/n questions (a la y-or-n-p), and decides to 26;;; It asks a series of y/n questions (a la y-or-n-p), and decides to
23;;; applies an action to each element of a list based on the answer. 27;;; applies an action to each element of a list based on the answer.
@@ -26,6 +30,8 @@
26;;; questions; ESC or q to answer n to all remaining questions; . to answer 30;;; questions; ESC or q to answer n to all remaining questions; . to answer
27;;; y once and then n for the remainder; and you can get help with C-h. 31;;; y once and then n for the remainder; and you can get help with C-h.
28 32
33;;; Code:
34
29(defun map-y-or-n-p-help (object objects action) 35(defun map-y-or-n-p-help (object objects action)
30 (format "Type SPC or `y' to %s the current %s; 36 (format "Type SPC or `y' to %s the current %s;
31DEL or `n' to skip the current %s; 37DEL or `n' to skip the current %s;
diff --git a/lisp/medit.el b/lisp/medit.el
index 9c08ccb2b9d..c5dbf23817e 100644
--- a/lisp/medit.el
+++ b/lisp/medit.el
@@ -1,14 +1,16 @@
1;;; medit.el --- Lisp interface between GNU Emacs and MEDIT package. 1;;; medit.el --- front-end to the MEDIT package for editing MDL
2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 05 Apr 1991
2 6
3;; Emacs under MDL.
4;; Copyright (C) 1985 Free Software Foundation, Inc. 7;; Copyright (C) 1985 Free Software Foundation, Inc.
5;; Principal author K. Shane Hartman
6 8
7;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
8 10
9;; GNU Emacs is free software; you can redistribute it and/or modify 11;; 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 12;; it under the terms of the GNU General Public License as published by
11;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
12;; any later version. 14;; any later version.
13 15
14;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -20,10 +22,13 @@
20;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
21;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 24
25;;; Commentary:
23 26
24;; >> This package depends on two MDL packages: MEDIT and FORKS which 27;; >> This package depends on two MDL packages: MEDIT and FORKS which
25;; >> can be obtained from the public (network) library at mit-ajax. 28;; >> can be obtained from the public (network) library at mit-ajax.
26 29
30;;; Code:
31
27(require 'mim-mode) 32(require 'mim-mode)
28 33
29(defconst medit-zap-file (concat "/tmp/" (user-login-name) ".medit.mud") 34(defconst medit-zap-file (concat "/tmp/" (user-login-name) ".medit.mud")
diff --git a/lisp/mim-mode.el b/lisp/mim-mode.el
index 1c0dec2ed59..09d7cb4350f 100644
--- a/lisp/mim-mode.el
+++ b/lisp/mim-mode.el
@@ -1,13 +1,16 @@
1;;; mim-mode.el --- Mim (MDL in MDL) mode. 1;;; mim-mode.el --- Mim (MDL in MDL) mode.
2 2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 31 Oct 1989
6
3;; Copyright (C) 1985 Free Software Foundation, Inc. 7;; Copyright (C) 1985 Free Software Foundation, Inc.
4;; Principal author K. Shane Hartman
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,7 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
22 26
23(autoload 'fast-syntax-check-mim "mim-syntax" 27(autoload 'fast-syntax-check-mim "mim-syntax"
24 "Checks Mim syntax quickly. 28 "Checks Mim syntax quickly.
diff --git a/lisp/mim-syntax.el b/lisp/mim-syntax.el
index a9ab16ca25d..ba84f538111 100644
--- a/lisp/mim-syntax.el
+++ b/lisp/mim-syntax.el
@@ -1,13 +1,16 @@
1;;; mim-syntax.el --- syntax checker for Mim (MDL). 1;;; mim-syntax.el --- syntax checker for Mim (MDL).
2 2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 31 Oct 1989
6
3;; Copyright (C) 1985 Free Software Foundation, Inc. 7;; Copyright (C) 1985 Free Software Foundation, Inc.
4;; Principal author K. Shane Hartman
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,7 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
22 26
23(require 'mim-mode) 27(require 'mim-mode)
24 28
diff --git a/lisp/misc.el b/lisp/misc.el
index 3eea6ec22bb..ebdf52806f7 100644
--- a/lisp/misc.el
+++ b/lisp/misc.el
@@ -1,12 +1,15 @@
1;;; misc.el --- basic editing commands for Emacs 1;;; misc.el --- basic editing commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 31 Oct 1989
5
3;; Copyright (C) 1989 Free Software Foundation, Inc. 6;; Copyright (C) 1989 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defun copy-from-above-command (&optional arg) 26(defun copy-from-above-command (&optional arg)
23 "Copy characters from previous nonblank line, starting just above point. 27 "Copy characters from previous nonblank line, starting just above point.
diff --git a/lisp/netunam.el b/lisp/netunam.el
index f6b59182839..4ace2c6e781 100644
--- a/lisp/netunam.el
+++ b/lisp/netunam.el
@@ -1,6 +1,6 @@
1;;; netunam.el --- HP-UX RFA Commands 1;;; netunam.el --- HP-UX RFA Commands
2 2
3;; Author: CPH <cph@zurich.ai.mit.edu> 3;; Author: Chris Hanson <cph@zurich.ai.mit.edu>
4;; Last-Modified: 31 Oct 1989 4;; Last-Modified: 31 Oct 1989
5 5
6;;; $Header: netunam.el,v 1.3 88/12/21 16:32:23 GMT cph Exp $ 6;;; $Header: netunam.el,v 1.3 88/12/21 16:32:23 GMT cph Exp $
@@ -11,7 +11,7 @@
11 11
12;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
13;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
14;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
15;; any later version. 15;; any later version.
16 16
17;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/novice.el b/lisp/novice.el
index c5374e8b8be..9849fd45ea7 100644
--- a/lisp/novice.el
+++ b/lisp/novice.el
@@ -1,12 +1,15 @@
1;;; novice.el --- handling of disabled commands ("novice mode") for Emacs. 1;;; novice.el --- handling of disabled commands ("novice mode") for Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 22 May 1991
5
3;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;; Code:
21 25
22;; This function is called (by autoloading) 26;; This function is called (by autoloading)
23;; to handle any disabled command. 27;; to handle any disabled command.
diff --git a/lisp/options.el b/lisp/options.el
index 86e8d493032..be6432c1c5d 100644
--- a/lisp/options.el
+++ b/lisp/options.el
@@ -1,12 +1,15 @@
1;;; options.el --- edit Options command for Emacs. 1;;; options.el --- edit Options command for Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 10 Apr 1991
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;;;###autoload 26;;;###autoload
23(defun list-options () 27(defun list-options ()
diff --git a/lisp/paths.el b/lisp/paths.el
index 074b979d558..3419c0d09c5 100644
--- a/lisp/paths.el
+++ b/lisp/paths.el
@@ -1,12 +1,15 @@
1;;; paths.el --- define pathnames for use by various Emacs commands. 1;;; paths.el --- define pathnames for use by various Emacs commands.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 05 Dec 1991
5
3;; Copyright (C) 1986, 1988 Free Software Foundation, Inc. 6;; Copyright (C) 1986, 1988 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Commentary:
21 25
22;; These are default settings for names of certain files and directories 26;; These are default settings for names of certain files and directories
23;; that Emacs needs to refer to from time to time. 27;; that Emacs needs to refer to from time to time.
@@ -25,6 +29,8 @@
25;; If these settings are not right, override them with `setq' 29;; If these settings are not right, override them with `setq'
26;; in site-init.el. Do not change this file. 30;; in site-init.el. Do not change this file.
27 31
32;;; Code:
33
28(defvar Info-default-directory-list 34(defvar Info-default-directory-list
29 (list "/usr/local/lib/info/" 35 (list "/usr/local/lib/info/"
30 (expand-file-name "../info/" data-directory)) 36 (expand-file-name "../info/" data-directory))
diff --git a/lisp/play/dissociate.el b/lisp/play/dissociate.el
index 344d8ef3011..b0998320f7e 100644
--- a/lisp/play/dissociate.el
+++ b/lisp/play/dissociate.el
@@ -2,6 +2,7 @@
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 09 May 1991 4;; Last-Modified: 09 May 1991
5;; Keywords: games
5 6
6;; Copyright (C) 1985 Free Software Foundation, Inc. 7;; Copyright (C) 1985 Free Software Foundation, Inc.
7 8
@@ -9,7 +10,7 @@
9 10
10;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 14;; any later version.
14 15
15;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/play/doctor.el b/lisp/play/doctor.el
index 0cb5dc9327b..5d6a437e07c 100644
--- a/lisp/play/doctor.el
+++ b/lisp/play/doctor.el
@@ -1,12 +1,16 @@
1;;; doctor.el --- psychological help for frustrated users. 1;;; doctor.el --- psychological help for frustrated users.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 24 Apr 1992
5;; Keywords: games
6
3;; Copyright (C) 1985, 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1987 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Code:
21 26
22(defun doctor-cadr (x) (car (cdr x))) 27(defun doctor-cadr (x) (car (cdr x)))
23(defun doctor-caddr (x) (car (cdr (cdr x)))) 28(defun doctor-caddr (x) (car (cdr (cdr x))))
diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el
index b3696b50b33..68df99c3eba 100644
--- a/lisp/play/gomoku.el
+++ b/lisp/play/gomoku.el
@@ -1,12 +1,17 @@
1;;; gomoku.el --- Gomoku game between you and Emacs 1;;; gomoku.el --- Gomoku game between you and Emacs
2 2
3;; Author: Phillippe Schnoebelen <phs@lifia.imag.fr>
4;; Last-Modified: 16 Mar 1992
5;; Adapted-By: ESR
6;; Keywords: games
7
3;; Copyright (C) 1988 Free Software Foundation, Inc. 8;; Copyright (C) 1988 Free Software Foundation, Inc.
4 9
5;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
6 11
7;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 15;; any later version.
11 16
12;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +23,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 25
26;;; Commentary:
27
21;;; Gomoku game between you and GNU Emacs. Last modified on 13 Sep 1988 28;;; Gomoku game between you and GNU Emacs. Last modified on 13 Sep 1988
22;;; 29;;;
23;;; Written by Ph. Schnoebelen (phs@lifia.imag.fr), 1987, 1988 30;;; Written by Ph. Schnoebelen (phs@lifia.imag.fr), 1987, 1988
@@ -74,6 +81,8 @@
74;; The algorithm is briefly described in section "THE SCORE TABLE". Some 81;; The algorithm is briefly described in section "THE SCORE TABLE". Some
75;; parameters may be modified if you want to change the style exhibited by the 82;; parameters may be modified if you want to change the style exhibited by the
76;; program. 83;; program.
84
85;;; Code:
77 86
78;;; 87;;;
79;;; GOMOKU MODE AND KEYMAP. 88;;; GOMOKU MODE AND KEYMAP.
diff --git a/lisp/play/life.el b/lisp/play/life.el
index 3ce585d9f16..59dcbfb3856 100644
--- a/lisp/play/life.el
+++ b/lisp/play/life.el
@@ -1,13 +1,15 @@
1;;; life.el --- John Horton Conway's `Life' game for GNU Emacs 1;;; life.el --- John Horton Conway's `Life' game for GNU Emacs
2 2
3;; Author: Kyle Jones <talos!kjones@uunet.uu.net>
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1988 Free Software Foundation, Inc. 6;; Copyright (C) 1988 Free Software Foundation, Inc.
4;; Contributed by Kyle Jones, talos!kjones@uunet.uu.net
5 7
6;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
7 9
8;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 13;; any later version.
12 14
13;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +21,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 23
24;;; Code:
25
22(defconst life-patterns 26(defconst life-patterns
23 [("@@@" " @@" "@@@") 27 [("@@@" " @@" "@@@")
24 ("@@@ @@@" "@@ @@ " "@@@ @@@") 28 ("@@@ @@@" "@@ @@ " "@@@ @@@")
diff --git a/lisp/play/spook.el b/lisp/play/spook.el
index 98b22fc2086..9c62ed0e5a1 100644
--- a/lisp/play/spook.el
+++ b/lisp/play/spook.el
@@ -1,7 +1,7 @@
1;;; spook.el --- spook phrase utility for overloading the NSA line eater 1;;; spook.el --- spook phrase utility for overloading the NSA line eater
2 2
3;;; Maintainer: FSF 3;;; Maintainer: FSF
4;;; Last-modified: 05 Dec 1991 4;;; Last-Modified: 05 Dec 1991
5 5
6;; Copyright (C) 1988 Free Software Foundation, Inc. 6;; Copyright (C) 1988 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/play/yow.el b/lisp/play/yow.el
index 9f71ee5b925..ac8c43d5a31 100644
--- a/lisp/play/yow.el
+++ b/lisp/play/yow.el
@@ -1,7 +1,7 @@
1;;; yow.el --- generate random zippyisms 1;;; yow.el --- generate random zippyisms
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-modified: 14 Jun 1992 4;; Last-Modified: 14 Jun 1992
5 5
6;; Copyright (C) 1985, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1987 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el
index c2f98c47f02..46ffe0647f6 100644
--- a/lisp/progmodes/c-mode.el
+++ b/lisp/progmodes/c-mode.el
@@ -1,12 +1,16 @@
1;;; c-mode.el --- C code editing commands for Emacs 1;;; c-mode.el --- C code editing commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 11 Jul 1992
5;; Keywords: c
6
3;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Code:
21 26
22(defvar c-mode-abbrev-table nil 27(defvar c-mode-abbrev-table nil
23 "Abbrev table in use in C mode.") 28 "Abbrev table in use in C mode.")
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el
index 431fa13cf1f..2529fbbe69e 100644
--- a/lisp/progmodes/cmacexp.el
+++ b/lisp/progmodes/cmacexp.el
@@ -1,12 +1,16 @@
1;;; cmacexp.el --- C macro expansion 1;;; cmacexp.el --- C macro expansion
2 2
3;; Maintainer: FSF
4;; Last-Modified: 17 Apr 1992
5;; Keywords: c
6
3;; Copyright (C) 1988 Free Software Foundation, Inc. 7;; Copyright (C) 1988 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Code:
21 26
22(defvar c-macro-preprocessor "/lib/cpp" 27(defvar c-macro-preprocessor "/lib/cpp"
23 "*Command to be used for C preprocessing.") 28 "*Command to be used for C preprocessing.")
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 485ce393200..2c171190093 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1,4 +1,8 @@
1;; Tags facility for Emacs. 1;; etags.el --- etags facility for Emacs
2
3;; Author: Roland McGrath <roland@gnu.ai.mit.edu>
4;; Keywords: tools
5
2;; Copyright (C) 1985, 1986, 1988, 1989, 1991, 1992 6;; Copyright (C) 1985, 1986, 1988, 1989, 1991, 1992
3;; Free Software Foundation, Inc. 7;; Free Software Foundation, Inc.
4 8
@@ -18,6 +22,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Code:
26
21;;;###autoload 27;;;###autoload
22(defvar tags-file-name nil "\ 28(defvar tags-file-name nil "\
23*File name of tags table. 29*File name of tags table.
@@ -1079,3 +1085,5 @@ for \\[find-tag] (which see). See also `visit-tags-table-buffer'."
1079;;;###autoload (define-key esc-map "?" 'complete-tag) ;? XXX 1085;;;###autoload (define-key esc-map "?" 'complete-tag) ;? XXX
1080 1086
1081(provide 'etags) 1087(provide 'etags)
1088
1089;;; etags.el ends here
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 326464d8804..60e1e6e4005 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -1,6 +1,30 @@
1;;; fortran.el --- Fortran mode for GNU Emacs (version 1.28.3, July 15, 1991) 1;;; fortran.el --- Fortran mode for GNU Emacs
2
3;; Author: Michael D. Prange <prange@erl.mit.edu>
4;; Maintainer: bug-fortran-mode@erl.mit.edu
5;; Version 1.28.3
6;; Last-Modified: 15 Jul 1991
2 7
3;;; Copyright (c) 1991 Free Software Foundation, Inc. 8;;; Copyright (c) 1991 Free Software Foundation, Inc.
9
10;; This file is part of GNU Emacs.
11
12;; GNU Emacs is free software; you can redistribute it and/or modify
13;; it under the terms of the GNU General Public License as published by
14;; the Free Software Foundation; either version 2, or (at your option)
15;; any later version.
16
17;; GNU Emacs is distributed in the hope that it will be useful,
18;; but WITHOUT ANY WARRANTY; without even the implied warranty of
19;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20;; GNU General Public License for more details.
21
22;; You should have received a copy of the GNU General Public License
23;; along with GNU Emacs; see the file COPYING. If not, write to
24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
25
26;;; Commentary:
27
4;;; Written by Michael D. Prange (prange@erl.mit.edu) 28;;; Written by Michael D. Prange (prange@erl.mit.edu)
5;;; Maintained (as of version 1.28) by Stephen A. Wood (saw@hallc1.cebaf.gov) 29;;; Maintained (as of version 1.28) by Stephen A. Wood (saw@hallc1.cebaf.gov)
6;;; This version is an update of version 1.21 (Oct 1, 1985). 30;;; This version is an update of version 1.21 (Oct 1, 1985).
@@ -70,26 +94,12 @@
70;;; 14. When in tab mode, the fortran column ruler will not be correct if 94;;; 14. When in tab mode, the fortran column ruler will not be correct if
71;;; tab-width is not 8. 95;;; tab-width is not 8.
72 96
73;; This file is part of GNU Emacs.
74
75;; GNU Emacs is free software; you can redistribute it and/or modify
76;; it under the terms of the GNU General Public License as published by
77;; the Free Software Foundation; either version 1, or (at your option)
78;; any later version.
79
80;; GNU Emacs is distributed in the hope that it will be useful,
81;; but WITHOUT ANY WARRANTY; without even the implied warranty of
82;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83;; GNU General Public License for more details.
84
85;; You should have received a copy of the GNU General Public License
86;; along with GNU Emacs; see the file COPYING. If not, write to
87;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
88
89;;; Author acknowledges help from Stephen Gildea <gildea@erl.mit.edu> 97;;; Author acknowledges help from Stephen Gildea <gildea@erl.mit.edu>
90 98
91;;; Bugs to bug-fortran-mode@erl.mit.edu 99;;; Bugs to bug-fortran-mode@erl.mit.edu
92 100
101;;; Code:
102
93;;;###autoload 103;;;###autoload
94(defvar fortran-tab-mode-default nil 104(defvar fortran-tab-mode-default nil
95 "*Default tabbing/carriage control style for empty files in fortran mode. 105 "*Default tabbing/carriage control style for empty files in fortran mode.
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el
index cab251427ba..8905bee0b5d 100644
--- a/lisp/progmodes/icon.el
+++ b/lisp/progmodes/icon.el
@@ -1,19 +1,16 @@
1;;; icon.el --- mode for editing Icon code 1;;; icon.el --- mode for editing Icon code
2 2
3;; Note: use 3;; Author: Chris Smith <convex!csmith>
4;; (autoload 'icon-mode "icon" nil t) 4;; Created: 15 Feb 89
5;; (setq auto-mode-alist (cons '("\\.icn$" . icon-mode) auto-mode-alist)) 5;; Last-Modified: 06 Mar 1991
6;; if not permanently installed in your emacs
7 6
8;; Icon code editing commands for Emacs
9;; Derived from c-mode.el 15-Feb-89 Chris Smith convex!csmith
10;; Copyright (C) 1989 Free Software Foundation, Inc. 7;; Copyright (C) 1989 Free Software Foundation, Inc.
11 8
12;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
13 10
14;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
15;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
16;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
17;; any later version. 14;; any later version.
18 15
19;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -25,6 +22,14 @@
25;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
26;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
27 24
25;;; Commentary:
26
27;; Note: use
28;; (autoload 'icon-mode "icon" nil t)
29;; (setq auto-mode-alist (cons '("\\.icn$" . icon-mode) auto-mode-alist))
30;; if not permanently installed in your emacs
31
32;;; Code:
28 33
29(defvar icon-mode-abbrev-table nil 34(defvar icon-mode-abbrev-table nil
30 "Abbrev table in use in Icon-mode buffers.") 35 "Abbrev table in use in Icon-mode buffers.")
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el
index ddbbf804962..ba98d5011b6 100644
--- a/lisp/progmodes/prolog.el
+++ b/lisp/progmodes/prolog.el
@@ -1,13 +1,15 @@
1;;; prolog.el --- major mode for editing and running Prolog under Emacs 1;;; prolog.el --- major mode for editing and running Prolog under Emacs
2 2
3;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet>
4;; Last-Modified: 08 May 1989
5
3;; Copyright (C) 1986, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1986, 1987 Free Software Foundation, Inc.
4;; Author Masanobu UMEDA (umerin@flab.flab.fujitsu.junet)
5 7
6;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
7 9
8;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 13;; any later version.
12 14
13;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +21,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 23
24;;; Code:
25
22(defvar prolog-mode-syntax-table nil) 26(defvar prolog-mode-syntax-table nil)
23(defvar prolog-mode-abbrev-table nil) 27(defvar prolog-mode-abbrev-table nil)
24(defvar prolog-mode-map nil) 28(defvar prolog-mode-map nil)
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index aa02c037806..1de78608655 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -1,13 +1,17 @@
1;;; scheme.el --- Scheme mode, and its idiosyncratic commands. 1;;; scheme.el --- Scheme mode, and its idiosyncratic commands.
2 2
3;; Author: Bill Rozas <jinz@prep.ai.mit.edu>
4;; Last-Modified: 16 Mar 1992
5
6;;; $Header: scheme.el,v 1.7 88/07/15 20:20:00 GMT cph Exp $
7
3;; Copyright (C) 1986, 1987, 1988 Free Software Foundation, Inc. 8;; Copyright (C) 1986, 1987, 1988 Free Software Foundation, Inc.
4;; Adapted from Lisp mode by Bill Rozas, jinx@prep.
5 9
6;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
7 11
8;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 15;; any later version.
12 16
13;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,13 +23,14 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 23;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 24;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 25
26;;; Commentary:
22 27
28;; Adapted from Lisp mode by Bill Rozas, jinx@prep.
23;; Initially a query replace of Lisp mode, except for the indentation 29;; Initially a query replace of Lisp mode, except for the indentation
24;; of special forms. Probably the code should be merged at some point 30;; of special forms. Probably the code should be merged at some point
25;; so that there is sharing between both libraries. 31;; so that there is sharing between both libraries.
26 32
27;;; $Header: scheme.el,v 1.7 88/07/15 20:20:00 GMT cph Exp $ 33;;; Code:
28
29 34
30(defvar scheme-mode-syntax-table nil "") 35(defvar scheme-mode-syntax-table nil "")
31(if (not scheme-mode-syntax-table) 36(if (not scheme-mode-syntax-table)
diff --git a/lisp/rect.el b/lisp/rect.el
index 163f1c162ed..84aa7b73ae1 100644
--- a/lisp/rect.el
+++ b/lisp/rect.el
@@ -1,7 +1,7 @@
1;;; rect.el --- rectangle functions for GNU Emacs. 1;;; rect.el --- rectangle functions for GNU Emacs.
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 9 May 1991 4;; Last-Modified: 09 May 1991
5 5
6;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/register.el b/lisp/register.el
index d1870d95bee..047bcba1269 100644
--- a/lisp/register.el
+++ b/lisp/register.el
@@ -1,7 +1,7 @@
1;;; register.el --- register commands for Emacs. 1;;; register.el --- register commands for Emacs.
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 9 Jul 1992 4;; Last-Modified: 09 Jul 1992
5 5
6;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/reposition.el b/lisp/reposition.el
index 9e0e881748f..9a6a9e23228 100644
--- a/lisp/reposition.el
+++ b/lisp/reposition.el
@@ -1,12 +1,16 @@
1;;; reposition.el --- center a Lisp function or comment on the screen 1;;; reposition.el --- center a Lisp function or comment on the screen
2 2
3;; Author: Michael D. Ernst <mernst@theory.lcs.mit.edu>
4;; Maintainer: FSF
5;; Last-Modified: 13 May 1991
6
3;; Copyright (C) 1991 Free Software Foundation, Inc. 7;; Copyright (C) 1991 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Commentary:
26
21;;; Written by Michael D. Ernst, mernst@theory.lcs.mit.edu, Jan 1991. 27;;; Written by Michael D. Ernst, mernst@theory.lcs.mit.edu, Jan 1991.
22 28
23;;; Reposition-window makes an entire function definition or comment visible, 29;;; Reposition-window makes an entire function definition or comment visible,
@@ -32,6 +38,8 @@
32;;; after one of the same name in ZMACS, but the code is all-new and the 38;;; after one of the same name in ZMACS, but the code is all-new and the
33;;; behavior in some situations differs. 39;;; behavior in some situations differs.
34 40
41;;; Code:
42
35;;;###autoload 43;;;###autoload
36(defun reposition-window (&optional arg) 44(defun reposition-window (&optional arg)
37 "Make the current definition and/or comment visible. 45 "Make the current definition and/or comment visible.
diff --git a/lisp/rot13.el b/lisp/rot13.el
index 253f6cf20af..939539b49e7 100644
--- a/lisp/rot13.el
+++ b/lisp/rot13.el
@@ -1,12 +1,16 @@
1;;; rot13.el --- display a buffer in rot13. 1;;; rot13.el --- display a buffer in rot13.
2 2
3;; Author: Howard Gayle:
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
6
3;; Copyright (C) 1988 Free Software Foundation, Inc. 7;; Copyright (C) 1988 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,11 +22,14 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;; Commentary:
21 26
22;; Written by Howard Gayle. See case-table.el for details. 27;; Written by Howard Gayle. See case-table.el for details.
23 28
24;; This hack is mainly to show off the char table stuff. 29;; This hack is mainly to show off the char table stuff.
25 30
31;;; Code:
32
26(defvar rot13-display-table 33(defvar rot13-display-table
27 (let ((table (make-display-table)) 34 (let ((table (make-display-table))
28 (i 0)) 35 (i 0))
diff --git a/lisp/server.el b/lisp/server.el
index 8aaa836b999..eee0b78f8b2 100644
--- a/lisp/server.el
+++ b/lisp/server.el
@@ -1,7 +1,7 @@
1;;; server.el --- Lisp code for GNU Emacs running as server process. 1;;; server.el --- Lisp code for GNU Emacs running as server process.
2 2
3;; Author: William Sommerfeld <wesommer@athena.mit.edu> 3;; Author: William Sommerfeld <wesommer@athena.mit.edu>
4;; Last-Modified: 5 Dec 1991 4;; Last-Modified: 05 Dec 1991
5 5
6;; Changes by peck@sun.com and by rms. 6;; Changes by peck@sun.com and by rms.
7 7
@@ -11,7 +11,7 @@
11 11
12;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
13;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
14;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
15;; any later version. 15;; any later version.
16 16
17;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/shell.el b/lisp/shell.el
index 3279c1dfc81..3a5968e0b6b 100644
--- a/lisp/shell.el
+++ b/lisp/shell.el
@@ -9,7 +9,7 @@
9 9
10;;; GNU Emacs is free software; you can redistribute it and/or modify 10;;; GNU Emacs is free software; you can redistribute it and/or modify
11;;; it under the terms of the GNU General Public License as published by 11;;; it under the terms of the GNU General Public License as published by
12;;; the Free Software Foundation; either version 1, or (at your option) 12;;; the Free Software Foundation; either version 2, or (at your option)
13;;; any later version. 13;;; any later version.
14 14
15;;; GNU Emacs is distributed in the hope that it will be useful, 15;;; GNU Emacs is distributed in the hope that it will be useful,
@@ -579,7 +579,7 @@ This is a good place to put keybindings.")
579;;; The variables and functions that were changed to have "cmushell-" 579;;; The variables and functions that were changed to have "cmushell-"
580;;; prefixes are: 580;;; prefixes are:
581;;; shell-directory-stack (v), shell-directory-tracker (f) 581;;; shell-directory-stack (v), shell-directory-tracker (f)
582;;; This should not affect users, only elisp hackers. Hopefully 582;;; This should not affect users, only Emacs Lisp hackers. Hopefully
583;;; one day shell.el will just go away, and we can drop all this 583;;; one day shell.el will just go away, and we can drop all this
584;;; "cmushell" bullshit. 584;;; "cmushell" bullshit.
585;;; - Upgraded process sends to use comint-send-string instead of 585;;; - Upgraded process sends to use comint-send-string instead of
diff --git a/lisp/sort.el b/lisp/sort.el
index ebb0980b995..2e4a4a087a9 100644
--- a/lisp/sort.el
+++ b/lisp/sort.el
@@ -1,12 +1,16 @@
1;;; sort.el --- commands to sort text in an Emacs buffer. 1;;; sort.el --- commands to sort text in an Emacs buffer.
2 2
3;; Author: Howie Kaye
4;; Maintainer: FSF
5;; Last-Modified: 28 Aug 1990
6
3;; Copyright (C) 1986, 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1986, 1987 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,7 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
21;; Original version of most of this contributed by Howie Kaye 25;;; Code:
22 26
23(defun sort-subr (reverse nextrecfun endrecfun &optional startkeyfun endkeyfun) 27(defun sort-subr (reverse nextrecfun endrecfun &optional startkeyfun endkeyfun)
24 "General text sorting routine to divide buffer into records and sort them. 28 "General text sorting routine to divide buffer into records and sort them.
diff --git a/lisp/sun-curs.el b/lisp/sun-curs.el
index 36df2de60a4..7db1f5ee2bb 100644
--- a/lisp/sun-curs.el
+++ b/lisp/sun-curs.el
@@ -1,12 +1,15 @@
1;;; sun-cursors.el --- cursor definitions for Sun windows 1;;; sun-cursors.el --- cursor definitions for Sun windows
2 2
3;; Author: Jeff Peck <peck@sun.com>
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21;;; 26;;;
22;;; Added some more cursors and moved the hot spots 27;;; Added some more cursors and moved the hot spots
23;;; Cursor defined by 16 pairs of 16-bit numbers 28;;; Cursor defined by 16 pairs of 16-bit numbers
diff --git a/lisp/sun-fns.el b/lisp/sun-fns.el
index 95ed1ed50b3..bdb43faa1d6 100644
--- a/lisp/sun-fns.el
+++ b/lisp/sun-fns.el
@@ -1,12 +1,15 @@
1;;; sun-fns.el --- subroutines of Mouse handling for Sun windows 1;;; sun-fns.el --- subroutines of Mouse handling for Sun windows
2 2
3;; Author: Jeff Peck <peck@sun.com>
4;; Last-Modified: 14 Aug 1987
5
3;; Copyright (C) 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Commentary:
25
21;;; Submitted Mar. 1987, Jeff Peck 26;;; Submitted Mar. 1987, Jeff Peck
22;;; Sun Microsystems Inc. <peck@sun.com> 27;;; Sun Microsystems Inc. <peck@sun.com>
23;;; Conceived Nov. 1986, Stan Jefferson, 28;;; Conceived Nov. 1986, Stan Jefferson,
@@ -25,7 +30,6 @@
25;;; GoodIdeas Feb. 1987, Steve Greenbaum 30;;; GoodIdeas Feb. 1987, Steve Greenbaum
26;;; & UpClicks Reasoning Systems, Inc. 31;;; & UpClicks Reasoning Systems, Inc.
27;;; 32;;;
28(require 'sun-mouse)
29;;; 33;;;
30;;; Functions for manipulating via the mouse and mouse-map definitions 34;;; Functions for manipulating via the mouse and mouse-map definitions
31;;; for accessing them. Also definitons of mouse menus. 35;;; for accessing them. Also definitons of mouse menus.
@@ -48,6 +52,11 @@
48;;; bind the mouse button to an s-exp that contains the necessary parameters. 52;;; bind the mouse button to an s-exp that contains the necessary parameters.
49;;; See "minibuffer" bindings for examples. 53;;; See "minibuffer" bindings for examples.
50;;; 54;;;
55
56;;; Code:
57
58(require 'sun-mouse)
59
51(defconst cursor-pause-milliseconds 300 60(defconst cursor-pause-milliseconds 300
52 "*Number of milliseconds to display alternate cursor (usually the mark)") 61 "*Number of milliseconds to display alternate cursor (usually the mark)")
53 62
diff --git a/lisp/sun-keys.el b/lisp/sun-keys.el
index 13ebee3a4d1..b059a8e20c9 100644
--- a/lisp/sun-keys.el
+++ b/lisp/sun-keys.el
@@ -1,19 +1,15 @@
1;;; sun-keys.el --- support for Sun function keys 1;;; sun-keys.el --- support for Sun function keys
2 2
3;;; Support (cleanly) for Sun function keys. Provides help facilities, 3;; Author: Ian G. Batten <batten@uk.ac.bham.multics>
4;;; better diagnostics, etc. 4;; Last-Modified: 30 May 1992
5;;; 5
6;;; To use: make sure your .ttyswrc binds 'F1' to <ESC> * F1 <CR> and so on. 6;;; Copyright (C) 1986 Free Software Foundation, Inc.
7;;; load this lot from your start_up
8;;;
9;;;
10;;; Copyright (C) 1986 Free Software Foundation, Inc.
11;;; 7;;;
12;;; This file is part of GNU Emacs. 8;;; This file is part of GNU Emacs.
13 9
14;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
15;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
16;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
17;; any later version. 13;; any later version.
18 14
19;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -24,9 +20,16 @@
24;; You should have received a copy of the GNU General Public License 20;; You should have received a copy of the GNU General Public License
25;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
26;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
23
24;;; Commentary:
25
26;;; Support (cleanly) for Sun function keys. Provides help facilities,
27;;; better diagnostics, etc.
27;;; 28;;;
28;;; Batten@uk.ac.bham.multics (Ian G. Batten) 29;;; To use: make sure your .ttyswrc binds 'F1' to <ESC> * F1 <CR> and so on.
29;;; 30;;; load this lot from your start_up
31
32;;; Code:
30 33
31(defun sun-function-keys-dispatch (arg) 34(defun sun-function-keys-dispatch (arg)
32 "Dispatcher for function keys." 35 "Dispatcher for function keys."
diff --git a/lisp/tabify.el b/lisp/tabify.el
index ab28397ab02..eabaab10a48 100644
--- a/lisp/tabify.el
+++ b/lisp/tabify.el
@@ -1,7 +1,7 @@
1;;; tabify.el --- tab conversion commands for Emacs 1;;; tabify.el --- tab conversion commands for Emacs
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 9 May 1991 4;; Last-Modified: 09 May 1991
5 5
6;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/tar-mode.el b/lisp/tar-mode.el
index aeeb2515aac..57c11db9edc 100644
--- a/lisp/tar-mode.el
+++ b/lisp/tar-mode.el
@@ -1,7 +1,7 @@
1;;; tar-mode.el --- simple editing of tar files from GNU emacs 1;;; tar-mode.el --- simple editing of tar files from GNU emacs
2 2
3;; Author: Jamie Zawinski <jwz@lucid.com> 3;; Author: Jamie Zawinski <jwz@lucid.com>
4;; Created: 4 Apr 1990 4;; Created: 04 Apr 1990
5;; Version: 1.21 5;; Version: 1.21
6;; Last-Modified: 10 Mar 1991 6;; Last-Modified: 10 Mar 1991
7 7
@@ -11,7 +11,7 @@
11;;; 11;;;
12;;; GNU Emacs is free software; you can redistribute it and/or modify 12;;; GNU Emacs is free software; you can redistribute it and/or modify
13;;; it under the terms of the GNU General Public License as published by 13;;; it under the terms of the GNU General Public License as published by
14;;; the Free Software Foundation; either version 1, or (at your option) 14;;; the Free Software Foundation; either version 2, or (at your option)
15;;; any later version. 15;;; any later version.
16;;; 16;;;
17;;; GNU Emacs is distributed in the hope that it will be useful, 17;;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/term/bg-mouse.el b/lisp/term/bg-mouse.el
index c08ed9ed28d..4496f0ec4fe 100644
--- a/lisp/term/bg-mouse.el
+++ b/lisp/term/bg-mouse.el
@@ -1,13 +1,18 @@
1;;; bg-mouse.el --- GNU Emacs code for BBN Bitgraph mouse. 1;;; bg-mouse.el --- GNU Emacs code for BBN Bitgraph mouse.
2 2
3;; Author: John Robinson <jr@bbn-unix.arpa>
4;; Stephen Gildea <gildea@bbn.com>
5;; Maintainer: FSF
6;; Last-Modified: 14 Jul 1992
7;; Keywords: hardware
8
3;; Copyright (C) Free Software Foundation, Inc. Oct 1985. 9;; Copyright (C) Free Software Foundation, Inc. Oct 1985.
4;; Time stamp <89/03/21 14:27:08 gildea>
5 10
6;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
7 12
8;; GNU Emacs is free software; you can redistribute it and/or modify 13;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 14;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 15;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 16;; any later version.
12 17
13;; GNU Emacs is distributed in the hope that it will be useful, 18;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,9 +24,11 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 24;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 25;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 26
27;;; Code:
22 28
23;;; Original version by John Robinson (jr@bbn-unix.arpa, bbncca!jr), Oct 1985 29;;; Original version by John Robinson (jr@bbn-unix.arpa, bbncca!jr), Oct 1985
24;;; Modularized and enhanced by gildea@bbn.com Nov 1987 30;;; Modularized and enhanced by gildea@bbn.com Nov 1987
31;;; Time stamp <89/03/21 14:27:08 gildea>
25 32
26;;; User customization option: 33;;; User customization option:
27 34
@@ -62,9 +69,9 @@ To reinitialize the mouse if the terminal is reset, type ESC : RET"
62 (interactive "P") 69 (interactive "P")
63 (bg-get-tty-num semicolon) 70 (bg-get-tty-num semicolon)
64 (let* 71 (let*
65 ((screen-mouse-x (min (1- (screen-width)) ;don't hit column 86! 72 ((screen-mouse-x (min (1- (frame-width)) ;don't hit column 86!
66 (/ (bg-get-tty-num semicolon) 9))) 73 (/ (bg-get-tty-num semicolon) 9)))
67 (screen-mouse-y (- (1- (screen-height)) ;assume default font size. 74 (screen-mouse-y (- (1- (frame-height)) ;assume default font size.
68 (/ (bg-get-tty-num semicolon) 16))) 75 (/ (bg-get-tty-num semicolon) 16)))
69 (bg-mouse-buttons (% (bg-get-tty-num ?c) 8)) 76 (bg-mouse-buttons (% (bg-get-tty-num ?c) 8))
70 (bg-mouse-window (bg-window-from-x-y screen-mouse-x screen-mouse-y)) 77 (bg-mouse-window (bg-window-from-x-y screen-mouse-x screen-mouse-y))
diff --git a/lisp/term/sun-mouse.el b/lisp/term/sun-mouse.el
index fad388337e8..ccd48d6af71 100644
--- a/lisp/term/sun-mouse.el
+++ b/lisp/term/sun-mouse.el
@@ -1,12 +1,16 @@
1;;; sun-mouse.el --- mouse handling for Sun windows 1;;; sun-mouse.el --- mouse handling for Sun windows
2 2
3;; Author: Jeff Peck
4;; Maintainer: FSF
5;; Last-Modified: 14 Jul 1992
6
3;; Copyright (C) 1987 Free Software Foundation, Inc. 7;; Copyright (C) 1987 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Commentary:
26
21;;; Jeff Peck, Sun Microsystems, Jan 1987. 27;;; Jeff Peck, Sun Microsystems, Jan 1987.
22;;; Original idea by Stan Jefferson 28;;; Original idea by Stan Jefferson
23 29
@@ -34,6 +40,8 @@
34;;; extra-click-wait, scrollbar-width 40;;; extra-click-wait, scrollbar-width
35;;; 41;;;
36 42
43;;; Code:
44
37(defvar extra-click-wait 150 45(defvar extra-click-wait 150
38 "*Number of milliseconds to wait for an extra click. 46 "*Number of milliseconds to wait for an extra click.
39Set this to zero if you don't want chords or double clicks.") 47Set this to zero if you don't want chords or double clicks.")
diff --git a/lisp/term/sup-mouse.el b/lisp/term/sup-mouse.el
index be7e7f0ff4d..86e7c6eed9c 100644
--- a/lisp/term/sup-mouse.el
+++ b/lisp/term/sup-mouse.el
@@ -1,15 +1,11 @@
1;;; sup-mouse.el --- GNU Emacs code for lambda/supdup mouse 1;;; sup-mouse.el --- supdup mouse support for lisp machines
2 2
3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 3;; Author: Wolfgang Rupprecht
4;; ;; 4;; Maintainer: FSF
5;; File: sup-mouse.el ;; 5;; Created: 21 Nov 1986
6;; Author: Wolfgang Rupprecht ;; 6;; Last-Modified: 16 Mar 1992
7;; Created: Fri Nov 21 19:22:22 1986 ;; 7
8;; Contents: supdup mouse support for lisp machines ;; 8;; (from code originally written by John Robinson@bbn for the bitgraph)
9;; ;;
10;; (from code originally written by John Robinson@bbn for the bitgraph) ;;
11;; ;;
12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
13 9
14;; Copyright (C) Free Software Foundation 1985, 1986 10;; Copyright (C) Free Software Foundation 1985, 1986
15 11
@@ -17,7 +13,7 @@
17 13
18;; GNU Emacs is free software; you can redistribute it and/or modify 14;; GNU Emacs is free software; you can redistribute it and/or modify
19;; it under the terms of the GNU General Public License as published by 15;; it under the terms of the GNU General Public License as published by
20;; the Free Software Foundation; either version 1, or (at your option) 16;; the Free Software Foundation; either version 2, or (at your option)
21;; any later version. 17;; any later version.
22 18
23;; GNU Emacs is distributed in the hope that it will be useful, 19;; GNU Emacs is distributed in the hope that it will be useful,
@@ -29,6 +25,8 @@
29;; along with GNU Emacs; see the file COPYING. If not, write to 25;; along with GNU Emacs; see the file COPYING. If not, write to
30;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 26;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
31 27
28;;; Code:
29
32;;; User customization option: 30;;; User customization option:
33 31
34(defvar sup-mouse-fast-select-window nil 32(defvar sup-mouse-fast-select-window nil
diff --git a/lisp/terminal.el b/lisp/terminal.el
index de8fdf53a76..6e9d954ae39 100644
--- a/lisp/terminal.el
+++ b/lisp/terminal.el
@@ -1,13 +1,16 @@
1;;; terminal.el --- terminal emulator for GNU Emacs. 1;;; terminal.el --- terminal emulator for GNU Emacs.
2 2
3;; Author: Richard Mlynarik <mly@eddie.mit.edu>
4;; Maintainer: FSF
5;; Last-Modified: 05 May 1992
6
3;; Copyright (C) 1986, 1987, 1988, 1989 Free Software Foundation, Inc. 7;; Copyright (C) 1986, 1987, 1988, 1989 Free Software Foundation, Inc.
4;; Written by Richard Mlynarik, November 1986.
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,8 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
26
22;;>>TODO 27;;>>TODO
23;;>> terminfo? 28;;>> terminfo?
24;;>> ** Nothing can be done about emacs' meta-lossage ** 29;;>> ** Nothing can be done about emacs' meta-lossage **
diff --git a/lisp/textmodes/bib-mode.el b/lisp/textmodes/bib-mode.el
index 8c7c38c4c31..22110bb4afd 100644
--- a/lisp/textmodes/bib-mode.el
+++ b/lisp/textmodes/bib-mode.el
@@ -1,12 +1,16 @@
1;;; bib-mode.el --- bib-mode, major mode for editing bib files. 1;;; bib-mode.el --- bib-mode, major mode for editing bib files.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5;; Keywords: bib
6
3;; Copyright (C) 1989 Free Software Foundation, Inc. 7;; Copyright (C) 1989 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
25;;; Code:
21 26
22;; Bib-Mode 27;; Bib-Mode
23;; GNU Emacs code to help maintain databases compatible with (troff) 28;; GNU Emacs code to help maintain databases compatible with (troff)
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 4579760d9bb..083bb6befb9 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -1,12 +1,12 @@
1;;; bibtex.el --- BibTeX mode for GNU Emacs 1;;; bibtex.el --- BibTeX mode for GNU Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1990 Free Software Foundation, Inc. 3;; Copyright (C) 1992 Free Software Foundation, Inc.
4 4
5;; This file is part of GNU Emacs. 5;; This file is part of GNU Emacs.
6 6
7;; GNU Emacs is free software; you can redistribute it and/or modify 7;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 8;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 9;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 10;; any later version.
11 11
12;; GNU Emacs is distributed in the hope that it will be useful, 12;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,40 +18,24 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 18;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 20
21;;; Mike Newton (newton@gumby.cs.caltech.edu) 92.2.11 21;;; (current keeper: shapiro@corto.inria.fr)
22;;; * Fixed bibtex-field string to allow things like: 22
23;;; author = "{S}schr\"odinger" or 23;;; alarson@src.honeywell.com 92-Jan-31
24;;; author = "{S}schr\"{o}dinger" or 24;;; Added support for: ispell, beginning/end of entry movement, a simple
25;;; author = "{S}schr{\"o}dinger" or 25;;; outline like mode (hide the bodies of bibtex entries), support for
26;;; NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE 26;;; sorting bibtex entries, and maintaining them in sorted order, and
27;;; NOTE: This is the last update I plan to do. 27;;; simple buffer validation.
28;;; NOTE: the previous version was submitted and, according to RMS, 28;;; User visible functions added:
29;;; accepted as the release version for ver 19. 29;;; ispell-{abstract,bibtex-entry}, {beginning,end}-of-bibtex-entry
30;;; NOTE: PLEASE DO NOT SEND ME ANY MORE 'PLEASE ADD THIS' MESSAGES. 30;;; hide-bibtex-entry-bodies, sort-bibtex-entries, validate-bibtex-
31;;; NOTE: I am no longer taking care of this package. 31;;; buffer, find-bibtex-duplicates
32;;; NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE 32;;; user visible variables added:
33 33;;; bibtex-maintain-sorted-entries
34;;; Mike Newton (newton@gumby.cs.caltech.edu) 91.1.24 34;;; new local keybindings:
35;;; * bibtex-make-optional-field : modified to make fields align up after 35;;; " TeX-insert-quote
36;;; the OPT's have been removed. 36;;; C-c$ ispell-bibtex-entry
37;;; * bibtex-make-optional-field : modified to check bibtex-use-OPT-prefix 37;;; M-C-a beginning-of-bibtex-entry
38;;; * bibtex-make*field : modified to call new procedure: 38;;; M-C-e end-of-bibtex-entry
39;;; * bibtex-insert-field-delimeters : which does delimeter insertion based on
40;;; * bibtex-curly-delimeters : a list of atoms
41;;; * fixed spelling of bibtex-name-alignment wherever used
42;;; * bibtex-inside-field : allows '}'s at end
43;;; * bibtex-find-text : allows '{' and '}'s at start or end
44;;; * bibtex-enclosing-regexp fixed for case where start-point was at end of
45;;; pattern.
46;;; * bibtex-clean-entry : allow bibtex-save-OPT to save some optional fields
47;;; * bibtex-move-outside-of-entry : could overwrite first line of a following
48;;; comment or other text if it did not look like a bibtex entry
49
50;;; Mike Newton (newton@gumby.cs.caltech.edu) 91.1.20
51;;; * bibtex.el/bibtex-mode : updated comments to indicate new use of
52;;; address, add minor explanations and fix small omissions.
53;;; * bibtex.el/bibtex-entry : fixed spelling of variable
54
55;;; Mike Newton (newton@gumby.cs.caltech.edu) 90.11.17 39;;; Mike Newton (newton@gumby.cs.caltech.edu) 90.11.17
56;;; * Handle items like 40;;; * Handle items like
57;;; title = poft # "Fifth Tri-quaterly" # random-conf, 41;;; title = poft # "Fifth Tri-quaterly" # random-conf,
@@ -60,17 +44,11 @@
60;;; * fixed 'bibtex-find-it's doc string's location 44;;; * fixed 'bibtex-find-it's doc string's location
61;;; * bibtex-field-text made more general (it wouldnt handle the # construct) 45;;; * bibtex-field-text made more general (it wouldnt handle the # construct)
62;;; and it now handles a small subset of the {} cases 46;;; and it now handles a small subset of the {} cases
63;;; * put DEA thesis back in (why get rid of good code?)
64;;; * merged into release 19 version code
65;;; * if cross-ref'ing is on, put 'pages' near top of OPTs, as the other
66;;; entries are unlikely to be used.
67;;; * skip-whitespace replaced by skip-chars-forward (also done
68;;; by Marc Shairo)
69 47
70;;; Bengt Martensson, March 6 48;;; Bengt Martensson, March 6
71;;; Adapted to Bibtex 0.99 by updating the optional fields according 49;;; Adapted to Bibtex 0.99 by updating the optional fields according
72;;; to the document BibTeXing, Oren Patashnik, dated January 31, 1988. 50;;; to the document BibTeXing, Oren Patashnik, dated January 31, 1988.
73;;; Updated documentation strings accordingly. Added . 51;;; Updated documentation strings accordingly. Added (provide 'bibtex).
74;;; If bibtex-include-OPT-crossref is non-nil, every entry will have 52;;; If bibtex-include-OPT-crossref is non-nil, every entry will have
75;;; an OPTcrossref field, analogously for bibtex-include-OPTkey and 53;;; an OPTcrossref field, analogously for bibtex-include-OPTkey and
76;;; bibtex-include-OPTannote. Added bibtex-preamble, bound to ^C^EP, 54;;; bibtex-include-OPTannote. Added bibtex-preamble, bound to ^C^EP,
@@ -80,13 +58,14 @@
80;;; correctly, BibTeX 0.99 broke it.) 58;;; correctly, BibTeX 0.99 broke it.)
81;;; Added bibtex-clean-entry-zap-empty-opts, defvar'd to t. If it 59;;; Added bibtex-clean-entry-zap-empty-opts, defvar'd to t. If it
82;;; is nil, bibtex-clean-entry will leave empty optional fields alone. 60;;; is nil, bibtex-clean-entry will leave empty optional fields alone.
83 61
84;;; Marc Shapiro 1-feb-89: integrated changes by Bengt Martensson 88-05-06: 62;;; Marc Shapiro 1-feb-89: integrated changes by Bengt Martensson 88-05-06:
85;;; Added Sun menu support. Locally bound to right mouse button in 63;;; Added Sun menu support. Locally bound to right mouse button in
86;;; bibtex-mode. Emacs 18.49 allows local mouse bindings!! 64;;; bibtex-mode. Emacs 18.49 allows local mouse bindings!!
87;;; Commented out DEAthesis. 65;;; Commented out DEAthesis.
88 66
89;;; Marc Shapiro 6-oct-88 67;;; Marc Shapiro 6-oct-88
68;;; * skip-whitespace replaced by skip-chars-forward
90;;; * use indent-to-column instead of inserting tabs (changes to 69;;; * use indent-to-column instead of inserting tabs (changes to
91;;; bibtex-entry, bibtex-make-entry, bibtex-make-OPT-entry, renamed to 70;;; bibtex-entry, bibtex-make-entry, bibtex-make-OPT-entry, renamed to
92;;; bibtex-make-optional-entry) 71;;; bibtex-make-optional-entry)
@@ -100,6 +79,7 @@
100;;; * bibtex-clean-entry signals mandatory fields left empty. 79;;; * bibtex-clean-entry signals mandatory fields left empty.
101 80
102;;; Marc Shapiro 18-jul-88 81;;; Marc Shapiro 18-jul-88
82;;; * Fixed bug in bibtex-flash-entry
103;;; * Moved all the entry type keystrokes to "C-c C-e something" (instead of 83;;; * Moved all the entry type keystrokes to "C-c C-e something" (instead of
104;;; "C-c something" previously) to make room for more. C-c C-e is 84;;; "C-c something" previously) to make room for more. C-c C-e is
105;;; supposed to stand for "entry" [idea taken from mail-mode]. Moved 85;;; supposed to stand for "entry" [idea taken from mail-mode]. Moved
@@ -132,7 +112,7 @@
132;;; run-hooks 112;;; run-hooks
133 113
134;;; Bengt Martensson <ubrinf!mond!bengt> 87-06-28 114;;; Bengt Martensson <ubrinf!mond!bengt> 87-06-28
135;;; (Bengt Martensson <bengt@mathematik.uni-Bremen.de> 87-06-28) 115;;; Bengt Martensson <bengt@mathematik.uni-Bremen.de> 87-06-28
136;;; Original version 116;;; Original version
137 117
138;;; NOTE by Marc Shapiro, 14-dec-87: 118;;; NOTE by Marc Shapiro, 14-dec-87:
@@ -140,37 +120,42 @@
140;;; Trouble is, in Emacs 18.44 you can't have a mode-specific mouse binding, 120;;; Trouble is, in Emacs 18.44 you can't have a mode-specific mouse binding,
141;;; so it will remain active in all windows. Yuck! 121;;; so it will remain active in all windows. Yuck!
142 122
123(provide 'bibtex)
124
125;;; these guys typically don't have autoloads...[alarson:19920131.1548CST]
126(if (not (fboundp 'TeX-insert-quote))
127 (autoload 'TeX-insert-quote "tex-mode"))
128(if (not (fboundp 'sort-subr))
129 (autoload 'sort-subr "sort"))
130
131
132
143(defvar bibtex-mode-syntax-table nil "") 133(defvar bibtex-mode-syntax-table nil "")
144(defvar bibtex-mode-abbrev-table nil "") 134(defvar bibtex-mode-abbrev-table nil "")
145(define-abbrev-table 'bibtex-mode-abbrev-table ()) 135(define-abbrev-table 'bibtex-mode-abbrev-table ())
146(defvar bibtex-mode-map (make-sparse-keymap) "") 136(defvar bibtex-mode-map (make-sparse-keymap) "")
137
147(defvar bibtex-pop-previous-search-point nil 138(defvar bibtex-pop-previous-search-point nil
148 "Next point where bibtex-pop-previous should start looking for a similar 139 "Next point where bibtex-pop-previous should start looking for a similar
149entry.") 140entry.")
141
150(defvar bibtex-pop-next-search-point nil 142(defvar bibtex-pop-next-search-point nil
151 "Next point where bibtex-pop-next should start looking for a similar 143 "Next point where bibtex-pop-next should start looking for a similar
152entry.") 144entry.")
153 145
154(defvar bibtex-clean-entry-zap-empty-opts t 146(defvar bibtex-clean-entry-zap-empty-opts t
155 "*If non-nil, bibtex-clean-entry will delete all empty optional fields.") 147 "*If non-nil, bibtex-clean-entry will delete all empty optional fields.")
148
156(defvar bibtex-include-OPTcrossref t 149(defvar bibtex-include-OPTcrossref t
157 "*If non-nil, all entries will have an OPTcrossref field.") 150 "*If non-nil, all entries will have an OPTcrossref field.")
158(defvar bibtex-include-OPTkey t 151(defvar bibtex-include-OPTkey t
159 "*If non-nil, all entries will have an OPTkey field.") 152 "*If non-nil, all entries will have an OPTkey field.")
160(defvar bibtex-include-OPTannote t 153(defvar bibtex-include-OPTannote t
161 "*If non-nil, all entries will have an OPTannote field.") 154 "*If non-nil, all entries will have an OPTannote field.")
162(defvar bibtex-use-OPT-prefix t
163 "*If non-nil, put OPT string before optionals. Usually desired!")
164(defvar bibtex-save-OPT nil
165 "*List of atoms (representing strings) which are optional fields that
166should not be deleted if null.")
167(defvar bibtex-curly-delimeters nil
168 "List of atoms representing strings (in any case) that should have curly
169braces used as their delimeters instead of double quotes.")
170
171 155
172;; note: the user should be allowed to have their own list of always 156;; note: the user should be allowed to have their own list of always
173;; available optional fields. exs: "keywords" "categories" 157;; available optional fields. exs: "keywords" "categories"
158
174(defvar bibtex-mode-user-optional-fields nil ;no default value 159(defvar bibtex-mode-user-optional-fields nil ;no default value
175 "*List of optional fields that user want to have as always present 160 "*List of optional fields that user want to have as always present
176when making a bibtex entry. One possibility is for ``keywords''") 161when making a bibtex entry. One possibility is for ``keywords''")
@@ -208,40 +193,32 @@ when making a bibtex entry. One possibility is for ``keywords''")
208;; key = {Volume-2}, 193;; key = {Volume-2},
209;; note = "Volume~2 is listed under Knuth \cite{book-full}" 194;; note = "Volume~2 is listed under Knuth \cite{book-full}"
210;; i have added a few of these, but not all! -- MON 195;; i have added a few of these, but not all! -- MON
211;; 92.2.11: also must handle:
212;; author = "{S}schr\"odinger" or
213;; author = "{S}schr\"{o}dinger" or
214;; author = "{S}schr{\"o}dinger" or
215
216 196
217(defconst bibtex-field-const 197(defconst bibtex-field-const
218 "[0-9A-Za-z][---A-Za-z0-9:_+]*" 198 "[0-9A-Za-z][---A-Za-z0-9:_+]*"
219 "Format of a bibtex field constant.") 199 "Format of a bibtex field constant.")
220 200
221(defconst bibtex-field-string ;;was:(concat "\"[^\"]*[^\\\\]\"\\|\"\"") 201(defconst bibtex-field-string
222 (concat 202 (concat
223 "\"\\([^\"]*[\\\\][\"]\\)*[^\"]*[^\\\\]\"" 203 "\"[^\"]*[^\\\\]\"\\|\"\"")
224 "\\|" ;ie: OR 204 "Match either a string or an empty string.")
225 "\"\"" 205
226 "\\|" ;ie: OR
227 "\"[^\"]*[^\\\\]\"")
228 "Match either a \"-d string or an empty string or a plain string.")
229(defconst bibtex-field-string-or-const 206(defconst bibtex-field-string-or-const
230 (concat bibtex-field-const "\\|" bibtex-field-string) 207 (concat bibtex-field-const "\\|" bibtex-field-string)
231 "Match either bibtex-field-string or bibtex-field-const.") 208 "Match either bibtex-field-string or bibtex-field-const.")
232 209
233;(defconst bibtex-field-text
234; "\"[^\"]*[^\\\\]\"\\|\"\"\\|[0-9A-Za-z][---A-Za-z0-9:_+]*"
235; "Regexp defining the text part of a bibtex field: either a string, or an empty string, or a constant.")
236
237(defconst bibtex-field-text 210(defconst bibtex-field-text
238 (concat 211 (concat
239 "\\(" bibtex-field-string-or-const "\\)" 212 "\\(" bibtex-field-string-or-const "\\)"
240 "\\([ \t\n]+#[ \t\n]+\\(" bibtex-field-string-or-const "\\)\\)*\\|" 213 "\\([ \t\n]+#[ \t\n]+\\(" bibtex-field-string-or-const "\\)\\)*\\|"
241 "{[^{}]*[^\\\\]}" "\\|" "{}") 214 "{[^{}]*[^\\\\]}")
242 "Regexp defining the text part of a bibtex field: either a string, or 215 "Regexp defining the text part of a bibtex field: either a string, or
243an empty string, or a constant followed by one or more # / constant pairs. 216an empty string, or a constant followed by one or more # / constant pairs.
244Also matches simple {...} patterns, including the special case {}.") 217Also matches simple {...} patterns.")
218
219;(defconst bibtex-field-text
220; "\"[^\"]*[^\\\\]\"\\|\"\"\\|[0-9A-Za-z][---A-Za-z0-9:_+]*"
221; "Regexp defining the text part of a bibtex field: either a string, or an empty string, or a constant.")
245 222
246(defconst bibtex-field 223(defconst bibtex-field
247 (bibtex-cfield bibtex-field-name bibtex-field-text) 224 (bibtex-cfield bibtex-field-name bibtex-field-text)
@@ -256,7 +233,6 @@ Also matches simple {...} patterns, including the special case {}.")
256(defconst bibtex-reference-type 233(defconst bibtex-reference-type
257 "@[A-Za-z]+" 234 "@[A-Za-z]+"
258 "Regexp defining the type part of a bibtex reference entry") 235 "Regexp defining the type part of a bibtex reference entry")
259
260(defconst bibtex-reference-head 236(defconst bibtex-reference-head
261 (concat "^[ \t]*\\(" 237 (concat "^[ \t]*\\("
262 bibtex-reference-type 238 bibtex-reference-type
@@ -281,7 +257,7 @@ bibtex-reference-head")
281 "The regexp subexpression number of the key part in 257 "The regexp subexpression number of the key part in
282bibtex-reference") 258bibtex-reference")
283 259
284;;; string definitions. note bibtex-string is a constant and a defun ! 260;;; strings
285(defconst bibtex-string 261(defconst bibtex-string
286 (concat "^[ \t]*@[sS][tT][rR][iI][nN][gG][ \t\n]*[({][ \t\n]*\\(" 262 (concat "^[ \t]*@[sS][tT][rR][iI][nN][gG][ \t\n]*[({][ \t\n]*\\("
287 bibtex-field-name 263 bibtex-field-name
@@ -289,13 +265,12 @@ bibtex-reference")
289 bibtex-field-text 265 bibtex-field-text
290 "\\)[ \t\n]*[})]") 266 "\\)[ \t\n]*[})]")
291 "Regexp defining the format of a bibtex string entry") 267 "Regexp defining the format of a bibtex string entry")
292
293(defconst bibtex-name-in-string 1 268(defconst bibtex-name-in-string 1
294 "The regexp subexpression of the name part in bibtex-string") 269 "The regexp subexpression of the name part in bibtex-string")
295(defconst bibtex-text-in-string 2 270(defconst bibtex-text-in-string 2
296 "The regexp subexpression of the text part in bibtex-string") 271 "The regexp subexpression of the text part in bibtex-string")
297 272
298(defconst bibtex-name-alignment 2 273(defconst bibtex-name-alignement 2
299 "Alignment for the name part in BibTeX fields. 274 "Alignment for the name part in BibTeX fields.
300Chosen on aesthetic grounds only.") 275Chosen on aesthetic grounds only.")
301 276
@@ -334,7 +309,7 @@ mouse button.
334 309
335Fields: 310Fields:
336 address 311 address
337 Publisher's address, or for conference, location held 312 Publisher's address
338 annote 313 annote
339 Long annotation used for annotated bibliographies (begins sentence) 314 Long annotation used for annotated bibliographies (begins sentence)
340 author 315 author
@@ -343,11 +318,11 @@ Fields:
343 Book title when the thing being referenced isn't the whole book. 318 Book title when the thing being referenced isn't the whole book.
344 For book entries, the title field should be used instead. 319 For book entries, the title field should be used instead.
345 chapter 320 chapter
346 Chapter number (or section or whatever). 321 Chapter number
347 crossref 322 crossref
348 The database key of the entry being cross referenced. 323 The database key of the entry being cross referenced.
349 edition 324 edition
350 Edition of a book (e.g., \"second\") 325 Edition of a book (e.g., ""second"")
351 editor 326 editor
352 Name(s) of editor(s), in BibTeX name format. 327 Name(s) of editor(s), in BibTeX name format.
353 If there is also an author field, then the editor field should be 328 If there is also an author field, then the editor field should be
@@ -359,8 +334,7 @@ Fields:
359 journal 334 journal
360 Journal name (macros are provided for many) 335 Journal name (macros are provided for many)
361 key 336 key
362 Alphabetizing, labeling and cross-refing key (needed when no 337 Alphabetizing and labeling key (needed when no author or editor)
363 author or editor)
364 month 338 month
365 Month (macros are provided) 339 Month (macros are provided)
366 note 340 note
@@ -381,8 +355,8 @@ Fields:
381 title 355 title
382 The title of the thing being referenced 356 The title of the thing being referenced
383 type 357 type
384 Type of a technical report (e.g., \"Research Note\") to be used 358 Type of a technical report (e.g., ""Research Note"") to be used
385 instead of the default \"Technical Report\" 359 instead of the default ""Technical Report""
386 volume 360 volume
387 Volume of a journal or multivolume work 361 Volume of a journal or multivolume work
388 year 362 year
@@ -425,6 +399,12 @@ non-nil."
425 (define-key bibtex-mode-map "\C-c\C-k" 'bibtex-kill-optional-field) 399 (define-key bibtex-mode-map "\C-c\C-k" 'bibtex-kill-optional-field)
426 (define-key bibtex-mode-map "\C-c\C-d" 'bibtex-empty-field) 400 (define-key bibtex-mode-map "\C-c\C-d" 'bibtex-empty-field)
427 401
402 ;; [alarson:19920131.1543CST]
403 (define-key bibtex-mode-map "\"" 'TeX-insert-quote)
404 (define-key bibtex-mode-map "\C-c$" 'ispell-bibtex-entry)
405 (define-key bibtex-mode-map "\M-\C-a" 'beginning-of-bibtex-entry)
406 (define-key bibtex-mode-map "\M-\C-e" 'end-of-bibtex-entry)
407
428 (define-key bibtex-mode-map "\C-c\C-e\C-a" 'bibtex-Article) 408 (define-key bibtex-mode-map "\C-c\C-e\C-a" 'bibtex-Article)
429 (define-key bibtex-mode-map "\C-c\C-e\C-b" 'bibtex-Book) 409 (define-key bibtex-mode-map "\C-c\C-e\C-b" 'bibtex-Book)
430 (define-key bibtex-mode-map "\C-c\C-e\C-d" 'bibtex-DEAthesis) 410 (define-key bibtex-mode-map "\C-c\C-e\C-d" 'bibtex-DEAthesis)
@@ -459,9 +439,182 @@ non-nil."
459 (t 439 (t
460 (backward-paragraph) 440 (backward-paragraph)
461 (forward-paragraph))) 441 (forward-paragraph)))
462 (re-search-forward "[ \t\n]*" (point-max) t) 442 (re-search-forward "[ \t\n]*" (point-max) t))
463 (insert "\n") 443
464 (forward-char -1)) 444(defun ispell-abstract ()
445 (interactive)
446 (beginning-of-bibtex-entry)
447 (re-search-forward "^[ \t]*[OPT]*abstract[ \t]*=")
448 (ispell-region (point)
449 (save-excursion (forward-sexp) (point))))
450
451(defun beginning-of-bibtex-entry ()
452 (interactive)
453 (re-search-backward "^@" nil 'move))
454
455(defun end-of-bibtex-entry ()
456 (interactive)
457 (re-search-forward "}$" nil 'move))
458
459(defun ispell-bibtex-entry ()
460 (interactive)
461 (ispell-region (progn (beginning-of-bibtex-entry) (point))
462 (progn (end-of-bibtex-entry) (point))))
463
464(defun narrow-to-bibtex-entry ()
465 (interactive)
466 (save-excursion
467 (narrow-to-region (progn (beginning-of-bibtex-entry) (point))
468 (progn (end-of-bibtex-entry) (point)))))
469
470
471(defun beginning-of-first-bibtex-entry ()
472 (goto-char (point-min))
473 (cond
474 ((re-search-forward "^@" nil 'move)
475 (beginning-of-line))
476 ((and (bobp) (eobp))
477 nil)
478 (t
479 (message "Warning: No bibtex entries found!"))))
480
481(defun hide-bibtex-entry-bodies (&optional arg)
482 "Hide all lines between first and last bibtex entries not beginning with @.
483With argument, show all text."
484 (interactive "P")
485 (beginning-of-first-bibtex-entry)
486 ;; subst-char-in-region modifies the buffer, despite what the
487 ;; documentation says...
488 (let ((modifiedp (buffer-modified-p))
489 (buffer-read-only nil))
490 (if arg
491 (subst-char-in-region (point) (point-max) ?\r ?\n t)
492 (while (save-excursion (re-search-forward "\n[^@]" (point-max) t))
493 (save-excursion (replace-regexp "\n\\([^@]\\)" "\r\\1"))))
494 (setq selective-display (not arg))
495 (set-buffer-modified-p modifiedp)))
496
497(defun sort-bibtex-entries ()
498 "Sort bibtex entries alphabetically by key.
499Text before the first bibtex entry, and following the last is not effected.
500Bugs:
501 1. Text between the closing brace ending one bibtex entry, and the @ starting
502 the next, is considered part of the PRECEEDING entry. Perhaps it should be
503 part of the following entry."
504 (interactive)
505 (save-restriction
506 (beginning-of-first-bibtex-entry)
507 (narrow-to-region (point)
508 (save-excursion
509 (goto-char (point-max))
510 (beginning-of-bibtex-entry)
511 (end-of-bibtex-entry)
512 (point)))
513 (sort-subr nil ; reversep
514 ;; begining of record function
515 'forward-line
516 ;; end of record function
517 (function (lambda () (and (re-search-forward "}[ \t]*\n[\n \t]*@" nil 'move)
518 (forward-char -2))))
519 ;; start of key function
520 (function (lambda () (re-search-forward "{[ \t]*") nil))
521 ;; end of key function
522 (function (lambda () (search-forward ",")))
523 )))
524
525(defun map-bibtex-entries (fun)
526 "Call FUN for each bibtex entry starting with the current, to the end of the file.
527FUN is called with one argument, the key of the entry, and with point inside the entry."
528 (beginning-of-bibtex-entry)
529 (while (re-search-forward "^@[^{]*{[ \t]*\\([^,]*\\)" nil t)
530 (funcall fun (buffer-substring (match-beginning 1) (match-end 1)))))
531
532(defun find-bibtex-entry-location (entry-name)
533 (interactive "sBibtex entry key: ")
534 "Searches from beginning of current buffer looking for place to put the
535bibtex entry named ENTRY-NAME. Buffer is assumed to be in sorted order,
536without duplicates (see \\[sort-bibtex-entries]), if it is not, an error will
537be signalled."
538 (let ((previous nil)
539 point)
540 (beginning-of-first-bibtex-entry)
541 (or (catch 'done
542 (map-bibtex-entries (function (lambda (current)
543 (cond
544 ((string-equal entry-name current)
545 (error "Entry duplicates existing!"))
546 ((or (null previous)
547 (string< previous current))
548 (setq previous current
549 point (point))
550 (if (string< entry-name current)
551 (progn
552 (beginning-of-bibtex-entry)
553 ;; Many schemes append strings to
554 ;; existing entries to resolve them,
555 ;; so initial substring matches may
556 ;; indicate a duplicate entry.
557 (let ((idx (string-match (regexp-quote entry-name) current)))
558 (if (and (integerp idx)
559 (zerop idx))
560 (progn
561 (message "Warning: Entry %s may be a duplicate of %s!"
562 entry-name current)
563 (ding t))))
564 (throw 'done t))))
565 ((string-equal previous current)
566 (error "Duplicate here with previous!"))
567 (t (error "Entries out of order here!")))))))
568 (end-of-bibtex-entry))))
569
570(defun validate-bibtex-buffer ()
571 "Find some typical errors in bibtex files.
572 1. At signs (@) not as first char of a line.
573 2. Double quotes (\") inside strings.
574 3. Closing braces (}) not the last character of a line."
575 (interactive)
576 (let ((point (point)))
577 (while (re-search-forward ".@" nil t)
578 (let* ((foo (parse-partial-sexp (save-excursion (beginning-of-bibtex-entry)
579 (point))
580 (point)))
581 (in-a-string (nth 3 foo)))
582 (if (not in-a-string)
583 (error "At sign (@) out of place!"))))
584 (goto-char point)
585 (while (search-forward "\"" nil t)
586 (or (looking-at "[,}][ \t]*$")
587 ;; some versions put closing brace on separate line.
588 (looking-at "[ \t]*\n}")
589 (save-excursion
590 (save-restriction
591 (narrow-to-region (point)
592 (progn (beginning-of-line) (point)))
593 (looking-at "^[ \t]*[a-zA-Z]+[ \t]*=[ \t]*\"$")))
594 (error "Quote out of place, or missing \",\" or \"}\"!")))
595 (goto-char point)
596 ;; This is only approximate, should actually search for close braces,
597 ;; then see if they are inside a string, or at the end of a line.
598 ;; This just gets the typical case of whitespace after a closing brace.
599 (while (search-forward "}[ \t]+$" nil t)
600 (error "Brace not last char of line!"))
601 (goto-char point)
602 (message "Bibtex buffer appears o.k.")))
603
604(defun find-bibtex-duplicates ()
605 "Searches forward in current buffer looking for duplicate bibtex entries.
606Buffer is assumed to be sorted, see \\[sort-bibtex-entries]"
607 (interactive)
608 (let ((point (point)))
609 ;; errors if things are not right...
610 (find-bibtex-entry-location (make-string 10 255))
611 (goto-char point)
612 (message "No duplicates found!")))
613
614
615(defvar bibtex-maintain-sorted-entries nil
616 "*If true, bibtex-mode will attempt to maintain all bibtex entries in
617sorted order.")
465 618
466;; 619;;
467;; note: this should really take lists of strings OR of lists. in the 620;; note: this should really take lists of strings OR of lists. in the
@@ -470,58 +623,69 @@ non-nil."
470;; 623;;
471 624
472(defun bibtex-entry (entry-type required optional) 625(defun bibtex-entry (entry-type required optional)
473 (bibtex-move-outside-of-entry) 626 (let (key)
474 (insert "@" entry-type "{") 627 (if bibtex-maintain-sorted-entries
475 (mapcar 'bibtex-make-field required) 628 (progn
476 (if bibtex-include-OPTcrossref 629 (setq key (read-string (format "%s key: " entry-type)))
477 (bibtex-make-optional-field "crossref")) 630 (find-bibtex-entry-location key)))
478 (if bibtex-include-OPTkey 631 (bibtex-move-outside-of-entry)
479 (bibtex-make-optional-field "key")) 632 (insert "@" entry-type "{")
480 (mapcar 'bibtex-make-optional-field optional) 633 (mapcar 'bibtex-make-field required)
481 (if bibtex-mode-user-optional-fields ;MON... 634 (if bibtex-include-OPTcrossref
482 (mapcar 'bibtex-make-optional-field 635 (bibtex-make-optional-field "crossref"))
483 bibtex-mode-user-optional-fields)) 636 (if bibtex-include-OPTkey
484 (if bibtex-include-OPTannote 637 (bibtex-make-optional-field "key"))
485 (bibtex-make-optional-field "annote")) 638 (mapcar 'bibtex-make-optional-field optional)
486 (insert "\n}\n\n") 639 (if bibtex-mode-user-optional-fields ;MON...
487 (forward-char -3) 640 (mapcar 'bibtex-make-optional-field
488 (up-list -1) 641 bibtex-mode-user-optional-fields))
489 (forward-char 1)) 642 (if bibtex-include-OPTannote
490 643 (bibtex-make-optional-field "annote"))
491(defun bibtex-insert-field-delimeters (str) 644 (insert "\n}\n\n")
492 "Insert double quotes (default) or, if STR is in the list 645 (forward-char -3)
493bibtex-curly-delimeters, insert curly brackets." 646 (up-list -1)
494 (if (and (boundp 'bibtex-curly-delimeters) 647 (forward-char 1)
495 bibtex-curly-delimeters 648 (if key
496 (memq (car (read-from-string (downcase str))) 649 (progn
497 bibtex-curly-delimeters)) 650 (insert key)
498 (insert "\{\}") 651 (bibtex-next-field t)))))
499 (insert "\"\""))) 652
653;; (defun bibtex-entry (entry-type required optional)
654;; (bibtex-move-outside-of-entry)
655;; (insert (concat "@" entry-type "{,\n\n}\n\n"))
656;; (previous-line 3)
657;; (insert (mapconcat 'bibtex-make-entry required ",\n"))
658;; (if required
659;; (if optional
660;; (insert ",\n")))
661;; (insert (mapconcat 'bibtex-make-OPT-entry optional ",\n"))
662;; (if bibtex-mode-user-optional-fields ;MON...
663;; (progn
664;; (if optional
665;; (insert ",\n"))
666;; (insert (mapconcat 'bibtex-make-OPT-entry
667;; bibtex-mode-user-optional-fields
668;; ",\n")))) ;MON
669;; (up-list -1)
670;; (forward-char 1))
671
500 672
501(defun bibtex-make-field (str) 673(defun bibtex-make-field (str)
502 (interactive "sBibTeX entry type: ") 674 (interactive "sBibTeX entry type: ")
503 (insert ",\n") 675 (insert ",\n")
504 (indent-to-column bibtex-name-alignment) 676 (indent-to-column bibtex-name-alignement)
505 (insert str " = ") 677 (insert str " = ")
506 (indent-to-column bibtex-text-alignment) 678 (indent-to-column bibtex-text-alignment)
507 (bibtex-insert-field-delimeters str) 679 (insert "\"\"")
508 nil) 680 nil)
509 681
510;; modified to make fields align up _after_ the OPT's have been removed
511
512(defun bibtex-make-optional-field (str) 682(defun bibtex-make-optional-field (str)
513 (interactive "sOptional BibTeX entry type: ") 683 (interactive "sOptional BibTeX entry type: ")
514 (insert ",\n") 684 (insert ",\n")
515 (indent-to-column bibtex-name-alignment) 685 (indent-to-column bibtex-name-alignement)
516 (insert str " = ") 686 (insert "OPT" str " = ")
517 (indent-to-column bibtex-text-alignment) ;align nicely, then,... 687 (indent-to-column bibtex-text-alignment)
518 (bibtex-insert-field-delimeters str) 688 (insert "\"\"")
519 (if bibtex-use-OPT-prefix
520 (progn
521 (beginning-of-line)
522 (move-to-column bibtex-name-alignment) ;go back to name and put in OPT
523 (insert "OPT")
524 (end-of-line)))
525 nil) 689 nil)
526 690
527;; What to do about crossref? if present, journal and year are 691;; What to do about crossref? if present, journal and year are
@@ -536,11 +700,12 @@ bibtex-curly-delimeters, insert curly brackets."
536 (bibtex-entry "Article" '("author" "title" "journal" "year") 700 (bibtex-entry "Article" '("author" "title" "journal" "year")
537 '("volume" "number" "pages" "month" "note")))) 701 '("volume" "number" "pages" "month" "note"))))
538 702
703
539(defun bibtex-Book () 704(defun bibtex-Book ()
540 (interactive) 705 (interactive)
541 (bibtex-entry "Book" '("author" "title" "publisher" "year") 706 (bibtex-entry "Book" '("author" "title" "publisher" "year")
542 '("editor" "volume" "number" "series" "address" 707 '("editor" "volume" "number" "series" "address"
543 "edition" "month" "note"))) 708 "edition" "month" "note")))
544 709
545(defun bibtex-Booklet () 710(defun bibtex-Booklet ()
546 (interactive) 711 (interactive)
@@ -563,31 +728,31 @@ bibtex-curly-delimeters, insert curly brackets."
563 '("editor" "pages" "volume" "number" "series" "address" 728 '("editor" "pages" "volume" "number" "series" "address"
564 "edition" "month" "type" "note")))) 729 "edition" "month" "type" "note"))))
565 730
566;; In next 2, for crossref case, put pages near beginning of
567;; optionals as it will be used most often -- MON
568(defun bibtex-InCollection () 731(defun bibtex-InCollection ()
569 (interactive) 732 (interactive)
570 (if bibtex-include-OPTcrossref 733 (if bibtex-include-OPTcrossref
571 (bibtex-entry "InCollection" '("author" "title") 734 (bibtex-entry "InCollection" '("author" "title")
572 '("pages" "booktitle" "publisher" "year" 735 '("booktitle" "publisher" "year"
573 "editor" "volume" "number" "series" "type" "chapter" 736 "editor" "volume" "number" "series" "type" "chapter"
574 "address" "edition" "month" "note")) 737 "pages" "address" "edition" "month" "note"))
575 (bibtex-entry "InCollection" '("author" "title" 738 (bibtex-entry "InCollection" '("author" "title"
576 "booktitle" "publisher" "year") 739 "booktitle" "publisher" "year")
577 '("editor" "volume" "number" "series" "type" "chapter" 740 '("editor" "volume" "number" "series" "type" "chapter"
578 "pages" "address" "edition" "month" "note")))) 741 "pages" "address" "edition" "month" "note"))))
579 742
743
580(defun bibtex-InProceedings () 744(defun bibtex-InProceedings ()
581 (interactive) 745 (interactive)
582 (if bibtex-include-OPTcrossref 746 (if bibtex-include-OPTcrossref
583 (bibtex-entry "InProceedings" '("author" "title") 747 (bibtex-entry "InProceedings" '("author" "title")
584 '( "pages" "editor" "volume" "number" "series" 748 '("editor" "volume" "number" "series" "pages"
585 "booktitle" "year" 749 "booktitle" "year"
586 "organization" "publisher" "address" "month" "note")) 750 "organization" "publisher" "address" "month" "note"))
587 (bibtex-entry "InProceedings" '("author" "title" "booktitle" "year") 751 (bibtex-entry "InProceedings" '("author" "title" "booktitle" "year")
588 '("editor" "volume" "number" "series" "pages" 752 '("editor" "volume" "number" "series" "pages"
589 "organization" "publisher" "address" "month" "note")))) 753 "organization" "publisher" "address" "month" "note"))))
590 754
755
591(defun bibtex-Manual () 756(defun bibtex-Manual ()
592 (interactive) 757 (interactive)
593 (bibtex-entry "Manual" '("title") 758 (bibtex-entry "Manual" '("title")
@@ -620,7 +785,6 @@ bibtex-curly-delimeters, insert curly brackets."
620 (bibtex-entry "TechReport" '("author" "title" "institution" "year") 785 (bibtex-entry "TechReport" '("author" "title" "institution" "year")
621 '("type" "number" "address" "month" "note"))) 786 '("type" "number" "address" "month" "note")))
622 787
623
624(defun bibtex-Unpublished () 788(defun bibtex-Unpublished ()
625 (interactive) 789 (interactive)
626 (bibtex-entry "Unpublished" '("author" "title" "note") 790 (bibtex-entry "Unpublished" '("author" "title" "note")
@@ -656,6 +820,17 @@ bibtex-curly-delimeters, insert curly brackets."
656 (forward-char 1)))) 820 (forward-char 1))))
657 (bibtex-find-text arg)) 821 (bibtex-find-text arg))
658 822
823;; (defun bibtex-next-field ()
824;; "Finds end of text of next field."
825;; (interactive)
826;; (condition-case ()
827;; (progn
828;; (bibtex-inside-field)
829;; (re-search-forward ",[ \t\n]*" (point-max) 1)
830;; (bibtex-enclosing-field)
831;; (bibtex-inside-field))
832;; (error nil)))
833
659(defun bibtex-find-text (arg) 834(defun bibtex-find-text (arg)
660 "Go to end of text of current field; with arg, go to beginning." 835 "Go to end of text of current field; with arg, go to beginning."
661 (interactive "P") 836 (interactive "P")
@@ -664,12 +839,23 @@ bibtex-curly-delimeters, insert curly brackets."
664 (if arg 839 (if arg
665 (progn 840 (progn
666 (goto-char (match-beginning bibtex-text-in-field)) 841 (goto-char (match-beginning bibtex-text-in-field))
667 (if (or (looking-at "\"") (looking-at "{")) 842 (if (looking-at "\"")
668 (forward-char 1))) 843 (forward-char 1)))
669 (goto-char (match-end bibtex-text-in-field)) 844 (goto-char (match-end bibtex-text-in-field))
670 (if (or (= (preceding-char) ?\") (= (preceding-char) ?})) 845 (if (= (preceding-char) ?\")
671 (forward-char -1)))) 846 (forward-char -1))))
672 847
848;; (defun bibtex-find-text ()
849;; "Go to end of text of current field."
850;; (interactive)
851;; (condition-case ()
852;; (progn
853;; (bibtex-inside-field)
854;; (bibtex-enclosing-field)
855;; (goto-char (match-end bibtex-text-in-field))
856;; (bibtex-inside-field))
857;; (error nil)))
858
673(defun bibtex-remove-OPT () 859(defun bibtex-remove-OPT ()
674 "Removes the 'OPT' starting optional arguments and goes to end of text" 860 "Removes the 'OPT' starting optional arguments and goes to end of text"
675 (interactive) 861 (interactive)
@@ -685,12 +871,11 @@ bibtex-curly-delimeters, insert curly brackets."
685 "Try to avoid point being at end of a bibtex field." 871 "Try to avoid point being at end of a bibtex field."
686 (interactive) 872 (interactive)
687 (end-of-line) 873 (end-of-line)
688 (skip-chars-backward " \t") ;delete these chars? -- MON 874 (skip-chars-backward " \t") ;MON - maybe delete these chars?
689 (cond ((= (preceding-char) ?,) 875 (cond ((= (preceding-char) ?,)
690 (forward-char -1))) 876 (forward-char -1)))
691 (cond ((or (= (preceding-char) ?\") (= (preceding-char) ?\})) 877 (cond ((= (preceding-char) ?\")
692 (forward-char -1)))) ;only go back if quote 878 (forward-char -1)))) ;MON - only go back if quote
693
694 879
695(defun bibtex-remove-double-quotes () 880(defun bibtex-remove-double-quotes ()
696 "Removes """" around string." 881 "Removes """" around string."
@@ -905,7 +1090,7 @@ an undefined location.
905 (re-search-forward regexp right nil 1) 1090 (re-search-forward regexp right nil 1)
906 (if (> (match-beginning 0) initial) 1091 (if (> (match-beginning 0) initial)
907 (signal 'search-failed (list regexp))) 1092 (signal 'search-failed (list regexp)))
908 (while (< (match-end 0) initial) ;<= --> < -- MON 1093 (while (<= (match-end 0) initial)
909 (re-search-forward regexp right nil 1) 1094 (re-search-forward regexp right nil 1)
910 (if (> (match-beginning 0) initial) 1095 (if (> (match-beginning 0) initial)
911 (signal 'search-failed (list regexp)))) 1096 (signal 'search-failed (list regexp))))
@@ -932,16 +1117,9 @@ an undefined location.
932 (looking-at "OPT") 1117 (looking-at "OPT")
933 bibtex-clean-entry-zap-empty-opts) 1118 bibtex-clean-entry-zap-empty-opts)
934 (goto-char begin-text) 1119 (goto-char begin-text)
935 (if (and (looking-at "\"\"") ; empty: delete whole field 1120 (if (looking-at "\"\"") ; empty: delete whole field
936 (boundp 'bibtex-save-OPT)
937 bibtex-save-OPT
938 (not (memq (car (read-from-string
939 (buffer-substring
940 (+ begin-name 3)
941 end-name)))
942 bibtex-save-OPT)))
943 (delete-region begin-field end-field) 1121 (delete-region begin-field end-field)
944 ;; otherwise: not empty, delete "OPT" 1122 ; otherwise: not empty, delete "OPT"
945 (goto-char begin-name) 1123 (goto-char begin-name)
946 (delete-char (length "OPT")) 1124 (delete-char (length "OPT"))
947 (goto-char begin-field) ; and loop to go through next test 1125 (goto-char begin-field) ; and loop to go through next test
@@ -965,12 +1143,7 @@ an undefined location.
965 (equal (buffer-substring 1143 (equal (buffer-substring
966 begin-name 1144 begin-name
967 (+ begin-name 3)) 1145 (+ begin-name 3))
968 "opt") 1146 "opt")))
969 (memq (car (read-from-string
970 (buffer-substring
971 begin-name
972 end-name)))
973 bibtex-save-OPT)))
974 (error "Mandatory field ``%s'' is empty" 1147 (error "Mandatory field ``%s'' is empty"
975 (buffer-substring begin-name end-name)))) 1148 (buffer-substring begin-name end-name))))
976 (t 1149 (t
@@ -1039,66 +1212,49 @@ an undefined location.
1039;; since we aren't interested. See etc/SUN-SUPPORT for the reasons why 1212;; since we aren't interested. See etc/SUN-SUPPORT for the reasons why
1040;; we consider this nothing but a distraction from our work. 1213;; we consider this nothing but a distraction from our work.
1041 1214
1042(if (fboundp 'defmenu) 1215(defmacro eval-in-menu-window (&rest l)
1043 (progn 1216 "Evaluates its argument in the window in which the mouse button was pressed."
1044 1217 (list 'eval-in-window '*menu-window* l))
1045(defmenu bibtex-sun-entry-menu 1218
1046 ("Article In Conf. Proc." 1219;(defmenu bibtex-sun-entry-menu
1047 (lambda () (eval-in-window *menu-window* (bibtex-InProceedings)))) 1220; ("Article In Conf. Proc." eval-in-menu-window bibtex-InProceedings)
1048 ("Article In Journal" 1221; ("Article In Journal" eval-in-menu-window bibtex-Article)
1049 (lambda () (eval-in-window *menu-window* (bibtex-Article)))) 1222; ("Book" eval-in-menu-window bibtex-Book)
1050 ("Book" 1223; ("Booklet" eval-in-menu-window bibtex-Booklet)
1051 (lambda () (eval-in-window *menu-window* (bibtex-Book)))) 1224; ("Master's Thesis" eval-in-menu-window bibtex-MastersThesis)
1052 ("Booklet" 1225; ("PhD. Thesis" eval-in-menu-window bibtex-PhdThesis)
1053 (lambda () (eval-in-window *menu-window* (bibtex-Booklet)))) 1226; ("Technical Report" eval-in-menu-window bibtex-TechReport)
1054 ("Master's Thesis" 1227; ("Technical Manual" eval-in-menu-window bibtex-Manual)
1055 (lambda () (eval-in-window *menu-window* (bibtex-MastersThesis)))) 1228; ("Conference Proceedings" eval-in-menu-window bibtex-Proceedings)
1056 ;;("DEA Thesis" bibtex-DEAthesis) 1229; ("In A Book" eval-in-menu-window bibtex-InBook)
1057 ("PhD. Thesis" 1230; ("In A Collection" eval-in-menu-window bibtex-InCollection)
1058 (lambda () (eval-in-window *menu-window* (bibtex-PhdThesis)))) 1231; ("Miscellaneous" eval-in-menu-window bibtex-Misc)
1059 ("Technical Report" 1232; ("Unpublished" eval-in-menu-window bibtex-Unpublished)
1060 (lambda () (eval-in-window *menu-window* (bibtex-TechReport)))) 1233; ("string" eval-in-menu-window bibtex-string)
1061 ("Technical Manual" 1234; ("preamble" eval-in-menu-window bibtex-preamble))
1062 (lambda () (eval-in-window *menu-window* (bibtex-Manual)))) 1235;
1063 ("Conference Proceedings" 1236;(defmenu bibtex-sun-menu
1064 (lambda () (eval-in-window *menu-window* (bibtex-Proceedings)))) 1237; ("BibTeX menu")
1065 ("In A Book" 1238; ("add entry" . bibtex-sun-entry-menu)
1066 (lambda () (eval-in-window *menu-window* (bibtex-InBook)))) 1239; ("next field" eval-in-menu-window bibtex-next-field nil)
1067 ("In A Collection" 1240; ("to end of field" eval-in-menu-window bibtex-find-text nil)
1068 (lambda () (eval-in-window *menu-window* (bibtex-InCollection)))) 1241; ("snatch similar preceding field" eval-in-menu-window bibtex-pop-previous 1)
1069 ("Miscellaneous" 1242; ("snatch similar following field" eval-in-menu-window bibtex-pop-next 1)
1070 (lambda () (eval-in-window *menu-window* (bibtex-Misc)))) 1243; ("remove OPT" eval-in-menu-window bibtex-remove-OPT)
1071 ("Unpublished" 1244; ("remove quotes" eval-in-menu-window bibtex-remove-double-quotes)
1072 (lambda () (eval-in-window *menu-window* (bibtex-Unpublished))))) 1245; ("clean entry" eval-in-menu-window bibtex-clean-entry)
1073 1246; ("describe BibTeX mode" eval-in-menu-window describe-mode)
1074(defmenu bibtex-sun-menu 1247; ("Main Emacs menu" . emacs-menu))
1075 ("BibTeX menu")
1076 ("add entry" . bibtex-sun-entry-menu)
1077 ("add string"
1078 (lambda () (eval-in-window *menu-window* (bibtex-string))))
1079 ;("next field" bibtex-next-position)
1080 ;("to end of field" bibtex-find-it)
1081; ("remove OPT"
1082; (lambda () (eval-in-window *menu-window* (bibtex-remove-opt))))
1083; ("remove quotes"
1084; (lambda () (eval-in-window *menu-window* (bibtex-remove-double-quotes))))
1085; ("remove this line"
1086; (lambda () (eval-in-window *menu-window* (kill-current-line))))
1087 ("describe BibTeX mode"
1088 (lambda () (eval-in-window *menu-window* (describe-mode))))
1089 ("Main Emacs menu" . emacs-menu))
1090 1248
1091(defun bibtex-sun-menu-eval (window x y) 1249(defun bibtex-sun-menu-eval (window x y)
1092 "Pop-up menu of BibTeX commands." 1250 "Pop-up menu of BibTeX commands."
1093 (sun-menu-evaluate window (1+ x) (1- y) 'bibtex-sun-menu)) 1251 (sun-menu-evaluate window (1+ x) (1- y) 'bibtex-sun-menu))
1094 1252
1095(defun bibtex-sun-environment () 1253(defun bibtex-sun-environment ()
1096 "Set up sun menus for BibTeX mode. Call it as bibtex-mode-hook, or interactively" 1254 "Set up sun menus for BibTeX mode. Call it as bibtex-mode-hook, or
1255interactively"
1097 (interactive) 1256 (interactive)
1098 (local-set-mouse '(text right) 'bibtex-sun-menu-eval)) 1257 (local-set-mouse '(text right) 'bibtex-sun-menu-eval))
1099 1258
1100)) ; matches (if... 1259;;; bibtex-mode.el ends here
1101
1102(provide 'bibtex)
1103 1260
1104;;; bibtex.el ends here
diff --git a/lisp/textmodes/fill.el b/lisp/textmodes/fill.el
index e4e02a68f67..85a9c1dd2e4 100644
--- a/lisp/textmodes/fill.el
+++ b/lisp/textmodes/fill.el
@@ -1,12 +1,15 @@
1;;; fill.el --- fill commands for Emacs 1;;; fill.el --- fill commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 24 Jun 1992
5
3;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defconst fill-individual-varying-indent nil 26(defconst fill-individual-varying-indent nil
23 "*Controls criterion for a new paragraph in `fill-individual-paragraphs'. 27 "*Controls criterion for a new paragraph in `fill-individual-paragraphs'.
diff --git a/lisp/textmodes/nroff-mode.el b/lisp/textmodes/nroff-mode.el
index 26d82a2f793..b05632c569e 100644
--- a/lisp/textmodes/nroff-mode.el
+++ b/lisp/textmodes/nroff-mode.el
@@ -1,7 +1,7 @@
1;;; nroff-mode.el --- GNU Emacs major mode for editing nroff source 1;;; nroff-mode.el --- GNU Emacs major mode for editing nroff source
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 9 May 1991 4;; Last-Modified: 09 May 1991
5 5
6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/textmodes/ooutline.el b/lisp/textmodes/ooutline.el
index ad7512d6cf7..036e5d6bb63 100644
--- a/lisp/textmodes/ooutline.el
+++ b/lisp/textmodes/ooutline.el
@@ -1,12 +1,15 @@
1;;; outline.el --- outline mode commands for Emacs 1;;; outline.el --- outline mode commands for Emacs
2 2
3;; Maintainer: FSF
4;; Last-Modified: 10 Apr 1991
5
3;; Copyright (C) 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21;; Jan '86, Some new features added by Peter Desnoyers and rewritten by RMS. 26;; Jan '86, Some new features added by Peter Desnoyers and rewritten by RMS.
22 27
23(defvar outline-regexp "[*\^l]+" 28(defvar outline-regexp "[*\^l]+"
diff --git a/lisp/textmodes/page-ext.el b/lisp/textmodes/page-ext.el
index c5457fa5e5d..53953cb65be 100644
--- a/lisp/textmodes/page-ext.el
+++ b/lisp/textmodes/page-ext.el
@@ -1,18 +1,15 @@
1;;; page-ext.el --- page handling commands 1;;; page-ext.el --- page handling commands
2 2
3;;; by Robert J. Chassell 3;; Author: Robert J. Chassell <bob@gnu.ai.mit.edu>
4 4;; Last-Modified: 10 Apr 1991
5;;; You may use these commands to handle an address list or other
6;;; small data base.
7 5
8;;; Copyright (C) 1990 Free Software Foundation 6;;; Copyright (C) 1990 Free Software Foundation
9;;; Please send bug reports to bob@ai.mit.edu
10 7
11;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
12 9
13;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
14;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
15;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
16;; any later version. 13;; any later version.
17 14
18;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -24,6 +21,13 @@
24;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
25;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
26 23
24;;; Commentary:
25
26;;; You may use these commands to handle an address list or other
27;;; small data base.
28
29;;; Change Log:
30
27;;; Change Log ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 31;;; Change Log ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
28;;; 32;;;
29;;; Version 0.043 33;;; Version 0.043
@@ -132,6 +136,7 @@
132;;; 28 Jan 1990 - Initial definitions. 136;;; 28 Jan 1990 - Initial definitions.
133;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; 137;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
134 138
139;;; Code:
135 140
136;;;; Summary 141;;;; Summary
137 142
diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el
index 935e19bdba4..65cad14e6ed 100644
--- a/lisp/textmodes/page.el
+++ b/lisp/textmodes/page.el
@@ -1,12 +1,15 @@
1;;; page.el --- page motion commands for emacs. 1;;; page.el --- page motion commands for emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 01 May 1992
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defun forward-page (&optional count) 26(defun forward-page (&optional count)
23 "Move forward to page boundary. With arg, repeat, or go back if negative. 27 "Move forward to page boundary. With arg, repeat, or go back if negative.
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index 516ccd646de..dd0e941c195 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -1,13 +1,16 @@
1;;; picture.el --- "Picture mode" -- editing using quarter-plane screen model. 1;;; picture.el --- "Picture mode" -- editing using quarter-plane screen model.
2 2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 16 Mar 1992
6
3;; Copyright (C) 1985 Free Software Foundation, Inc. 7;; Copyright (C) 1985 Free Software Foundation, Inc.
4;; Principal author K. Shane Hartman
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,7 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
22 26
23(defun move-to-column-force (column) 27(defun move-to-column-force (column)
24 "Move to column COLUMN in current line. 28 "Move to column COLUMN in current line.
diff --git a/lisp/textmodes/refbib.el b/lisp/textmodes/refbib.el
index e0eb0614d70..a769877118d 100644
--- a/lisp/textmodes/refbib.el
+++ b/lisp/textmodes/refbib.el
@@ -1,12 +1,15 @@
1;;; refbib.el --- convert refer-style references to ones usable by Latex bib 1;;; refbib.el --- convert refer-style references to ones usable by Latex bib
2 2
3;; Maintainer: FSF
4;; Last-Modified: 16 Mar 1992
5
3;; Copyright (C) 1989 Free Software Foundation, Inc. 6;; Copyright (C) 1989 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,11 +21,15 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Commentary:
25
21;; Use: from a buffer containing the refer-style bibliography, 26;; Use: from a buffer containing the refer-style bibliography,
22;; M-x r2b-convert-buffer 27;; M-x r2b-convert-buffer
23;; Program will prompt for an output buffer name, and will log 28;; Program will prompt for an output buffer name, and will log
24;; warnings during the conversion process in the buffer *Log*. 29;; warnings during the conversion process in the buffer *Log*.
25 30
31;;; Change Log:
32
26; HISTORY 33; HISTORY
27; 9/88, created 34; 9/88, created
28; modified 1/19/89, allow books with editor but no author; 35; modified 1/19/89, allow books with editor but no author;
@@ -45,6 +52,9 @@
45; modified 3/1/89, fixed capitialize-title for first words all caps 52; modified 3/1/89, fixed capitialize-title for first words all caps
46; modified 3/15/89, allow use of " to delimit fields 53; modified 3/15/89, allow use of " to delimit fields
47; modified 4/18/89, properly "quote" special characters on output 54; modified 4/18/89, properly "quote" special characters on output
55
56;;; Code:
57
48;********************************************************** 58;**********************************************************
49; User Parameters 59; User Parameters
50 60
diff --git a/lisp/textmodes/spell.el b/lisp/textmodes/spell.el
index 63ef847b018..b9033e13dac 100644
--- a/lisp/textmodes/spell.el
+++ b/lisp/textmodes/spell.el
@@ -1,7 +1,7 @@
1;;; spell.el --- spelling correction interface for Emacs. 1;;; spell.el --- spelling correction interface for Emacs.
2 2
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 9 May 1991 4;; Last-Modified: 09 May 1991
5 5
6;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
7 7
@@ -9,7 +9,7 @@
9 9
10;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 13;; any later version.
14 14
15;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index 545fcd34def..9b6fee482a5 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -1,16 +1,18 @@
1;;; tex-mode.el --- TeX, LaTeX, and SliTeX mode commands. 1;;; tex-mode.el --- TeX, LaTeX, and SliTeX mode commands.
2 2
3;; Copyright (C) 1985, 1986, 1989, 1992 Free Software Foundation, Inc. 3;; Maintainer: Edward M. Reingold <reingold@cs.uiuc.edu>
4;; Last-Modified: 04 July 1992
5
4;; Contributions over the years by William F. Schelter, Dick King, 6;; Contributions over the years by William F. Schelter, Dick King,
5;; Stephen Gildea, Michael Prange, and Edward M. Reingold. 7;; Stephen Gildea, Michael Prange, and Edward M. Reingold.
6 8
7;; Latest revision (1992) by Edward M. Reingold <reingold@cs.uiuc.edu>. 9;; Copyright (C) 1985, 1986, 1989, 1992 Free Software Foundation, Inc.
8 10
9;; This file is part of GNU Emacs. 11;; This file is part of GNU Emacs.
10 12
11;; GNU Emacs is free software; you can redistribute it and/or modify 13;; GNU Emacs is free software; you can redistribute it and/or modify
12;; it under the terms of the GNU General Public License as published by 14;; it under the terms of the GNU General Public License as published by
13;; the Free Software Foundation; either version 1, or (at your option) 15;; the Free Software Foundation; either version 2, or (at your option)
14;; any later version. 16;; any later version.
15 17
16;; GNU Emacs is distributed in the hope that it will be useful, 18;; GNU Emacs is distributed in the hope that it will be useful,
@@ -22,6 +24,8 @@
22;; along with GNU Emacs; see the file COPYING. If not, write to 24;; along with GNU Emacs; see the file COPYING. If not, write to
23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 25;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
24 26
27;;; Code:
28
25(require 'comint) 29(require 'comint)
26 30
27(defvar tex-shell-file-name nil 31(defvar tex-shell-file-name nil
diff --git a/lisp/textmodes/texinfmt.el b/lisp/textmodes/texinfmt.el
index f23ffbba7aa..1c35f4c46e4 100644
--- a/lisp/textmodes/texinfmt.el
+++ b/lisp/textmodes/texinfmt.el
@@ -1,6 +1,8 @@
1;;;; texinfmt.el --- convert Texinfo files to Info files. 1;;;; texinfmt.el --- convert Texinfo files to Info files.
2 2
3;;;; Version 2.00 14 Dec 1990 3;; Author: Robert J. Chassell <bob@gnu.ai.mit.edu>
4;; Version: 2.00
5;; Last-Modified: 14 Dec 1990
4 6
5;; Copyright (C) 1985, 1986, 1988, 1990 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1986, 1988, 1990 Free Software Foundation, Inc.
6 8
@@ -8,7 +10,7 @@
8 10
9;; GNU Emacs is free software; you can redistribute it and/or modify 11;; 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 12;; it under the terms of the GNU General Public License as published by
11;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
12;; any later version. 14;; any later version.
13 15
14;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -20,12 +22,16 @@
20;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
21;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 24
25;;; Commentary:
26
23;; Updated May 1990 to correspond, more or less, to version 2.8 of 27;; Updated May 1990 to correspond, more or less, to version 2.8 of
24;; texinfo.tex. NOTE: texinfmt.el is being phased out; it is being 28;; texinfo.tex. NOTE: texinfmt.el is being phased out; it is being
25;; replaced by makeinfo.c, which is faster and provides better error 29;; replaced by makeinfo.c, which is faster and provides better error
26;; checking. 30;; checking.
27;; Robert J. Chassell, bob@ai.mit.edu 31;; Robert J. Chassell, bob@ai.mit.edu
28 32
33;;; Code:
34
29(defvar texinfo-format-syntax-table nil) 35(defvar texinfo-format-syntax-table nil)
30 36
31(defvar texinfo-vindex) 37(defvar texinfo-vindex)
diff --git a/lisp/textmodes/texinfo.el b/lisp/textmodes/texinfo.el
index 76cbc5b2a2b..837dd3e3a2f 100644
--- a/lisp/textmodes/texinfo.el
+++ b/lisp/textmodes/texinfo.el
@@ -1,6 +1,8 @@
1;;;; texinfo.el ---- major mode for editing Texinfo files. 1;;;; texinfo.el ---- major mode for editing Texinfo files.
2 2
3;;;; Version 2.00 14 Dec 1990 3;; Author: Bob Chassell <bob@gnu.ai.mit.edu>
4;; Version: 2.00
5;; Last-Modified: 14 Dec 1990
4 6
5;; Copyright (C) 1985, 1988, 1989, 1990 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1988, 1989, 1990 Free Software Foundation, Inc.
6 8
@@ -8,7 +10,7 @@
8 10
9;; GNU Emacs is free software; you can redistribute it and/or modify 11;; 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 12;; it under the terms of the GNU General Public License as published by
11;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
12;; any later version. 14;; any later version.
13 15
14;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -20,6 +22,8 @@
20;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
21;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 24
25;;; Code:
26
23(require 'texnfo-upd) 27(require 'texnfo-upd)
24(require 'tex-mode) 28(require 'tex-mode)
25(defvar texinfo-mode-syntax-table nil) 29(defvar texinfo-mode-syntax-table nil)
diff --git a/lisp/textmodes/underline.el b/lisp/textmodes/underline.el
index da341b2ab9c..b30f897586c 100644
--- a/lisp/textmodes/underline.el
+++ b/lisp/textmodes/underline.el
@@ -1,12 +1,15 @@
1;;; underline.el --- insert/remove underlining (done by overstriking) in Emacs. 1;;; underline.el --- insert/remove underlining (done by overstriking) in Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 30 May 1988
5
3;; Copyright (C) 1985 Free Software Foundation, Inc. 6;; Copyright (C) 1985 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;;;###autoload 26;;;###autoload
23(defun underline-region (start end) 27(defun underline-region (start end)
diff --git a/lisp/time.el b/lisp/time.el
index 2978b812cdb..11ab1cd524a 100644
--- a/lisp/time.el
+++ b/lisp/time.el
@@ -1,12 +1,15 @@
1;;; time.el --- display time and load in mode line of Emacs. 1;;; time.el --- display time and load in mode line of Emacs.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 09 Oct 1990
5
3;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. 6;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22(defvar display-time-mail-file nil 26(defvar display-time-mail-file nil
23 "*File name of mail inbox file, for indicating existence of new mail. 27 "*File name of mail inbox file, for indicating existence of new mail.
diff --git a/lisp/timer.el b/lisp/timer.el
index b938307aea6..cbe3b2a0478 100644
--- a/lisp/timer.el
+++ b/lisp/timer.el
@@ -1,12 +1,15 @@
1;;; timer.el --- run a function with args at some time in future 1;;; timer.el --- run a function with args at some time in future
2 2
3;; Maintainer: FSF
4;; Last-Modified: 19 Jan 1990
5
3;; Copyright (C) 1990 Free Software Foundation, Inc. 6;; Copyright (C) 1990 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21(defvar timer-process nil) 26(defvar timer-process nil)
22(defvar timer-alist ()) 27(defvar timer-alist ())
23(defvar timer-out "") 28(defvar timer-out "")
diff --git a/lisp/uncompress.el b/lisp/uncompress.el
index fd450ac36f0..b918c5b1fd8 100644
--- a/lisp/uncompress.el
+++ b/lisp/uncompress.el
@@ -1,12 +1,15 @@
1;;; uncompress.el --- auto-decompression hook for visiting .Z files 1;;; uncompress.el --- auto-decompression hook for visiting .Z files
2 2
3;; Maintainer: FSF
4;; Last-Modified: 30 May 1988
5
3;; Copyright (C) 1992 Free Software Foundation, Inc. 6;; Copyright (C) 1992 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,8 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
25
21;; When we are about to make a backup file, 26;; When we are about to make a backup file,
22;; uncompress the file we visited 27;; uncompress the file we visited
23;; so that making the backup can work properly. 28;; so that making the backup can work properly.
diff --git a/lisp/userlock.el b/lisp/userlock.el
index 23430fa1e04..cce5251204b 100644
--- a/lisp/userlock.el
+++ b/lisp/userlock.el
@@ -1,12 +1,15 @@
1;;; userlock.el --- handle file access contention between multiple users 1;;; userlock.el --- handle file access contention between multiple users
2 2
3;;; Maintainer: FSF
4;;; Last-Modified: 26 May 1987
5
3;; Copyright (C) 1985, 1986 Free Software Foundation, inc. 6;; Copyright (C) 1985, 1986 Free Software Foundation, inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,12 +21,14 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Commentary:
21 25
22;; This file is autloaded to handle certain conditions 26;; This file is autoloaded to handle certain conditions
23;; detected by the file-locking code within Emacs. 27;; detected by the file-locking code within Emacs.
24;; The two entry points are `ask-user-about-lock' and 28;; The two entry points are `ask-user-about-lock' and
25;; `ask-user-about-supersession-threat'. 29;; `ask-user-about-supersession-threat'.
26 30
31;;; Code:
27 32
28(put 'file-locked 'error-conditions '(file-locked file-error error)) 33(put 'file-locked 'error-conditions '(file-locked file-error error))
29 34
diff --git a/lisp/view.el b/lisp/view.el
index 8bb69bff6fd..d93c9b50cf8 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -1,13 +1,16 @@
1;;; view.el --- peruse file or buffer without editing. 1;;; view.el --- peruse file or buffer without editing.
2 2
3;; Author: K. Shane Hartman
4;; Maintainer: FSF
5;; Last-Modified: 21 Aug 1988
6
3;; Copyright (C) 1985, 1989 Free Software Foundation, Inc. 7;; Copyright (C) 1985, 1989 Free Software Foundation, Inc.
4;; Principal author K. Shane Hartman
5 8
6;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
7 10
8;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
9;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
10;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
11;; any later version. 14;; any later version.
12 15
13;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -19,6 +22,7 @@
19;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
20;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
21 24
25;;; Code:
22 26
23(defvar view-mode-map nil) 27(defvar view-mode-map nil)
24(if view-mode-map 28(if view-mode-map
diff --git a/lisp/vms-patch.el b/lisp/vms-patch.el
index 48ecbeb61de..6abdb38591d 100644
--- a/lisp/vms-patch.el
+++ b/lisp/vms-patch.el
@@ -1,12 +1,15 @@
1;;; vms-patch.el --- override parts of files.el for VMS. 1;;; vms-patch.el --- override parts of files.el for VMS.
2 2
3;; Maintainer: FSF
4;; Last-Modified: 06 May 1992
5
3;; Copyright (C) 1986 Free Software Foundation, Inc. 6;; Copyright (C) 1986 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,6 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
24;;; Code:
21 25
22;;; Functions that need redefinition 26;;; Functions that need redefinition
23 27
diff --git a/lisp/vmsproc.el b/lisp/vmsproc.el
index efd1482e1c0..bf561ad5205 100644
--- a/lisp/vmsproc.el
+++ b/lisp/vmsproc.el
@@ -1,4 +1,8 @@
1;; vmsproc.el --- run asynchronous VMS subprocesses under Emacs 1;;; vmsproc.el --- run asynchronous VMS subprocesses under Emacs
2
3;; Author: Mukesh Prasad
4;; Maintainer: FSF
5;; Last-Modified: 29 Sep 1986
2 6
3;; Copyright (C) 1986 Free Software Foundation, Inc. 7;; Copyright (C) 1986 Free Software Foundation, Inc.
4 8
@@ -6,7 +10,7 @@
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,7 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
21;; Written by Mukesh Prasad. 25;;; Code:
22 26
23(defvar display-subprocess-window nil 27(defvar display-subprocess-window nil
24 "If non-nil, the suprocess window is displayed whenever input is received.") 28 "If non-nil, the suprocess window is displayed whenever input is received.")
diff --git a/lisp/vmsx.el b/lisp/vmsx.el
index 2d7fc89af7f..dc39efe4f67 100644
--- a/lisp/vmsx.el
+++ b/lisp/vmsx.el
@@ -1,12 +1,16 @@
1;;; vmsx.el --- run asynchronous VMS subprocesses under Emacs 1;;; vmsx.el --- run asynchronous VMS subprocesses under Emacs
2 2
3;; Author: Mukesh Prasad
4;; Maintainer: FSF
5;; Last-Modified: 29 Sep 1986
6
3;; Copyright (C) 1986 Free Software Foundation, Inc. 7;; Copyright (C) 1986 Free Software Foundation, Inc.
4 8
5;; This file is part of GNU Emacs. 9;; This file is part of GNU Emacs.
6 10
7;; GNU Emacs is free software; you can redistribute it and/or modify 11;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 12;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 13;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 14;; any later version.
11 15
12;; GNU Emacs is distributed in the hope that it will be useful, 16;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,7 +22,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 22;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 23;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 24
21;; Written by Mukesh Prasad. 25;;; Code:
22 26
23(defvar display-subprocess-window nil 27(defvar display-subprocess-window nil
24 "If non-nil, the suprocess window is displayed whenever input is received.") 28 "If non-nil, the suprocess window is displayed whenever input is received.")
diff --git a/lisp/vt100-led.el b/lisp/vt100-led.el
index 2a096a7311b..b2bda4cd49d 100644
--- a/lisp/vt100-led.el
+++ b/lisp/vt100-led.el
@@ -1,12 +1,15 @@
1;;; vt100-led.el --- functions for LED control on VT-100 terminals & clones. 1;;; vt100-led.el --- functions for LED control on VT-100 terminals & clones.
2 2
3;; Author: Howard Gayle
4;; Maintainer: FSF
5
3;; Copyright (C) 1988 Free Software Foundation, Inc. 6;; Copyright (C) 1988 Free Software Foundation, Inc.
4 7
5;; This file is part of GNU Emacs. 8;; This file is part of GNU Emacs.
6 9
7;; GNU Emacs is free software; you can redistribute it and/or modify 10;; GNU Emacs is free software; you can redistribute it and/or modify
8;; it under the terms of the GNU General Public License as published by 11;; it under the terms of the GNU General Public License as published by
9;; the Free Software Foundation; either version 1, or (at your option) 12;; the Free Software Foundation; either version 2, or (at your option)
10;; any later version. 13;; any later version.
11 14
12;; GNU Emacs is distributed in the hope that it will be useful, 15;; GNU Emacs is distributed in the hope that it will be useful,
@@ -18,8 +21,7 @@
18;; along with GNU Emacs; see the file COPYING. If not, write to 21;; along with GNU Emacs; see the file COPYING. If not, write to
19;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 22;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
20 23
21 24;;; Code:
22;; Written by Howard Gayle.
23 25
24(defvar led-state (make-vector 5 nil) 26(defvar led-state (make-vector 5 nil)
25 "The internal state of the LEDs. Choices are nil, t, `flash. 27 "The internal state of the LEDs. Choices are nil, t, `flash.
diff --git a/lisp/xscheme.el b/lisp/xscheme.el
index 87ef6d6c668..fe45757d47e 100644
--- a/lisp/xscheme.el
+++ b/lisp/xscheme.el
@@ -3,13 +3,15 @@
3;; Maintainer: FSF 3;; Maintainer: FSF
4;; Last-Modified: 21 Jan 1987 4;; Last-Modified: 21 Jan 1987
5 5
6;;; $Header: xscheme.el,v 1.26 90/09/11 01:51:20 GMT cph Exp $
7
6;; Copyright (C) 1986, 1987, 1989, 1990 Free Software Foundation, Inc. 8;; Copyright (C) 1986, 1987, 1989, 1990 Free Software Foundation, Inc.
7 9
8;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
9 11
10;; GNU Emacs is free software; you can redistribute it and/or modify 12;; GNU Emacs is free software; you can redistribute it and/or modify
11;; it under the terms of the GNU General Public License as published by 13;; it under the terms of the GNU General Public License as published by
12;; the Free Software Foundation; either version 1, or (at your option) 14;; the Free Software Foundation; either version 2, or (at your option)
13;; any later version. 15;; any later version.
14 16
15;; GNU Emacs is distributed in the hope that it will be useful, 17;; GNU Emacs is distributed in the hope that it will be useful,
@@ -28,8 +30,6 @@
28 30
29;;; Code: 31;;; Code:
30 32
31;;; $Header: xscheme.el,v 1.26 90/09/11 01:51:20 GMT cph Exp $
32
33(require 'scheme) 33(require 'scheme)
34 34
35(defvar scheme-program-name "scheme" 35(defvar scheme-program-name "scheme"