aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes
diff options
context:
space:
mode:
authorKaroly Lorentey2007-01-29 22:21:19 +0000
committerKaroly Lorentey2007-01-29 22:21:19 +0000
commit93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b (patch)
tree6e4e3bec20b8c65eb1f78b0ad302fa6c1977d355 /lisp/progmodes
parent38db5c8d522cc1faa8190e77dbc932a5560e6aad (diff)
parent5c4a60523827062803ab9a55b4325358225d66bf (diff)
downloademacs-93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b.tar.gz
emacs-93afd0f1d463bec0fc8d3127c1d34ccaa4dbe99b.zip
Merged from emacs@sv.gnu.org
Patches applied: * emacs@sv.gnu.org/emacs--devo--0--patch-599 Merge from erc--main--0 * emacs@sv.gnu.org/emacs--devo--0--patch-600 Merge from erc--main--0 * emacs@sv.gnu.org/emacs--devo--0--patch-601 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-602 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-603 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-604 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-605 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-606 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-607 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-608 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-609 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-610 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-611 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-612 Merge from gnus--rel--5.10 * emacs@sv.gnu.org/emacs--devo--0--patch-613 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-614 Make byte compiler correctly write circular constants * emacs@sv.gnu.org/emacs--devo--0--patch-615 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-616 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-617 Update from CVS * emacs@sv.gnu.org/emacs--devo--0--patch-618 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-192 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-193 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-194 Merge from emacs--devo--0 * emacs@sv.gnu.org/gnus--rel--5.10--patch-195 Update from CVS * emacs@sv.gnu.org/gnus--rel--5.10--patch-196 Update from CVS git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-594
Diffstat (limited to 'lisp/progmodes')
-rw-r--r--lisp/progmodes/ada-mode.el2
-rw-r--r--lisp/progmodes/ada-prj.el2
-rw-r--r--lisp/progmodes/ada-stmt.el4
-rw-r--r--lisp/progmodes/ada-xref.el2
-rw-r--r--lisp/progmodes/antlr-mode.el10
-rw-r--r--lisp/progmodes/asm-mode.el2
-rw-r--r--lisp/progmodes/autoconf.el2
-rw-r--r--lisp/progmodes/cc-align.el7
-rw-r--r--lisp/progmodes/cc-awk.el2
-rw-r--r--lisp/progmodes/cc-bytecomp.el4
-rw-r--r--lisp/progmodes/cc-cmds.el15
-rw-r--r--lisp/progmodes/cc-compat.el4
-rw-r--r--lisp/progmodes/cc-defs.el25
-rw-r--r--lisp/progmodes/cc-engine.el147
-rw-r--r--lisp/progmodes/cc-fonts.el2
-rw-r--r--lisp/progmodes/cc-langs.el7
-rw-r--r--lisp/progmodes/cc-menus.el4
-rw-r--r--lisp/progmodes/cc-mode.el4
-rw-r--r--lisp/progmodes/cc-styles.el7
-rw-r--r--lisp/progmodes/cc-subword.el2
-rw-r--r--lisp/progmodes/cc-vars.el7
-rw-r--r--lisp/progmodes/cfengine.el2
-rw-r--r--lisp/progmodes/cmacexp.el2
-rw-r--r--lisp/progmodes/compile.el56
-rw-r--r--lisp/progmodes/cperl-mode.el12
-rw-r--r--lisp/progmodes/cpp.el2
-rw-r--r--lisp/progmodes/cwarn.el2
-rw-r--r--lisp/progmodes/dcl-mode.el2
-rw-r--r--lisp/progmodes/delphi.el2
-rw-r--r--lisp/progmodes/ebnf-abn.el4
-rw-r--r--lisp/progmodes/ebnf-bnf.el4
-rw-r--r--lisp/progmodes/ebnf-dtd.el4
-rw-r--r--lisp/progmodes/ebnf-ebx.el4
-rw-r--r--lisp/progmodes/ebnf-iso.el2
-rw-r--r--lisp/progmodes/ebnf-otz.el4
-rw-r--r--lisp/progmodes/ebnf-yac.el4
-rw-r--r--lisp/progmodes/ebnf2ps.el2
-rw-r--r--lisp/progmodes/etags.el2
-rw-r--r--lisp/progmodes/executable.el2
-rw-r--r--lisp/progmodes/f90.el2
-rw-r--r--lisp/progmodes/flymake.el3
-rw-r--r--lisp/progmodes/fortran.el2
-rw-r--r--lisp/progmodes/gdb-ui.el146
-rw-r--r--lisp/progmodes/glasses.el2
-rw-r--r--lisp/progmodes/grep.el2
-rw-r--r--lisp/progmodes/gud.el2
-rw-r--r--lisp/progmodes/hideif.el2
-rw-r--r--lisp/progmodes/hideshow.el2
-rw-r--r--lisp/progmodes/icon.el2
-rw-r--r--lisp/progmodes/idlw-complete-structtag.el4
-rw-r--r--lisp/progmodes/idlw-help.el5
-rw-r--r--lisp/progmodes/idlw-shell.el5
-rw-r--r--lisp/progmodes/idlw-toolbar.el5
-rw-r--r--lisp/progmodes/idlwave.el5
-rw-r--r--lisp/progmodes/inf-lisp.el2
-rw-r--r--lisp/progmodes/ld-script.el2
-rw-r--r--lisp/progmodes/m4-mode.el2
-rw-r--r--lisp/progmodes/make-mode.el2
-rw-r--r--lisp/progmodes/mantemp.el2
-rw-r--r--lisp/progmodes/meta-mode.el2
-rw-r--r--lisp/progmodes/mixal-mode.el3
-rw-r--r--lisp/progmodes/octave-hlp.el2
-rw-r--r--lisp/progmodes/octave-inf.el2
-rw-r--r--lisp/progmodes/octave-mod.el2
-rw-r--r--lisp/progmodes/pascal.el2
-rw-r--r--lisp/progmodes/perl-mode.el2
-rw-r--r--lisp/progmodes/prolog.el2
-rw-r--r--lisp/progmodes/ps-mode.el2
-rw-r--r--lisp/progmodes/python.el2
-rw-r--r--lisp/progmodes/scheme.el2
-rw-r--r--lisp/progmodes/sh-script.el2
-rw-r--r--lisp/progmodes/simula.el2
-rw-r--r--lisp/progmodes/sql.el2
-rw-r--r--lisp/progmodes/tcl.el2
-rw-r--r--lisp/progmodes/vhdl-mode.el2
-rw-r--r--lisp/progmodes/which-func.el2
-rw-r--r--lisp/progmodes/xscheme.el2
77 files changed, 367 insertions, 242 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el
index c529e3a8265..9581fd436b3 100644
--- a/lisp/progmodes/ada-mode.el
+++ b/lisp/progmodes/ada-mode.el
@@ -1,7 +1,7 @@
1;;; ada-mode.el --- major-mode for editing Ada sources 1;;; ada-mode.el --- major-mode for editing Ada sources
2 2
3;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 3;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4;; 2005, 2006 Free Software Foundation, Inc. 4;; 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Rolf Ebert <ebert@inf.enst.fr> 6;; Author: Rolf Ebert <ebert@inf.enst.fr>
7;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> 7;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de>
diff --git a/lisp/progmodes/ada-prj.el b/lisp/progmodes/ada-prj.el
index e1906df5f96..10a5b670c54 100644
--- a/lisp/progmodes/ada-prj.el
+++ b/lisp/progmodes/ada-prj.el
@@ -1,6 +1,6 @@
1;;; ada-prj.el --- GUI editing of project files for the ada-mode 1;;; ada-prj.el --- GUI editing of project files for the ada-mode
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Emmanuel Briot <briot@gnat.com> 6;; Author: Emmanuel Briot <briot@gnat.com>
diff --git a/lisp/progmodes/ada-stmt.el b/lisp/progmodes/ada-stmt.el
index fa6c680779a..483a54df13b 100644
--- a/lisp/progmodes/ada-stmt.el
+++ b/lisp/progmodes/ada-stmt.el
@@ -1,7 +1,7 @@
1;;; ada-stmt.el --- an extension to Ada mode for inserting statement templates 1;;; ada-stmt.el --- an extension to Ada mode for inserting statement templates
2 2
3;; Copyright(C) 1987, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 3;; Copyright (C) 1987, 1993, 1994, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; This file is part of GNU Emacs. 6;; This file is part of GNU Emacs.
7 7
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el
index 9996a697bb2..9c239ee6dbb 100644
--- a/lisp/progmodes/ada-xref.el
+++ b/lisp/progmodes/ada-xref.el
@@ -1,7 +1,7 @@
1;; ada-xref.el --- for lookup and completion in Ada mode 1;; ada-xref.el --- for lookup and completion in Ada mode
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
4;; 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> 6;; Author: Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de>
7;; Rolf Ebert <ebert@inf.enst.fr> 7;; Rolf Ebert <ebert@inf.enst.fr>
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el
index e31a94030c3..3b7a2015af5 100644
--- a/lisp/progmodes/antlr-mode.el
+++ b/lisp/progmodes/antlr-mode.el
@@ -1,6 +1,6 @@
1;;; antlr-mode.el --- major mode for ANTLR grammar files 1;;; antlr-mode.el --- major mode for ANTLR grammar files
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5;; 5;;
6;; Author: Christoph.Wedler@sap.com 6;; Author: Christoph.Wedler@sap.com
@@ -319,7 +319,7 @@ function and REGEXP is a regular expression.
319 319
320If `antlr-language' equals to a MODE, the line starting at the first 320If `antlr-language' equals to a MODE, the line starting at the first
321non-whitespace is matched by the corresponding REGEXP, and the line is 321non-whitespace is matched by the corresponding REGEXP, and the line is
322part of an header action, indent the line at column 0 instead according 322part of a header action, indent the line at column 0 instead according
323to the normal rules of `antlr-indent-line'." 323to the normal rules of `antlr-indent-line'."
324 :group 'antlr 324 :group 'antlr
325 :type '(repeat (cons (function :tag "Major mode") regexp))) 325 :type '(repeat (cons (function :tag "Major mode") regexp)))
@@ -1659,7 +1659,7 @@ Return \(LEVEL OPTION LOCATION)."
1659 :active active)) 1659 :active active))
1660 (sort (mapcar 'car (elt antlr-options-alists (1- level))) 1660 (sort (mapcar 'car (elt antlr-options-alists (1- level)))
1661 'string-lessp)))) 1661 'string-lessp))))
1662 1662
1663 1663
1664;;;=========================================================================== 1664;;;===========================================================================
1665;;; Insert option: determine section-kind 1665;;; Insert option: determine section-kind
@@ -1936,7 +1936,7 @@ For OLD, see `antlr-insert-option-do'."
1936 ;; stuff (no =, {, } or /) at point is not followed by ";" 1936 ;; stuff (no =, {, } or /) at point is not followed by ";"
1937 (insert ";") 1937 (insert ";")
1938 (backward-char))) 1938 (backward-char)))
1939 1939
1940(defun antlr-insert-option-space (area old) 1940(defun antlr-insert-option-space (area old)
1941 "Find appropriate place to insert option, insert newlines/spaces. 1941 "Find appropriate place to insert option, insert newlines/spaces.
1942For AREA and OLD, see `antlr-insert-option-do'." 1942For AREA and OLD, see `antlr-insert-option-do'."
@@ -1956,7 +1956,7 @@ For AREA and OLD, see `antlr-insert-option-do'."
1956 (setq orig (point)) 1956 (setq orig (point))
1957 (goto-char orig))) 1957 (goto-char orig)))
1958 (skip-chars-forward " \t") 1958 (skip-chars-forward " \t")
1959 1959
1960 (if (looking-at "$\\|//") 1960 (if (looking-at "$\\|//")
1961 ;; just comment after point => skip (+ lines w/ same col comment) 1961 ;; just comment after point => skip (+ lines w/ same col comment)
1962 (let ((same (if (> (match-end 0) (match-beginning 0)) 1962 (let ((same (if (> (match-end 0) (match-beginning 0))
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el
index ebb532a3525..3ca8c671e8c 100644
--- a/lisp/progmodes/asm-mode.el
+++ b/lisp/progmodes/asm-mode.el
@@ -1,6 +1,6 @@
1;;; asm-mode.el --- mode for editing assembler code 1;;; asm-mode.el --- mode for editing assembler code
2 2
3;; Copyright (C) 1991, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1991, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Eric S. Raymond <esr@snark.thyrsus.com> 6;; Author: Eric S. Raymond <esr@snark.thyrsus.com>
diff --git a/lisp/progmodes/autoconf.el b/lisp/progmodes/autoconf.el
index 08a849b16bc..1d08b094351 100644
--- a/lisp/progmodes/autoconf.el
+++ b/lisp/progmodes/autoconf.el
@@ -1,6 +1,6 @@
1;;; autoconf.el --- mode for editing Autoconf configure.in files 1;;; autoconf.el --- mode for editing Autoconf configure.in files
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
diff --git a/lisp/progmodes/cc-align.el b/lisp/progmodes/cc-align.el
index 847e43a46b7..f9e44d784f1 100644
--- a/lisp/progmodes/cc-align.el
+++ b/lisp/progmodes/cc-align.el
@@ -1,10 +1,11 @@
1;;; cc-align.el --- custom indentation functions for CC Mode 1;;; cc-align.el --- custom indentation functions for CC Mode
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 2004- Alan Mackenzie
8;; 1998- Martin Stjernholm
8;; 1992-1999 Barry A. Warsaw 9;; 1992-1999 Barry A. Warsaw
9;; 1987 Dave Detlefs and Stewart Clamen 10;; 1987 Dave Detlefs and Stewart Clamen
10;; 1985 Richard M. Stallman 11;; 1985 Richard M. Stallman
diff --git a/lisp/progmodes/cc-awk.el b/lisp/progmodes/cc-awk.el
index bc745873638..b0c15bff903 100644
--- a/lisp/progmodes/cc-awk.el
+++ b/lisp/progmodes/cc-awk.el
@@ -1,7 +1,7 @@
1;;; cc-awk.el --- AWK specific code within cc-mode. 1;;; cc-awk.el --- AWK specific code within cc-mode.
2 2
3;; Copyright (C) 1988, 1994, 1996, 2000, 2001, 2002, 2003, 2004, 2005, 3;; Copyright (C) 1988, 1994, 1996, 2000, 2001, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc. 4;; 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Alan Mackenzie <acm@muc.de> (originally based on awk-mode.el) 6;; Author: Alan Mackenzie <acm@muc.de> (originally based on awk-mode.el)
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/progmodes/cc-bytecomp.el b/lisp/progmodes/cc-bytecomp.el
index 4a1e22d0c42..b2f793c0b1c 100644
--- a/lisp/progmodes/cc-bytecomp.el
+++ b/lisp/progmodes/cc-bytecomp.el
@@ -1,7 +1,7 @@
1;;; cc-bytecomp.el --- compile time setup for proper compilation 1;;; cc-bytecomp.el --- compile time setup for proper compilation
2 2
3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Martin Stjernholm 6;; Author: Martin Stjernholm
7;; Maintainer: bug-cc-mode@gnu.org 7;; Maintainer: bug-cc-mode@gnu.org
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el
index e7bea0e0b29..96924899ea3 100644
--- a/lisp/progmodes/cc-cmds.el
+++ b/lisp/progmodes/cc-cmds.el
@@ -1,10 +1,11 @@
1;;; cc-cmds.el --- user level commands for CC Mode 1;;; cc-cmds.el --- user level commands for CC Mode
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 2003- Alan Mackenzie
8;; 1998- Martin Stjernholm
8;; 1992-1999 Barry A. Warsaw 9;; 1992-1999 Barry A. Warsaw
9;; 1987 Dave Detlefs and Stewart Clamen 10;; 1987 Dave Detlefs and Stewart Clamen
10;; 1985 Richard M. Stallman 11;; 1985 Richard M. Stallman
@@ -1382,8 +1383,7 @@ No indentation or other \"electric\" behavior is performed."
1382 ;; 1383 ;;
1383 ;; This function might do hidden buffer changes. 1384 ;; This function might do hidden buffer changes.
1384 (save-excursion 1385 (save-excursion
1385 (let* (pos 1386 (let* (kluge-start
1386 kluge-start
1387 decl-result brace-decl-p 1387 decl-result brace-decl-p
1388 (start (point)) 1388 (start (point))
1389 (paren-state (c-parse-state)) 1389 (paren-state (c-parse-state))
@@ -1416,11 +1416,12 @@ No indentation or other \"electric\" behavior is performed."
1416 (setq kluge-start (point)) 1416 (setq kluge-start (point))
1417 (setq decl-result 1417 (setq decl-result
1418 (car (c-beginning-of-decl-1 1418 (car (c-beginning-of-decl-1
1419 ;; NOTE: If we're in a K&R region, this might be the start
1420 ;; of a parameter declaration, not the actual function.
1419 (and least-enclosing ; LIMIT for c-b-of-decl-1 1421 (and least-enclosing ; LIMIT for c-b-of-decl-1
1420 (c-safe-position least-enclosing paren-state))))) 1422 (c-safe-position least-enclosing paren-state)))))
1421 1423
1422 ;; Has the declaration we've gone back to got braces? 1424 ;; Has the declaration we've gone back to got braces?
1423 (setq pos (point)) ; the search limit for c-recognize-knr-p
1424 (setq brace-decl-p 1425 (setq brace-decl-p
1425 (save-excursion 1426 (save-excursion
1426 (and (c-syntactic-re-search-forward "[;{]" nil t t) 1427 (and (c-syntactic-re-search-forward "[;{]" nil t t)
@@ -1430,7 +1431,7 @@ No indentation or other \"electric\" behavior is performed."
1430 ;; ';' in a K&R argdecl. In 1431 ;; ';' in a K&R argdecl. In
1431 ;; that case the declaration 1432 ;; that case the declaration
1432 ;; should contain a block. 1433 ;; should contain a block.
1433 (c-in-knr-argdecl pos)))))) 1434 (c-in-knr-argdecl))))))
1434 1435
1435 (cond 1436 (cond
1436 ((= (point) kluge-start) ; might be BOB or unbalanced parens. 1437 ((= (point) kluge-start) ; might be BOB or unbalanced parens.
diff --git a/lisp/progmodes/cc-compat.el b/lisp/progmodes/cc-compat.el
index 4d0266ec41c..07433b9630b 100644
--- a/lisp/progmodes/cc-compat.el
+++ b/lisp/progmodes/cc-compat.el
@@ -1,8 +1,8 @@
1;;; cc-compat.el --- cc-mode compatibility with c-mode.el confusion 1;;; cc-compat.el --- cc-mode compatibility with c-mode.el confusion
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 1998- Martin Stjernholm
8;; 1994-1999 Barry A. Warsaw 8;; 1994-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index b4063554384..1858b43f326 100644
--- a/lisp/progmodes/cc-defs.el
+++ b/lisp/progmodes/cc-defs.el
@@ -1,10 +1,11 @@
1;;; cc-defs.el --- compile time definitions for CC Mode 1;;; cc-defs.el --- compile time definitions for CC Mode
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 2003- Alan Mackenzie
8;; 1998- Martin Stjernholm
8;; 1992-1999 Barry A. Warsaw 9;; 1992-1999 Barry A. Warsaw
9;; 1987 Dave Detlefs and Stewart Clamen 10;; 1987 Dave Detlefs and Stewart Clamen
10;; 1985 Richard M. Stallman 11;; 1985 Richard M. Stallman
@@ -579,6 +580,24 @@ right side of it."
579;; Wrappers for common scan-lists cases, mainly because it's almost 580;; Wrappers for common scan-lists cases, mainly because it's almost
580;; impossible to get a feel for how that function works. 581;; impossible to get a feel for how that function works.
581 582
583(defmacro c-go-list-forward ()
584 "Move backward across one balanced group of parentheses.
585
586Return POINT when we succeed, NIL when we fail. In the latter case, leave
587point unmoved."
588 `(c-safe (let ((endpos (scan-lists (point) 1 0)))
589 (goto-char endpos)
590 endpos)))
591
592(defmacro c-go-list-backward ()
593 "Move backward across one balanced group of parentheses.
594
595Return POINT when we succeed, NIL when we fail. In the latter case, leave
596point unmoved."
597 `(c-safe (let ((endpos (scan-lists (point) -1 0)))
598 (goto-char endpos)
599 endpos)))
600
582(defmacro c-up-list-forward (&optional pos limit) 601(defmacro c-up-list-forward (&optional pos limit)
583 "Return the first position after the list sexp containing POS, 602 "Return the first position after the list sexp containing POS,
584or nil if no such position exists. The point is used if POS is left out. 603or nil if no such position exists. The point is used if POS is left out.
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el
index bacb4670ea0..f05d6632473 100644
--- a/lisp/progmodes/cc-engine.el
+++ b/lisp/progmodes/cc-engine.el
@@ -1,10 +1,11 @@
1;;; cc-engine.el --- core syntax guessing engine for CC mode 1;;; cc-engine.el --- core syntax guessing engine for CC mode
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 2001- Alan Mackenzie
8;; 1998- Martin Stjernholm
8;; 1992-1999 Barry A. Warsaw 9;; 1992-1999 Barry A. Warsaw
9;; 1987 Dave Detlefs and Stewart Clamen 10;; 1987 Dave Detlefs and Stewart Clamen
10;; 1985 Richard M. Stallman 11;; 1985 Richard M. Stallman
@@ -6220,65 +6221,101 @@ comment at the start of cc-engine.el for more info."
6220 ;; `c-recognize-knr-p' is not checked. If LIM is non-nil, it's a 6221 ;; `c-recognize-knr-p' is not checked. If LIM is non-nil, it's a
6221 ;; position that bounds the backward search for the argument list. 6222 ;; position that bounds the backward search for the argument list.
6222 ;; 6223 ;;
6223 ;; Note: A declaration level context is assumed; the test can return 6224 ;; Point must be within a possible K&R region, e.g. just before a top-level
6224 ;; false positives for statements. 6225 ;; "{". It must be outside of parens and brackets. The test can return
6226 ;; false positives otherwise.
6225 ;; 6227 ;;
6226 ;; This function might do hidden buffer changes. 6228 ;; This function might do hidden buffer changes.
6227 6229
6228 (save-excursion 6230 (save-excursion
6229 (save-restriction 6231 (save-restriction
6232 ;; If we're in a macro, our search range is restricted to it. Narrow to
6233 ;; the searchable range.
6234 (let* ((macro-start (c-query-macro-start))
6235 (lim (max (or lim (point-min)) (or macro-start (point-min))))
6236 before-lparen after-rparen)
6237 (narrow-to-region lim (c-point 'eol))
6238
6239 ;; Search backwards for the defun's argument list. We give up if we
6240 ;; encounter a "}" (end of a previous defun) or BOB.
6241 ;;
6242 ;; The criterion for a paren structure being the arg list is:
6243 ;; o - there is non-WS stuff after it but before any "{"; AND
6244 ;; o - the token after it isn't a ";" AND
6245 ;; o - it is preceded by either an identifier (the function name) or
6246 ;; a macro expansion like "DEFUN (...)"; AND
6247 ;; o - its content is a non-empty comma-separated list of identifiers
6248 ;; (an empty arg list won't have a knr region).
6249 ;;
6250 ;; The following snippet illustrates these rules:
6251 ;; int foo (bar, baz, yuk)
6252 ;; int bar [] ;
6253 ;; int (*baz) (my_type) ;
6254 ;; int (*) (void) (*yuk) (void) ;
6255 ;; {
6256
6257 (catch 'knr
6258 (while t ; go round one paren/bracket construct each time round.
6259 (or (c-syntactic-skip-backward "^)]}")
6260 (throw 'knr nil)) ; no more bpb pairs left.
6261 (cond ((eq (char-before) ?\))
6262 (setq after-rparen (point)))
6263 ((eq (char-before) ?\})
6264 (throw 'knr nil))
6265 (t (setq after-rparen nil))) ; "]"
6266
6267 (if after-rparen
6268 ;; We're inside a paren. Could it be our argument list....?
6269 (if
6270 (and
6271 (progn
6272 (goto-char after-rparen)
6273 (unless (c-go-list-backward) (throw 'knr nil)) ;
6274 ;; FIXME!!! What about macros between the parens? 2007/01/20
6275 (setq before-lparen (point)))
6230 6276
6231 ;; Go back to the closest preceding normal parenthesis sexp. We 6277 ;; It can't be the arg list if next token is ; or {
6232 ;; take that as the argument list in the function header. Then 6278 (progn (goto-char after-rparen)
6233 ;; check that it's followed by some symbol before the next ';' 6279 (c-forward-syntactic-ws)
6234 ;; or '{'. If it does, it's the header of the K&R argdecl we're 6280 (not (memq (char-after) '(?\; ?\{))))
6235 ;; in.
6236 (if lim (narrow-to-region lim (c-point 'eol)))
6237 (let ((outside-macro (not (c-query-macro-start)))
6238 paren-end)
6239
6240 (catch 'done
6241 (while (if (and (setq paren-end (c-down-list-backward (point)))
6242 (eq (char-after paren-end) ?\)))
6243 (progn
6244 (goto-char (1+ paren-end))
6245 (if outside-macro
6246 (c-beginning-of-macro)))
6247 (throw 'done nil))))
6248
6249 (and (progn
6250 (c-forward-syntactic-ws)
6251 (looking-at "\\w\\|\\s_"))
6252
6253 (save-excursion
6254 ;; The function header in a K&R declaration should only
6255 ;; contain identifiers separated by comma. It should
6256 ;; also contain at least one identifier since there
6257 ;; wouldn't be anything to declare in the K&R region
6258 ;; otherwise.
6259 (when (c-go-up-list-backward paren-end)
6260 (forward-char)
6261 (catch 'knr-ok
6262 (while t
6263 (c-forward-syntactic-ws)
6264 (if (or (looking-at c-known-type-key)
6265 (looking-at c-keywords-regexp))
6266 (throw 'knr-ok nil))
6267 (c-forward-token-2)
6268 (if (eq (char-after) ?,)
6269 (forward-char)
6270 (throw 'knr-ok (and (eq (char-after) ?\))
6271 (= (point) paren-end))))))))
6272 6281
6273 (save-excursion 6282 ;; Is the thing preceding the list an identifier (the
6274 ;; If it's a K&R declaration then we're now at the 6283 ;; function name), or a macro expansion?
6275 ;; beginning of the function arglist. Check that there 6284 (progn
6276 ;; isn't a '=' before it in this statement since that 6285 (goto-char before-lparen)
6277 ;; means it some kind of initialization instead. 6286 (eq (c-backward-token-2) 0)
6278 (c-syntactic-skip-backward "^;=}{") 6287 (or (c-on-identifier)
6279 (not (eq (char-before) ?=))) 6288 (and (eq (char-after) ?\))
6280 6289 (c-go-up-list-backward)
6281 (point)))))) 6290 (eq (c-backward-token-2) 0)
6291 (c-on-identifier))))
6292
6293 ;; Have we got a non-empty list of comma-separated
6294 ;; identifiers?
6295 (progn
6296 (goto-char before-lparen)
6297 (c-forward-token-2) ; to first token inside parens
6298 (and
6299 (c-on-identifier)
6300 (c-forward-token-2)
6301 (catch 'id-list
6302 (while (eq (char-after) ?\,)
6303 (c-forward-token-2)
6304 (unless (c-on-identifier) (throw 'id-list nil))
6305 (c-forward-token-2))
6306 (eq (char-after) ?\))))))
6307
6308 ;; ...Yes. We've identified the function's argument list.
6309 (throw 'knr
6310 (progn (goto-char after-rparen)
6311 (c-forward-syntactic-ws)
6312 (point)))
6313
6314 ;; ...No. The current parens aren't the function's arg list.
6315 (goto-char before-lparen))
6316
6317 (or (c-go-list-backward) ; backwards over [ .... ]
6318 (throw 'knr nil)))))))))
6282 6319
6283(defun c-skip-conditional () 6320(defun c-skip-conditional ()
6284 ;; skip forward over conditional at point, including any predicate 6321 ;; skip forward over conditional at point, including any predicate
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el
index ab31fa877f7..a880ae9a1fe 100644
--- a/lisp/progmodes/cc-fonts.el
+++ b/lisp/progmodes/cc-fonts.el
@@ -1,6 +1,6 @@
1;;; cc-fonts.el --- font lock support for CC Mode 1;;; cc-fonts.el --- font lock support for CC Mode
2 2
3;; Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
4 4
5;; Authors: 2003- Alan Mackenzie 5;; Authors: 2003- Alan Mackenzie
6;; 2002- Martin Stjernholm 6;; 2002- Martin Stjernholm
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el
index 6907b56d6c6..fe01ab02ae3 100644
--- a/lisp/progmodes/cc-langs.el
+++ b/lisp/progmodes/cc-langs.el
@@ -1,10 +1,11 @@
1;;; cc-langs.el --- language specific settings for CC Mode 1;;; cc-langs.el --- language specific settings for CC Mode
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 2002- Alan Mackenzie
8;; 1998- Martin Stjernholm
8;; 1992-1999 Barry A. Warsaw 9;; 1992-1999 Barry A. Warsaw
9;; 1987 Dave Detlefs and Stewart Clamen 10;; 1987 Dave Detlefs and Stewart Clamen
10;; 1985 Richard M. Stallman 11;; 1985 Richard M. Stallman
diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el
index c54d73db513..514945c269d 100644
--- a/lisp/progmodes/cc-menus.el
+++ b/lisp/progmodes/cc-menus.el
@@ -1,8 +1,8 @@
1;;; cc-menus.el --- imenu support for CC Mode 1;;; cc-menus.el --- imenu support for CC Mode
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 1998- Martin Stjernholm
8;; 1992-1999 Barry A. Warsaw 8;; 1992-1999 Barry A. Warsaw
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el
index 993fd102951..e2891bde98d 100644
--- a/lisp/progmodes/cc-mode.el
+++ b/lisp/progmodes/cc-mode.el
@@ -1,8 +1,8 @@
1;;; cc-mode.el --- major mode for editing C and similar languages 1;;; cc-mode.el --- major mode for editing C and similar languages
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 2003- Alan Mackenzie 7;; Authors: 2003- Alan Mackenzie
8;; 1998- Martin Stjernholm 8;; 1998- Martin Stjernholm
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el
index 98bc4e1f801..228269b67bf 100644
--- a/lisp/progmodes/cc-styles.el
+++ b/lisp/progmodes/cc-styles.el
@@ -1,10 +1,11 @@
1;;; cc-styles.el --- support for styles in CC Mode 1;;; cc-styles.el --- support for styles in CC Mode
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 2004- Alan Mackenzie
8;; 1998- Martin Stjernholm
8;; 1992-1999 Barry A. Warsaw 9;; 1992-1999 Barry A. Warsaw
9;; 1987 Dave Detlefs and Stewart Clamen 10;; 1987 Dave Detlefs and Stewart Clamen
10;; 1985 Richard M. Stallman 11;; 1985 Richard M. Stallman
diff --git a/lisp/progmodes/cc-subword.el b/lisp/progmodes/cc-subword.el
index c1ed9e300e7..29494fdc6a7 100644
--- a/lisp/progmodes/cc-subword.el
+++ b/lisp/progmodes/cc-subword.el
@@ -1,6 +1,6 @@
1;;; cc-subword.el --- Handling capitalized subwords in a nomenclature 1;;; cc-subword.el --- Handling capitalized subwords in a nomenclature
2 2
3;; Copyright (C) 2004, 2005, 2006 Free Software Foundation, Inc. 3;; Copyright (C) 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
4 4
5;; Author: Masatake YAMATO 5;; Author: Masatake YAMATO
6 6
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el
index 2f3e83886d2..3aac25b43ed 100644
--- a/lisp/progmodes/cc-vars.el
+++ b/lisp/progmodes/cc-vars.el
@@ -1,10 +1,11 @@
1;;; cc-vars.el --- user customization variables for CC Mode 1;;; cc-vars.el --- user customization variables for CC Mode
2 2
3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3;; Copyright (C) 1985, 1987, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free Software 4;; 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Authors: 1998- Martin Stjernholm 7;; Authors: 2002- Alan Mackenzie
8;; 1998- Martin Stjernholm
8;; 1992-1999 Barry A. Warsaw 9;; 1992-1999 Barry A. Warsaw
9;; 1987 Dave Detlefs and Stewart Clamen 10;; 1987 Dave Detlefs and Stewart Clamen
10;; 1985 Richard M. Stallman 11;; 1985 Richard M. Stallman
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el
index fd10bf3a9c2..756979b3d78 100644
--- a/lisp/progmodes/cfengine.el
+++ b/lisp/progmodes/cfengine.el
@@ -1,6 +1,6 @@
1;;; cfengine.el --- mode for editing Cfengine files 1;;; cfengine.el --- mode for editing Cfengine files
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Dave Love <fx@gnu.org> 6;; Author: Dave Love <fx@gnu.org>
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el
index 8531a2f3133..03fb90d992c 100644
--- a/lisp/progmodes/cmacexp.el
+++ b/lisp/progmodes/cmacexp.el
@@ -1,6 +1,6 @@
1;;; cmacexp.el --- expand C macros in a region 1;;; cmacexp.el --- expand C macros in a region
2 2
3;; Copyright (C) 1992, 1994, 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1992, 1994, 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Francesco Potorti` <pot@gnu.org> 6;; Author: Francesco Potorti` <pot@gnu.org>
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el
index c6876fb5d79..3039f614fb2 100644
--- a/lisp/progmodes/compile.el
+++ b/lisp/progmodes/compile.el
@@ -1,7 +1,7 @@
1;;; compile.el --- run compiler as inferior of Emacs, parse error messages 1;;; compile.el --- run compiler as inferior of Emacs, parse error messages
2 2
3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Authors: Roland McGrath <roland@gnu.org>, 6;; Authors: Roland McGrath <roland@gnu.org>,
7;; Daniel Pfeiffer <occitan@esperanto.org> 7;; Daniel Pfeiffer <occitan@esperanto.org>
@@ -248,7 +248,7 @@ of[ \t]+\"?\\([a-zA-Z]?:?[^\":\n]+\\)\"?:" 3 2 nil (1))
248 2 3 4 (1)) 248 2 3 4 (1))
249 249
250 (makepp 250 (makepp
251 "^makepp: \\(?:\\(?:warning\\(:\\).*?\\|\\(Scanning\\|[LR]e?l?oading makefile\\|Imported\\) \\|.*?\\)\ 251 "^makepp\\(?:\\(?:: warning\\(:\\).*?\\|\\(: Scanning\\|: [LR]e?l?oading makefile\\|: Imported\\|log:.*?\\) \\|: .*?\\)\
252`\\(\\(\\S +?\\)\\(?::\\([0-9]+\\)\\)?\\)['(]\\)" 252`\\(\\(\\S +?\\)\\(?::\\([0-9]+\\)\\)?\\)['(]\\)"
253 4 5 nil (1 . 2) 3 253 4 5 nil (1 . 2) 3
254 ("`\\(\\(\\S +?\\)\\(?::\\([0-9]+\\)\\)?\\)['(]" nil nil 254 ("`\\(\\(\\S +?\\)\\(?::\\([0-9]+\\)\\)?\\)['(]" nil nil
@@ -1494,25 +1494,34 @@ Just inserts the text, but uses `insert-before-markers'."
1494 (with-current-buffer buffer 1494 (with-current-buffer buffer
1495 (compilation-buffer-internal-p))) 1495 (compilation-buffer-internal-p)))
1496 1496
1497(defmacro compilation-loop (< property-change 1+ error) 1497(defmacro compilation-loop (< property-change 1+ error limit)
1498 `(while (,< n 0) 1498 `(let (opt)
1499 (or (setq pt (,property-change pt 'message)) 1499 (while (,< n 0)
1500 (error ,error compilation-error)) 1500 (setq opt pt)
1501 ;; prop 'message usually has 2 changes, on and off, so re-search if off 1501 (or (setq pt (,property-change pt 'message))
1502 (or (setq msg (get-text-property pt 'message)) 1502 ;; Handle the case where where the first error message is
1503 (if (setq pt (,property-change pt 'message)) 1503 ;; at the start of the buffer, and n < 0.
1504 (setq msg (get-text-property pt 'message))) 1504 (if (or (eq (get-text-property ,limit 'message)
1505 (error ,error compilation-error)) 1505 (get-text-property opt 'message))
1506 (or (< (cadr msg) compilation-skip-threshold) 1506 (eq pt opt))
1507 (if different-file 1507 (error ,error compilation-error)
1508 (eq (prog1 last (setq last (nth 2 (car msg)))) 1508 (setq pt ,limit)))
1509 last)) 1509 ;; prop 'message usually has 2 changes, on and off, so
1510 (if compilation-skip-visited 1510 ;; re-search if off
1511 (nthcdr 4 (car msg))) 1511 (or (setq msg (get-text-property pt 'message))
1512 (if compilation-skip-to-next-location 1512 (if (setq pt (,property-change pt 'message nil ,limit))
1513 (eq (car msg) loc)) 1513 (setq msg (get-text-property pt 'message)))
1514 ;; count this message only if none of the above are true 1514 (error ,error compilation-error))
1515 (setq n (,1+ n))))) 1515 (or (< (cadr msg) compilation-skip-threshold)
1516 (if different-file
1517 (eq (prog1 last (setq last (nth 2 (car msg))))
1518 last))
1519 (if compilation-skip-visited
1520 (nthcdr 4 (car msg)))
1521 (if compilation-skip-to-next-location
1522 (eq (car msg) loc))
1523 ;; count this message only if none of the above are true
1524 (setq n (,1+ n))))))
1516 1525
1517(defun compilation-next-error (n &optional different-file pt) 1526(defun compilation-next-error (n &optional different-file pt)
1518 "Move point to the next error in the compilation buffer. 1527 "Move point to the next error in the compilation buffer.
@@ -1542,12 +1551,13 @@ Does NOT find the source line like \\[next-error]."
1542 (compilation-loop > next-single-property-change 1- 1551 (compilation-loop > next-single-property-change 1-
1543 (if (get-buffer-process (current-buffer)) 1552 (if (get-buffer-process (current-buffer))
1544 "No more %ss yet" 1553 "No more %ss yet"
1545 "Moved past last %s")) 1554 "Moved past last %s")
1555 (point-max))
1546 ;; Don't move "back" to message at or before point. 1556 ;; Don't move "back" to message at or before point.
1547 ;; Pass an explicit (point-min) to make sure pt is non-nil. 1557 ;; Pass an explicit (point-min) to make sure pt is non-nil.
1548 (setq pt (previous-single-property-change pt 'message nil (point-min))) 1558 (setq pt (previous-single-property-change pt 'message nil (point-min)))
1549 (compilation-loop < previous-single-property-change 1+ 1559 (compilation-loop < previous-single-property-change 1+
1550 "Moved back before first %s"))) 1560 "Moved back before first %s" (point-min))))
1551 (goto-char pt) 1561 (goto-char pt)
1552 (or msg 1562 (or msg
1553 (error "No %s here" compilation-error)))) 1563 (error "No %s here" compilation-error))))
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el
index 14cbaf9c0f4..29f4cc372d3 100644
--- a/lisp/progmodes/cperl-mode.el
+++ b/lisp/progmodes/cperl-mode.el
@@ -1,7 +1,7 @@
1;;; cperl-mode.el --- Perl code editing commands for Emacs 1;;; cperl-mode.el --- Perl code editing commands for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 3;; Copyright (C) 1985, 1986, 1987, 1991, 1992, 1993, 1994, 1995, 1996, 1997,
4;; 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 4;; 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Free Software Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Author: Ilya Zakharevich and Bob Olson 7;; Author: Ilya Zakharevich and Bob Olson
@@ -352,7 +352,15 @@ Can be overwritten by `cperl-hairy' if nil."
352 352
353(defcustom cperl-electric-keywords nil 353(defcustom cperl-electric-keywords nil
354 "*Not-nil (and non-null) means keywords are electric in CPerl. 354 "*Not-nil (and non-null) means keywords are electric in CPerl.
355Can be overwritten by `cperl-hairy' if nil." 355Can be overwritten by `cperl-hairy' if nil.
356
357Uses `abbrev-mode' to do the expansion. If you want to use your
358own abbrevs in cperl-mode, but do not want keywords to be
359electric, you must redefine `cperl-mode-abbrev-table': do
360\\[edit-abbrevs], search for `cperl-mode-abbrev-table', and, in
361that paragraph, delete the words that appear at the ends of lines and
362that begin with \"cperl-electric\".
363"
356 :type '(choice (const null) boolean) 364 :type '(choice (const null) boolean)
357 :group 'cperl-affected-by-hairy) 365 :group 'cperl-affected-by-hairy)
358 366
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el
index 62f74b41a70..65ed00e6d6e 100644
--- a/lisp/progmodes/cpp.el
+++ b/lisp/progmodes/cpp.el
@@ -1,6 +1,6 @@
1;;; cpp.el --- highlight or hide text according to cpp conditionals 1;;; cpp.el --- highlight or hide text according to cpp conditionals
2 2
3;; Copyright (C) 1994, 1995, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1994, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation 4;; Free Software Foundation
5 5
6;; Author: Per Abrahamsen <abraham@dina.kvl.dk> 6;; Author: Per Abrahamsen <abraham@dina.kvl.dk>
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el
index f0933bba8cd..b1b22ed353d 100644
--- a/lisp/progmodes/cwarn.el
+++ b/lisp/progmodes/cwarn.el
@@ -1,6 +1,6 @@
1;;; cwarn.el --- highlight suspicious C and C++ constructions 1;;; cwarn.el --- highlight suspicious C and C++ constructions
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Anders Lindgren <andersl@andersl.com> 6;; Author: Anders Lindgren <andersl@andersl.com>
diff --git a/lisp/progmodes/dcl-mode.el b/lisp/progmodes/dcl-mode.el
index c3bc75c0d79..618de7a3345 100644
--- a/lisp/progmodes/dcl-mode.el
+++ b/lisp/progmodes/dcl-mode.el
@@ -1,6 +1,6 @@
1;;; dcl-mode.el --- major mode for editing DCL command files 1;;; dcl-mode.el --- major mode for editing DCL command files
2 2
3;; Copyright (c) 1997, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Odd Gripenstam <gripenstamol@decus.se> 6;; Author: Odd Gripenstam <gripenstamol@decus.se>
diff --git a/lisp/progmodes/delphi.el b/lisp/progmodes/delphi.el
index 44a192ab772..2402f48d7ea 100644
--- a/lisp/progmodes/delphi.el
+++ b/lisp/progmodes/delphi.el
@@ -1,6 +1,6 @@
1;;; delphi.el --- major mode for editing Delphi source (Object Pascal) in Emacs 1;;; delphi.el --- major mode for editing Delphi source (Object Pascal) in Emacs
2 2
3;; Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Ray Blaak <blaak@infomatch.com> 6;; Author: Ray Blaak <blaak@infomatch.com>
diff --git a/lisp/progmodes/ebnf-abn.el b/lisp/progmodes/ebnf-abn.el
index 604061c7558..48de29808b6 100644
--- a/lisp/progmodes/ebnf-abn.el
+++ b/lisp/progmodes/ebnf-abn.el
@@ -1,7 +1,7 @@
1;;; ebnf-abn.el --- parser for ABNF (Augmented BNF) 1;;; ebnf-abn.el --- parser for ABNF (Augmented BNF)
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Sofware Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-bnf.el b/lisp/progmodes/ebnf-bnf.el
index b1b57ee1682..443e2c23cd5 100644
--- a/lisp/progmodes/ebnf-bnf.el
+++ b/lisp/progmodes/ebnf-bnf.el
@@ -1,7 +1,7 @@
1;;; ebnf-bnf.el --- parser for EBNF 1;;; ebnf-bnf.el --- parser for EBNF
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Sofware Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-dtd.el b/lisp/progmodes/ebnf-dtd.el
index c0a4c7b5176..f4c57ea2818 100644
--- a/lisp/progmodes/ebnf-dtd.el
+++ b/lisp/progmodes/ebnf-dtd.el
@@ -1,7 +1,7 @@
1;;; ebnf-dtd.el --- parser for DTD (Data Type Description for XML) 1;;; ebnf-dtd.el --- parser for DTD (Data Type Description for XML)
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Sofware Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-ebx.el b/lisp/progmodes/ebnf-ebx.el
index 9c9e514ded2..d506e9cc54d 100644
--- a/lisp/progmodes/ebnf-ebx.el
+++ b/lisp/progmodes/ebnf-ebx.el
@@ -1,7 +1,7 @@
1;;; ebnf-ebx.el --- parser for EBNF used to specify XML (EBNFX) 1;;; ebnf-ebx.el --- parser for EBNF used to specify XML (EBNFX)
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Sofware Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-iso.el b/lisp/progmodes/ebnf-iso.el
index c3d4abd7633..2e666328390 100644
--- a/lisp/progmodes/ebnf-iso.el
+++ b/lisp/progmodes/ebnf-iso.el
@@ -1,6 +1,6 @@
1;;; ebnf-iso.el --- parser for ISO EBNF 1;;; ebnf-iso.el --- parser for ISO EBNF
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-otz.el b/lisp/progmodes/ebnf-otz.el
index 5fbcb210565..bcf8032318c 100644
--- a/lisp/progmodes/ebnf-otz.el
+++ b/lisp/progmodes/ebnf-otz.el
@@ -1,7 +1,7 @@
1;;; ebnf-otz.el --- syntactic chart OpTimiZer 1;;; ebnf-otz.el --- syntactic chart OpTimiZer
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Sofware Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el
index 61f710cb789..5defea14d50 100644
--- a/lisp/progmodes/ebnf-yac.el
+++ b/lisp/progmodes/ebnf-yac.el
@@ -1,7 +1,7 @@
1;;; ebnf-yac.el --- parser for Yacc/Bison 1;;; ebnf-yac.el --- parser for Yacc/Bison
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Sofware Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> 7;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el
index 611273f8b5f..d6c3d996774 100644
--- a/lisp/progmodes/ebnf2ps.el
+++ b/lisp/progmodes/ebnf2ps.el
@@ -1,6 +1,6 @@
1;;; ebnf2ps.el --- translate an EBNF to a syntactic chart on PostScript 1;;; ebnf2ps.el --- translate an EBNF to a syntactic chart on PostScript
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> 6;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el
index 30cfa1b7b21..eecd4682fd1 100644
--- a/lisp/progmodes/etags.el
+++ b/lisp/progmodes/etags.el
@@ -1,7 +1,7 @@
1;;; etags.el --- etags facility for Emacs 1;;; etags.el --- etags facility for Emacs
2 2
3;; Copyright (C) 1985, 1986, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1998, 3;; Copyright (C) 1985, 1986, 1988, 1989, 1992, 1993, 1994, 1995, 1996, 1998,
4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006 4;; 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
5;; Free Software Foundation, Inc. 5;; Free Software Foundation, Inc.
6 6
7;; Author: Roland McGrath <roland@gnu.org> 7;; Author: Roland McGrath <roland@gnu.org>
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el
index e74208431a3..932c1f32ec5 100644
--- a/lisp/progmodes/executable.el
+++ b/lisp/progmodes/executable.el
@@ -1,6 +1,6 @@
1;;; executable.el --- base functionality for executable interpreter scripts -*- byte-compile-dynamic: t -*- 1;;; executable.el --- base functionality for executable interpreter scripts -*- byte-compile-dynamic: t -*-
2 2
3;; Copyright (C) 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1994, 1995, 1996, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el
index e1cd25934f8..9ee4b515eed 100644
--- a/lisp/progmodes/f90.el
+++ b/lisp/progmodes/f90.el
@@ -1,7 +1,7 @@
1;;; f90.el --- Fortran-90 mode (free format) 1;;; f90.el --- Fortran-90 mode (free format)
2 2
3;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005, 3;; Copyright (C) 1995, 1996, 1997, 2000, 2001, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc. 4;; 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Torbj\"orn Einarsson <Torbjorn.Einarsson@era.ericsson.se> 6;; Author: Torbj\"orn Einarsson <Torbjorn.Einarsson@era.ericsson.se>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 9f5031b0e63..80015795cd9 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1,6 +1,7 @@
1;;; flymake.el -- a universal on-the-fly syntax checker 1;;; flymake.el -- a universal on-the-fly syntax checker
2 2
3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation 3;; Copyright (C) 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc.
4 5
5;; Author: Pavel Kobyakov <pk_at_work@yahoo.com> 6;; Author: Pavel Kobyakov <pk_at_work@yahoo.com>
6;; Maintainer: Pavel Kobyakov <pk_at_work@yahoo.com> 7;; Maintainer: Pavel Kobyakov <pk_at_work@yahoo.com>
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el
index 5c97f60e204..cb843b4ecd8 100644
--- a/lisp/progmodes/fortran.el
+++ b/lisp/progmodes/fortran.el
@@ -1,7 +1,7 @@
1;;; fortran.el --- Fortran mode for GNU Emacs 1;;; fortran.el --- Fortran mode for GNU Emacs
2 2
3;; Copyright (C) 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 3;; Copyright (C) 1986, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001,
4;; 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Michael D. Prange <prange@erl.mit.edu> 6;; Author: Michael D. Prange <prange@erl.mit.edu>
7;; Maintainer: Glenn Morris <rgm@gnu.org> 7;; Maintainer: Glenn Morris <rgm@gnu.org>
diff --git a/lisp/progmodes/gdb-ui.el b/lisp/progmodes/gdb-ui.el
index 980c6b3f07b..c2811a9658a 100644
--- a/lisp/progmodes/gdb-ui.el
+++ b/lisp/progmodes/gdb-ui.el
@@ -4,7 +4,7 @@
4;; Maintainer: FSF 4;; Maintainer: FSF
5;; Keywords: unix, tools 5;; Keywords: unix, tools
6 6
7;; Copyright (C) 2002, 2003, 2004, 2005, 2006 7;; Copyright (C) 2002, 2003, 2004, 2005, 2006, 2007
8;; Free Software Foundation, Inc. 8;; Free Software Foundation, Inc.
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
@@ -123,9 +123,10 @@ address for root variables.")
123(defvar gdb-server-prefix nil) 123(defvar gdb-server-prefix nil)
124(defvar gdb-flush-pending-output nil) 124(defvar gdb-flush-pending-output nil)
125(defvar gdb-location-alist nil 125(defvar gdb-location-alist nil
126 "Alist of breakpoint numbers and full filenames.") 126 "Alist of breakpoint numbers and full filenames. Only used for files that
127(defvar gdb-active-process nil "GUD tooltips display variable values when t, \ 127Emacs can't find.")
128and #define directives otherwise.") 128(defvar gdb-active-process nil
129 "GUD tooltips display variable values when t, and macro definitions otherwise.")
129(defvar gdb-error "Non-nil when GDB is reporting an error.") 130(defvar gdb-error "Non-nil when GDB is reporting an error.")
130(defvar gdb-macro-info nil 131(defvar gdb-macro-info nil
131 "Non-nil if GDB knows that the inferior includes preprocessor macro info.") 132 "Non-nil if GDB knows that the inferior includes preprocessor macro info.")
@@ -273,19 +274,22 @@ detailed description of this mode.
273 (gdb command-line) 274 (gdb command-line)
274 (gdb-init-1)) 275 (gdb-init-1))
275 276
276(defcustom gdb-debug-ring-max 128 277(defcustom gdb-debug-log-max 128
277 "Maximum size of `gdb-debug-ring'." 278 "Maximum size of `gdb-debug-log'. If nil, size is unlimited."
278 :group 'gud 279 :group 'gud
279 :type 'integer 280 :type '(choice (integer :tag "Number of elements")
281 (const :tag "Unlimited" nil))
280 :version "22.1") 282 :version "22.1")
281 283
282(defvar gdb-debug-ring nil 284(defvar gdb-debug-log nil
283 "List of commands, most recent first, sent to and replies received from GDB. 285 "List of commands sent to and replies received from GDB. Most
284This variable is used to debug GDB-UI.") 286recent commands are listed first. This list stores only the last
287'gdb-debug-log-max' values. This variable is used to debug
288GDB-UI.")
285 289
286;;;###autoload 290;;;###autoload
287(defcustom gdb-enable-debug nil 291(defcustom gdb-enable-debug nil
288 "Non-nil means record the process input and output in `gdb-debug-ring'." 292 "Non-nil means record the process input and output in `gdb-debug-log'."
289 :type 'boolean 293 :type 'boolean
290 :group 'gud 294 :group 'gud
291 :version "22.1") 295 :version "22.1")
@@ -316,7 +320,7 @@ Also display the main routine in the disassembly buffer if present."
316 :version "22.1") 320 :version "22.1")
317 321
318(defcustom gdb-many-windows nil 322(defcustom gdb-many-windows nil
319 "If nil just pop up the GUD buffer unless `gdb-show-main' is t. 323 "If nil, just pop up the GUD buffer unless `gdb-show-main' is t.
320In this case start with two windows: one displaying the GUD 324In this case start with two windows: one displaying the GUD
321buffer and the other with the source file with the main routine 325buffer and the other with the source file with the main routine
322of the debugged program. Non-nil means display the layout shown 326of the debugged program. Non-nil means display the layout shown
@@ -550,7 +554,7 @@ With arg, use separate IO iff arg is positive."
550 gdb-error nil 554 gdb-error nil
551 gdb-macro-info nil 555 gdb-macro-info nil
552 gdb-buffer-fringe-width (car (window-fringes)) 556 gdb-buffer-fringe-width (car (window-fringes))
553 gdb-debug-ring nil 557 gdb-debug-log nil
554 gdb-signalled nil 558 gdb-signalled nil
555 gdb-source-window nil 559 gdb-source-window nil
556 gdb-inferior-status nil 560 gdb-inferior-status nil
@@ -721,7 +725,7 @@ With arg, enter name of variable to be watched in the minibuffer."
721 (message "gud-watch is a no-op in this mode.")))) 725 (message "gud-watch is a no-op in this mode."))))
722 726
723(defconst gdb-var-create-regexp 727(defconst gdb-var-create-regexp
724 "name=\"\\(.*?\\)\",.*numchild=\"\\(.*?\\)\",.*type=\"\\(.*?\\)\"") 728 "name=\"\\(.*?\\)\",.*numchild=\"\\(.*?\\)\",\\(?:.*value=\\(\".*\"\\),\\)?.*type=\"\\(.*?\\)\"")
725 729
726(defun gdb-var-create-handler (expr) 730(defun gdb-var-create-handler (expr)
727 (goto-char (point-min)) 731 (goto-char (point-min))
@@ -733,20 +737,23 @@ With arg, enter name of variable to be watched in the minibuffer."
733 (setq expr (concat gdb-selected-frame "::" expr)) 737 (setq expr (concat gdb-selected-frame "::" expr))
734 expr) 738 expr)
735 (match-string 2) 739 (match-string 2)
736 (match-string 3) 740 (match-string 4)
737 nil nil gdb-frame-address))) 741 (if (match-string 3) (read (match-string 3)))
742 nil gdb-frame-address)))
738 (push var gdb-var-list) 743 (push var gdb-var-list)
739 (unless (string-equal 744 (unless (string-equal
740 speedbar-initial-expansion-list-name "GUD") 745 speedbar-initial-expansion-list-name "GUD")
741 (speedbar-change-initial-expansion-list "GUD")) 746 (speedbar-change-initial-expansion-list "GUD"))
742 (gdb-enqueue-input 747 (unless (nth 4 var)
743 (list 748 (gdb-enqueue-input
744 (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdba) 749 (list
745 (concat "server interpreter mi \"0-var-evaluate-expression " 750 (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer)
746 (car var) "\"\n") 751 'gdba)
747 (concat "0-var-evaluate-expression " (car var) "\n")) 752 (concat "server interpreter mi \"0-var-evaluate-expression "
748 `(lambda () (gdb-var-evaluate-expression-handler 753 (car var) "\"\n")
749 ,(car var) nil))))) 754 (concat "0-var-evaluate-expression " (car var) "\n"))
755 `(lambda () (gdb-var-evaluate-expression-handler
756 ,(car var) nil))))))
750 (if (search-forward "Undefined command" nil t) 757 (if (search-forward "Undefined command" nil t)
751 (message-box "Watching expressions requires GDB 6.0 onwards") 758 (message-box "Watching expressions requires GDB 6.0 onwards")
752 (message-box "No symbol \"%s\" in current context." expr)))) 759 (message-box "No symbol \"%s\" in current context." expr))))
@@ -897,7 +904,7 @@ Changed values are highlighted with the face `font-lock-warning-face'."
897 :version "22.1") 904 :version "22.1")
898 905
899(defcustom gdb-max-children 40 906(defcustom gdb-max-children 40
900 "Maximum number of children allowed before Emacs asks" 907 "Maximum number of children before expansion requires confirmation."
901 :type 'integer 908 :type 'integer
902 :group 'gud 909 :group 'gud
903 :version "22.1") 910 :version "22.1")
@@ -1130,7 +1137,7 @@ This filter may simply queue input for a later time."
1130 (if gud-running 1137 (if gud-running
1131 (progn 1138 (progn
1132 (let ((item (concat string "\n"))) 1139 (let ((item (concat string "\n")))
1133 (if gdb-enable-debug (push (cons 'send item) gdb-debug-ring)) 1140 (if gdb-enable-debug (push (cons 'send item) gdb-debug-log))
1134 (process-send-string proc item))) 1141 (process-send-string proc item)))
1135 (if (and (string-match "\\\\$" string) 1142 (if (and (string-match "\\\\$" string)
1136 (not comint-input-sender-no-newline)) ;;Try to catch C-d. 1143 (not comint-input-sender-no-newline)) ;;Try to catch C-d.
@@ -1159,7 +1166,7 @@ This filter may simply queue input for a later time."
1159 1166
1160(defun gdb-send-item (item) 1167(defun gdb-send-item (item)
1161 (setq gdb-flush-pending-output nil) 1168 (setq gdb-flush-pending-output nil)
1162 (if gdb-enable-debug (push (cons 'send-item item) gdb-debug-ring)) 1169 (if gdb-enable-debug (push (cons 'send-item item) gdb-debug-log))
1163 (setq gdb-current-item item) 1170 (setq gdb-current-item item)
1164 (let ((process (get-buffer-process gud-comint-buffer))) 1171 (let ((process (get-buffer-process gud-comint-buffer)))
1165 (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdba) 1172 (if (eq (buffer-local-value 'gud-minor-mode gud-comint-buffer) 'gdba)
@@ -1510,9 +1517,10 @@ happens to be appropriate."
1510 (if gdb-flush-pending-output 1517 (if gdb-flush-pending-output
1511 nil 1518 nil
1512 (when gdb-enable-debug 1519 (when gdb-enable-debug
1513 (push (cons 'recv string) gdb-debug-ring) 1520 (push (cons 'recv string) gdb-debug-log)
1514 (if (> (length gdb-debug-ring) gdb-debug-ring-max) 1521 (if (and gdb-debug-log-max
1515 (setcdr (nthcdr (1- gdb-debug-ring-max) gdb-debug-ring) nil))) 1522 (> (length gdb-debug-log) gdb-debug-log-max))
1523 (setcdr (nthcdr (1- gdb-debug-log-max) gdb-debug-log) nil)))
1516 ;; Recall the left over gud-marker-acc from last time. 1524 ;; Recall the left over gud-marker-acc from last time.
1517 (setq gud-marker-acc (concat gud-marker-acc string)) 1525 (setq gud-marker-acc (concat gud-marker-acc string))
1518 ;; Start accumulating output for the GUD buffer. 1526 ;; Start accumulating output for the GUD buffer.
@@ -1780,6 +1788,9 @@ static char *magick[] = {
1780 "Face for disabled breakpoint icon in fringe." 1788 "Face for disabled breakpoint icon in fringe."
1781 :group 'gud) 1789 :group 'gud)
1782 1790
1791(defconst gdb-breakpoint-regexp
1792 "\\([0-9]+\\).*?\\(?:point\\|catch\\s-+\\S-+\\)\\s-+\\S-+\\s-+\\(.\\)\\s-+")
1793
1783;; Put breakpoint icons in relevant margins (even those set in the GUD buffer). 1794;; Put breakpoint icons in relevant margins (even those set in the GUD buffer).
1784(defun gdb-info-breakpoints-custom () 1795(defun gdb-info-breakpoints-custom ()
1785 (let ((flag) (bptno)) 1796 (let ((flag) (bptno))
@@ -1973,9 +1984,6 @@ static char *magick[] = {
1973 'gdb-invalidate-breakpoints 1984 'gdb-invalidate-breakpoints
1974 'gdbmi-invalidate-breakpoints)) 1985 'gdbmi-invalidate-breakpoints))
1975 1986
1976(defconst gdb-breakpoint-regexp
1977 "\\([0-9]+\\).*?\\(?:point\\|catch\\s-+\\S-+\\)\\s-+\\S-+\\s-+\\(.\\)\\s-+")
1978
1979(defun gdb-toggle-breakpoint () 1987(defun gdb-toggle-breakpoint ()
1980 "Enable/disable breakpoint at current line." 1988 "Enable/disable breakpoint at current line."
1981 (interactive) 1989 (interactive)
@@ -2029,13 +2037,19 @@ static char *magick[] = {
2029;; 2037;;
2030;; Alas, if your stack is deep, it is costly. 2038;; Alas, if your stack is deep, it is costly.
2031;; 2039;;
2040(defcustom gdb-max-frames 40
2041 "Maximum number of frames displayed in call stack."
2042 :type 'integer
2043 :group 'gud
2044 :version "22.1")
2045
2032(gdb-set-buffer-rules 'gdb-stack-buffer 2046(gdb-set-buffer-rules 'gdb-stack-buffer
2033 'gdb-stack-buffer-name 2047 'gdb-stack-buffer-name
2034 'gdb-frames-mode) 2048 'gdb-frames-mode)
2035 2049
2036(def-gdb-auto-updated-buffer gdb-stack-buffer 2050(def-gdb-auto-updated-buffer gdb-stack-buffer
2037 gdb-invalidate-frames 2051 gdb-invalidate-frames
2038 "server info stack\n" 2052 (concat "server info stack " (number-to-string gdb-max-frames) "\n")
2039 gdb-info-stack-handler 2053 gdb-info-stack-handler
2040 gdb-info-stack-custom) 2054 gdb-info-stack-custom)
2041 2055
@@ -2077,7 +2091,14 @@ static char *magick[] = {
2077 (while (re-search-forward "\\(\\(\\sw\\|[_.]\\)+\\)=" el t) 2091 (while (re-search-forward "\\(\\(\\sw\\|[_.]\\)+\\)=" el t)
2078 (put-text-property (match-beginning 1) (match-end 1) 2092 (put-text-property (match-beginning 1) (match-end 1)
2079 'face font-lock-variable-name-face)))) 2093 'face font-lock-variable-name-face))))
2080 (forward-line 1)))) 2094 (forward-line 1))
2095 (forward-line -1)
2096 (when (looking-at "(More stack frames follow...)")
2097 (add-text-properties (match-beginning 0) (match-end 0)
2098 '(mouse-face highlight
2099 gdb-max-frames t
2100 help-echo
2101 "mouse-2, RET: customize gdb-max-frames to see more frames")))))
2081 (when gdb-look-up-stack 2102 (when gdb-look-up-stack
2082 (goto-char (point-min)) 2103 (goto-char (point-min))
2083 (when (re-search-forward "\\(\\S-+?\\):\\([0-9]+\\)" nil t) 2104 (when (re-search-forward "\\(\\S-+?\\):\\([0-9]+\\)" nil t)
@@ -2147,16 +2168,21 @@ static char *magick[] = {
2147 (end-of-line) 2168 (end-of-line)
2148 (let* ((start (line-beginning-position)) 2169 (let* ((start (line-beginning-position))
2149 (pos (re-search-backward "^#*\\([0-9]+\\)" start t)) 2170 (pos (re-search-backward "^#*\\([0-9]+\\)" start t))
2150 (n (or (and pos (match-string-no-properties 1)) "0"))) 2171 (n (or (and pos (match-string 1)) "0")))
2151 n))) 2172 n)))
2152 2173
2153(defun gdb-frames-select (&optional event) 2174(defun gdb-frames-select (&optional event)
2154 "Select the frame and display the relevant source." 2175 "Select the frame and display the relevant source."
2155 (interactive (list last-input-event)) 2176 (interactive (list last-input-event))
2156 (if event (posn-set-point (event-end event))) 2177 (if event (posn-set-point (event-end event)))
2157 (gdb-enqueue-input 2178 (if (get-text-property (point) 'gdb-max-frames)
2158 (list (concat gdb-server-prefix "frame " 2179 (progn
2159 (gdb-get-frame-number) "\n") 'ignore))) 2180 (message-box "After setting gdb-max-frames, you need to enter\n\
2181another GDB command e.g pwd, to see new frames")
2182 (customize-variable-other-window 'gdb-max-frames))
2183 (gdb-enqueue-input
2184 (list (concat gdb-server-prefix "frame "
2185 (gdb-get-frame-number) "\n") 'ignore))))
2160 2186
2161 2187
2162;; Threads buffer. This displays a selectable thread list. 2188;; Threads buffer. This displays a selectable thread list.
@@ -2581,7 +2607,7 @@ corresponding to the mode line clicked."
2581 (propertize 2607 (propertize
2582 "-" 2608 "-"
2583 'face font-lock-warning-face 2609 'face font-lock-warning-face
2584 'help-echo "mouse-1: Decrement address" 2610 'help-echo "mouse-1: decrement address"
2585 'mouse-face 'mode-line-highlight 2611 'mouse-face 'mode-line-highlight
2586 'local-map 2612 'local-map
2587 (gdb-make-header-line-mouse-map 2613 (gdb-make-header-line-mouse-map
@@ -2601,7 +2627,7 @@ corresponding to the mode line clicked."
2601 "|" 2627 "|"
2602 (propertize "+" 2628 (propertize "+"
2603 'face font-lock-warning-face 2629 'face font-lock-warning-face
2604 'help-echo "mouse-1: Increment address" 2630 'help-echo "mouse-1: increment address"
2605 'mouse-face 'mode-line-highlight 2631 'mouse-face 'mode-line-highlight
2606 'local-map (gdb-make-header-line-mouse-map 2632 'local-map (gdb-make-header-line-mouse-map
2607 'mouse-1 2633 'mouse-1
@@ -2611,7 +2637,7 @@ corresponding to the mode line clicked."
2611 "]: " 2637 "]: "
2612 (propertize gdb-memory-address 2638 (propertize gdb-memory-address
2613 'face font-lock-warning-face 2639 'face font-lock-warning-face
2614 'help-echo "mouse-1: Set memory address" 2640 'help-echo "mouse-1: set memory address"
2615 'mouse-face 'mode-line-highlight 2641 'mouse-face 'mode-line-highlight
2616 'local-map (gdb-make-header-line-mouse-map 2642 'local-map (gdb-make-header-line-mouse-map
2617 'mouse-1 2643 'mouse-1
@@ -2619,7 +2645,7 @@ corresponding to the mode line clicked."
2619 " Repeat Count: " 2645 " Repeat Count: "
2620 (propertize (number-to-string gdb-memory-repeat-count) 2646 (propertize (number-to-string gdb-memory-repeat-count)
2621 'face font-lock-warning-face 2647 'face font-lock-warning-face
2622 'help-echo "mouse-1: Set repeat count" 2648 'help-echo "mouse-1: set repeat count"
2623 'mouse-face 'mode-line-highlight 2649 'mouse-face 'mode-line-highlight
2624 'local-map (gdb-make-header-line-mouse-map 2650 'local-map (gdb-make-header-line-mouse-map
2625 'mouse-1 2651 'mouse-1
@@ -2627,13 +2653,13 @@ corresponding to the mode line clicked."
2627 " Display Format: " 2653 " Display Format: "
2628 (propertize gdb-memory-format 2654 (propertize gdb-memory-format
2629 'face font-lock-warning-face 2655 'face font-lock-warning-face
2630 'help-echo "mouse-3: Select display format" 2656 'help-echo "mouse-3: select display format"
2631 'mouse-face 'mode-line-highlight 2657 'mouse-face 'mode-line-highlight
2632 'local-map gdb-memory-format-map) 2658 'local-map gdb-memory-format-map)
2633 " Unit Size: " 2659 " Unit Size: "
2634 (propertize gdb-memory-unit 2660 (propertize gdb-memory-unit
2635 'face font-lock-warning-face 2661 'face font-lock-warning-face
2636 'help-echo "mouse-3: Select unit size" 2662 'help-echo "mouse-3: select unit size"
2637 'mouse-face 'mode-line-highlight 2663 'mouse-face 'mode-line-highlight
2638 'local-map gdb-memory-unit-map)))) 2664 'local-map gdb-memory-unit-map))))
2639 (set (make-local-variable 'font-lock-defaults) 2665 (set (make-local-variable 'font-lock-defaults)
@@ -3011,7 +3037,7 @@ of the current session."
3011 (if (member (if (string-equal gdb-version "pre-6.4") 3037 (if (member (if (string-equal gdb-version "pre-6.4")
3012 (file-name-nondirectory buffer-file-name) 3038 (file-name-nondirectory buffer-file-name)
3013 buffer-file-name) 3039 buffer-file-name)
3014 gdb-source-file-list) 3040 gdb-source-file-list)
3015 (with-current-buffer (find-buffer-visiting buffer-file-name) 3041 (with-current-buffer (find-buffer-visiting buffer-file-name)
3016 (set (make-local-variable 'gud-minor-mode) 3042 (set (make-local-variable 'gud-minor-mode)
3017 (buffer-local-value 'gud-minor-mode gud-comint-buffer)) 3043 (buffer-local-value 'gud-minor-mode gud-comint-buffer))
@@ -3410,14 +3436,26 @@ in_scope=\"\\(.*?\\)\".*?}")
3410 (let* ((varnum (match-string 1)) 3436 (let* ((varnum (match-string 1))
3411 (var (assoc varnum gdb-var-list))) 3437 (var (assoc varnum gdb-var-list)))
3412 (when var 3438 (when var
3413 (if (string-equal (match-string 3) "false") 3439 (let ((match (match-string 3)))
3414 (setcar (nthcdr 5 var) 'out-of-scope) 3440 (cond ((string-equal match "false")
3415 (setcar (nthcdr 5 var) 'changed) 3441 (setcar (nthcdr 5 var) 'out-of-scope))
3416 (setcar (nthcdr 4 var) 3442 ((string-equal match "true")
3417 (read (match-string 2))))))) 3443 (setcar (nthcdr 5 var) 'changed)
3418 (setq gdb-pending-triggers 3444 (setcar (nthcdr 4 var)
3419 (delq 'gdb-var-update gdb-pending-triggers)) 3445 (read (match-string 2))))
3420 (gdb-speedbar-update)) 3446;; ((string-equal match "invalid")
3447;; (gdb-enqueue-input
3448;; (list
3449;; (if (eq (buffer-local-value
3450;; 'gud-minor-mode gud-comint-buffer) 'gdba)
3451;; (concat "server interpreter mi \"-var-delete "
3452;; varnum "\"\n")
3453;; (concat "-var-delete " varnum "\n"))
3454;; 'ignore)))
3455 )))))
3456 (setq gdb-pending-triggers
3457 (delq 'gdb-var-update gdb-pending-triggers))
3458 (gdb-speedbar-update))
3421 3459
3422;; Registers buffer. 3460;; Registers buffer.
3423;; 3461;;
diff --git a/lisp/progmodes/glasses.el b/lisp/progmodes/glasses.el
index 50d01e9d2e5..580d8d9e4bf 100644
--- a/lisp/progmodes/glasses.el
+++ b/lisp/progmodes/glasses.el
@@ -1,6 +1,6 @@
1;;; glasses.el --- make cantReadThis readable 1;;; glasses.el --- make cantReadThis readable
2 2
3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Milan Zamazal <pdm@zamazal.org> 6;; Author: Milan Zamazal <pdm@zamazal.org>
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el
index 48692f9742f..c6928768835 100644
--- a/lisp/progmodes/grep.el
+++ b/lisp/progmodes/grep.el
@@ -1,7 +1,7 @@
1;;; grep.el --- run Grep as inferior of Emacs, parse match messages 1;;; grep.el --- run Grep as inferior of Emacs, parse match messages
2 2
3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 3;; Copyright (C) 1985, 1986, 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Roland McGrath <roland@gnu.org> 6;; Author: Roland McGrath <roland@gnu.org>
7;; Maintainer: FSF 7;; Maintainer: FSF
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el
index adc6cd5194d..b9de6fab9bb 100644
--- a/lisp/progmodes/gud.el
+++ b/lisp/progmodes/gud.el
@@ -5,7 +5,7 @@
5;; Keywords: unix, tools 5;; Keywords: unix, tools
6 6
7;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001, 2002, 2003, 7;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 2000, 2001, 2002, 2003,
8;; 2004, 2005, 2006 Free Software Foundation, Inc. 8;; 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
9 9
10;; This file is part of GNU Emacs. 10;; This file is part of GNU Emacs.
11 11
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el
index a100424108d..8096dee59e2 100644
--- a/lisp/progmodes/hideif.el
+++ b/lisp/progmodes/hideif.el
@@ -1,6 +1,6 @@
1;;; hideif.el --- hides selected code within ifdef 1;;; hideif.el --- hides selected code within ifdef
2 2
3;; Copyright (C) 1988, 1994, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1988, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Daniel LaLiberte <liberte@holonexus.org> 6;; Author: Daniel LaLiberte <liberte@holonexus.org>
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el
index e50a9a4dda6..35ab0362613 100644
--- a/lisp/progmodes/hideshow.el
+++ b/lisp/progmodes/hideshow.el
@@ -1,7 +1,7 @@
1;;; hideshow.el --- minor mode cmds to selectively display code/comment blocks 1;;; hideshow.el --- minor mode cmds to selectively display code/comment blocks
2 2
3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 3;; Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003
4;; 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Thien-Thi Nguyen <ttn@gnu.org> 6;; Author: Thien-Thi Nguyen <ttn@gnu.org>
7;; Dan Nicolaescu <dann@ics.uci.edu> 7;; Dan Nicolaescu <dann@ics.uci.edu>
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el
index 393ba6dfb08..9c47cf96e2b 100644
--- a/lisp/progmodes/icon.el
+++ b/lisp/progmodes/icon.el
@@ -1,6 +1,6 @@
1;;; icon.el --- mode for editing Icon code 1;;; icon.el --- mode for editing Icon code
2 2
3;; Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1989, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Chris Smith <csmith@convex.com> 6;; Author: Chris Smith <csmith@convex.com>
diff --git a/lisp/progmodes/idlw-complete-structtag.el b/lisp/progmodes/idlw-complete-structtag.el
index d21105eca80..030f4a9f0c4 100644
--- a/lisp/progmodes/idlw-complete-structtag.el
+++ b/lisp/progmodes/idlw-complete-structtag.el
@@ -1,5 +1,7 @@
1;;; idlw-complete-structtag.el --- Completion of structure tags. 1;;; idlw-complete-structtag.el --- Completion of structure tags.
2;; Copyright (c) 2001,2002,2003,2004,2005,2006 Free Software Foundation 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc.
3 5
4;; Author: Carsten Dominik <dominik@astro.uva.nl> 6;; Author: Carsten Dominik <dominik@astro.uva.nl>
5;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> 7;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu>
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el
index 9b812809352..a9ceccac6a0 100644
--- a/lisp/progmodes/idlw-help.el
+++ b/lisp/progmodes/idlw-help.el
@@ -1,6 +1,7 @@
1;;; idlw-help.el --- HTML Help code for IDLWAVE 1;;; idlw-help.el --- HTML Help code for IDLWAVE
2;; Copyright (c) 2000, 2001, 2002, 2003, 2004, 2005, 2006 2
3;; Free Software Foundation 3;; Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc.
4;; 5;;
5;; Authors: J.D. Smith <jdsmith@as.arizona.edu> 6;; Authors: J.D. Smith <jdsmith@as.arizona.edu>
6;; Carsten Dominik <dominik@science.uva.nl> 7;; Carsten Dominik <dominik@science.uva.nl>
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el
index 9f43aa1f9e8..64f359aa1e7 100644
--- a/lisp/progmodes/idlw-shell.el
+++ b/lisp/progmodes/idlw-shell.el
@@ -1,6 +1,7 @@
1;; idlw-shell.el --- run IDL as an inferior process of Emacs. 1;; idlw-shell.el --- run IDL as an inferior process of Emacs.
2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 2
3;; Free Software Foundation 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc.
4 5
5;; Authors: J.D. Smith <jdsmith@as.arizona.edu> 6;; Authors: J.D. Smith <jdsmith@as.arizona.edu>
6;; Carsten Dominik <dominik@astro.uva.nl> 7;; Carsten Dominik <dominik@astro.uva.nl>
diff --git a/lisp/progmodes/idlw-toolbar.el b/lisp/progmodes/idlw-toolbar.el
index 28d184bfac4..ddf08755544 100644
--- a/lisp/progmodes/idlw-toolbar.el
+++ b/lisp/progmodes/idlw-toolbar.el
@@ -1,6 +1,7 @@
1;;; idlw-toolbar.el --- a debugging toolbar for IDLWAVE 1;;; idlw-toolbar.el --- a debugging toolbar for IDLWAVE
2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 2
3;; Free Software Foundation 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc.
4 5
5;; Author: Carsten Dominik <dominik@astro.uva.nl> 6;; Author: Carsten Dominik <dominik@astro.uva.nl>
6;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> 7;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu>
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el
index 25f05b54b74..b5b1e055465 100644
--- a/lisp/progmodes/idlwave.el
+++ b/lisp/progmodes/idlwave.el
@@ -1,6 +1,7 @@
1;; idlwave.el --- IDL editing mode for GNU Emacs 1;; idlwave.el --- IDL editing mode for GNU Emacs
2;; Copyright (c) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 2
3;; Free Software Foundation 3;; Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc.
4 5
5;; Authors: J.D. Smith <jdsmith@as.arizona.edu> 6;; Authors: J.D. Smith <jdsmith@as.arizona.edu>
6;; Carsten Dominik <dominik@science.uva.nl> 7;; Carsten Dominik <dominik@science.uva.nl>
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el
index 4a50e00063c..02d44e55019 100644
--- a/lisp/progmodes/inf-lisp.el
+++ b/lisp/progmodes/inf-lisp.el
@@ -1,6 +1,6 @@
1;;; inf-lisp.el --- an inferior-lisp mode 1;;; inf-lisp.el --- an inferior-lisp mode
2 2
3;; Copyright (C) 1988, 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1988, 1993, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Olin Shivers <shivers@cs.cmu.edu> 6;; Author: Olin Shivers <shivers@cs.cmu.edu>
diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el
index 461c8b9bcf1..01f9ecbc7a3 100644
--- a/lisp/progmodes/ld-script.el
+++ b/lisp/progmodes/ld-script.el
@@ -1,6 +1,6 @@
1;;; ld-script.el --- GNU linker script editing mode for Emacs 1;;; ld-script.el --- GNU linker script editing mode for Emacs
2 2
3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Masatake YAMATO<jet@gyve.org> 6;; Author: Masatake YAMATO<jet@gyve.org>
diff --git a/lisp/progmodes/m4-mode.el b/lisp/progmodes/m4-mode.el
index af719a2854b..734a86b0b99 100644
--- a/lisp/progmodes/m4-mode.el
+++ b/lisp/progmodes/m4-mode.el
@@ -1,6 +1,6 @@
1;;; m4-mode.el --- m4 code editing commands for Emacs 1;;; m4-mode.el --- m4 code editing commands for Emacs
2 2
3;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1996, 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Andrew Csillag <drew_csillag@geocities.com> 6;; Author: Andrew Csillag <drew_csillag@geocities.com>
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el
index c7341a9f871..6178e7e47cd 100644
--- a/lisp/progmodes/make-mode.el
+++ b/lisp/progmodes/make-mode.el
@@ -1,6 +1,6 @@
1;;; make-mode.el --- makefile editing commands for Emacs 1;;; make-mode.el --- makefile editing commands for Emacs
2 2
3;; Copyright (C) 1992, 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1992, 1994, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Thomas Neumann <tom@smart.bo.open.de> 6;; Author: Thomas Neumann <tom@smart.bo.open.de>
diff --git a/lisp/progmodes/mantemp.el b/lisp/progmodes/mantemp.el
index d883254fdb7..61b8d3d4d3d 100644
--- a/lisp/progmodes/mantemp.el
+++ b/lisp/progmodes/mantemp.el
@@ -1,6 +1,6 @@
1;;; mantemp.el --- create manual template instantiations from g++ 2.7.2 output 1;;; mantemp.el --- create manual template instantiations from g++ 2.7.2 output
2 2
3;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Tom Houlder <thoulder@icor.fr> 6;; Author: Tom Houlder <thoulder@icor.fr>
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el
index 3c4fdc2330e..8215befc1de 100644
--- a/lisp/progmodes/meta-mode.el
+++ b/lisp/progmodes/meta-mode.el
@@ -1,6 +1,6 @@
1;;; meta-mode.el --- major mode for editing Metafont or MetaPost sources 1;;; meta-mode.el --- major mode for editing Metafont or MetaPost sources
2 2
3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Ulrik Vieth <vieth@thphy.uni-duesseldorf.de> 6;; Author: Ulrik Vieth <vieth@thphy.uni-duesseldorf.de>
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el
index 8b7084675d4..d2b78b1d143 100644
--- a/lisp/progmodes/mixal-mode.el
+++ b/lisp/progmodes/mixal-mode.el
@@ -1,6 +1,7 @@
1;;; mixal-mode.el --- Major mode for the mix asm language. 1;;; mixal-mode.el --- Major mode for the mix asm language.
2 2
3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation 3;; Copyright (C) 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc.
4 5
5;; This program is free software; you can redistribute it and/or 6;; This program is free software; you can redistribute it and/or
6;; modify it under the terms of the GNU General Public License as 7;; modify it under the terms of the GNU General Public License as
diff --git a/lisp/progmodes/octave-hlp.el b/lisp/progmodes/octave-hlp.el
index 18ea9c1f699..5c2bd2f34ee 100644
--- a/lisp/progmodes/octave-hlp.el
+++ b/lisp/progmodes/octave-hlp.el
@@ -1,6 +1,6 @@
1;;; octave-hlp.el --- getting help on Octave symbols using info 1;;; octave-hlp.el --- getting help on Octave symbols using info
2 2
3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> 6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el
index 0f20626c9b9..63f9af50c1e 100644
--- a/lisp/progmodes/octave-inf.el
+++ b/lisp/progmodes/octave-inf.el
@@ -1,6 +1,6 @@
1;;; octave-inf.el --- running Octave as an inferior Emacs process 1;;; octave-inf.el --- running Octave as an inferior Emacs process
2 2
3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> 6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el
index 998b33ffbc7..be56d388330 100644
--- a/lisp/progmodes/octave-mod.el
+++ b/lisp/progmodes/octave-mod.el
@@ -1,6 +1,6 @@
1;;; octave-mod.el --- editing Octave source files under Emacs 1;;; octave-mod.el --- editing Octave source files under Emacs
2 2
3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1997, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> 6;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at>
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el
index 02d5c509c62..3fe57e00c7a 100644
--- a/lisp/progmodes/pascal.el
+++ b/lisp/progmodes/pascal.el
@@ -1,7 +1,7 @@
1;;; pascal.el --- major mode for editing pascal source in Emacs 1;;; pascal.el --- major mode for editing pascal source in Emacs
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Espen Skoglund <esk@gnu.org> 6;; Author: Espen Skoglund <esk@gnu.org>
7;; Keywords: languages 7;; Keywords: languages
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el
index 950e0cba06f..078e94ffbf4 100644
--- a/lisp/progmodes/perl-mode.el
+++ b/lisp/progmodes/perl-mode.el
@@ -1,6 +1,6 @@
1;;; perl-mode.el --- Perl code editing commands for GNU Emacs 1;;; perl-mode.el --- Perl code editing commands for GNU Emacs
2 2
3;; Copyright (C) 1990, 1994, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1990, 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: William F. Mann 6;; Author: William F. Mann
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el
index c29a259c3a6..cb451791dbe 100644
--- a/lisp/progmodes/prolog.el
+++ b/lisp/progmodes/prolog.el
@@ -1,6 +1,6 @@
1;;; prolog.el --- major mode for editing and running Prolog under Emacs 1;;; prolog.el --- major mode for editing and running Prolog under Emacs
2 2
3;; Copyright (C) 1986, 1987, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1986, 1987, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp> 6;; Author: Masanobu UMEDA <umerin@mse.kyutech.ac.jp>
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el
index 61b075b3bce..db4cd2dd339 100644
--- a/lisp/progmodes/ps-mode.el
+++ b/lisp/progmodes/ps-mode.el
@@ -1,6 +1,6 @@
1;;; ps-mode.el --- PostScript mode for GNU Emacs 1;;; ps-mode.el --- PostScript mode for GNU Emacs
2 2
3;; Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1999, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Peter Kleiweg <p.c.j.kleiweg@rug.nl> 6;; Author: Peter Kleiweg <p.c.j.kleiweg@rug.nl>
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 7a62cfa477c..f94a3d63653 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1,6 +1,6 @@
1;;; python.el --- silly walks for Python 1;;; python.el --- silly walks for Python
2 2
3;; Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 3;; Copyright (C) 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
4 4
5;; Author: Dave Love <fx@gnu.org> 5;; Author: Dave Love <fx@gnu.org>
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el
index ce420015326..a112cee62bb 100644
--- a/lisp/progmodes/scheme.el
+++ b/lisp/progmodes/scheme.el
@@ -1,7 +1,7 @@
1;;; scheme.el --- Scheme (and DSSSL) editing mode 1;;; scheme.el --- Scheme (and DSSSL) editing mode
2 2
3;; Copyright (C) 1986, 1987, 1988, 1997, 1998, 2001, 2002, 2003, 2004, 2005, 3;; Copyright (C) 1986, 1987, 1988, 1997, 1998, 2001, 2002, 2003, 2004, 2005,
4;; 2006 Free Software Foundation, Inc. 4;; 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Bill Rozas <jinx@martigny.ai.mit.edu> 6;; Author: Bill Rozas <jinx@martigny.ai.mit.edu>
7;; Adapted-by: Dave Love <d.love@dl.ac.uk> 7;; Adapted-by: Dave Love <d.love@dl.ac.uk>
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el
index 636108692fd..2db30ceb4b2 100644
--- a/lisp/progmodes/sh-script.el
+++ b/lisp/progmodes/sh-script.el
@@ -1,7 +1,7 @@
1;;; sh-script.el --- shell-script editing commands for Emacs 1;;; sh-script.el --- shell-script editing commands for Emacs
2 2
3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2002, 3;; Copyright (C) 1993, 1994, 1995, 1996, 1997, 1999, 2001, 2002,
4;; 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Author: Daniel Pfeiffer <occitan@esperanto.org> 6;; Author: Daniel Pfeiffer <occitan@esperanto.org>
7;; Version: 2.0f 7;; Version: 2.0f
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el
index 4c689a79fc7..89074dc8fe0 100644
--- a/lisp/progmodes/simula.el
+++ b/lisp/progmodes/simula.el
@@ -1,6 +1,6 @@
1;;; simula.el --- SIMULA 87 code editing commands for Emacs 1;;; simula.el --- SIMULA 87 code editing commands for Emacs
2 2
3;; Copyright (C) 1992, 1994, 1996, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1992, 1994, 1996, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Hans Henrik Eriksen <hhe@ifi.uio.no> 6;; Author: Hans Henrik Eriksen <hhe@ifi.uio.no>
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el
index afc0f35f26c..a3401dccbcb 100644
--- a/lisp/progmodes/sql.el
+++ b/lisp/progmodes/sql.el
@@ -1,6 +1,6 @@
1;;; sql.el --- specialized comint.el for SQL interpreters 1;;; sql.el --- specialized comint.el for SQL interpreters
2 2
3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Alex Schroeder <alex@gnu.org> 6;; Author: Alex Schroeder <alex@gnu.org>
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el
index b194bb56727..0495b683bad 100644
--- a/lisp/progmodes/tcl.el
+++ b/lisp/progmodes/tcl.el
@@ -1,6 +1,6 @@
1;;; tcl.el --- Tcl code editing commands for Emacs 1;;; tcl.el --- Tcl code editing commands for Emacs
2 2
3;; Copyright (C) 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1994, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el
index cc58a09ec59..dbd8e2b080d 100644
--- a/lisp/progmodes/vhdl-mode.el
+++ b/lisp/progmodes/vhdl-mode.el
@@ -1,7 +1,7 @@
1;;; vhdl-mode.el --- major mode for editing VHDL code 1;;; vhdl-mode.el --- major mode for editing VHDL code
2 2
3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 3;; Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
4;; 2001, 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 4;; 2001, 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc.
5 5
6;; Authors: Reto Zimmermann <reto@gnu.org> 6;; Authors: Reto Zimmermann <reto@gnu.org>
7;; Rodney J. Whitby <software.vhdl-mode@rwhitby.net> 7;; Rodney J. Whitby <software.vhdl-mode@rwhitby.net>
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el
index b622e536d26..43c70f67dfb 100644
--- a/lisp/progmodes/which-func.el
+++ b/lisp/progmodes/which-func.el
@@ -1,6 +1,6 @@
1;;; which-func.el --- print current function in mode line 1;;; which-func.el --- print current function in mode line
2 2
3;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1994, 1997, 1998, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Author: Alex Rezinsky <alexr@msil.sps.mot.com> 6;; Author: Alex Rezinsky <alexr@msil.sps.mot.com>
diff --git a/lisp/progmodes/xscheme.el b/lisp/progmodes/xscheme.el
index 0f55c71ac70..d2ec1781a54 100644
--- a/lisp/progmodes/xscheme.el
+++ b/lisp/progmodes/xscheme.el
@@ -1,6 +1,6 @@
1;;; xscheme.el --- run MIT Scheme under Emacs 1;;; xscheme.el --- run MIT Scheme under Emacs
2 2
3;; Copyright (C) 1986, 1987, 1989, 1990, 2001, 2002, 2003, 2004, 2005, 2006 3;; Copyright (C) 1986, 1987, 1989, 1990, 2001, 2002, 2003, 2004, 2005, 2006, 2007
4;; Free Software Foundation, Inc. 4;; Free Software Foundation, Inc.
5 5
6;; Maintainer: FSF 6;; Maintainer: FSF