Mercurial > emacs
changeset 807:4f28bd14272c
*** empty log message ***
line wrap: on
line diff
--- a/lisp/=ada.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=ada.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,8 +1,8 @@ ;;; ada.el --- Ada editing support package in GNUlisp. v1.0 -; Author: Vincent Broman <broman@bugs.nosc.mil> May 1987. -; (borrows heavily from Mick Jordan's Modula-2 package for GNU, -; as modified by Peter Robinson, Michael Schmidt, and Tom Perrine.) +;; Author: Vincent Broman <broman@bugs.nosc.mil> +;; Last-Modified: 30 Jan 1991 +;; Keywords: languages ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. @@ -10,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -22,6 +22,14 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + +;; Created May 1987. +;; (borrows heavily from Mick Jordan's Modula-2 package for GNU, +;; as modified by Peter Robinson, Michael Schmidt, and Tom Perrine.) + +;;; Code: + (setq auto-mode-alist (cons (cons "\\.ada$" 'ada-mode) auto-mode-alist)) (defvar ada-mode-syntax-table nil
--- a/lisp/=ftp.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=ftp.el Thu Jul 16 21:47:34 1992 +0000 @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -21,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;; Prevent changes in major modes from altering these variables. (put 'ftp-temp-file-name 'permanent-local t) (put 'ftp-file 'permanent-local t)
--- a/lisp/=gnus.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=gnus.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,17 @@ ;;; gnus.el --- GNUS: an NNTP-based News Reader for GNU Emacs +;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> +;; Last-Modified: 10 Jun 1992 + +;; $Header: gnus.el,v 3.13 90/03/23 13:24:27 umerin Locked $ + ;; Copyright (C) 1987, 1988, 1989, 1990 Free Software Foundation, Inc. -;; $Header: gnus.el,v 3.13 90/03/23 13:24:27 umerin Locked $ ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +23,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;; GNUS Mailing List: ;; There are two mailing lists for GNUS lovers in the world: ;; @@ -47,6 +53,8 @@ ;; (3) Multi-GNUS (Talking to many hosts same time). ;; (4) Asynchronous transmission of large messages. +;;; Code: + (require 'nntp) (require 'mail-utils)
--- a/lisp/=gnusmail.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=gnusmail.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,17 @@ ;;; gnusmail.el --- mail reply commands for GNUS newsreader +;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> +;; Last-Modified: 10 Jun 1992 + +;; $Header: gnusmail.el,v 1.1 90/03/23 13:24:39 umerin Locked $ + ;; Copyright (C) 1990 Free Software Foundation, Inc. -;; $Header: gnusmail.el,v 1.1 90/03/23 13:24:39 umerin Locked $ ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,7 +23,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -(require 'gnus) +;;; Commentary: ;; Provides mail reply and mail other window command using usual mail ;; interface and mh-e interface. @@ -32,6 +36,10 @@ ;; gnus-mail-other-window-method to gnus-mail-reply-using-mhe and ;; gnus-mail-other-window-using-mhe, respectively. +;;; Code: + +(require 'gnus) + (autoload 'news-mail-reply "rnewspost") (autoload 'news-mail-other-window "rnewspost")
--- a/lisp/=gnusmisc.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=gnusmisc.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,17 @@ ;;; gnusmisc.el --- miscellaneous commands for GNUS newsreader +;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> +;; Last-Modified: 10 Jun 1992 + +;; $Header: gnusmisc.el,v 1.2 90/03/23 13:25:04 umerin Locked $ + ;; Copyright (C) 1989, 1990 Free Software Foundation, Inc. -;; $Header: gnusmisc.el,v 1.2 90/03/23 13:25:04 umerin Locked $ ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +23,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (require 'gnus) ;;;
--- a/lisp/=gnuspost.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=gnuspost.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,17 @@ ;;; gnuspost.el --- post news commands for GNUS newsreader +;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> +;; Last-Modified: 10 Jun 1992 + +;; $Header: gnuspost.el,v 1.2 90/03/23 13:25:16 umerin Locked $ + ;; Copyright (C) 1989, 1990 Free Software Foundation, Inc. -;; $Header: gnuspost.el,v 1.2 90/03/23 13:25:16 umerin Locked $ ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +23,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (require 'gnus) (defvar gnus-organization-file "/usr/lib/news/organization"
--- a/lisp/=gosmacs.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=gosmacs.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; gosmacs.el --- rebindings to imitate Gosmacs. +;; Maintainer: FSF +;; Last-Modified: 09 May 1991 + ;; Copyright (C) 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defvar non-gosmacs-binding-alist nil)
--- a/lisp/=grow-vers.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=grow-vers.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,14 +1,15 @@ ;;; grow-vers.el --- increment Emacs version number -;; Load this file to add a new level (starting at zero) -;; to the Emacs version number recorded in version.el. +;; Maintainer: FSF +;; Last-Modified: 31 Oct 1989 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -20,6 +21,12 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + +;; Load this file to add a new level (starting at zero) +;; to the Emacs version number recorded in version.el. + +;;; Code: (insert-file-contents "lisp/version.el")
--- a/lisp/=inc-vers.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=inc-vers.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; inc-vers.el --- load this to increment the recorded Emacs version number. +;; Maintainer: FSF +;; Last-Modified: 31 Oct 1989 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (insert-file-contents "../lisp/version.el")
--- a/lisp/=isearch-old.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=isearch-old.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; isearch.el --- incremental search commands +;; Maintainer: FSF +;; Last-Modified: 30 Jun 1992 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (defvar search-last-string "" "\ Last string search for by a non-regexp search command. This does not include direct calls to the primitive search functions,
--- a/lisp/=iso8859-1.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=iso8859-1.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,11 +1,16 @@ -;; Set up case-conversion and syntax tables for ISO 8859/1 character set. +;; iso8859-1.el --- set up case-conversion and syntax tables for ISO 8859/1 + +;; Author: Howard Gayle +;; Maintainer: FSF +;; Last-Modified: 24 Jun 1992 + ;; Copyright (C) 1988 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -17,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; Written by Howard Gayle. See case-table.el for details.
--- a/lisp/=man.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=man.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; man.el --- read in and display parts of Unix manual. +;; Maintainer: FSF +;; Last-Modified: 21 Dec 1991 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;;;###autoload (defun manual-entry (topic &optional section) "Display the Unix manual entry for TOPIC.
--- a/lisp/=medit.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=medit.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,14 +1,16 @@ -;;; medit.el --- Lisp interface between GNU Emacs and MEDIT package. +;;; medit.el --- front-end to the MEDIT package for editing MDL -;; Emacs under MDL. +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 05 Apr 1991 + ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -20,10 +22,13 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: ;; >> This package depends on two MDL packages: MEDIT and FORKS which ;; >> can be obtained from the public (network) library at mit-ajax. +;;; Code: + (require 'mim-mode) (defconst medit-zap-file (concat "/tmp/" (user-login-name) ".medit.mud")
--- a/lisp/=mim-mode.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=mim-mode.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; mim-mode.el --- Mim (MDL in MDL) mode. +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 31 Oct 1989 + ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (autoload 'fast-syntax-check-mim "mim-syntax" "Checks Mim syntax quickly.
--- a/lisp/=mim-syntax.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=mim-syntax.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; mim-syntax.el --- syntax checker for Mim (MDL). +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 31 Oct 1989 + ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (require 'mim-mode)
--- a/lisp/=netunam.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=netunam.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,6 +1,6 @@ ;;; netunam.el --- HP-UX RFA Commands -;; Author: CPH <cph@zurich.ai.mit.edu> +;; Author: Chris Hanson <cph@zurich.ai.mit.edu> ;; Last-Modified: 31 Oct 1989 ;;; $Header: netunam.el,v 1.3 88/12/21 16:32:23 GMT cph Exp $ @@ -11,7 +11,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/=sun-keys.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=sun-keys.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,19 +1,15 @@ ;;; sun-keys.el --- support for Sun function keys -;;; Support (cleanly) for Sun function keys. Provides help facilities, -;;; better diagnostics, etc. -;;; -;;; To use: make sure your .ttyswrc binds 'F1' to <ESC> * F1 <CR> and so on. -;;; load this lot from your start_up -;;; -;;; -;;; Copyright (C) 1986 Free Software Foundation, Inc. +;; Author: Ian G. Batten <batten@uk.ac.bham.multics> +;; Last-Modified: 30 May 1992 + +;;; Copyright (C) 1986 Free Software Foundation, Inc. ;;; ;;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -24,9 +20,16 @@ ;; You should have received a copy of the GNU General Public License ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +;;; Commentary: + +;;; Support (cleanly) for Sun function keys. Provides help facilities, +;;; better diagnostics, etc. ;;; -;;; Batten@uk.ac.bham.multics (Ian G. Batten) -;;; +;;; To use: make sure your .ttyswrc binds 'F1' to <ESC> * F1 <CR> and so on. +;;; load this lot from your start_up + +;;; Code: (defun sun-function-keys-dispatch (arg) "Dispatcher for function keys."
--- a/lisp/=timer.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=timer.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; timer.el --- run a function with args at some time in future +;; Maintainer: FSF +;; Last-Modified: 19 Jan 1990 + ;; Copyright (C) 1990 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (defvar timer-process nil) (defvar timer-alist ()) (defvar timer-out "")
--- a/lisp/=vmsx.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/=vmsx.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; vmsx.el --- run asynchronous VMS subprocesses under Emacs +;; Author: Mukesh Prasad +;; Maintainer: FSF +;; Last-Modified: 29 Sep 1986 + ;; Copyright (C) 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,7 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; Written by Mukesh Prasad. +;;; Code: (defvar display-subprocess-window nil "If non-nil, the suprocess window is displayed whenever input is received.")
--- a/lisp/abbrev.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/abbrev.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; abbrev.el --- abbrev mode commands for Emacs -;; Copyright (C) 1985-1991 Free Software Foundation, Inc. +;; Maintainer: FSF +;; Last-Modified: 09 Jul 1992 + +;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defconst only-global-abbrevs nil "\ *t means user plans to use global abbrevs only. @@ -152,7 +156,7 @@ (read-abbrev-file file t)) (defun write-abbrev-file (file) - "Write all abbrev definitions to file of Lisp code. + "Write all abbrev definitions to a file of Lisp code. The file written can be loaded in another session to define the same abbrevs. The argument FILE is the file name to write." (interactive @@ -160,7 +164,6 @@ (read-file-name "Write abbrev file: " (file-name-directory (expand-file-name abbrev-file-name)) abbrev-file-name))) - (interactive "FWrite abbrev file: ") (or (and file (> (length file) 0)) (setq file abbrev-file-name)) (save-excursion
--- a/lisp/abbrevlist.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/abbrevlist.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,5 +1,8 @@ ;;; abbrevlist.el --- list one abbrev table alphabetically ordered. +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1986, 1992 Free Software Foundation, Inc. ;; Suggested by a previous version by Gildea. @@ -7,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defun list-one-abbrev-table (abbrev-table output-buffer) "Display alphabetical listing of ABBREV-TABLE in buffer OUTPUT-BUFFER."
--- a/lisp/apropos.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/apropos.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; apropos.el --- faster apropos commands. +;; Author: Joe Wells <jbw@bigbird.bu.edu> +;; Last-Modified: 5 May 1989 + ;; Copyright (C) 1989 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,10 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; Author: Joe Wells -;; Last changed: Fri May 5 18:08:16 1989 by jbw (Joseph Wells) on bucsf -;; jbw%bucsf.bu.edu@bu-it.bu.edu (school year) -;; joew@uswest.com (summer) +;;; Commentary: ;; The ideas for this package were derived from the C code in ;; src/keymap.c and elsewhere. The functions in this file should @@ -43,6 +43,8 @@ ;; Made doc file buffer read-only, buried it. ;; Only call substitute-command-keys if do-all set. +;;; Code: + (defvar apropos-do-all nil "*Whether `apropos' and `super-apropos' should do everything that they can. Makes them run 2 or 3 times slower. Set this non-nil if you have a fast
--- a/lisp/array.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/array.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,8 +1,8 @@ ;;; array.el --- array editing commands for Gnu Emacs -;;; Written by dmb%morgoth@harvard.harvard.edu (address is old) -;;; (David M. Brown at Goldberg-Zoino & Associates, Inc.) -;;; Thanks to cph@kleph.ai.mit.edu for assistance +;; Author David M. Brown +;; Maintainer: FSF +;; Last-Modified: 30 Jan 1991 ;; Copyright (C) 1987 Free Software Foundation, Inc. @@ -10,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -22,12 +22,19 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + +;;; Written by dmb%morgoth@harvard.harvard.edu (address is old) +;;; (David M. Brown at Goldberg-Zoino & Associates, Inc.) +;;; Thanks to cph@kleph.ai.mit.edu for assistance + ;;; To do: ;;; Smooth initialization process by grokking local variables list ;;; at end of buffer or parsing buffer using whitespace as delimiters. ;;; Make 'array-copy-column-right faster. +;;; Code: ;;; Internal information functions.
--- a/lisp/autoinsert.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/autoinsert.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; autoinsert.el --- automatic mode-dependent insertion of text into new files +;; Author: Charlie Martin <crm@cs.duke.edu> +;; Created: 01 Jul 1988 +;; Last-Modified: 30 Jun 1992 + ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,7 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;;; autoinsert.el +;;; Commentary: ;;; Abstract: ;;; @@ -49,6 +53,8 @@ ;;; ;;; Date: Fri Jul 1 16:15:31 EDT 1988 +;;; Code: + (defvar auto-insert-alist '(("\\.tex$" . "tex-insert.tex") ("\\.c$" . "c-insert.c") ("\\.h$" . "h-insert.c")
--- a/lisp/calendar/appt.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/calendar/appt.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,17 @@ ;;; appt.el --- appointment notification functions. +;; Author: Neil Mager <neilm@juliet.ll.mit.edu> +;; Version: 2.1 +;; Last-Modified: 14 Jul 1992 +;; Keywords: calendar + ;; Copyright (C) 1989, 1990 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,12 +23,13 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;; ;; appt.el - visible and/or audible notification of ;; appointments from ~/diary file generated from ;; Edward M. Reingold's calendar.el. ;; -;; Version 2.1 ;; ;; Comments, corrections, and improvements should be sent to ;; Neil M. Mager @@ -99,6 +105,9 @@ ;;; reads. This is all done automatically. ;;; It is invoked from the function list-diary-entries. ;;; + +;;; Code: + (defvar appt-issue-message t "*Non-nil means check for appointments in the diary buffer. To be detected, the diary entry must have the time
--- a/lisp/case-table.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/case-table.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,4 +1,8 @@ -;;; case-table.el --- functions for extending the character set and dealing with case tables. +;;; case-table.el ---code to extend the character set and support case tables. + +;; Author: Howard Gayle +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 ;; Copyright (C) 1988 Free Software Foundation, Inc. @@ -6,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: ;; Written by: ;; TN/ETX/TX/UMG Howard Gayle UUCP : seismo!enea!erix!howard @@ -26,6 +31,8 @@ ;; S-126 25 Stockholm FAX : +46 8 719 64 82 ;; Sweden +;;; Code: + (defun describe-buffer-case-table () "Describe the case table of the current buffer." (interactive)
--- a/lisp/chistory.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/chistory.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; chistory.el --- list command history +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,12 +22,15 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: ;; This really has nothing to do with list-command-history per se, but ;; its a nice alternative to C-x ESC (repeat-complex-command) and ;; functions as a lister if given no pattern. It's not important ;; enough to warrant a file of its own. +;;; Code: + ;;;###autoload (defun repeat-matching-complex-command (&optional pattern) "Edit and re-evaluate complex command with name matching PATTERN.
--- a/lisp/comint.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/comint.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; comint.el --- general command interpreter in a window stuff +;; Maintainer: Olin Shivers <shivers@cs.cmu.edu> +;; Last-Modified: 16 Jul 1992 +;; Version: 2.03 + ;;; Copyright Olin Shivers (1988). ;;; This file is part of GNU Emacs. ;;; GNU Emacs is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 1, or (at your option) +;;; the Free Software Foundation; either version 2, or (at your option) ;;; any later version. ;;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,8 @@ ;;; along with GNU Emacs; see the file COPYING. If not, write to ;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;;; The changelog is at the end of this file. ;;; Please send me bug reports, bug fixes, and extensions, so that I can @@ -57,8 +63,6 @@ ;;; background, dbx, gdb, kermit, prolog, telnet) to use comint-mode ;;; instead of shell-mode, see the notes at the end of this file. -(defconst comint-version "2.03") - ;;; Brief Command Documentation: ;;;============================================================================ @@ -101,6 +105,10 @@ ;;; comint-mode-hook is the comint mode hook. Basically for your keybindings. ;;; comint-load-hook is run after loading in this package. +;;; Code: + +(defconst comint-version "2.03") + ;;; Buffer Local Variables: ;;;============================================================================
--- a/lisp/compare-w.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/compare-w.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; compare-w.el --- compare text between windows for Emacs. +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1986, 1989 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (defvar compare-windows-whitespace " \t\n" "*String of characters considered whitespace for \\[compare-windows]. Changes in whitespace are optionally ignored.
--- a/lisp/dabbrev.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/dabbrev.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; dabbrev.el --- dynamic abbreviation package for GNU Emacs. +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: ; DABBREVS - "Dynamic abbreviations" hack, originally written by Don Morrison ; for Twenex Emacs. Converted to mlisp by Russ Fish. Supports the table @@ -30,10 +34,12 @@ ; ; If anyone feels like hacking at it, Bob Keller (Keller@Utah-20) first ; suggested the beast, and has some good ideas for its improvement, but -; doesn?tknow TECO (the lucky devil...). One thing that should definitely +; doesn't know TECO (the lucky devil...). One thing that should definitely ; be done is adding the ability to search some other buffer(s) if you can?t ; find the expansion you want in the current one. +;;; Code: + ;; (defun dabbrevs-help () ;; "Give help about dabbrevs." ;; (interactive)
--- a/lisp/diff.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/diff.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,17 @@ ;;; diff.el --- "DIFF" mode for handling output from unix diff utility. +;; Author: Frank P. Bresz <fpb@ittc.wec.com> +;; Maintainer: FSF +;; Created: 27 Jan 1989 +;; Last-Modified: 21 Dec 1992 + ;; Copyright (C) 1990 Free Software Foundation, Inc. -;; Written fpb@ittc.wec.com 1/27/89 ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +23,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;; todo: diff-switches flexibility: ;; (defconst diff-switches-function ;; '(lambda (file) @@ -36,7 +42,8 @@ ;; search for the pattern. If you only 1 addition you won't find the end ;; of the pattern (minor) -;; +;;; Code: + (defvar diff-switches nil "*A list of switches to pass to the diff program.")
--- a/lisp/dired-aux.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/dired-aux.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,15 +1,16 @@ ;; dired-aux.el --- directory browsing command support -;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. ;; Author: Sebastian Kremer <sk@thp.uni-koeln.de>. ;; Version: 5.234 ;; Last-Modified: 14 Jul 1992 +;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. + ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -1779,4 +1780,4 @@ ;;;###end dired-ins.el -;;; dired-aux.el ends here \ No newline at end of file +;;; dired-aux.el ends here
--- a/lisp/disp-table.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/disp-table.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; disp-table.el --- functions for dealing with char tables. +;; Author: Howard Gayle +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,8 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -;; Written by Howard Gayle. +;;; Code: (defun rope-to-vector (rope) (let* ((len (/ (length rope) 2))
--- a/lisp/ebuff-menu.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/ebuff-menu.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,9 +1,7 @@ ;;; ebuff-menu.el --- electric-buffer-list mode -; buggestions to mly@ai.mit.edu - -;; who says one can't have typeout windows in gnu emacs? -;; like ^r select buffer from its emacs lunar or tmacs libraries. +;; Author: Richard Mlynarik <mly@ai.mit.edu> +;; Last-Modified: 21 Dec 1991 ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. @@ -11,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -23,6 +21,12 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + +;; who says one can't have typeout windows in gnu emacs? +;; like ^r select buffer from its emacs lunar or tmacs libraries. + +;;; Code: (require 'electric)
--- a/lisp/echistory.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/echistory.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; echistory.el --- Electric Command History Mode +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 09 May 1991 + ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (require 'electric) ; command loop (require 'chistory) ; history lister
--- a/lisp/edmacro.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/edmacro.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,4 +1,9 @@ -;;; edmacro.el --- keyboard macro editor for GNU Emacs. Version 1.02. +;;; edmacro.el --- keyboard macro editor + +;; Author: Dave Gillespie <daveg@csvax.caltech.edu> +;; Maintainer: FSF +;; Version: 1.02 +;; Last-Modified: 09 May 1991 ;; Copyright (C) 1990 Free Software Foundation, Inc. @@ -6,7 +11,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,13 +23,15 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; Original from: Dave Gillespie, daveg@csvax.caltech.edu. +;;; Commentary: ;; To use, type `M-x edit-last-kbd-macro' to edit the most recently ;; defined keyboard macro. If you have used `M-x name-last-kbd-macro' ;; to give a keyboard macro a name, type `M-x edit-kbd-macro' to edit ;; the macro by name. When you are done editing, type `C-c C-c' to ;; record your changes back into the original keyboard macro. + +;;; Code: ;;; The user-level commands for editing macros.
--- a/lisp/ehelp.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/ehelp.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; ehelp.el --- bindings for electric-help mode +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (require 'electric) (defvar electric-help-map () "Keymap defining commands available in `electric-help-mode'.")
--- a/lisp/electric.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/electric.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; electric.el --- window maker and Command loop for `electric' modes. +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 09 Jun 1992 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/emacs-lisp/autoload.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/autoload.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,11 +1,13 @@ ;;; autoload.el --- maintain autoloads in loaddefs.el. +;; Author: Roland McGrath <roland@gnu.ai.mit.edu> +;; Last-Modified: 24 Jun 1992 + ;;; Copyright (C) 1991, 1992 Free Software Foundation, Inc. -;;; Written by Roland McGrath. ;;; ;;; This program is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 1, or (at your option) +;;; the Free Software Foundation; either version 2, or (at your option) ;;; any later version. ;;; ;;; This program is distributed in the hope that it will be useful, @@ -19,6 +21,8 @@ ;;; 02139, USA. ;;; +;;; Code: + (defun make-autoload (form file) "Turn FORM, a defun or defmacro, into an autoload for source file FILE. Returns nil if FORM is not a defun or defmacro."
--- a/lisp/emacs-lisp/backquote.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/backquote.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,15 @@ ;; backquote.el --- backquoting for Emacs Lisp macros +;; Author: Dick King (king@kestrel). +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Written by Dick King (king@kestrel). ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,8 +21,9 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: -;;; This is a rudimentry backquote package written by D. King, + ;;; This is a rudimentry backquote package written by D. King, ;;; king@kestrel, on 8/31/85. (` x) is a macro ;;; that expands to a form that produces x. (` (a b ..)) is ;;; a macro that expands into a form that produces a list of what a b @@ -58,6 +61,7 @@ ;;; This is so crunchy that I am considering including a check for ;;; this or changing the syntax to ... ,(<form>). RMS: opinion? +;;; Code: ;;; a raft of general-purpose macros follows. See the nearest ;;; Commonlisp manual.
--- a/lisp/emacs-lisp/cl-indent.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/cl-indent.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,5 +1,9 @@ ;;; cl-indent.el --- enhanced lisp-indent mode +;; Author: Richard Mlynark <mly@eddie.mit.edu> +;; Maintainer: FSF +;; Last-Modified: 09 May 1991 + ;; Copyright (C) 1987 Free Software Foundation, Inc. ;; Written by Richard Mlynarik July 1987 @@ -7,7 +11,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +23,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;;>> TODO ;; :foo ;; bar @@ -33,6 +39,7 @@ ;; baz) ;; Need something better than &rest for such cases +;;; Code: ;;; Hairy lisp indentation.
--- a/lisp/emacs-lisp/cust-print.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/cust-print.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,9 +1,9 @@ ;; cus-print.el -- handles print-level and print-circle. -;; LCD Archive Entry: -;; custom-print|Daniel LaLiberte|liberte@cs.uiuc.edu -;; |Handle print-level, print-circle and more. -;; |$Date: Tue Mar 17, 1992$|$Revision: 1.0$| +;; Author: Daniel LaLiberte <liberte@cs.uiuc.edu> +;; Version: 1.0 +;; Last-Modified: 17 Mar 1992 +;; Adapted-By: ESR ;; Copyright (C) 1992 Free Software Foundation, Inc. @@ -11,7 +11,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -23,6 +23,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;; This package provides a general print handler for prin1 and princ ;; that supports print-level and print-circle, and by the way, ;; print-length since the standard routines are being replaced. Also, @@ -88,6 +90,7 @@ ;; custom-message ;; custom-error +;;; Code: (provide 'custom-print) ;; Abbreviated package name: "CP"
--- a/lisp/emacs-lisp/debug.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/debug.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; debug.el --- debuggers and related commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 08 Jan 1992 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defvar debug-function-list nil "List of functions currently set for debug on entry.")
--- a/lisp/emacs-lisp/float.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/float.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; float.el --- floating point arithmetic package. +;; Author: Bill Rosenblatt +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1986 Free Software Foundation, Inc. -;; Author Bill Rosenblatt ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;; Floating point numbers are represented by dot-pairs (mant . exp) ;; where mant is the 24-bit signed integral mantissa and exp is the ;; base 2 exponent. @@ -46,6 +51,8 @@ ;; June 20, 1986 ;; +;;; Code: + ;; fundamental implementation constants (defconst exp-base 2 "Base of exponent in this floating point representation.")
--- a/lisp/emacs-lisp/helper.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/helper.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; helper.el --- utility help package supporting help in electric modes +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1991 + ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ; hey, here's a helping hand.
--- a/lisp/emacs-lisp/lisp-mode.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/lisp-mode.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; lisp-mode.el --- Lisp mode, and its idiosyncratic commands. +;; Maintainer: FSF +;; Last-Modified: 03 Jun 1992 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/emacs-lisp/lisp.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/lisp.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; lisp.el --- Lisp editing commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 12 Mar 1992 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defvar defun-prompt-regexp nil "Non-nil => regexp to ignore, before the `(' that starts a defun.")
--- a/lisp/emacs-lisp/profile.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emacs-lisp/profile.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,8 +1,8 @@ ;;; profile.el -- generate run time measurements of Emacs Lisp functions ;; Author: Boaz Ben-Zvi <boaz@lcs.mit.edu> -;; Created: 7 Feb 1992 -;; Last-Modified: 7 Feb 1992 +;; Created: 07 Feb 1992 +;; Last-Modified: 07 Feb 1992 ;; Version: 1.0 ;; Adapted-By: ESR @@ -12,7 +12,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/emulation/edt.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emulation/edt.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,5 +1,10 @@ ;;; edt.el --- EDT emulation in Emacs +;; Author: Mike Clarkson <mike@yetti.UUCP> +;; Maintainer: FSF +;; Created: 27 Aug 1986 +;; Last-Modified: 09 May 1991 + ;; Copyright (C) 1986 Free Software Foundation, Inc. ;; It started from public domain code by Mike Clarkson ;; but has been greatly altered. @@ -8,7 +13,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -20,25 +25,13 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; From mike@yetti.UUCP Fri Aug 29 12:49:28 1986 -;; Path: yetti!mike@uunet.uu.net -;; From: mike@yetti.UUCP (Mike Clarkson ) -;; Newsgroups: net.sources -;; Subject: Gnu Emacs EDT Emulation - Introduction - 1/3 -;; Date: 27 Aug 86 23:30:33 GMT -;; Reply-To: mike@yetti.UUCP (Mike Clarkson ) -;; Organization: York University Computer Science -;; +;;; Commentary: + ;; Here's my EDT emulation for GNU Emacs that is based on the EDT emulation ;; for Gosling's Emacs sent out on the net a couple of years ago by Lynn Olson ;; at Tektronics. This emulation was widely distributed as the file edt.ml ;; in the maclib directory of most Emacs distributions. ;; -;; My emulation consists of two files: edt.el and edtdoc.el. The edtdoc.el -;; file is the documentation, that you can add to the beginning of edt.el if -;; you want. I have split them because I have been loading the edt.el file a -;; lot during debugging. -;; ;; I will gladly take all criticisms and complaints to heart, and will fix what ;; bugs I can find. As this is my first Emacs Lisp hack, you may have to root ;; out a few nasties hidden in the code. Please let me know if you find any @@ -120,12 +113,8 @@ ;; UUCP. If you have a UUCP or BITNET address please use it for communication ;; so that I can reach you directly. If you have both, the BITNET address ;; is preferred. -;; -- -;; Mike Clarkson, ...!allegra \ BITNET: mike@YUYETTI or -;; CRESS, York University, ...!decvax \ SYMALG@YUSOL -;; 4700 Keele Street, ...!ihnp4 > !utzoo!yetti!mike -;; North York, Ontario, ...!linus / -;; CANADA M3J 1P3. ...!watmath / Phone: +1 (416) 737-2100 x 7767 + +;;; Code: (require 'keypad)
--- a/lisp/emulation/mlconvert.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emulation/mlconvert.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; mlconvert.el --- convert buffer of Mocklisp code to real lisp. +;; Maintainer: FSF +;; Last-Modified: 09 May 1991 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;;;###autoload (defun convert-mocklisp-buffer () "Convert buffer of Mocklisp code to real Lisp that GNU Emacs can run."
--- a/lisp/emulation/mlsupport.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/emulation/mlsupport.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; mlsupport.el --- run-time support for mocklisp code. +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defmacro ml-defun (&rest defs) (list 'ml-defun-1 (list 'quote defs)))
--- a/lisp/env.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/env.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; setenv.el --- functions to manipulate environment variables. +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;;; Copyright Free Software Foundation 1991 ;;; This file is part of GNU Emacs. ;;; GNU Emacs is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 1, or (at your option) +;;; the Free Software Foundation; either version 2, or (at your option) ;;; any later version. ;;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;;; along with GNU Emacs; see the file COPYING. If not, write to ;;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (defun setenv (variable value) "Set the value of the environment variable named VARIABLE to VALUE. VARIABLE and VALUE should both be strings.
--- a/lisp/files.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/files.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; files.el --- file input and output commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 09 Jul 92 + ;; Copyright (C) 1985, 1986, 1987, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (defconst delete-auto-save-files t "*Non-nil means delete a buffer's auto-save file when the buffer is saved.")
--- a/lisp/find-dired.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/find-dired.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,18 @@ ;; find-dired.el --- run a `find' command and dired the output -;;; Copyright (C) 1991 Roland McGrath +;; Author: Roland McGrath <roland@gnu.ai.mit.edu> +;; Sebastian Kremer <sk@thp.uni-koeln.de> +;; Maintainer: Roland McGrath <roland@gnu.ai.mit.edu> +;; Last-Modified: 16 Mar 1992 (defconst find-dired-version (substring "$Revision: 1.9 $" 11 -2) "$Id: find-dired.el,v 1.9 1991/11/11 13:24:31 sk Exp $") +;;; Copyright (C) 1991 Roland McGrath + ;;; This program is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 1, or (at your option) +;;; the Free Software Foundation; either version 2, or (at your option) ;;; any later version. ;;; ;;; This program is distributed in the hope that it will be useful, @@ -19,13 +24,8 @@ ;;; program's author (send electronic mail to roland@ai.mit.edu) or from ;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA ;;; 02139, USA. -;;; -;; LISPDIR ENTRY for the Elisp Archive =============================== -;; LCD Archive Entry: -;; find-dired|Roland McGrath, Sebastian Kremer -;; |roland@gnu.ai.mit.edu, sk@thp.uni-koeln.de -;; |Run a `find' command and dired the output -;; |$Date: 1991/11/11 13:24:31 $|$Revision: 1.9 $| + +;;; Commentary: ;; INSTALLATION ====================================================== @@ -46,6 +46,8 @@ ;; ;; in your ~/.emacs. +;;; Code: + (require 'dired) ;;;###autoload (defvar find-ls-option (if (eq system-type 'berkeley-unix) "-ls"
--- a/lisp/find-gc.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/find-gc.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; find-gc.el --- detect functions that call the garbage collector +;; Maintainer: FSF +;; Last-Modified: 21 Nov 1990 + ;; Copyright (C) 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; Code: + ;;; Produce in unsafe-list the set of all functions that may invoke GC. ;;; This expects the Emacs sources to live in emacs-source-directory. ;;; It creates a temporary working directory /tmp/esrc.
--- a/lisp/float-sup.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/float-sup.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; float-sup.el --- detect absence of floating-point support in Emacs runtime +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;; Provide a meaningful error message if we are running on ;; bare (non-float) emacs. ;; Can't test for 'floatp since that may be defined by float-imitation
--- a/lisp/help.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/help.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; help.el --- help commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 30 Jun 1992 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (defvar help-map (make-sparse-keymap) "Keymap for characters following the Help key.")
--- a/lisp/hexl.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/hexl.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,4 +1,7 @@ -;;; hexl-mode.el --- edit a file in a hex dump format. +;;; hexl-mode.el --- edit a file in a hex dump format using the hexl filter. + +;; Author: Keith Gabryelski <ag@wheaties.ai.mit.edu> +;; Last-Modified: 06 Mar 1991 ;; Copyright (C) 1989 Free Software Foundation, Inc. @@ -6,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,9 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; -;; By: Keith Gabryelski (ag@wheaties.ai.mit.edu) -;; +;;; Commentary: + ;; This may be useful in your .emacs: ;; ;; (autoload 'hexl-find-file "hexl" @@ -37,6 +39,8 @@ ;; ASCII region of the screen (if your emacs supports this) instead of ;; changing them to dots. +;;; Code: + ;; ;; vars here ;;
--- a/lisp/indent.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/indent.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; indent.el --- indentation commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 09 Jul 1992 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defvar indent-line-function 'indent-to-left-margin "\ Function to indent current line.");Now in loaddefs.el
--- a/lisp/info.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/info.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; info.el --- info package for Emacs. -;;; Note that nowadays we expect info files to be made using makeinfo. + +;; Maintainer: FSF +;; Last-Modified: 30 Jun 1992 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,12 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + +;;; Note that nowadays we expect info files to be made using makeinfo. + +;;; Code: + (defvar Info-history nil "List of info nodes user has visited. Each element of list is a list (FILENAME NODENAME BUFFERPOS).")
--- a/lisp/informat.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/informat.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; informat.el --- info support functions package for Emacs +;; Maintainer: FSF +;; Last-Modified: 09 May 1991 + ;; Copyright (C) 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (require 'info) ;;;###autoload
--- a/lisp/international/iso-ascii.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/international/iso-ascii.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,4 +1,8 @@ -;;; iso-ascii.el --- set up char tables for ISO 8859/1 character set for ASCII terminals. +;;; iso-ascii.el --- set up char tables for ISO 8859/1 on ASCII terminals. + +;; Author: Howard Gayle +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 ;; Copyright (C) 1987 Free Software Foundation, Inc. @@ -6,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: ;; Written by Howard Gayle. See display-table.el for details. @@ -25,6 +30,8 @@ ;; ASCII terminals. The display strings for the characters are ;; more-or-less based on TeX. +;;; Code: + (require 'disp-table) (standard-display-ascii 160 "{_}") ; NBSP (no-break space)
--- a/lisp/international/iso-insert.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/international/iso-insert.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; iso-insert.el --- insert functions for ISO 8859/1. +;; Author: Howard Gayle +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; Written by Howard Gayle. See case-table.el for details.
--- a/lisp/international/iso-swed.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/international/iso-swed.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,4 +1,8 @@ -;;; iso-swed.el --- set up char tables for ISO 8859/1 for Swedish/Finnish terminals. +;;; iso-swed.el --- set up char tables for ISO 8859/1 for Swedish/Finnish ttys + +;; Author: Howard Gayle +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 ;; Copyright (C) 1987 Free Software Foundation, Inc. @@ -6,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; Written by Howard Gayle. See case-table.el for details.
--- a/lisp/international/swedish.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/international/swedish.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; swedish.el --- miscellaneous functions for dealing with Swedish. +;; Author: Howard Gayle +;; Maintainer: FSF + ;; Copyright (C) 1988 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; Written by Howard Gayle. See case-table.el for details.
--- a/lisp/kermit.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/kermit.el Thu Jul 16 21:47:34 1992 +0000 @@ -10,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -73,6 +73,8 @@ ;; Please let me know if any bugs turn up. ;; Feb 1988, Jeff Norden - jeff@colgate.csnet +;;; Code: + (require 'shell) (defvar kermit-esc-char "\C-\\" "*Kermit's escape char")
--- a/lisp/ledit.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/ledit.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; ledit.el --- Emacs side of ledit interface +;; Maintainer: FSF +;; Last-Modified: 13 May 1991 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;; To do: ;;; o lisp -> emacs side of things (grind-definition and find-definition)
--- a/lisp/loadup.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/loadup.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,5 +1,8 @@ ;;; loadup.el --- load up standardly loaded Lisp files for Emacs. +;; Maintainer: FSF +;; Last-Modified: 14 Jul 1992 + ;; This is loaded into a bare Emacs to make a dumpable one. ;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. @@ -7,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;;; We don't want to have any undo records in the dumped Emacs. (buffer-disable-undo "*scratch*")
--- a/lisp/lpr.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/lpr.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; lpr.el --- print Emacs buffer on line printer. +;; Maintainer: FSF +;; Last-Modified: 19 Apr 1992 + ;; Copyright (C) 1985, 1988, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;;###autoload (defconst lpr-switches nil "\
--- a/lisp/macros.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/macros.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; macros.el --- non-primitive commands for keyboard macros. +;; Maintainer: FSF +;; Last-Modified: 05 Nov 1991 + ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;;###autoload (defun name-last-kbd-macro (symbol)
--- a/lisp/mail/emacsbug.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/emacsbug.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,17 +1,17 @@ ;;; emacsbug.el --- command to report Emacs bugs to appropriate mailing list. +;; Author: K. Shane Hartman ;; Maintainer: FSF ;; Last-Modified: 21 Dec 1991 ;; Not fully installed because it can work only on Internet hosts. ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/mail/mail-utils.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/mail-utils.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; mail-utils.el --- utility functions used both by rmail and rnews +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;; We require lisp-mode to make sure that lisp-mode-syntax-table has ;;; been initialized.
--- a/lisp/mail/mailalias.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/mailalias.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; mailalias.el --- expand mailing address aliases defined in ~/.mailrc. +;; Maintainer: FSF +;; Last-Modified: 01 Jun 1992 + ;; Copyright (C) 1985, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; Called from sendmail-send-it, or similar functions, ;; only if some mail aliases are defined.
--- a/lisp/mail/rmail.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rmail.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; rmail.el --- main code of "RMAIL" mail reader for Emacs. +;; Maintainer: FSF +;; Last-Modified: 24 Apr 1992 + ;; Copyright (C) 1985, 1986, 1987, 1988, 1991, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; Souped up by shane@mit-ajax based on ideas of rlk@athena.mit.edu ;; New features include attribute and keyword support, message
--- a/lisp/mail/rmailedit.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rmailedit.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; rmailedit.el --- "RMAIL edit mode" Edit the current message. +;; Maintainer: FSF +;; Last-Modified: 31 Jul 1991 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (require 'rmail)
--- a/lisp/mail/rmailkwd.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rmailkwd.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; rmailkwd.el --- part of the "RMAIL" mail reader for Emacs. +;; Maintainer: FSF +;; Last-Modified: 31 Oct 1989 + ;; Copyright (C) 1985, 1988 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; Global to all RMAIL buffers. It exists primarily for the sake of ;; completion. It is better to use strings with the label functions
--- a/lisp/mail/rmailmsc.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rmailmsc.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; rmailmsc.el --- miscellaneous support functions for the RMAIL mail reader +;; Maintainer: FSF +;; Last-Modified: 31 Oct 1989 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/mail/rmailout.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rmailout.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; rmailout.el --- "RMAIL" mail reader for Emacs: output message to a file. ;; Maintainer: FSF -;; Last-Modified: 1 Mar 1991 +;; Last-Modified: 01 Mar 1991 ;; Copyright (C) 1985, 1987 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/mail/rmailsort.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rmailsort.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,11 +1,14 @@ ;;; rmailsort.el --- Rmail: sort messages. +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1990 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -17,6 +20,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (require 'rmail) (require 'sort)
--- a/lisp/mail/rmailsum.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rmailsum.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; rmailsum.el --- "RMAIL" mail reader for Emacs. +;; Maintainer: FSF +;; Last-Modified: 30 Nov 1990 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; summary things
--- a/lisp/mail/rnews.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rnews.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; rnews.el --- USENET news reader for gnu emacs +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Change Log: + ;; Created Sun Mar 10,1985 at 21:35:01 ads and sundar@hernes.ai.mit.edu ;; Should do the point pdl stuff sometime ;; finito except pdl.... Sat Mar 16,1985 at 06:43:44 @@ -44,6 +49,9 @@ ;; added caesar-region, rename news-caesar-buffer-body, hacked accordingly ;; tower@prep Nov 21 1986 ;; added tower@prep 22 Apr 87 + +;;; Code: + (require 'mail-utils) (autoload 'rmail-output "rmailout"
--- a/lisp/mail/rnewspost.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/rnewspost.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; rnewspost.el --- USENET news poster/mailer for GNU Emacs +;; Maintainer: FSF +;; Last-Modified: 30 May 1992 + ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; Change Log: + ;; moved posting and mail code from rnews.el ;; tower@prep.ai.mit.edu Wed Oct 29 1986 ;; brought posting code almost up to the revision of RFC 850 for News 2.11 @@ -32,8 +37,6 @@ ;; tower@prep 28 Apr 87 ;; commented out Posting-Front-End to save USENET bytes tower@prep Jul 31 87 ;; commented out -n and -t args in news-inews tower@prep 15 Oct 87 -(require 'sendmail) -(require 'rnews) ;Now in paths.el. ;(defvar news-inews-program "inews" @@ -48,6 +51,11 @@ ;;; >> Nuked by Mly to autoload those functions again, as the duplication of ;;; >> code was making maintenance too difficult. +;;; Code: + +(require 'sendmail) +(require 'rnews) + (defvar news-reply-mode-map () "Mode map used by news-reply.") (or news-reply-mode-map
--- a/lisp/mail/sendmail.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/sendmail.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; sendmail.el --- mail sending commands for Emacs. +;; Maintainer: FSF +;; Last-Modified: 24 Jun 1992 + ;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;;###autoload (defconst mail-self-blind nil "\
--- a/lisp/mail/undigest.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/mail/undigest.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; undigest.el --- digest-cracking support for the RMAIL mail reader +;; Maintainer: FSF +;; Last-Modified: 14 Jul 1992 + ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,7 +21,11 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; note Interent RFP934 +;;; Commentary: + +;; See Internet RFC 934 + +;;; Code: (defun undigestify-rmail-message () "Break up a digest message into its constituent messages.
--- a/lisp/makesum.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/makesum.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; makesum.el --- generate key binding summary for Emacs ;; Maintainer: FSF -;; Last-Modified: 9 May 1991 +;; Last-Modified: 09 May 1991 ;; Copyright (C) 1985 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/map-ynp.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/map-ynp.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,11 +1,13 @@ ;;; map-ynp.el --- General-purpose boolean question-asker. +;; Author: Roland McGrath <roland@gnu.ai.mit.edu> +;; Last-Modified: 14 Mar 1992 + ;;; Copyright (C) 1991, 1992 Free Software Foundation, Inc. -;;; Written by Roland McGrath. ;;; ;;; This program is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 1, or (at your option) +;;; the Free Software Foundation; either version 2, or (at your option) ;;; any later version. ;;; ;;; This program is distributed in the hope that it will be useful, @@ -17,7 +19,9 @@ ;;; program's author (send electronic mail to roland@ai.mit.edu) or from ;;; the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA ;;; 02139, USA. -;;; + +;;; Commentary: + ;;; map-y-or-n-p is a general-purpose question-asking function. ;;; It asks a series of y/n questions (a la y-or-n-p), and decides to ;;; applies an action to each element of a list based on the answer. @@ -26,6 +30,8 @@ ;;; questions; ESC or q to answer n to all remaining questions; . to answer ;;; y once and then n for the remainder; and you can get help with C-h. +;;; Code: + (defun map-y-or-n-p-help (object objects action) (format "Type SPC or `y' to %s the current %s; DEL or `n' to skip the current %s;
--- a/lisp/misc.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/misc.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; misc.el --- basic editing commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 31 Oct 1989 + ;; Copyright (C) 1989 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defun copy-from-above-command (&optional arg) "Copy characters from previous nonblank line, starting just above point.
--- a/lisp/novice.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/novice.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; novice.el --- handling of disabled commands ("novice mode") for Emacs. +;; Maintainer: FSF +;; Last-Modified: 22 May 1991 + ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; Code: ;; This function is called (by autoloading) ;; to handle any disabled command.
--- a/lisp/options.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/options.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; options.el --- edit Options command for Emacs. +;; Maintainer: FSF +;; Last-Modified: 10 Apr 1991 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;;###autoload (defun list-options ()
--- a/lisp/paths.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/paths.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; paths.el --- define pathnames for use by various Emacs commands. +;; Maintainer: FSF +;; Last-Modified: 05 Dec 1991 + ;; Copyright (C) 1986, 1988 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: ;; These are default settings for names of certain files and directories ;; that Emacs needs to refer to from time to time. @@ -25,6 +29,8 @@ ;; If these settings are not right, override them with `setq' ;; in site-init.el. Do not change this file. +;;; Code: + (defvar Info-default-directory-list (list "/usr/local/lib/info/" (expand-file-name "../info/" data-directory))
--- a/lisp/play/dissociate.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/play/dissociate.el Thu Jul 16 21:47:34 1992 +0000 @@ -2,6 +2,7 @@ ;; Maintainer: FSF ;; Last-Modified: 09 May 1991 +;; Keywords: games ;; Copyright (C) 1985 Free Software Foundation, Inc. @@ -9,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/play/doctor.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/play/doctor.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; doctor.el --- psychological help for frustrated users. +;; Maintainer: FSF +;; Last-Modified: 24 Apr 1992 +;; Keywords: games + ;; Copyright (C) 1985, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defun doctor-cadr (x) (car (cdr x))) (defun doctor-caddr (x) (car (cdr (cdr x))))
--- a/lisp/play/gomoku.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/play/gomoku.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,17 @@ ;;; gomoku.el --- Gomoku game between you and Emacs +;; Author: Phillippe Schnoebelen <phs@lifia.imag.fr> +;; Last-Modified: 16 Mar 1992 +;; Adapted-By: ESR +;; Keywords: games + ;; Copyright (C) 1988 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +23,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;;; Gomoku game between you and GNU Emacs. Last modified on 13 Sep 1988 ;;; ;;; Written by Ph. Schnoebelen (phs@lifia.imag.fr), 1987, 1988 @@ -74,6 +81,8 @@ ;; The algorithm is briefly described in section "THE SCORE TABLE". Some ;; parameters may be modified if you want to change the style exhibited by the ;; program. + +;;; Code: ;;; ;;; GOMOKU MODE AND KEYMAP.
--- a/lisp/play/life.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/play/life.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,15 @@ ;;; life.el --- John Horton Conway's `Life' game for GNU Emacs +;; Author: Kyle Jones <talos!kjones@uunet.uu.net> +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1988 Free Software Foundation, Inc. -;; Contributed by Kyle Jones, talos!kjones@uunet.uu.net ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (defconst life-patterns [("@@@" " @@" "@@@") ("@@@ @@@" "@@ @@ " "@@@ @@@")
--- a/lisp/play/spook.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/play/spook.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; spook.el --- spook phrase utility for overloading the NSA line eater ;;; Maintainer: FSF -;;; Last-modified: 05 Dec 1991 +;;; Last-Modified: 05 Dec 1991 ;; Copyright (C) 1988 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/play/yow.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/play/yow.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; yow.el --- generate random zippyisms ;; Maintainer: FSF -;; Last-modified: 14 Jun 1992 +;; Last-Modified: 14 Jun 1992 ;; Copyright (C) 1985, 1987 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/progmodes/c-mode.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/progmodes/c-mode.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; c-mode.el --- C code editing commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 11 Jul 1992 +;; Keywords: c + ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defvar c-mode-abbrev-table nil "Abbrev table in use in C mode.")
--- a/lisp/progmodes/cmacexp.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/progmodes/cmacexp.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; cmacexp.el --- C macro expansion +;; Maintainer: FSF +;; Last-Modified: 17 Apr 1992 +;; Keywords: c + ;; Copyright (C) 1988 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defvar c-macro-preprocessor "/lib/cpp" "*Command to be used for C preprocessing.")
--- a/lisp/progmodes/etags.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/progmodes/etags.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,4 +1,8 @@ -;; Tags facility for Emacs. +;; etags.el --- etags facility for Emacs + +;; Author: Roland McGrath <roland@gnu.ai.mit.edu> +;; Keywords: tools + ;; Copyright (C) 1985, 1986, 1988, 1989, 1991, 1992 ;; Free Software Foundation, Inc. @@ -18,6 +22,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;;;###autoload (defvar tags-file-name nil "\ *File name of tags table. @@ -1079,3 +1085,5 @@ ;;;###autoload (define-key esc-map "?" 'complete-tag) ;? XXX (provide 'etags) + +;;; etags.el ends here
--- a/lisp/progmodes/fortran.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/progmodes/fortran.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,6 +1,30 @@ -;;; fortran.el --- Fortran mode for GNU Emacs (version 1.28.3, July 15, 1991) +;;; fortran.el --- Fortran mode for GNU Emacs + +;; Author: Michael D. Prange <prange@erl.mit.edu> +;; Maintainer: bug-fortran-mode@erl.mit.edu +;; Version 1.28.3 +;; Last-Modified: 15 Jul 1991 ;;; Copyright (c) 1991 Free Software Foundation, Inc. + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to +;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. + +;;; Commentary: + ;;; Written by Michael D. Prange (prange@erl.mit.edu) ;;; Maintained (as of version 1.28) by Stephen A. Wood (saw@hallc1.cebaf.gov) ;;; This version is an update of version 1.21 (Oct 1, 1985). @@ -70,26 +94,12 @@ ;;; 14. When in tab mode, the fortran column ruler will not be correct if ;;; tab-width is not 8. -;; This file is part of GNU Emacs. - -;; GNU Emacs is free software; you can redistribute it and/or modify -;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) -;; any later version. - -;; GNU Emacs is distributed in the hope that it will be useful, -;; but WITHOUT ANY WARRANTY; without even the implied warranty of -;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -;; GNU General Public License for more details. - -;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - ;;; Author acknowledges help from Stephen Gildea <gildea@erl.mit.edu> ;;; Bugs to bug-fortran-mode@erl.mit.edu +;;; Code: + ;;;###autoload (defvar fortran-tab-mode-default nil "*Default tabbing/carriage control style for empty files in fortran mode.
--- a/lisp/progmodes/icon.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/progmodes/icon.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,19 +1,16 @@ ;;; icon.el --- mode for editing Icon code -;; Note: use -;; (autoload 'icon-mode "icon" nil t) -;; (setq auto-mode-alist (cons '("\\.icn$" . icon-mode) auto-mode-alist)) -;; if not permanently installed in your emacs +;; Author: Chris Smith <convex!csmith> +;; Created: 15 Feb 89 +;; Last-Modified: 06 Mar 1991 -;; Icon code editing commands for Emacs -;; Derived from c-mode.el 15-Feb-89 Chris Smith convex!csmith ;; Copyright (C) 1989 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -25,6 +22,14 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + +;; Note: use +;; (autoload 'icon-mode "icon" nil t) +;; (setq auto-mode-alist (cons '("\\.icn$" . icon-mode) auto-mode-alist)) +;; if not permanently installed in your emacs + +;;; Code: (defvar icon-mode-abbrev-table nil "Abbrev table in use in Icon-mode buffers.")
--- a/lisp/progmodes/prolog.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/progmodes/prolog.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,15 @@ ;;; prolog.el --- major mode for editing and running Prolog under Emacs +;; Author: Masanobu UMEDA <umerin@flab.flab.fujitsu.junet> +;; Last-Modified: 08 May 1989 + ;; Copyright (C) 1986, 1987 Free Software Foundation, Inc. -;; Author Masanobu UMEDA (umerin@flab.flab.fujitsu.junet) ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (defvar prolog-mode-syntax-table nil) (defvar prolog-mode-abbrev-table nil) (defvar prolog-mode-map nil)
--- a/lisp/progmodes/scheme.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/progmodes/scheme.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,17 @@ ;;; scheme.el --- Scheme mode, and its idiosyncratic commands. +;; Author: Bill Rozas <jinz@prep.ai.mit.edu> +;; Last-Modified: 16 Mar 1992 + +;;; $Header: scheme.el,v 1.7 88/07/15 20:20:00 GMT cph Exp $ + ;; Copyright (C) 1986, 1987, 1988 Free Software Foundation, Inc. -;; Adapted from Lisp mode by Bill Rozas, jinx@prep. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,13 +23,14 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: +;; Adapted from Lisp mode by Bill Rozas, jinx@prep. ;; Initially a query replace of Lisp mode, except for the indentation ;; of special forms. Probably the code should be merged at some point ;; so that there is sharing between both libraries. -;;; $Header: scheme.el,v 1.7 88/07/15 20:20:00 GMT cph Exp $ - +;;; Code: (defvar scheme-mode-syntax-table nil "") (if (not scheme-mode-syntax-table)
--- a/lisp/rect.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/rect.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; rect.el --- rectangle functions for GNU Emacs. ;; Maintainer: FSF -;; Last-Modified: 9 May 1991 +;; Last-Modified: 09 May 1991 ;; Copyright (C) 1985 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/register.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/register.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; register.el --- register commands for Emacs. ;; Maintainer: FSF -;; Last-Modified: 9 Jul 1992 +;; Last-Modified: 09 Jul 1992 ;; Copyright (C) 1985 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/reposition.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/reposition.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; reposition.el --- center a Lisp function or comment on the screen +;; Author: Michael D. Ernst <mernst@theory.lcs.mit.edu> +;; Maintainer: FSF +;; Last-Modified: 13 May 1991 + ;; Copyright (C) 1991 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;;; Written by Michael D. Ernst, mernst@theory.lcs.mit.edu, Jan 1991. ;;; Reposition-window makes an entire function definition or comment visible, @@ -32,6 +38,8 @@ ;;; after one of the same name in ZMACS, but the code is all-new and the ;;; behavior in some situations differs. +;;; Code: + ;;;###autoload (defun reposition-window (&optional arg) "Make the current definition and/or comment visible.
--- a/lisp/rot13.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/rot13.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; rot13.el --- display a buffer in rot13. +;; Author: Howard Gayle: +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1988 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,11 +22,14 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; Commentary: ;; Written by Howard Gayle. See case-table.el for details. ;; This hack is mainly to show off the char table stuff. +;;; Code: + (defvar rot13-display-table (let ((table (make-display-table)) (i 0))
--- a/lisp/server.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/server.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; server.el --- Lisp code for GNU Emacs running as server process. ;; Author: William Sommerfeld <wesommer@athena.mit.edu> -;; Last-Modified: 5 Dec 1991 +;; Last-Modified: 05 Dec 1991 ;; Changes by peck@sun.com and by rms. @@ -11,7 +11,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/shell.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/shell.el Thu Jul 16 21:47:34 1992 +0000 @@ -9,7 +9,7 @@ ;;; GNU Emacs is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 1, or (at your option) +;;; the Free Software Foundation; either version 2, or (at your option) ;;; any later version. ;;; GNU Emacs is distributed in the hope that it will be useful, @@ -579,7 +579,7 @@ ;;; The variables and functions that were changed to have "cmushell-" ;;; prefixes are: ;;; shell-directory-stack (v), shell-directory-tracker (f) -;;; This should not affect users, only elisp hackers. Hopefully +;;; This should not affect users, only Emacs Lisp hackers. Hopefully ;;; one day shell.el will just go away, and we can drop all this ;;; "cmushell" bullshit. ;;; - Upgraded process sends to use comint-send-string instead of
--- a/lisp/sort.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/sort.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; sort.el --- commands to sort text in an Emacs buffer. +;; Author: Howie Kaye +;; Maintainer: FSF +;; Last-Modified: 28 Aug 1990 + ;; Copyright (C) 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,7 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; Original version of most of this contributed by Howie Kaye +;;; Code: (defun sort-subr (reverse nextrecfun endrecfun &optional startkeyfun endkeyfun) "General text sorting routine to divide buffer into records and sort them.
--- a/lisp/sun-curs.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/sun-curs.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; sun-cursors.el --- cursor definitions for Sun windows +;; Author: Jeff Peck <peck@sun.com> +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;;; ;;; Added some more cursors and moved the hot spots ;;; Cursor defined by 16 pairs of 16-bit numbers
--- a/lisp/sun-fns.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/sun-fns.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; sun-fns.el --- subroutines of Mouse handling for Sun windows +;; Author: Jeff Peck <peck@sun.com> +;; Last-Modified: 14 Aug 1987 + ;; Copyright (C) 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;;; Submitted Mar. 1987, Jeff Peck ;;; Sun Microsystems Inc. <peck@sun.com> ;;; Conceived Nov. 1986, Stan Jefferson, @@ -25,7 +30,6 @@ ;;; GoodIdeas Feb. 1987, Steve Greenbaum ;;; & UpClicks Reasoning Systems, Inc. ;;; -(require 'sun-mouse) ;;; ;;; Functions for manipulating via the mouse and mouse-map definitions ;;; for accessing them. Also definitons of mouse menus. @@ -48,6 +52,11 @@ ;;; bind the mouse button to an s-exp that contains the necessary parameters. ;;; See "minibuffer" bindings for examples. ;;; + +;;; Code: + +(require 'sun-mouse) + (defconst cursor-pause-milliseconds 300 "*Number of milliseconds to display alternate cursor (usually the mark)")
--- a/lisp/tabify.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/tabify.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; tabify.el --- tab conversion commands for Emacs ;; Maintainer: FSF -;; Last-Modified: 9 May 1991 +;; Last-Modified: 09 May 1991 ;; Copyright (C) 1985 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/tar-mode.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/tar-mode.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; tar-mode.el --- simple editing of tar files from GNU emacs ;; Author: Jamie Zawinski <jwz@lucid.com> -;; Created: 4 Apr 1990 +;; Created: 04 Apr 1990 ;; Version: 1.21 ;; Last-Modified: 10 Mar 1991 @@ -11,7 +11,7 @@ ;;; ;;; GNU Emacs is free software; you can redistribute it and/or modify ;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 1, or (at your option) +;;; the Free Software Foundation; either version 2, or (at your option) ;;; any later version. ;;; ;;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/term/bg-mouse.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/term/bg-mouse.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,18 @@ ;;; bg-mouse.el --- GNU Emacs code for BBN Bitgraph mouse. +;; Author: John Robinson <jr@bbn-unix.arpa> +;; Stephen Gildea <gildea@bbn.com> +;; Maintainer: FSF +;; Last-Modified: 14 Jul 1992 +;; Keywords: hardware + ;; Copyright (C) Free Software Foundation, Inc. Oct 1985. -;; Time stamp <89/03/21 14:27:08 gildea> ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,9 +24,11 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;; Original version by John Robinson (jr@bbn-unix.arpa, bbncca!jr), Oct 1985 ;;; Modularized and enhanced by gildea@bbn.com Nov 1987 +;;; Time stamp <89/03/21 14:27:08 gildea> ;;; User customization option: @@ -62,9 +69,9 @@ (interactive "P") (bg-get-tty-num semicolon) (let* - ((screen-mouse-x (min (1- (screen-width)) ;don't hit column 86! + ((screen-mouse-x (min (1- (frame-width)) ;don't hit column 86! (/ (bg-get-tty-num semicolon) 9))) - (screen-mouse-y (- (1- (screen-height)) ;assume default font size. + (screen-mouse-y (- (1- (frame-height)) ;assume default font size. (/ (bg-get-tty-num semicolon) 16))) (bg-mouse-buttons (% (bg-get-tty-num ?c) 8)) (bg-mouse-window (bg-window-from-x-y screen-mouse-x screen-mouse-y))
--- a/lisp/term/sun-mouse.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/term/sun-mouse.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; sun-mouse.el --- mouse handling for Sun windows +;; Author: Jeff Peck +;; Maintainer: FSF +;; Last-Modified: 14 Jul 1992 + ;; Copyright (C) 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;;; Jeff Peck, Sun Microsystems, Jan 1987. ;;; Original idea by Stan Jefferson @@ -34,6 +40,8 @@ ;;; extra-click-wait, scrollbar-width ;;; +;;; Code: + (defvar extra-click-wait 150 "*Number of milliseconds to wait for an extra click. Set this to zero if you don't want chords or double clicks.")
--- a/lisp/term/sup-mouse.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/term/sup-mouse.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,15 +1,11 @@ -;;; sup-mouse.el --- GNU Emacs code for lambda/supdup mouse +;;; sup-mouse.el --- supdup mouse support for lisp machines -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; -;; ;; -;; File: sup-mouse.el ;; -;; Author: Wolfgang Rupprecht ;; -;; Created: Fri Nov 21 19:22:22 1986 ;; -;; Contents: supdup mouse support for lisp machines ;; -;; ;; -;; (from code originally written by John Robinson@bbn for the bitgraph) ;; -;; ;; -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; Author: Wolfgang Rupprecht +;; Maintainer: FSF +;; Created: 21 Nov 1986 +;; Last-Modified: 16 Mar 1992 + +;; (from code originally written by John Robinson@bbn for the bitgraph) ;; Copyright (C) Free Software Foundation 1985, 1986 @@ -17,7 +13,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -29,6 +25,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;;; User customization option: (defvar sup-mouse-fast-select-window nil
--- a/lisp/terminal.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/terminal.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; terminal.el --- terminal emulator for GNU Emacs. +;; Author: Richard Mlynarik <mly@eddie.mit.edu> +;; Maintainer: FSF +;; Last-Modified: 05 May 1992 + ;; Copyright (C) 1986, 1987, 1988, 1989 Free Software Foundation, Inc. -;; Written by Richard Mlynarik, November 1986. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;;>>TODO ;;>> terminfo? ;;>> ** Nothing can be done about emacs' meta-lossage **
--- a/lisp/textmodes/bib-mode.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/bib-mode.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,16 @@ ;;; bib-mode.el --- bib-mode, major mode for editing bib files. +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 +;; Keywords: bib + ;; Copyright (C) 1989 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;; Bib-Mode ;; GNU Emacs code to help maintain databases compatible with (troff)
--- a/lisp/textmodes/bibtex.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/bibtex.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,12 @@ ;;; bibtex.el --- BibTeX mode for GNU Emacs -;; Copyright (C) 1985, 1986, 1987, 1990 Free Software Foundation, Inc. +;; Copyright (C) 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,40 +18,24 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;;; Mike Newton (newton@gumby.cs.caltech.edu) 92.2.11 -;;; * Fixed bibtex-field string to allow things like: -;;; author = "{S}schr\"odinger" or -;;; author = "{S}schr\"{o}dinger" or -;;; author = "{S}schr{\"o}dinger" or -;;; NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE -;;; NOTE: This is the last update I plan to do. -;;; NOTE: the previous version was submitted and, according to RMS, -;;; accepted as the release version for ver 19. -;;; NOTE: PLEASE DO NOT SEND ME ANY MORE 'PLEASE ADD THIS' MESSAGES. -;;; NOTE: I am no longer taking care of this package. -;;; NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE NOTE +;;; (current keeper: shapiro@corto.inria.fr) -;;; Mike Newton (newton@gumby.cs.caltech.edu) 91.1.24 -;;; * bibtex-make-optional-field : modified to make fields align up after -;;; the OPT's have been removed. -;;; * bibtex-make-optional-field : modified to check bibtex-use-OPT-prefix -;;; * bibtex-make*field : modified to call new procedure: -;;; * bibtex-insert-field-delimeters : which does delimeter insertion based on -;;; * bibtex-curly-delimeters : a list of atoms -;;; * fixed spelling of bibtex-name-alignment wherever used -;;; * bibtex-inside-field : allows '}'s at end -;;; * bibtex-find-text : allows '{' and '}'s at start or end -;;; * bibtex-enclosing-regexp fixed for case where start-point was at end of -;;; pattern. -;;; * bibtex-clean-entry : allow bibtex-save-OPT to save some optional fields -;;; * bibtex-move-outside-of-entry : could overwrite first line of a following -;;; comment or other text if it did not look like a bibtex entry - -;;; Mike Newton (newton@gumby.cs.caltech.edu) 91.1.20 -;;; * bibtex.el/bibtex-mode : updated comments to indicate new use of -;;; address, add minor explanations and fix small omissions. -;;; * bibtex.el/bibtex-entry : fixed spelling of variable - +;;; alarson@src.honeywell.com 92-Jan-31 +;;; Added support for: ispell, beginning/end of entry movement, a simple +;;; outline like mode (hide the bodies of bibtex entries), support for +;;; sorting bibtex entries, and maintaining them in sorted order, and +;;; simple buffer validation. +;;; User visible functions added: +;;; ispell-{abstract,bibtex-entry}, {beginning,end}-of-bibtex-entry +;;; hide-bibtex-entry-bodies, sort-bibtex-entries, validate-bibtex- +;;; buffer, find-bibtex-duplicates +;;; user visible variables added: +;;; bibtex-maintain-sorted-entries +;;; new local keybindings: +;;; " TeX-insert-quote +;;; C-c$ ispell-bibtex-entry +;;; M-C-a beginning-of-bibtex-entry +;;; M-C-e end-of-bibtex-entry ;;; Mike Newton (newton@gumby.cs.caltech.edu) 90.11.17 ;;; * Handle items like ;;; title = poft # "Fifth Tri-quaterly" # random-conf, @@ -60,17 +44,11 @@ ;;; * fixed 'bibtex-find-it's doc string's location ;;; * bibtex-field-text made more general (it wouldnt handle the # construct) ;;; and it now handles a small subset of the {} cases -;;; * put DEA thesis back in (why get rid of good code?) -;;; * merged into release 19 version code -;;; * if cross-ref'ing is on, put 'pages' near top of OPTs, as the other -;;; entries are unlikely to be used. -;;; * skip-whitespace replaced by skip-chars-forward (also done -;;; by Marc Shairo) ;;; Bengt Martensson, March 6 ;;; Adapted to Bibtex 0.99 by updating the optional fields according ;;; to the document BibTeXing, Oren Patashnik, dated January 31, 1988. -;;; Updated documentation strings accordingly. Added . +;;; Updated documentation strings accordingly. Added (provide 'bibtex). ;;; If bibtex-include-OPT-crossref is non-nil, every entry will have ;;; an OPTcrossref field, analogously for bibtex-include-OPTkey and ;;; bibtex-include-OPTannote. Added bibtex-preamble, bound to ^C^EP, @@ -80,13 +58,14 @@ ;;; correctly, BibTeX 0.99 broke it.) ;;; Added bibtex-clean-entry-zap-empty-opts, defvar'd to t. If it ;;; is nil, bibtex-clean-entry will leave empty optional fields alone. - + ;;; Marc Shapiro 1-feb-89: integrated changes by Bengt Martensson 88-05-06: ;;; Added Sun menu support. Locally bound to right mouse button in ;;; bibtex-mode. Emacs 18.49 allows local mouse bindings!! ;;; Commented out DEAthesis. ;;; Marc Shapiro 6-oct-88 +;;; * skip-whitespace replaced by skip-chars-forward ;;; * use indent-to-column instead of inserting tabs (changes to ;;; bibtex-entry, bibtex-make-entry, bibtex-make-OPT-entry, renamed to ;;; bibtex-make-optional-entry) @@ -100,6 +79,7 @@ ;;; * bibtex-clean-entry signals mandatory fields left empty. ;;; Marc Shapiro 18-jul-88 +;;; * Fixed bug in bibtex-flash-entry ;;; * Moved all the entry type keystrokes to "C-c C-e something" (instead of ;;; "C-c something" previously) to make room for more. C-c C-e is ;;; supposed to stand for "entry" [idea taken from mail-mode]. Moved @@ -132,7 +112,7 @@ ;;; run-hooks ;;; Bengt Martensson <ubrinf!mond!bengt> 87-06-28 -;;; (Bengt Martensson <bengt@mathematik.uni-Bremen.de> 87-06-28) +;;; Bengt Martensson <bengt@mathematik.uni-Bremen.de> 87-06-28 ;;; Original version ;;; NOTE by Marc Shapiro, 14-dec-87: @@ -140,37 +120,42 @@ ;;; Trouble is, in Emacs 18.44 you can't have a mode-specific mouse binding, ;;; so it will remain active in all windows. Yuck! +(provide 'bibtex) + +;;; these guys typically don't have autoloads...[alarson:19920131.1548CST] +(if (not (fboundp 'TeX-insert-quote)) + (autoload 'TeX-insert-quote "tex-mode")) +(if (not (fboundp 'sort-subr)) + (autoload 'sort-subr "sort")) + + + (defvar bibtex-mode-syntax-table nil "") (defvar bibtex-mode-abbrev-table nil "") (define-abbrev-table 'bibtex-mode-abbrev-table ()) (defvar bibtex-mode-map (make-sparse-keymap) "") + (defvar bibtex-pop-previous-search-point nil "Next point where bibtex-pop-previous should start looking for a similar entry.") + (defvar bibtex-pop-next-search-point nil "Next point where bibtex-pop-next should start looking for a similar entry.") (defvar bibtex-clean-entry-zap-empty-opts t "*If non-nil, bibtex-clean-entry will delete all empty optional fields.") + (defvar bibtex-include-OPTcrossref t "*If non-nil, all entries will have an OPTcrossref field.") (defvar bibtex-include-OPTkey t "*If non-nil, all entries will have an OPTkey field.") (defvar bibtex-include-OPTannote t "*If non-nil, all entries will have an OPTannote field.") -(defvar bibtex-use-OPT-prefix t - "*If non-nil, put OPT string before optionals. Usually desired!") -(defvar bibtex-save-OPT nil - "*List of atoms (representing strings) which are optional fields that -should not be deleted if null.") -(defvar bibtex-curly-delimeters nil - "List of atoms representing strings (in any case) that should have curly -braces used as their delimeters instead of double quotes.") - ;; note: the user should be allowed to have their own list of always ;; available optional fields. exs: "keywords" "categories" + (defvar bibtex-mode-user-optional-fields nil ;no default value "*List of optional fields that user want to have as always present when making a bibtex entry. One possibility is for ``keywords''") @@ -208,40 +193,32 @@ ;; key = {Volume-2}, ;; note = "Volume~2 is listed under Knuth \cite{book-full}" ;; i have added a few of these, but not all! -- MON -;; 92.2.11: also must handle: -;; author = "{S}schr\"odinger" or -;; author = "{S}schr\"{o}dinger" or -;; author = "{S}schr{\"o}dinger" or - (defconst bibtex-field-const "[0-9A-Za-z][---A-Za-z0-9:_+]*" "Format of a bibtex field constant.") -(defconst bibtex-field-string ;;was:(concat "\"[^\"]*[^\\\\]\"\\|\"\"") +(defconst bibtex-field-string (concat - "\"\\([^\"]*[\\\\][\"]\\)*[^\"]*[^\\\\]\"" - "\\|" ;ie: OR - "\"\"" - "\\|" ;ie: OR - "\"[^\"]*[^\\\\]\"") - "Match either a \"-d string or an empty string or a plain string.") + "\"[^\"]*[^\\\\]\"\\|\"\"") + "Match either a string or an empty string.") + (defconst bibtex-field-string-or-const (concat bibtex-field-const "\\|" bibtex-field-string) "Match either bibtex-field-string or bibtex-field-const.") -;(defconst bibtex-field-text -; "\"[^\"]*[^\\\\]\"\\|\"\"\\|[0-9A-Za-z][---A-Za-z0-9:_+]*" -; "Regexp defining the text part of a bibtex field: either a string, or an empty string, or a constant.") - (defconst bibtex-field-text (concat "\\(" bibtex-field-string-or-const "\\)" "\\([ \t\n]+#[ \t\n]+\\(" bibtex-field-string-or-const "\\)\\)*\\|" - "{[^{}]*[^\\\\]}" "\\|" "{}") + "{[^{}]*[^\\\\]}") "Regexp defining the text part of a bibtex field: either a string, or an empty string, or a constant followed by one or more # / constant pairs. -Also matches simple {...} patterns, including the special case {}.") +Also matches simple {...} patterns.") + +;(defconst bibtex-field-text +; "\"[^\"]*[^\\\\]\"\\|\"\"\\|[0-9A-Za-z][---A-Za-z0-9:_+]*" +; "Regexp defining the text part of a bibtex field: either a string, or an empty string, or a constant.") (defconst bibtex-field (bibtex-cfield bibtex-field-name bibtex-field-text) @@ -256,7 +233,6 @@ (defconst bibtex-reference-type "@[A-Za-z]+" "Regexp defining the type part of a bibtex reference entry") - (defconst bibtex-reference-head (concat "^[ \t]*\\(" bibtex-reference-type @@ -281,7 +257,7 @@ "The regexp subexpression number of the key part in bibtex-reference") -;;; string definitions. note bibtex-string is a constant and a defun ! +;;; strings (defconst bibtex-string (concat "^[ \t]*@[sS][tT][rR][iI][nN][gG][ \t\n]*[({][ \t\n]*\\(" bibtex-field-name @@ -289,13 +265,12 @@ bibtex-field-text "\\)[ \t\n]*[})]") "Regexp defining the format of a bibtex string entry") - (defconst bibtex-name-in-string 1 "The regexp subexpression of the name part in bibtex-string") (defconst bibtex-text-in-string 2 "The regexp subexpression of the text part in bibtex-string") -(defconst bibtex-name-alignment 2 +(defconst bibtex-name-alignement 2 "Alignment for the name part in BibTeX fields. Chosen on aesthetic grounds only.") @@ -334,7 +309,7 @@ Fields: address - Publisher's address, or for conference, location held + Publisher's address annote Long annotation used for annotated bibliographies (begins sentence) author @@ -343,11 +318,11 @@ Book title when the thing being referenced isn't the whole book. For book entries, the title field should be used instead. chapter - Chapter number (or section or whatever). + Chapter number crossref The database key of the entry being cross referenced. edition - Edition of a book (e.g., \"second\") + Edition of a book (e.g., ""second"") editor Name(s) of editor(s), in BibTeX name format. If there is also an author field, then the editor field should be @@ -359,8 +334,7 @@ journal Journal name (macros are provided for many) key - Alphabetizing, labeling and cross-refing key (needed when no - author or editor) + Alphabetizing and labeling key (needed when no author or editor) month Month (macros are provided) note @@ -381,8 +355,8 @@ title The title of the thing being referenced type - Type of a technical report (e.g., \"Research Note\") to be used - instead of the default \"Technical Report\" + Type of a technical report (e.g., ""Research Note"") to be used + instead of the default ""Technical Report"" volume Volume of a journal or multivolume work year @@ -425,6 +399,12 @@ (define-key bibtex-mode-map "\C-c\C-k" 'bibtex-kill-optional-field) (define-key bibtex-mode-map "\C-c\C-d" 'bibtex-empty-field) + ;; [alarson:19920131.1543CST] + (define-key bibtex-mode-map "\"" 'TeX-insert-quote) + (define-key bibtex-mode-map "\C-c$" 'ispell-bibtex-entry) + (define-key bibtex-mode-map "\M-\C-a" 'beginning-of-bibtex-entry) + (define-key bibtex-mode-map "\M-\C-e" 'end-of-bibtex-entry) + (define-key bibtex-mode-map "\C-c\C-e\C-a" 'bibtex-Article) (define-key bibtex-mode-map "\C-c\C-e\C-b" 'bibtex-Book) (define-key bibtex-mode-map "\C-c\C-e\C-d" 'bibtex-DEAthesis) @@ -459,9 +439,182 @@ (t (backward-paragraph) (forward-paragraph))) - (re-search-forward "[ \t\n]*" (point-max) t) - (insert "\n") - (forward-char -1)) + (re-search-forward "[ \t\n]*" (point-max) t)) + +(defun ispell-abstract () + (interactive) + (beginning-of-bibtex-entry) + (re-search-forward "^[ \t]*[OPT]*abstract[ \t]*=") + (ispell-region (point) + (save-excursion (forward-sexp) (point)))) + +(defun beginning-of-bibtex-entry () + (interactive) + (re-search-backward "^@" nil 'move)) + +(defun end-of-bibtex-entry () + (interactive) + (re-search-forward "}$" nil 'move)) + +(defun ispell-bibtex-entry () + (interactive) + (ispell-region (progn (beginning-of-bibtex-entry) (point)) + (progn (end-of-bibtex-entry) (point)))) + +(defun narrow-to-bibtex-entry () + (interactive) + (save-excursion + (narrow-to-region (progn (beginning-of-bibtex-entry) (point)) + (progn (end-of-bibtex-entry) (point))))) + + +(defun beginning-of-first-bibtex-entry () + (goto-char (point-min)) + (cond + ((re-search-forward "^@" nil 'move) + (beginning-of-line)) + ((and (bobp) (eobp)) + nil) + (t + (message "Warning: No bibtex entries found!")))) + +(defun hide-bibtex-entry-bodies (&optional arg) + "Hide all lines between first and last bibtex entries not beginning with @. +With argument, show all text." + (interactive "P") + (beginning-of-first-bibtex-entry) + ;; subst-char-in-region modifies the buffer, despite what the + ;; documentation says... + (let ((modifiedp (buffer-modified-p)) + (buffer-read-only nil)) + (if arg + (subst-char-in-region (point) (point-max) ?\r ?\n t) + (while (save-excursion (re-search-forward "\n[^@]" (point-max) t)) + (save-excursion (replace-regexp "\n\\([^@]\\)" "\r\\1")))) + (setq selective-display (not arg)) + (set-buffer-modified-p modifiedp))) + +(defun sort-bibtex-entries () + "Sort bibtex entries alphabetically by key. +Text before the first bibtex entry, and following the last is not effected. +Bugs: + 1. Text between the closing brace ending one bibtex entry, and the @ starting + the next, is considered part of the PRECEEDING entry. Perhaps it should be + part of the following entry." + (interactive) + (save-restriction + (beginning-of-first-bibtex-entry) + (narrow-to-region (point) + (save-excursion + (goto-char (point-max)) + (beginning-of-bibtex-entry) + (end-of-bibtex-entry) + (point))) + (sort-subr nil ; reversep + ;; begining of record function + 'forward-line + ;; end of record function + (function (lambda () (and (re-search-forward "}[ \t]*\n[\n \t]*@" nil 'move) + (forward-char -2)))) + ;; start of key function + (function (lambda () (re-search-forward "{[ \t]*") nil)) + ;; end of key function + (function (lambda () (search-forward ","))) + ))) + +(defun map-bibtex-entries (fun) + "Call FUN for each bibtex entry starting with the current, to the end of the file. +FUN is called with one argument, the key of the entry, and with point inside the entry." + (beginning-of-bibtex-entry) + (while (re-search-forward "^@[^{]*{[ \t]*\\([^,]*\\)" nil t) + (funcall fun (buffer-substring (match-beginning 1) (match-end 1))))) + +(defun find-bibtex-entry-location (entry-name) + (interactive "sBibtex entry key: ") + "Searches from beginning of current buffer looking for place to put the +bibtex entry named ENTRY-NAME. Buffer is assumed to be in sorted order, +without duplicates (see \\[sort-bibtex-entries]), if it is not, an error will +be signalled." + (let ((previous nil) + point) + (beginning-of-first-bibtex-entry) + (or (catch 'done + (map-bibtex-entries (function (lambda (current) + (cond + ((string-equal entry-name current) + (error "Entry duplicates existing!")) + ((or (null previous) + (string< previous current)) + (setq previous current + point (point)) + (if (string< entry-name current) + (progn + (beginning-of-bibtex-entry) + ;; Many schemes append strings to + ;; existing entries to resolve them, + ;; so initial substring matches may + ;; indicate a duplicate entry. + (let ((idx (string-match (regexp-quote entry-name) current))) + (if (and (integerp idx) + (zerop idx)) + (progn + (message "Warning: Entry %s may be a duplicate of %s!" + entry-name current) + (ding t)))) + (throw 'done t)))) + ((string-equal previous current) + (error "Duplicate here with previous!")) + (t (error "Entries out of order here!"))))))) + (end-of-bibtex-entry)))) + +(defun validate-bibtex-buffer () + "Find some typical errors in bibtex files. + 1. At signs (@) not as first char of a line. + 2. Double quotes (\") inside strings. + 3. Closing braces (}) not the last character of a line." + (interactive) + (let ((point (point))) + (while (re-search-forward ".@" nil t) + (let* ((foo (parse-partial-sexp (save-excursion (beginning-of-bibtex-entry) + (point)) + (point))) + (in-a-string (nth 3 foo))) + (if (not in-a-string) + (error "At sign (@) out of place!")))) + (goto-char point) + (while (search-forward "\"" nil t) + (or (looking-at "[,}][ \t]*$") + ;; some versions put closing brace on separate line. + (looking-at "[ \t]*\n}") + (save-excursion + (save-restriction + (narrow-to-region (point) + (progn (beginning-of-line) (point))) + (looking-at "^[ \t]*[a-zA-Z]+[ \t]*=[ \t]*\"$"))) + (error "Quote out of place, or missing \",\" or \"}\"!"))) + (goto-char point) + ;; This is only approximate, should actually search for close braces, + ;; then see if they are inside a string, or at the end of a line. + ;; This just gets the typical case of whitespace after a closing brace. + (while (search-forward "}[ \t]+$" nil t) + (error "Brace not last char of line!")) + (goto-char point) + (message "Bibtex buffer appears o.k."))) + +(defun find-bibtex-duplicates () + "Searches forward in current buffer looking for duplicate bibtex entries. +Buffer is assumed to be sorted, see \\[sort-bibtex-entries]" + (interactive) + (let ((point (point))) + ;; errors if things are not right... + (find-bibtex-entry-location (make-string 10 255)) + (goto-char point) + (message "No duplicates found!"))) + + +(defvar bibtex-maintain-sorted-entries nil + "*If true, bibtex-mode will attempt to maintain all bibtex entries in +sorted order.") ;; ;; note: this should really take lists of strings OR of lists. in the @@ -470,58 +623,69 @@ ;; (defun bibtex-entry (entry-type required optional) - (bibtex-move-outside-of-entry) - (insert "@" entry-type "{") - (mapcar 'bibtex-make-field required) - (if bibtex-include-OPTcrossref - (bibtex-make-optional-field "crossref")) - (if bibtex-include-OPTkey - (bibtex-make-optional-field "key")) - (mapcar 'bibtex-make-optional-field optional) - (if bibtex-mode-user-optional-fields ;MON... - (mapcar 'bibtex-make-optional-field - bibtex-mode-user-optional-fields)) - (if bibtex-include-OPTannote - (bibtex-make-optional-field "annote")) - (insert "\n}\n\n") - (forward-char -3) - (up-list -1) - (forward-char 1)) + (let (key) + (if bibtex-maintain-sorted-entries + (progn + (setq key (read-string (format "%s key: " entry-type))) + (find-bibtex-entry-location key))) + (bibtex-move-outside-of-entry) + (insert "@" entry-type "{") + (mapcar 'bibtex-make-field required) + (if bibtex-include-OPTcrossref + (bibtex-make-optional-field "crossref")) + (if bibtex-include-OPTkey + (bibtex-make-optional-field "key")) + (mapcar 'bibtex-make-optional-field optional) + (if bibtex-mode-user-optional-fields ;MON... + (mapcar 'bibtex-make-optional-field + bibtex-mode-user-optional-fields)) + (if bibtex-include-OPTannote + (bibtex-make-optional-field "annote")) + (insert "\n}\n\n") + (forward-char -3) + (up-list -1) + (forward-char 1) + (if key + (progn + (insert key) + (bibtex-next-field t))))) -(defun bibtex-insert-field-delimeters (str) - "Insert double quotes (default) or, if STR is in the list -bibtex-curly-delimeters, insert curly brackets." - (if (and (boundp 'bibtex-curly-delimeters) - bibtex-curly-delimeters - (memq (car (read-from-string (downcase str))) - bibtex-curly-delimeters)) - (insert "\{\}") - (insert "\"\""))) +;; (defun bibtex-entry (entry-type required optional) +;; (bibtex-move-outside-of-entry) +;; (insert (concat "@" entry-type "{,\n\n}\n\n")) +;; (previous-line 3) +;; (insert (mapconcat 'bibtex-make-entry required ",\n")) +;; (if required +;; (if optional +;; (insert ",\n"))) +;; (insert (mapconcat 'bibtex-make-OPT-entry optional ",\n")) +;; (if bibtex-mode-user-optional-fields ;MON... +;; (progn +;; (if optional +;; (insert ",\n")) +;; (insert (mapconcat 'bibtex-make-OPT-entry +;; bibtex-mode-user-optional-fields +;; ",\n")))) ;MON +;; (up-list -1) +;; (forward-char 1)) + (defun bibtex-make-field (str) (interactive "sBibTeX entry type: ") (insert ",\n") - (indent-to-column bibtex-name-alignment) + (indent-to-column bibtex-name-alignement) (insert str " = ") (indent-to-column bibtex-text-alignment) - (bibtex-insert-field-delimeters str) + (insert "\"\"") nil) -;; modified to make fields align up _after_ the OPT's have been removed - (defun bibtex-make-optional-field (str) (interactive "sOptional BibTeX entry type: ") (insert ",\n") - (indent-to-column bibtex-name-alignment) - (insert str " = ") - (indent-to-column bibtex-text-alignment) ;align nicely, then,... - (bibtex-insert-field-delimeters str) - (if bibtex-use-OPT-prefix - (progn - (beginning-of-line) - (move-to-column bibtex-name-alignment) ;go back to name and put in OPT - (insert "OPT") - (end-of-line))) + (indent-to-column bibtex-name-alignement) + (insert "OPT" str " = ") + (indent-to-column bibtex-text-alignment) + (insert "\"\"") nil) ;; What to do about crossref? if present, journal and year are @@ -536,11 +700,12 @@ (bibtex-entry "Article" '("author" "title" "journal" "year") '("volume" "number" "pages" "month" "note")))) + (defun bibtex-Book () (interactive) (bibtex-entry "Book" '("author" "title" "publisher" "year") - '("editor" "volume" "number" "series" "address" - "edition" "month" "note"))) + '("editor" "volume" "number" "series" "address" + "edition" "month" "note"))) (defun bibtex-Booklet () (interactive) @@ -563,31 +728,31 @@ '("editor" "pages" "volume" "number" "series" "address" "edition" "month" "type" "note")))) -;; In next 2, for crossref case, put pages near beginning of -;; optionals as it will be used most often -- MON (defun bibtex-InCollection () (interactive) (if bibtex-include-OPTcrossref (bibtex-entry "InCollection" '("author" "title") - '("pages" "booktitle" "publisher" "year" + '("booktitle" "publisher" "year" "editor" "volume" "number" "series" "type" "chapter" - "address" "edition" "month" "note")) + "pages" "address" "edition" "month" "note")) (bibtex-entry "InCollection" '("author" "title" "booktitle" "publisher" "year") '("editor" "volume" "number" "series" "type" "chapter" "pages" "address" "edition" "month" "note")))) + (defun bibtex-InProceedings () (interactive) (if bibtex-include-OPTcrossref (bibtex-entry "InProceedings" '("author" "title") - '( "pages" "editor" "volume" "number" "series" - "booktitle" "year" - "organization" "publisher" "address" "month" "note")) + '("editor" "volume" "number" "series" "pages" + "booktitle" "year" + "organization" "publisher" "address" "month" "note")) (bibtex-entry "InProceedings" '("author" "title" "booktitle" "year") '("editor" "volume" "number" "series" "pages" "organization" "publisher" "address" "month" "note")))) + (defun bibtex-Manual () (interactive) (bibtex-entry "Manual" '("title") @@ -620,7 +785,6 @@ (bibtex-entry "TechReport" '("author" "title" "institution" "year") '("type" "number" "address" "month" "note"))) - (defun bibtex-Unpublished () (interactive) (bibtex-entry "Unpublished" '("author" "title" "note") @@ -656,6 +820,17 @@ (forward-char 1)))) (bibtex-find-text arg)) +;; (defun bibtex-next-field () +;; "Finds end of text of next field." +;; (interactive) +;; (condition-case () +;; (progn +;; (bibtex-inside-field) +;; (re-search-forward ",[ \t\n]*" (point-max) 1) +;; (bibtex-enclosing-field) +;; (bibtex-inside-field)) +;; (error nil))) + (defun bibtex-find-text (arg) "Go to end of text of current field; with arg, go to beginning." (interactive "P") @@ -664,12 +839,23 @@ (if arg (progn (goto-char (match-beginning bibtex-text-in-field)) - (if (or (looking-at "\"") (looking-at "{")) + (if (looking-at "\"") (forward-char 1))) (goto-char (match-end bibtex-text-in-field)) - (if (or (= (preceding-char) ?\") (= (preceding-char) ?})) + (if (= (preceding-char) ?\") (forward-char -1)))) +;; (defun bibtex-find-text () +;; "Go to end of text of current field." +;; (interactive) +;; (condition-case () +;; (progn +;; (bibtex-inside-field) +;; (bibtex-enclosing-field) +;; (goto-char (match-end bibtex-text-in-field)) +;; (bibtex-inside-field)) +;; (error nil))) + (defun bibtex-remove-OPT () "Removes the 'OPT' starting optional arguments and goes to end of text" (interactive) @@ -685,12 +871,11 @@ "Try to avoid point being at end of a bibtex field." (interactive) (end-of-line) - (skip-chars-backward " \t") ;delete these chars? -- MON + (skip-chars-backward " \t") ;MON - maybe delete these chars? (cond ((= (preceding-char) ?,) (forward-char -1))) - (cond ((or (= (preceding-char) ?\") (= (preceding-char) ?\})) - (forward-char -1)))) ;only go back if quote - + (cond ((= (preceding-char) ?\") + (forward-char -1)))) ;MON - only go back if quote (defun bibtex-remove-double-quotes () "Removes """" around string." @@ -905,7 +1090,7 @@ (re-search-forward regexp right nil 1) (if (> (match-beginning 0) initial) (signal 'search-failed (list regexp))) - (while (< (match-end 0) initial) ;<= --> < -- MON + (while (<= (match-end 0) initial) (re-search-forward regexp right nil 1) (if (> (match-beginning 0) initial) (signal 'search-failed (list regexp)))) @@ -932,16 +1117,9 @@ (looking-at "OPT") bibtex-clean-entry-zap-empty-opts) (goto-char begin-text) - (if (and (looking-at "\"\"") ; empty: delete whole field - (boundp 'bibtex-save-OPT) - bibtex-save-OPT - (not (memq (car (read-from-string - (buffer-substring - (+ begin-name 3) - end-name))) - bibtex-save-OPT))) + (if (looking-at "\"\"") ; empty: delete whole field (delete-region begin-field end-field) - ;; otherwise: not empty, delete "OPT" + ; otherwise: not empty, delete "OPT" (goto-char begin-name) (delete-char (length "OPT")) (goto-char begin-field) ; and loop to go through next test @@ -965,12 +1143,7 @@ (equal (buffer-substring begin-name (+ begin-name 3)) - "opt") - (memq (car (read-from-string - (buffer-substring - begin-name - end-name))) - bibtex-save-OPT))) + "opt"))) (error "Mandatory field ``%s'' is empty" (buffer-substring begin-name end-name)))) (t @@ -1039,66 +1212,49 @@ ;; since we aren't interested. See etc/SUN-SUPPORT for the reasons why ;; we consider this nothing but a distraction from our work. -(if (fboundp 'defmenu) - (progn +(defmacro eval-in-menu-window (&rest l) + "Evaluates its argument in the window in which the mouse button was pressed." + (list 'eval-in-window '*menu-window* l)) -(defmenu bibtex-sun-entry-menu - ("Article In Conf. Proc." - (lambda () (eval-in-window *menu-window* (bibtex-InProceedings)))) - ("Article In Journal" - (lambda () (eval-in-window *menu-window* (bibtex-Article)))) - ("Book" - (lambda () (eval-in-window *menu-window* (bibtex-Book)))) - ("Booklet" - (lambda () (eval-in-window *menu-window* (bibtex-Booklet)))) - ("Master's Thesis" - (lambda () (eval-in-window *menu-window* (bibtex-MastersThesis)))) - ;;("DEA Thesis" bibtex-DEAthesis) - ("PhD. Thesis" - (lambda () (eval-in-window *menu-window* (bibtex-PhdThesis)))) - ("Technical Report" - (lambda () (eval-in-window *menu-window* (bibtex-TechReport)))) - ("Technical Manual" - (lambda () (eval-in-window *menu-window* (bibtex-Manual)))) - ("Conference Proceedings" - (lambda () (eval-in-window *menu-window* (bibtex-Proceedings)))) - ("In A Book" - (lambda () (eval-in-window *menu-window* (bibtex-InBook)))) - ("In A Collection" - (lambda () (eval-in-window *menu-window* (bibtex-InCollection)))) - ("Miscellaneous" - (lambda () (eval-in-window *menu-window* (bibtex-Misc)))) - ("Unpublished" - (lambda () (eval-in-window *menu-window* (bibtex-Unpublished))))) - -(defmenu bibtex-sun-menu - ("BibTeX menu") - ("add entry" . bibtex-sun-entry-menu) - ("add string" - (lambda () (eval-in-window *menu-window* (bibtex-string)))) - ;("next field" bibtex-next-position) - ;("to end of field" bibtex-find-it) -; ("remove OPT" -; (lambda () (eval-in-window *menu-window* (bibtex-remove-opt)))) -; ("remove quotes" -; (lambda () (eval-in-window *menu-window* (bibtex-remove-double-quotes)))) -; ("remove this line" -; (lambda () (eval-in-window *menu-window* (kill-current-line)))) - ("describe BibTeX mode" - (lambda () (eval-in-window *menu-window* (describe-mode)))) - ("Main Emacs menu" . emacs-menu)) +;(defmenu bibtex-sun-entry-menu +; ("Article In Conf. Proc." eval-in-menu-window bibtex-InProceedings) +; ("Article In Journal" eval-in-menu-window bibtex-Article) +; ("Book" eval-in-menu-window bibtex-Book) +; ("Booklet" eval-in-menu-window bibtex-Booklet) +; ("Master's Thesis" eval-in-menu-window bibtex-MastersThesis) +; ("PhD. Thesis" eval-in-menu-window bibtex-PhdThesis) +; ("Technical Report" eval-in-menu-window bibtex-TechReport) +; ("Technical Manual" eval-in-menu-window bibtex-Manual) +; ("Conference Proceedings" eval-in-menu-window bibtex-Proceedings) +; ("In A Book" eval-in-menu-window bibtex-InBook) +; ("In A Collection" eval-in-menu-window bibtex-InCollection) +; ("Miscellaneous" eval-in-menu-window bibtex-Misc) +; ("Unpublished" eval-in-menu-window bibtex-Unpublished) +; ("string" eval-in-menu-window bibtex-string) +; ("preamble" eval-in-menu-window bibtex-preamble)) +; +;(defmenu bibtex-sun-menu +; ("BibTeX menu") +; ("add entry" . bibtex-sun-entry-menu) +; ("next field" eval-in-menu-window bibtex-next-field nil) +; ("to end of field" eval-in-menu-window bibtex-find-text nil) +; ("snatch similar preceding field" eval-in-menu-window bibtex-pop-previous 1) +; ("snatch similar following field" eval-in-menu-window bibtex-pop-next 1) +; ("remove OPT" eval-in-menu-window bibtex-remove-OPT) +; ("remove quotes" eval-in-menu-window bibtex-remove-double-quotes) +; ("clean entry" eval-in-menu-window bibtex-clean-entry) +; ("describe BibTeX mode" eval-in-menu-window describe-mode) +; ("Main Emacs menu" . emacs-menu)) (defun bibtex-sun-menu-eval (window x y) "Pop-up menu of BibTeX commands." (sun-menu-evaluate window (1+ x) (1- y) 'bibtex-sun-menu)) (defun bibtex-sun-environment () - "Set up sun menus for BibTeX mode. Call it as bibtex-mode-hook, or interactively" + "Set up sun menus for BibTeX mode. Call it as bibtex-mode-hook, or +interactively" (interactive) (local-set-mouse '(text right) 'bibtex-sun-menu-eval)) -)) ; matches (if... +;;; bibtex-mode.el ends here -(provide 'bibtex) - -;;; bibtex.el ends here
--- a/lisp/textmodes/fill.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/fill.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; fill.el --- fill commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 24 Jun 1992 + ;; Copyright (C) 1985, 1986, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defconst fill-individual-varying-indent nil "*Controls criterion for a new paragraph in `fill-individual-paragraphs'.
--- a/lisp/textmodes/nroff-mode.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/nroff-mode.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; nroff-mode.el --- GNU Emacs major mode for editing nroff source ;; Maintainer: FSF -;; Last-Modified: 9 May 1991 +;; Last-Modified: 09 May 1991 ;; Copyright (C) 1985, 1986 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/textmodes/ooutline.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/ooutline.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; outline.el --- outline mode commands for Emacs +;; Maintainer: FSF +;; Last-Modified: 10 Apr 1991 + ;; Copyright (C) 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;; Jan '86, Some new features added by Peter Desnoyers and rewritten by RMS. (defvar outline-regexp "[*\^l]+"
--- a/lisp/textmodes/page-ext.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/page-ext.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,18 +1,15 @@ ;;; page-ext.el --- page handling commands -;;; by Robert J. Chassell - -;;; You may use these commands to handle an address list or other -;;; small data base. +;; Author: Robert J. Chassell <bob@gnu.ai.mit.edu> +;; Last-Modified: 10 Apr 1991 ;;; Copyright (C) 1990 Free Software Foundation -;;; Please send bug reports to bob@ai.mit.edu ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -24,6 +21,13 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + +;;; You may use these commands to handle an address list or other +;;; small data base. + +;;; Change Log: + ;;; Change Log ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; ;;; Version 0.043 @@ -132,6 +136,7 @@ ;;; 28 Jan 1990 - Initial definitions. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;;; Code: ;;;; Summary
--- a/lisp/textmodes/page.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/page.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; page.el --- page motion commands for emacs. +;; Maintainer: FSF +;; Last-Modified: 01 May 1992 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defun forward-page (&optional count) "Move forward to page boundary. With arg, repeat, or go back if negative.
--- a/lisp/textmodes/picture.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/picture.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; picture.el --- "Picture mode" -- editing using quarter-plane screen model. +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1985 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defun move-to-column-force (column) "Move to column COLUMN in current line.
--- a/lisp/textmodes/refbib.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/refbib.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; refbib.el --- convert refer-style references to ones usable by Latex bib +;; Maintainer: FSF +;; Last-Modified: 16 Mar 1992 + ;; Copyright (C) 1989 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,11 +21,15 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;; Use: from a buffer containing the refer-style bibliography, ;; M-x r2b-convert-buffer ;; Program will prompt for an output buffer name, and will log ;; warnings during the conversion process in the buffer *Log*. +;;; Change Log: + ; HISTORY ; 9/88, created ; modified 1/19/89, allow books with editor but no author; @@ -45,6 +52,9 @@ ; modified 3/1/89, fixed capitialize-title for first words all caps ; modified 3/15/89, allow use of " to delimit fields ; modified 4/18/89, properly "quote" special characters on output + +;;; Code: + ;********************************************************** ; User Parameters
--- a/lisp/textmodes/spell.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/spell.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,7 +1,7 @@ ;;; spell.el --- spelling correction interface for Emacs. ;; Maintainer: FSF -;; Last-Modified: 9 May 1991 +;; Last-Modified: 09 May 1991 ;; Copyright (C) 1985 Free Software Foundation, Inc. @@ -9,7 +9,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful,
--- a/lisp/textmodes/tex-mode.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/tex-mode.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,16 +1,18 @@ ;;; tex-mode.el --- TeX, LaTeX, and SliTeX mode commands. -;; Copyright (C) 1985, 1986, 1989, 1992 Free Software Foundation, Inc. +;; Maintainer: Edward M. Reingold <reingold@cs.uiuc.edu> +;; Last-Modified: 04 July 1992 + ;; Contributions over the years by William F. Schelter, Dick King, ;; Stephen Gildea, Michael Prange, and Edward M. Reingold. -;; Latest revision (1992) by Edward M. Reingold <reingold@cs.uiuc.edu>. +;; Copyright (C) 1985, 1986, 1989, 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -22,6 +24,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (require 'comint) (defvar tex-shell-file-name nil
--- a/lisp/textmodes/texinfmt.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/texinfmt.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,6 +1,8 @@ ;;;; texinfmt.el --- convert Texinfo files to Info files. -;;;; Version 2.00 14 Dec 1990 +;; Author: Robert J. Chassell <bob@gnu.ai.mit.edu> +;; Version: 2.00 +;; Last-Modified: 14 Dec 1990 ;; Copyright (C) 1985, 1986, 1988, 1990 Free Software Foundation, Inc. @@ -8,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -20,12 +22,16 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: + ;; Updated May 1990 to correspond, more or less, to version 2.8 of ;; texinfo.tex. NOTE: texinfmt.el is being phased out; it is being ;; replaced by makeinfo.c, which is faster and provides better error ;; checking. ;; Robert J. Chassell, bob@ai.mit.edu +;;; Code: + (defvar texinfo-format-syntax-table nil) (defvar texinfo-vindex)
--- a/lisp/textmodes/texinfo.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/texinfo.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,6 +1,8 @@ ;;;; texinfo.el ---- major mode for editing Texinfo files. -;;;; Version 2.00 14 Dec 1990 +;; Author: Bob Chassell <bob@gnu.ai.mit.edu> +;; Version: 2.00 +;; Last-Modified: 14 Dec 1990 ;; Copyright (C) 1985, 1988, 1989, 1990 Free Software Foundation, Inc. @@ -8,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -20,6 +22,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + (require 'texnfo-upd) (require 'tex-mode) (defvar texinfo-mode-syntax-table nil)
--- a/lisp/textmodes/underline.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/textmodes/underline.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; underline.el --- insert/remove underlining (done by overstriking) in Emacs. +;; Maintainer: FSF +;; Last-Modified: 30 May 1988 + ;; Copyright (C) 1985 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;;###autoload (defun underline-region (start end)
--- a/lisp/time.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/time.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; time.el --- display time and load in mode line of Emacs. +;; Maintainer: FSF +;; Last-Modified: 09 Oct 1990 + ;; Copyright (C) 1985, 1986, 1987 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defvar display-time-mail-file nil "*File name of mail inbox file, for indicating existence of new mail.
--- a/lisp/uncompress.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/uncompress.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; uncompress.el --- auto-decompression hook for visiting .Z files +;; Maintainer: FSF +;; Last-Modified: 30 May 1988 + ;; Copyright (C) 1992 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,8 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: + ;; When we are about to make a backup file, ;; uncompress the file we visited ;; so that making the backup can work properly.
--- a/lisp/userlock.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/userlock.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; userlock.el --- handle file access contention between multiple users +;;; Maintainer: FSF +;;; Last-Modified: 26 May 1987 + ;; Copyright (C) 1985, 1986 Free Software Foundation, inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,12 +21,14 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Commentary: -;; This file is autloaded to handle certain conditions +;; This file is autoloaded to handle certain conditions ;; detected by the file-locking code within Emacs. ;; The two entry points are `ask-user-about-lock' and ;; `ask-user-about-supersession-threat'. +;;; Code: (put 'file-locked 'error-conditions '(file-locked file-error error))
--- a/lisp/view.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/view.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,13 +1,16 @@ ;;; view.el --- peruse file or buffer without editing. +;; Author: K. Shane Hartman +;; Maintainer: FSF +;; Last-Modified: 21 Aug 1988 + ;; Copyright (C) 1985, 1989 Free Software Foundation, Inc. -;; Principal author K. Shane Hartman ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -19,6 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: (defvar view-mode-map nil) (if view-mode-map
--- a/lisp/vms-patch.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/vms-patch.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; vms-patch.el --- override parts of files.el for VMS. +;; Maintainer: FSF +;; Last-Modified: 06 May 1992 + ;; Copyright (C) 1986 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,6 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;;; Code: ;;; Functions that need redefinition
--- a/lisp/vmsproc.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/vmsproc.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,4 +1,8 @@ -;; vmsproc.el --- run asynchronous VMS subprocesses under Emacs +;;; vmsproc.el --- run asynchronous VMS subprocesses under Emacs + +;; Author: Mukesh Prasad +;; Maintainer: FSF +;; Last-Modified: 29 Sep 1986 ;; Copyright (C) 1986 Free Software Foundation, Inc. @@ -6,7 +10,7 @@ ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,7 +22,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; Written by Mukesh Prasad. +;;; Code: (defvar display-subprocess-window nil "If non-nil, the suprocess window is displayed whenever input is received.")
--- a/lisp/vt100-led.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/vt100-led.el Thu Jul 16 21:47:34 1992 +0000 @@ -1,12 +1,15 @@ ;;; vt100-led.el --- functions for LED control on VT-100 terminals & clones. +;; Author: Howard Gayle +;; Maintainer: FSF + ;; Copyright (C) 1988 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -18,8 +21,7 @@ ;; along with GNU Emacs; see the file COPYING. If not, write to ;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. - -;; Written by Howard Gayle. +;;; Code: (defvar led-state (make-vector 5 nil) "The internal state of the LEDs. Choices are nil, t, `flash.
--- a/lisp/xscheme.el Thu Jul 16 21:47:30 1992 +0000 +++ b/lisp/xscheme.el Thu Jul 16 21:47:34 1992 +0000 @@ -3,13 +3,15 @@ ;; Maintainer: FSF ;; Last-Modified: 21 Jan 1987 +;;; $Header: xscheme.el,v 1.26 90/09/11 01:51:20 GMT cph Exp $ + ;; Copyright (C) 1986, 1987, 1989, 1990 Free Software Foundation, Inc. ;; This file is part of GNU Emacs. ;; GNU Emacs is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public License as published by -;; the Free Software Foundation; either version 1, or (at your option) +;; the Free Software Foundation; either version 2, or (at your option) ;; any later version. ;; GNU Emacs is distributed in the hope that it will be useful, @@ -28,8 +30,6 @@ ;;; Code: -;;; $Header: xscheme.el,v 1.26 90/09/11 01:51:20 GMT cph Exp $ - (require 'scheme) (defvar scheme-program-name "scheme"