diff options
Diffstat (limited to 'lisp/progmodes')
-rw-r--r-- | lisp/progmodes/ada-mode.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/asm-mode.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/awk-mode.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/c-mode.el | 6 | ||||
-rw-r--r-- | lisp/progmodes/cmacexp.el | 7 | ||||
-rw-r--r-- | lisp/progmodes/compile.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/cplus-md.el | 14 | ||||
-rw-r--r-- | lisp/progmodes/cpp.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/etags.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/executable.el | 8 | ||||
-rw-r--r-- | lisp/progmodes/f90.el | 21 | ||||
-rw-r--r-- | lisp/progmodes/fortran.el | 28 | ||||
-rw-r--r-- | lisp/progmodes/hideif.el | 171 | ||||
-rw-r--r-- | lisp/progmodes/hideshow.el | 131 | ||||
-rw-r--r-- | lisp/progmodes/icon.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/inf-lisp.el | 98 | ||||
-rw-r--r-- | lisp/progmodes/make-mode.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/pascal.el | 66 | ||||
-rw-r--r-- | lisp/progmodes/perl-mode.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/prolog.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/scheme.el | 5 | ||||
-rw-r--r-- | lisp/progmodes/sh-script.el | 6 | ||||
-rw-r--r-- | lisp/progmodes/simula.el | 5 |
23 files changed, 323 insertions, 293 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 08ea3b8ea82..90bf328a320 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el @@ -17,8 +17,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; This mode is a complete rewrite of a major mode for editing Ada 83 ;;; and Ada 95 source code under Emacs-19. It contains completely new diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 8b0b26a9bf0..71d599d4f60 100644 --- a/lisp/progmodes/asm-mode.el +++ b/lisp/progmodes/asm-mode.el @@ -19,8 +19,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/awk-mode.el b/lisp/progmodes/awk-mode.el index 5547d57c8d8..7d70fe02e3a 100644 --- a/lisp/progmodes/awk-mode.el +++ b/lisp/progmodes/awk-mode.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/c-mode.el b/lisp/progmodes/c-mode.el index 44c92ddea06..22d598b0786 100644 --- a/lisp/progmodes/c-mode.el +++ b/lisp/progmodes/c-mode.el @@ -1,4 +1,5 @@ ;;; c-mode.el --- C code editing commands for Emacs + ;; Copyright (C) 1985, 86, 87, 92, 94, 95 Free Software Foundation, Inc. ;; Maintainer: FSF @@ -17,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el index f353e5bfcf4..0eaac943382 100644 --- a/lisp/progmodes/cmacexp.el +++ b/lisp/progmodes/cmacexp.el @@ -3,7 +3,7 @@ ;; Copyright (C) 1992, 1994 Free Software Foundation, Inc. ;; Author: Francesco Potorti` <pot@cnuce.cnr.it> -;; Version: $Id: cmacexp.el,v 1.19 1995/03/07 15:24:44 pot Exp rms $ +;; Version: $Id: cmacexp.el,v 1.20 1995/10/26 03:14:40 rms Exp erik $ ;; Adapted-By: ESR ;; Keywords: c @@ -20,8 +20,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;; USAGE ============================================================= diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 83983d58c87..54945fe9983 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -19,8 +19,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/cplus-md.el b/lisp/progmodes/cplus-md.el index 9a7ed11b623..f5bf7802178 100644 --- a/lisp/progmodes/cplus-md.el +++ b/lisp/progmodes/cplus-md.el @@ -1,8 +1,11 @@ ;;; cplus-md.el --- C++ code editing commands for Emacs -;;; Copyright (C) 1985, 1992, 1994, 1995 Free Software Foundation, Inc. + +;; Copyright (C) 1985, 1992, 1994, 1995 Free Software Foundation, Inc. + +;; Maintainer: Dave Detlefs <dld@cs.cmu.edu> +;; Keywords: c ;; This file is part of GNU Emacs. -;; Keywords: c languages oop ;; 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 @@ -15,10 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. -;; Maintainer: Dave Detlefs <dld@cs.cmu.edu> -;; Keywords: c +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el index a61c4064a61..fb040a4480a 100644 --- a/lisp/progmodes/cpp.el +++ b/lisp/progmodes/cpp.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 403fe0b7f9c..c45d59631ab 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el @@ -19,8 +19,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Code: diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el index 6d2d0240ff8..1706cff0f23 100644 --- a/lisp/progmodes/executable.el +++ b/lisp/progmodes/executable.el @@ -1,5 +1,6 @@ ;;; executable.el --- base functionality for executable interpreter scripts -;; Copyright (C) 1994, 1995 by Free Software Foundation, Inc. + +;; Copyright (C) 1994, 1995, 1996 by Free Software Foundation, Inc. ;; Author: Daniel.Pfeiffer@Informatik.START.dbp.de, fax (+49 69) 7588-2389 ;; Keywords: languages, unix @@ -17,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index cb1618ca8ab..a43143dc59a 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el @@ -1,25 +1,30 @@ ;;; f90.el --- Fortran-90 mode (free format) -;; Copyright (C) 1995 Free Software Foundation, Inc. + +;; Copyright (C) 1995, 1996 Free Software Foundation, Inc. ;; Author: Torbj\"orn Einarsson <T.Einarsson@clab.ericsson.se> ;; Created: Sep. 21, 1995 ;; Keywords: fortran, f90, languages -;; This program is free software; you can redistribute it and/or modify +;; 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 of the License, or -;; (at your option) any later version. +;; 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, +;; 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 this program; if not, write to the Free Software -;; Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: + ;; Smart mode for editing F90 programs in FREE FORMAT. ;; Knows about continuation lines, named structured statements, and other ;; new features in F90 including HPF (High Performance Fortran) structures. @@ -134,8 +139,8 @@ ;; Also thanks to the authors of the fortran and pascal modes, on which some ;; of this code is built. - ;;; Code: + (defconst bug-f90-mode "T.Einarsson@clab.ericsson.se" "Address of mailing list for F90 mode bugs.") diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index 83e34991289..6a303ee2464 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el @@ -1,6 +1,6 @@ ;;; fortran.el --- Fortran mode for GNU Emacs -;;; Copyright (c) 1986, 1993, 1994, 1995 Free Software Foundation, Inc. +;; Copyright (c) 1986, 1993, 1994, 1995 Free Software Foundation, Inc. ;; Author: Michael D. Prange <prange@erl.mit.edu> ;; Maintainer: bug-fortran-mode@erl.mit.edu @@ -20,8 +20,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: @@ -36,20 +37,20 @@ ;; Dr. Anil Gokhale, Ulrich Mueller, Mark Neale, Eric Prestemon, ;; Gary Sabot and Richard Stallman. -;;; This file may be used with GNU Emacs version 18.xx if the following -;;; variable and function substitutions are made. -;;; Replace: -;;; frame-width with screen-width -;;; auto-fill-function with auto-fill-hook -;;; comment-indent-function with comment-indent-hook -;;; (setq unread-command-events (list c)) with (setq unread-command-char c) +;; This file may be used with GNU Emacs version 18.xx if the following +;; variable and function substitutions are made. +;; Replace: +;; frame-width with screen-width +;; auto-fill-function with auto-fill-hook +;; comment-indent-function with comment-indent-hook +;; (setq unread-command-events (list c)) with (setq unread-command-char c) -;;; Bugs to bug-fortran-mode@erl.mit.edu - -(defconst fortran-mode-version "version 1.30.6") +;; Bugs to bug-fortran-mode@erl.mit.edu ;;; Code: +(defconst fortran-mode-version "version 1.30.6") + ;;;###autoload (defvar fortran-tab-mode-default nil "*Default tabbing/carriage control style for empty files in Fortran mode. @@ -1586,4 +1587,3 @@ file before the end or the first `fortran-analyze-depth' lines." (provide 'fortran) ;;; fortran.el ends here - diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 402fd619ff8..d995fc4c9d4 100644 --- a/lisp/progmodes/hideif.el +++ b/lisp/progmodes/hideif.el @@ -1,6 +1,6 @@ ;;; hide-ifdef-mode.el --- hides selected code within ifdef. -;;; Copyright (C) 1988, 1994 Free Software Foundation, Inc. +;; Copyright (C) 1988, 1994 Free Software Foundation, Inc. ;; Author: Dan LaLiberte <liberte@a.cs.uiuc.edu> ;; Maintainer: FSF @@ -19,93 +19,94 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: -;;; To initialize, toggle the hide-ifdef minor mode with -;;; -;;; M-x hide-ifdef-mode -;;; -;;; This will set up key bindings and call hide-ifdef-mode-hook if it -;;; has a value. To explicitly hide ifdefs using a buffer-local -;;; define list (default empty), type -;;; -;;; M-x hide-ifdefs or C-c @ h -;;; -;;; Hide-ifdef suppresses the display of code that the preprocessor wouldn't -;;; pass through. The support of constant expressions in #if lines is -;;; limited to identifiers, parens, and the operators: &&, ||, !, and -;;; "defined". Please extend this. -;;; -;;; The hidden code is marked by ellipses (...). Be -;;; cautious when editing near ellipses, since the hidden text is -;;; still in the buffer, and you can move the point into it and modify -;;; text unawares. If you don't want to see the ellipses, set -;;; selective-display-ellipses to nil. But this can be dangerous. -;;; You can make your buffer read-only while hide-ifdef-hiding by setting -;;; hide-ifdef-read-only to a non-nil value. You can toggle this -;;; variable with hide-ifdef-toggle-read-only (C-c @ C-q). -;;; -;;; You can undo the effect of hide-ifdefs by typing -;;; -;;; M-x show-ifdefs or C-c @ s -;;; -;;; Use M-x hide-ifdef-define (C-c @ d) to define a symbol. -;;; Use M-x hide-ifdef-undef (C-c @ u) to undefine a symbol. -;;; -;;; If you define or undefine a symbol while hide-ifdef-mode is in effect, -;;; the display will be updated. Only the define list for the current -;;; buffer will be affected. You can save changes to the local define -;;; list with hide-ifdef-set-define-alist. This adds entries -;;; to hide-ifdef-define-alist. -;;; -;;; If you have defined a hide-ifdef-mode-hook, you can set -;;; up a list of symbols that may be used by hide-ifdefs as in the -;;; following example: -;;; -;;; (setq hide-ifdef-mode-hook -;;; '(lambda () -;;; (if (not hide-ifdef-define-alist) -;;; (setq hide-ifdef-define-alist -;;; '((list1 ONE TWO) -;;; (list2 TWO THREE) -;;; ))) -;;; (hide-ifdef-use-define-alist 'list2) ; use list2 by default -;;; )) -;;; -;;; You can call hide-ifdef-use-define-alist (C-c @ u) at any time to specify -;;; another list to use. -;;; -;;; To cause ifdefs to be hidden as soon as hide-ifdef-mode is called, -;;; set hide-ifdef-initially to non-nil. -;;; -;;; If you set hide-ifdef-lines to t, hide-ifdefs hides all the #ifdef lines. -;;; In the absence of highlighting, that might be a bad idea. If you set -;;; hide-ifdef-lines to nil (the default), the surrounding preprocessor -;;; lines will be displayed. That can be confusing in its own -;;; right. Other variations on display are possible, but not much -;;; better. -;;; -;;; You can explicitly hide or show individual ifdef blocks irrespective -;;; of the define list by using hide-ifdef-block and show-ifdef-block. -;;; -;;; You can move the point between ifdefs with forward-ifdef, backward-ifdef, -;;; up-ifdef, down-ifdef, next-ifdef, and previous-ifdef. -;;; -;;; If you have minor-mode-alist in your mode line (the default) two labels -;;; may appear. "Ifdef" will appear when hide-ifdef-mode is active. "Hiding" -;;; will appear when text may be hidden ("hide-ifdef-hiding" is non-nil). -;;; -;;; Written by Brian Marick, at Gould, Computer Systems Division, Urbana IL. -;;; Extensively modified by Daniel LaLiberte (while at Gould). -;;; -;;; You may freely modify and distribute this, but keep a record -;;; of modifications and send comments to: -;;; liberte@a.cs.uiuc.edu or ihnp4!uiucdcs!liberte -;;; I will continue to upgrade hide-ifdef-mode -;;; with your contributions. +;; To initialize, toggle the hide-ifdef minor mode with +;; +;; M-x hide-ifdef-mode +;; +;; This will set up key bindings and call hide-ifdef-mode-hook if it +;; has a value. To explicitly hide ifdefs using a buffer-local +;; define list (default empty), type +;; +;; M-x hide-ifdefs or C-c @ h +;; +;; Hide-ifdef suppresses the display of code that the preprocessor wouldn't +;; pass through. The support of constant expressions in #if lines is +;; limited to identifiers, parens, and the operators: &&, ||, !, and +;; "defined". Please extend this. +;; +;; The hidden code is marked by ellipses (...). Be +;; cautious when editing near ellipses, since the hidden text is +;; still in the buffer, and you can move the point into it and modify +;; text unawares. If you don't want to see the ellipses, set +;; selective-display-ellipses to nil. But this can be dangerous. +;; You can make your buffer read-only while hide-ifdef-hiding by setting +;; hide-ifdef-read-only to a non-nil value. You can toggle this +;; variable with hide-ifdef-toggle-read-only (C-c @ C-q). +;; +;; You can undo the effect of hide-ifdefs by typing +;; +;; M-x show-ifdefs or C-c @ s +;; +;; Use M-x hide-ifdef-define (C-c @ d) to define a symbol. +;; Use M-x hide-ifdef-undef (C-c @ u) to undefine a symbol. +;; +;; If you define or undefine a symbol while hide-ifdef-mode is in effect, +;; the display will be updated. Only the define list for the current +;; buffer will be affected. You can save changes to the local define +;; list with hide-ifdef-set-define-alist. This adds entries +;; to hide-ifdef-define-alist. +;; +;; If you have defined a hide-ifdef-mode-hook, you can set +;; up a list of symbols that may be used by hide-ifdefs as in the +;; following example: +;; +;; (setq hide-ifdef-mode-hook +;; '(lambda () +;; (if (not hide-ifdef-define-alist) +;; (setq hide-ifdef-define-alist +;; '((list1 ONE TWO) +;; (list2 TWO THREE) +;; ))) +;; (hide-ifdef-use-define-alist 'list2) ; use list2 by default +;; )) +;; +;; You can call hide-ifdef-use-define-alist (C-c @ u) at any time to specify +;; another list to use. +;; +;; To cause ifdefs to be hidden as soon as hide-ifdef-mode is called, +;; set hide-ifdef-initially to non-nil. +;; +;; If you set hide-ifdef-lines to t, hide-ifdefs hides all the #ifdef lines. +;; In the absence of highlighting, that might be a bad idea. If you set +;; hide-ifdef-lines to nil (the default), the surrounding preprocessor +;; lines will be displayed. That can be confusing in its own +;; right. Other variations on display are possible, but not much +;; better. +;; +;; You can explicitly hide or show individual ifdef blocks irrespective +;; of the define list by using hide-ifdef-block and show-ifdef-block. +;; +;; You can move the point between ifdefs with forward-ifdef, backward-ifdef, +;; up-ifdef, down-ifdef, next-ifdef, and previous-ifdef. +;; +;; If you have minor-mode-alist in your mode line (the default) two labels +;; may appear. "Ifdef" will appear when hide-ifdef-mode is active. "Hiding" +;; will appear when text may be hidden ("hide-ifdef-hiding" is non-nil). +;; +;; Written by Brian Marick, at Gould, Computer Systems Division, Urbana IL. +;; Extensively modified by Daniel LaLiberte (while at Gould). +;; +;; You may freely modify and distribute this, but keep a record +;; of modifications and send comments to: +;; liberte@a.cs.uiuc.edu or ihnp4!uiucdcs!liberte +;; I will continue to upgrade hide-ifdef-mode +;; with your contributions. ;;; Code: diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index 66594ad2108..c19f90e27da 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el @@ -1,73 +1,74 @@ ;;; hideshow.el --- minor mode cmds to selectively display blocks of code -;;; Copyright (C) 1994,1995 Free Software Foundation - -;;; Author: Thien-Thi Nguyen <ttn@netcom.com> -;;; Version: 3.4 -;;; Keywords: C C++ lisp tools editing -;;; Time-of-Day-Author-Most-Likely-to-be-Recalcitrant: early morning - -;;; 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 of the License, 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 this program; if not, write to the Free Software Foundation, Inc., -;;; 675 Mass Ave, Cambridge, MA 02139, USA. - -;;; LCD Archive Entry: -;;; hideshow|Thien-Thi Nguyen|ttn@netcom.com| -;;; minor mode commands to selectively display blocks of code| -;;; 18-Oct-1994|3.4|~/modes/hideshow.el.Z| +;; Copyright (C) 1994,1995 Free Software Foundation + +;; Author: Thien-Thi Nguyen <ttn@netcom.com> +;; Version: 3.4 +;; Keywords: C C++ lisp tools editing +;; Time-of-Day-Author-Most-Likely-to-be-Recalcitrant: early morning + +;; This file is part of GNU Emacs. + +;; GNU Emacs is free software; you can redistribute it and/or modify +;; it under the terms of the GNU General Public License as published by +;; the Free Software Foundation; either version 2, or (at your option) +;; any later version. + +;; GNU Emacs is distributed in the hope that it will be useful, +;; but WITHOUT ANY WARRANTY; without even the implied warranty of +;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +;; GNU General Public License for more details. + +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. + +;; LCD Archive Entry: +;; hideshow|Thien-Thi Nguyen|ttn@netcom.com| +;; minor mode commands to selectively display blocks of code| +;; 18-Oct-1994|3.4|~/modes/hideshow.el.Z| ;;; Commentary: -;;; This file provides `hs-minor-mode'. When active, six commands: -;;; hs-{hide,show}-{all,block}, hs-show-region and hs-minor-mode -;;; are available. They implement block hiding and showing. Blocks are -;;; defined in mode-specific way. In c-mode or c++-mode, they are simply -;;; curly braces, while in lisp-ish modes they are parens. Multi-line -;;; comments (c-mode) can also be hidden. The command M-x hs-minor-mode -;;; toggles the minor mode or sets it (similar to outline minor mode). -;;; See documentation for each command for more info. -;;; -;;; The variable `hs-unbalance-handler-method' controls hideshow's behavior -;;; in the case of "unbalanced parentheses". See doc for more info. - -;;; Suggested usage: - -;;; (load-library "hideshow") -;;; (defun my-hs-setup () "enables hideshow and binds some commands" -;;; (hs-minor-mode 1) -;;; (define-key hs-minor-mode-map "\C-ch" 'hs-hide-block) -;;; (define-key hs-minor-mode-map "\C-cs" 'hs-show-block) -;;; (define-key hs-minro-mode-map "\C-cH" 'hs-hide-all) -;;; (define-key hs-minro-mode-map "\C-cS" 'hs-show-all) -;;; (define-key hs-minor-mode-map "\C-cR" 'hs-show-region)) -;;; (add-hook 'X-mode-hook 'my-hs-setup t) ; other modes similarly -;;; -;;; where X = {emacs-lisp,c,c++,perl,...}. See the doc for the variable -;;; `hs-special-modes-alist' if you'd like to use hideshow w/ other modes. - -;;; Etc: - -;;; Bug reports and fixes welcome (comments, too). Thanks go to -;;; Dean Andrews <adahome@ix.netcom.com> -;;; Preston F. Crow <preston.f.crow@dartmouth.edu> -;;; Gael Marziou <gael@gnlab030.grenoble.hp.com> -;;; Keith Sheffield <sheff@edcsgw2.cr.usgs.gov> -;;; Jan Djarv <jan.djarv@sa.erisoft.se> -;;; Lars Lindberg <qhslali@aom.ericsson.se> -;;; Alf-Ivar Holm <alfh@ifi.uio.no> -;;; for valuable feedback, code and bug reports. +;; This file provides `hs-minor-mode'. When active, six commands: +;; hs-{hide,show}-{all,block}, hs-show-region and hs-minor-mode +;; are available. They implement block hiding and showing. Blocks are +;; defined in mode-specific way. In c-mode or c++-mode, they are simply +;; curly braces, while in lisp-ish modes they are parens. Multi-line +;; comments (c-mode) can also be hidden. The command M-x hs-minor-mode +;; toggles the minor mode or sets it (similar to outline minor mode). +;; See documentation for each command for more info. +;; +;; The variable `hs-unbalance-handler-method' controls hideshow's behavior +;; in the case of "unbalanced parentheses". See doc for more info. + +;; Suggested usage: + +;; (load-library "hideshow") +;; (defun my-hs-setup () "enables hideshow and binds some commands" +;; (hs-minor-mode 1) +;; (define-key hs-minor-mode-map "\C-ch" 'hs-hide-block) +;; (define-key hs-minor-mode-map "\C-cs" 'hs-show-block) +;; (define-key hs-minro-mode-map "\C-cH" 'hs-hide-all) +;; (define-key hs-minro-mode-map "\C-cS" 'hs-show-all) +;; (define-key hs-minor-mode-map "\C-cR" 'hs-show-region)) +;; (add-hook 'X-mode-hook 'my-hs-setup t) ; other modes similarly +;; +;; where X = {emacs-lisp,c,c++,perl,...}. See the doc for the variable +;; `hs-special-modes-alist' if you'd like to use hideshow w/ other modes. + +;; Etc: + +;; Bug reports and fixes welcome (comments, too). Thanks go to +;; Dean Andrews <adahome@ix.netcom.com> +;; Preston F. Crow <preston.f.crow@dartmouth.edu> +;; Gael Marziou <gael@gnlab030.grenoble.hp.com> +;; Keith Sheffield <sheff@edcsgw2.cr.usgs.gov> +;; Jan Djarv <jan.djarv@sa.erisoft.se> +;; Lars Lindberg <qhslali@aom.ericsson.se> +;; Alf-Ivar Holm <alfh@ifi.uio.no> +;; for valuable feedback, code and bug reports. ;;; Code: diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el index d075d84ff9e..85e30a77ade 100644 --- a/lisp/progmodes/icon.el +++ b/lisp/progmodes/icon.el @@ -19,8 +19,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el index eabacf23864..b56b9a5dd58 100644 --- a/lisp/progmodes/inf-lisp.el +++ b/lisp/progmodes/inf-lisp.el @@ -1,62 +1,64 @@ ;;; inf-lisp.el --- an inferior-lisp mode -;;; Copyright (C) 1988, 1993, 1994 Free Software Foundation, Inc. + +;; Copyright (C) 1988, 1993, 1994 Free Software Foundation, Inc. ;; Author: Olin Shivers <shivers@cs.cmu.edu> ;; Keywords: processes, lisp -;;; This file is part of GNU Emacs. +;; This file is part of GNU Emacs. -;;; GNU Emacs is free software; you can redistribute it and/or modify -;;; it under the terms of the GNU General Public License as published by -;;; the Free Software Foundation; either version 2, or (at your option) -;;; any later version. +;; GNU Emacs is 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. +;; 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. +;; You should have received a copy of the GNU General Public License +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: -;;; Hacked from tea.el by Olin Shivers (shivers@cs.cmu.edu). 8/88 - -;;; This file defines a a lisp-in-a-buffer package (inferior-lisp -;;; mode) built on top of comint mode. This version is more -;;; featureful, robust, and uniform than the Emacs 18 version. The -;;; key bindings are also more compatible with the bindings of Hemlock -;;; and Zwei (the Lisp Machine emacs). - -;;; Since this mode is built on top of the general command-interpreter-in- -;;; a-buffer mode (comint mode), it shares a common base functionality, -;;; and a common set of bindings, with all modes derived from comint mode. -;;; This makes these modes easier to use. - -;;; For documentation on the functionality provided by comint mode, and -;;; the hooks available for customising it, see the file comint.el. -;;; For further information on inferior-lisp mode, see the comments below. - -;;; Needs fixin: -;;; The load-file/compile-file default mechanism could be smarter -- it -;;; doesn't know about the relationship between filename extensions and -;;; whether the file is source or executable. If you compile foo.lisp -;;; with compile-file, then the next load-file should use foo.bin for -;;; the default, not foo.lisp. This is tricky to do right, particularly -;;; because the extension for executable files varies so much (.o, .bin, -;;; .lbin, .mo, .vo, .ao, ...). -;;; -;;; It would be nice if inferior-lisp (and inferior scheme, T, ...) modes -;;; had a verbose minor mode wherein sending or compiling defuns, etc. -;;; would be reflected in the transcript with suitable comments, e.g. -;;; ";;; redefining fact". Several ways to do this. Which is right? -;;; -;;; When sending text from a source file to a subprocess, the process-mark can -;;; move off the window, so you can lose sight of the process interactions. -;;; Maybe I should ensure the process mark is in the window when I send -;;; text to the process? Switch selectable? +;; Hacked from tea.el by Olin Shivers (shivers@cs.cmu.edu). 8/88 + +;; This file defines a a lisp-in-a-buffer package (inferior-lisp +;; mode) built on top of comint mode. This version is more +;; featureful, robust, and uniform than the Emacs 18 version. The +;; key bindings are also more compatible with the bindings of Hemlock +;; and Zwei (the Lisp Machine emacs). + +;; Since this mode is built on top of the general command-interpreter-in- +;; a-buffer mode (comint mode), it shares a common base functionality, +;; and a common set of bindings, with all modes derived from comint mode. +;; This makes these modes easier to use. + +;; For documentation on the functionality provided by comint mode, and +;; the hooks available for customising it, see the file comint.el. +;; For further information on inferior-lisp mode, see the comments below. + +;; Needs fixin: +;; The load-file/compile-file default mechanism could be smarter -- it +;; doesn't know about the relationship between filename extensions and +;; whether the file is source or executable. If you compile foo.lisp +;; with compile-file, then the next load-file should use foo.bin for +;; the default, not foo.lisp. This is tricky to do right, particularly +;; because the extension for executable files varies so much (.o, .bin, +;; .lbin, .mo, .vo, .ao, ...). +;; +;; It would be nice if inferior-lisp (and inferior scheme, T, ...) modes +;; had a verbose minor mode wherein sending or compiling defuns, etc. +;; would be reflected in the transcript with suitable comments, e.g. +;; ";;; redefining fact". Several ways to do this. Which is right? +;; +;; When sending text from a source file to a subprocess, the process-mark can +;; move off the window, so you can lose sight of the process interactions. +;; Maybe I should ensure the process mark is in the window when I send +;; text to the process? Switch selectable? ;;; Code: diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 33dc45a7cd8..566ae75426a 100644 --- a/lisp/progmodes/make-mode.el +++ b/lisp/progmodes/make-mode.el @@ -25,8 +25,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index cb274328da4..9236cc2a157 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el @@ -23,39 +23,39 @@ ;;; Commentary: -;;; USAGE -;;; ===== - -;;; Emacs should enter Pascal mode when you find a Pascal source file. -;;; When you have entered Pascal mode, you may get more info by pressing -;;; C-h m. You may also get online help describing various functions by: -;;; C-h f <Name of function you want described> - -;;; If you want to customize Pascal mode to fit you better, you may add -;;; these lines (the values of the variables presented here are the defaults): -;;; -;;; ;; User customization for Pascal mode -;;; (setq pascal-indent-level 3 -;;; pascal-case-indent 2 -;;; pascal-auto-newline nil -;;; pascal-tab-always-indent t -;;; pascal-auto-endcomments t -;;; pascal-auto-lineup '(all) -;;; pascal-toggle-completions nil -;;; pascal-type-keywords '("array" "file" "packed" "char" -;;; "integer" "real" "string" "record") -;;; pascal-start-keywords '("begin" "end" "function" "procedure" -;;; "repeat" "until" "while" "read" "readln" -;;; "reset" "rewrite" "write" "writeln") -;;; pascal-separator-keywords '("downto" "else" "mod" "div" "then")) - -;;; KNOWN BUGS / BUGREPORTS -;;; ======================= -;;; As far as I know, there are no bugs in the current version of this -;;; package. This may not be true however, since I never use this mode -;;; myself and therefore would never notice them anyway. If you do -;;; find any bugs, you may submit them to: espensk@stud.cs.uit.no -;;; as well as to bug-gnu-emacs@prep.ai.mit.edu. +;; USAGE +;; ===== + +;; Emacs should enter Pascal mode when you find a Pascal source file. +;; When you have entered Pascal mode, you may get more info by pressing +;; C-h m. You may also get online help describing various functions by: +;; C-h f <Name of function you want described> + +;; If you want to customize Pascal mode to fit you better, you may add +;; these lines (the values of the variables presented here are the defaults): +;; +;; ;; User customization for Pascal mode +;; (setq pascal-indent-level 3 +;; pascal-case-indent 2 +;; pascal-auto-newline nil +;; pascal-tab-always-indent t +;; pascal-auto-endcomments t +;; pascal-auto-lineup '(all) +;; pascal-toggle-completions nil +;; pascal-type-keywords '("array" "file" "packed" "char" +;; "integer" "real" "string" "record") +;; pascal-start-keywords '("begin" "end" "function" "procedure" +;; "repeat" "until" "while" "read" "readln" +;; "reset" "rewrite" "write" "writeln") +;; pascal-separator-keywords '("downto" "else" "mod" "div" "then")) + +;; KNOWN BUGS / BUGREPORTS +;; ======================= +;; As far as I know, there are no bugs in the current version of this +;; package. This may not be true however, since I never use this mode +;; myself and therefore would never notice them anyway. If you do +;; find any bugs, you may submit them to: espensk@stud.cs.uit.no +;; as well as to bug-gnu-emacs@prep.ai.mit.edu. ;;; Code: diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index c8f5568d84f..c38daa0d782 100644 --- a/lisp/progmodes/perl-mode.el +++ b/lisp/progmodes/perl-mode.el @@ -23,8 +23,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 916d4696c66..05a3c7ed5ac 100644 --- a/lisp/progmodes/prolog.el +++ b/lisp/progmodes/prolog.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el index 8393f2c3d6f..6e385fd1ff6 100644 --- a/lisp/progmodes/scheme.el +++ b/lisp/progmodes/scheme.el @@ -18,8 +18,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index c31a36ecd59..6ac62c564e6 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el @@ -1,4 +1,5 @@ ;;; sh-script.el --- shell-script editing commands for Emacs + ;; Copyright (C) 1993, 1994, 1995, 1996 by Free Software Foundation, Inc. ;; Author: Daniel.Pfeiffer@Informatik.START.dbp.de, fax (+49 69) 7588-2389 @@ -19,8 +20,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index 0f8f5a0ec8e..6a3319a5bab 100644 --- a/lisp/progmodes/simula.el +++ b/lisp/progmodes/simula.el @@ -21,8 +21,9 @@ ;; GNU General Public License for more details. ;; You should have received a copy of the GNU General Public License -;; along with GNU Emacs; see the file COPYING. If not, write to -;; the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. +;; along with GNU Emacs; see the file COPYING. If not, write to the +;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, +;; Boston, MA 02111-1307, USA. ;;; Commentary: |