diff options
| author | Kenichi Handa | 2012-01-21 20:36:42 +0900 |
|---|---|---|
| committer | Kenichi Handa | 2012-01-21 20:36:42 +0900 |
| commit | 678fb7066698ebfe3aecba722294025ed26da01b (patch) | |
| tree | 951ac3055141d950974051d13c10e5d7c6a98e31 /lisp/progmodes | |
| parent | 71784361eb381ec2b12bd8283724a7addec49079 (diff) | |
| parent | 959ad23fb9020a121c4520946835e9f0aeb9bcb2 (diff) | |
| download | emacs-678fb7066698ebfe3aecba722294025ed26da01b.tar.gz emacs-678fb7066698ebfe3aecba722294025ed26da01b.zip | |
merge trunk
Diffstat (limited to 'lisp/progmodes')
84 files changed, 340 insertions, 154 deletions
diff --git a/lisp/progmodes/ada-mode.el b/lisp/progmodes/ada-mode.el index 17ff4bd32a6..8ccb8f17d80 100644 --- a/lisp/progmodes/ada-mode.el +++ b/lisp/progmodes/ada-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994-1995, 1997-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Rolf Ebert <ebert@inf.enst.fr> | 5 | ;; Author: Rolf Ebert <ebert@inf.enst.fr> |
| 6 | ;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> | 6 | ;; Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> |
diff --git a/lisp/progmodes/ada-prj.el b/lisp/progmodes/ada-prj.el index a32e22828fc..10497acbe4b 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Emmanuel Briot <briot@gnat.com> | 5 | ;; Author: Emmanuel Briot <briot@gnat.com> |
| 6 | ;; Maintainer: Stephen Leake <stephen_leake@stephe-leake.org> | 6 | ;; Maintainer: Stephen Leake <stephen_leake@stephe-leake.org> |
diff --git a/lisp/progmodes/ada-stmt.el b/lisp/progmodes/ada-stmt.el index b33da441eeb..50c5b695dbc 100644 --- a/lisp/progmodes/ada-stmt.el +++ b/lisp/progmodes/ada-stmt.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1987, 1993-1994, 1996-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: Daniel Pfeiffer | 5 | ;; Authors: Daniel Pfeiffer |
| 6 | ;; Markus Heritsch | 6 | ;; Markus Heritsch |
diff --git a/lisp/progmodes/ada-xref.el b/lisp/progmodes/ada-xref.el index f30457992a3..1e07ac4cf09 100644 --- a/lisp/progmodes/ada-xref.el +++ b/lisp/progmodes/ada-xref.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> | 5 | ;; Author: Markus Heritsch <Markus.Heritsch@studbox.uni-stuttgart.de> |
| 6 | ;; Rolf Ebert <ebert@inf.enst.fr> | 6 | ;; Rolf Ebert <ebert@inf.enst.fr> |
| @@ -1533,7 +1533,7 @@ the project file." | |||
| 1533 | ;; .ali file for a spec file. If we are, go to step 3. | 1533 | ;; .ali file for a spec file. If we are, go to step 3. |
| 1534 | ;; 3- If the file is not found or step 2 failed: | 1534 | ;; 3- If the file is not found or step 2 failed: |
| 1535 | ;; find the name of the "other file", ie the body, and look | 1535 | ;; find the name of the "other file", ie the body, and look |
| 1536 | ;; for its associated .ali file by subtituing the extension | 1536 | ;; for its associated .ali file by substituting the extension |
| 1537 | ;; | 1537 | ;; |
| 1538 | ;; We must also handle the case of separate packages and subprograms: | 1538 | ;; We must also handle the case of separate packages and subprograms: |
| 1539 | ;; 4- If no ali file was found, we try to modify the file name by removing | 1539 | ;; 4- If no ali file was found, we try to modify the file name by removing |
diff --git a/lisp/progmodes/antlr-mode.el b/lisp/progmodes/antlr-mode.el index d1ff1aead10..634570cf3e4 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Christoph.Wedler@sap.com | 5 | ;; Author: Christoph.Wedler@sap.com |
| 6 | ;; Keywords: languages, ANTLR, code generator | 6 | ;; Keywords: languages, ANTLR, code generator |
diff --git a/lisp/progmodes/asm-mode.el b/lisp/progmodes/asm-mode.el index 3ac8b119fe1..cfa977d9022 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1991, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
diff --git a/lisp/progmodes/autoconf.el b/lisp/progmodes/autoconf.el index fce725c3b3c..a7242f6c232 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Dave Love <fx@gnu.org> | 5 | ;; Author: Dave Love <fx@gnu.org> |
| 6 | ;; Keywords: languages | 6 | ;; Keywords: languages |
diff --git a/lisp/progmodes/bug-reference.el b/lisp/progmodes/bug-reference.el index 12eddfef1aa..015b9a9ceaf 100644 --- a/lisp/progmodes/bug-reference.el +++ b/lisp/progmodes/bug-reference.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;; bug-reference.el --- buttonize bug references | 1 | ;; bug-reference.el --- buttonize bug references |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Tom Tromey <tromey@redhat.com> | 5 | ;; Author: Tom Tromey <tromey@redhat.com> |
| 6 | ;; Created: 21 Mar 2007 | 6 | ;; Created: 21 Mar 2007 |
diff --git a/lisp/progmodes/cap-words.el b/lisp/progmodes/cap-words.el index d7b7dfef1ec..6d4d9f0544d 100644 --- a/lisp/progmodes/cap-words.el +++ b/lisp/progmodes/cap-words.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cap-words.el --- minor mode for motion in CapitalizedWordIdentifiers | 1 | ;;; cap-words.el --- minor mode for motion in CapitalizedWordIdentifiers |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2002-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Dave Love <fx@gnu.org> | 5 | ;; Author: Dave Love <fx@gnu.org> |
| 6 | ;; Keywords: languages | 6 | ;; Keywords: languages |
diff --git a/lisp/progmodes/cc-align.el b/lisp/progmodes/cc-align.el index 81045d63abf..b12020b26be 100644 --- a/lisp/progmodes/cc-align.el +++ b/lisp/progmodes/cc-align.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2004- Alan Mackenzie | 5 | ;; Authors: 2004- Alan Mackenzie |
| 6 | ;; 1998- Martin Stjernholm | 6 | ;; 1998- Martin Stjernholm |
diff --git a/lisp/progmodes/cc-awk.el b/lisp/progmodes/cc-awk.el index ef67a18d807..d7829853e3c 100644 --- a/lisp/progmodes/cc-awk.el +++ b/lisp/progmodes/cc-awk.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 1994, 1996, 2000-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Alan Mackenzie <acm@muc.de> (originally based on awk-mode.el) | 5 | ;; Author: Alan Mackenzie <acm@muc.de> (originally based on awk-mode.el) |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
diff --git a/lisp/progmodes/cc-bytecomp.el b/lisp/progmodes/cc-bytecomp.el index 823430f2d38..bd9805673a4 100644 --- a/lisp/progmodes/cc-bytecomp.el +++ b/lisp/progmodes/cc-bytecomp.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Martin Stjernholm | 5 | ;; Author: Martin Stjernholm |
| 6 | ;; Maintainer: bug-cc-mode@gnu.org | 6 | ;; Maintainer: bug-cc-mode@gnu.org |
diff --git a/lisp/progmodes/cc-cmds.el b/lisp/progmodes/cc-cmds.el index 686695bc838..509bb203f78 100644 --- a/lisp/progmodes/cc-cmds.el +++ b/lisp/progmodes/cc-cmds.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2003- Alan Mackenzie | 5 | ;; Authors: 2003- Alan Mackenzie |
| 6 | ;; 1998- Martin Stjernholm | 6 | ;; 1998- Martin Stjernholm |
| @@ -4382,11 +4382,8 @@ Optional prefix ARG means justify paragraph as well." | |||
| 4382 | (let ((fill-paragraph-function | 4382 | (let ((fill-paragraph-function |
| 4383 | ;; Avoid infinite recursion. | 4383 | ;; Avoid infinite recursion. |
| 4384 | (if (not (eq fill-paragraph-function 'c-fill-paragraph)) | 4384 | (if (not (eq fill-paragraph-function 'c-fill-paragraph)) |
| 4385 | fill-paragraph-function)) | 4385 | fill-paragraph-function))) |
| 4386 | (start-point (point-marker))) | 4386 | (c-mask-paragraph t nil 'fill-paragraph arg)) |
| 4387 | (c-mask-paragraph | ||
| 4388 | t nil (lambda () (fill-region-as-paragraph (point-min) (point-max) arg))) | ||
| 4389 | (goto-char start-point)) | ||
| 4390 | ;; Always return t. This has the effect that if filling isn't done | 4387 | ;; Always return t. This has the effect that if filling isn't done |
| 4391 | ;; above, it isn't done at all, and it's therefore effectively | 4388 | ;; above, it isn't done at all, and it's therefore effectively |
| 4392 | ;; disabled in normal code. | 4389 | ;; disabled in normal code. |
diff --git a/lisp/progmodes/cc-compat.el b/lisp/progmodes/cc-compat.el index 01f7379b1b0..bf0ac8c5619 100644 --- a/lisp/progmodes/cc-compat.el +++ b/lisp/progmodes/cc-compat.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 1998- Martin Stjernholm | 5 | ;; Authors: 1998- Martin Stjernholm |
| 6 | ;; 1994-1999 Barry A. Warsaw | 6 | ;; 1994-1999 Barry A. Warsaw |
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el index 2991b511830..93a72796561 100644 --- a/lisp/progmodes/cc-defs.el +++ b/lisp/progmodes/cc-defs.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2003- Alan Mackenzie | 5 | ;; Authors: 2003- Alan Mackenzie |
| 6 | ;; 1998- Martin Stjernholm | 6 | ;; 1998- Martin Stjernholm |
diff --git a/lisp/progmodes/cc-engine.el b/lisp/progmodes/cc-engine.el index 57ee3943bbe..25344fe96a7 100644 --- a/lisp/progmodes/cc-engine.el +++ b/lisp/progmodes/cc-engine.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2001- Alan Mackenzie | 5 | ;; Authors: 2001- Alan Mackenzie |
| 6 | ;; 1998- Martin Stjernholm | 6 | ;; 1998- Martin Stjernholm |
| @@ -2074,7 +2074,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2074 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 2074 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; |
| 2075 | ;; We maintain a simple cache of positions which aren't in a literal, so as to | 2075 | ;; We maintain a simple cache of positions which aren't in a literal, so as to |
| 2076 | ;; speed up testing for non-literality. | 2076 | ;; speed up testing for non-literality. |
| 2077 | (defconst c-state-nonlit-pos-interval 10000) | 2077 | (defconst c-state-nonlit-pos-interval 3000) |
| 2078 | ;; The approximate interval between entries in `c-state-nonlit-pos-cache'. | 2078 | ;; The approximate interval between entries in `c-state-nonlit-pos-cache'. |
| 2079 | 2079 | ||
| 2080 | (defvar c-state-nonlit-pos-cache nil) | 2080 | (defvar c-state-nonlit-pos-cache nil) |
| @@ -2129,7 +2129,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2129 | (widen) | 2129 | (widen) |
| 2130 | (save-excursion | 2130 | (save-excursion |
| 2131 | (let ((c c-state-nonlit-pos-cache) | 2131 | (let ((c c-state-nonlit-pos-cache) |
| 2132 | pos npos lit) | 2132 | pos npos lit macro-beg) |
| 2133 | ;; Trim the cache to take account of buffer changes. | 2133 | ;; Trim the cache to take account of buffer changes. |
| 2134 | (while (and c (> (car c) c-state-nonlit-pos-cache-limit)) | 2134 | (while (and c (> (car c) c-state-nonlit-pos-cache-limit)) |
| 2135 | (setq c (cdr c))) | 2135 | (setq c (cdr c))) |
| @@ -2139,16 +2139,32 @@ comment at the start of cc-engine.el for more info." | |||
| 2139 | (setq c (cdr c))) | 2139 | (setq c (cdr c))) |
| 2140 | (setq pos (or (car c) (point-min))) | 2140 | (setq pos (or (car c) (point-min))) |
| 2141 | 2141 | ||
| 2142 | (while (<= (setq npos (+ pos c-state-nonlit-pos-interval)) | 2142 | (while |
| 2143 | here) | 2143 | ;; Add an element to `c-state-nonlit-pos-cache' each iteration. |
| 2144 | (setq lit (car (cddr (c-state-pp-to-literal pos npos)))) | 2144 | (and |
| 2145 | (setq pos (or (cdr lit) npos)) ; end of literal containing npos. | 2145 | (<= (setq npos (+ pos c-state-nonlit-pos-interval)) here) |
| 2146 | (progn | ||
| 2147 | (setq lit (car (cddr (c-state-pp-to-literal pos npos)))) | ||
| 2148 | (cond | ||
| 2149 | ((null lit) | ||
| 2150 | (setq pos npos) | ||
| 2151 | t) | ||
| 2152 | ((<= (cdr lit) here) | ||
| 2153 | (setq pos (cdr lit)) | ||
| 2154 | t) | ||
| 2155 | (t | ||
| 2156 | (setq pos (car lit)) | ||
| 2157 | nil)))) | ||
| 2158 | |||
| 2146 | (goto-char pos) | 2159 | (goto-char pos) |
| 2147 | (when (and (c-beginning-of-macro) (/= (point) pos)) | 2160 | (when (and (c-beginning-of-macro) (/= (point) pos)) |
| 2148 | (c-syntactic-end-of-macro) | 2161 | (setq macro-beg (point)) |
| 2149 | (or (eobp) (forward-char)) | 2162 | (c-syntactic-end-of-macro) |
| 2150 | (setq pos (point))) | 2163 | (or (eobp) (forward-char)) |
| 2151 | (setq c-state-nonlit-pos-cache (cons pos c-state-nonlit-pos-cache))) | 2164 | (setq pos (if (<= (point) here) |
| 2165 | (point) | ||
| 2166 | macro-beg))) | ||
| 2167 | (setq c-state-nonlit-pos-cache (cons pos c-state-nonlit-pos-cache))) | ||
| 2152 | 2168 | ||
| 2153 | (if (> pos c-state-nonlit-pos-cache-limit) | 2169 | (if (> pos c-state-nonlit-pos-cache-limit) |
| 2154 | (setq c-state-nonlit-pos-cache-limit pos)) | 2170 | (setq c-state-nonlit-pos-cache-limit pos)) |
| @@ -2594,7 +2610,7 @@ comment at the start of cc-engine.el for more info." | |||
| 2594 | mstart) ; start of a macro. | 2610 | mstart) ; start of a macro. |
| 2595 | 2611 | ||
| 2596 | (save-excursion | 2612 | (save-excursion |
| 2597 | ;; Each time round the following loop, we enter a succesively deeper | 2613 | ;; Each time round the following loop, we enter a successively deeper |
| 2598 | ;; level of brace/paren nesting. (Except sometimes we "continue at | 2614 | ;; level of brace/paren nesting. (Except sometimes we "continue at |
| 2599 | ;; the existing level".) `pa+1' is a pos inside an opening | 2615 | ;; the existing level".) `pa+1' is a pos inside an opening |
| 2600 | ;; brace/paren/bracket, usually just after it. | 2616 | ;; brace/paren/bracket, usually just after it. |
| @@ -4211,12 +4227,14 @@ The last point calculated is cached if the cache is enabled, i.e. if | |||
| 4211 | 4227 | ||
| 4212 | Note that this function might do hidden buffer changes. See the | 4228 | Note that this function might do hidden buffer changes. See the |
| 4213 | comment at the start of cc-engine.el for more info." | 4229 | comment at the start of cc-engine.el for more info." |
| 4214 | (let* ((safe-place (c-state-safe-place (point))) | 4230 | (save-restriction |
| 4215 | (lit (c-state-pp-to-literal safe-place (point)))) | 4231 | (widen) |
| 4216 | (or (cadr lit) | 4232 | (let* ((safe-place (c-state-safe-place (point))) |
| 4217 | (and detect-cpp | 4233 | (lit (c-state-pp-to-literal safe-place (point)))) |
| 4218 | (save-excursion (c-beginning-of-macro)) | 4234 | (or (cadr lit) |
| 4219 | 'pound)))) | 4235 | (and detect-cpp |
| 4236 | (save-excursion (c-beginning-of-macro)) | ||
| 4237 | 'pound))))) | ||
| 4220 | 4238 | ||
| 4221 | (defun c-literal-limits (&optional lim near not-in-delimiter) | 4239 | (defun c-literal-limits (&optional lim near not-in-delimiter) |
| 4222 | "Return a cons of the beginning and end positions of the comment or | 4240 | "Return a cons of the beginning and end positions of the comment or |
| @@ -4236,9 +4254,10 @@ comment at the start of cc-engine.el for more info." | |||
| 4236 | (save-excursion | 4254 | (save-excursion |
| 4237 | (let* ((pos (point)) | 4255 | (let* ((pos (point)) |
| 4238 | (lim (or lim (c-state-safe-place pos))) | 4256 | (lim (or lim (c-state-safe-place pos))) |
| 4239 | (pp-to-lit (c-state-pp-to-literal lim pos)) | 4257 | (pp-to-lit (save-restriction |
| 4258 | (widen) | ||
| 4259 | (c-state-pp-to-literal lim pos))) | ||
| 4240 | (state (car pp-to-lit)) | 4260 | (state (car pp-to-lit)) |
| 4241 | (lit-type (cadr pp-to-lit)) | ||
| 4242 | (lit-limits (car (cddr pp-to-lit)))) | 4261 | (lit-limits (car (cddr pp-to-lit)))) |
| 4243 | 4262 | ||
| 4244 | (cond | 4263 | (cond |
| @@ -4348,6 +4367,78 @@ comment at the start of cc-engine.el for more info." | |||
| 4348 | (t 'c))) ; Assuming the range is valid. | 4367 | (t 'c))) ; Assuming the range is valid. |
| 4349 | range)) | 4368 | range)) |
| 4350 | 4369 | ||
| 4370 | (defsubst c-determine-limit-get-base (start try-size) | ||
| 4371 | ;; Get a "safe place" approximately TRY-SIZE characters before START. | ||
| 4372 | ;; This doesn't preserve point. | ||
| 4373 | (let* ((pos (max (- start try-size) (point-min))) | ||
| 4374 | (base (c-state-safe-place pos)) | ||
| 4375 | (s (parse-partial-sexp base pos))) | ||
| 4376 | (if (or (nth 4 s) (nth 3 s)) ; comment or string | ||
| 4377 | (nth 8 s) | ||
| 4378 | (point)))) | ||
| 4379 | |||
| 4380 | (defun c-determine-limit (how-far-back &optional start try-size) | ||
| 4381 | ;; Return a buffer position HOW-FAR-BACK non-literal characters from START | ||
| 4382 | ;; (default point). This is done by going back further in the buffer then | ||
| 4383 | ;; searching forward for literals. The position found won't be in a | ||
| 4384 | ;; literal. We start searching for the sought position TRY-SIZE (default | ||
| 4385 | ;; twice HOW-FAR-BACK) bytes back from START. This function must be fast. | ||
| 4386 | ;; :-) | ||
| 4387 | (save-excursion | ||
| 4388 | (let* ((start (or start (point))) | ||
| 4389 | (try-size (or try-size (* 2 how-far-back))) | ||
| 4390 | (base (c-determine-limit-get-base start try-size)) | ||
| 4391 | (pos base) | ||
| 4392 | |||
| 4393 | (s (parse-partial-sexp pos pos)) ; null state. | ||
| 4394 | stack elt size | ||
| 4395 | (count 0)) | ||
| 4396 | (while (< pos start) | ||
| 4397 | ;; Move forward one literal each time round this loop. | ||
| 4398 | ;; Move forward to the start of a comment or string. | ||
| 4399 | (setq s (parse-partial-sexp | ||
| 4400 | pos | ||
| 4401 | start | ||
| 4402 | nil ; target-depth | ||
| 4403 | nil ; stop-before | ||
| 4404 | s ; state | ||
| 4405 | 'syntax-table)) ; stop-comment | ||
| 4406 | |||
| 4407 | ;; Gather details of the non-literal-bit - starting pos and size. | ||
| 4408 | (setq size (- (if (or (nth 4 s) (nth 3 s)) | ||
| 4409 | (nth 8 s) | ||
| 4410 | (point)) | ||
| 4411 | pos)) | ||
| 4412 | (if (> size 0) | ||
| 4413 | (setq stack (cons (cons pos size) stack))) | ||
| 4414 | |||
| 4415 | ;; Move forward to the end of the comment/string. | ||
| 4416 | (if (or (nth 4 s) (nth 3 s)) | ||
| 4417 | (setq s (parse-partial-sexp | ||
| 4418 | (point) | ||
| 4419 | start | ||
| 4420 | nil ; target-depth | ||
| 4421 | nil ; stop-before | ||
| 4422 | s ; state | ||
| 4423 | 'syntax-table))) ; stop-comment | ||
| 4424 | (setq pos (point))) | ||
| 4425 | |||
| 4426 | ;; Now try and find enough non-literal characters recorded on the stack. | ||
| 4427 | ;; Go back one recorded literal each time round this loop. | ||
| 4428 | (while (and (< count how-far-back) | ||
| 4429 | stack) | ||
| 4430 | (setq elt (car stack) | ||
| 4431 | stack (cdr stack)) | ||
| 4432 | (setq count (+ count (cdr elt)))) | ||
| 4433 | |||
| 4434 | ;; Have we found enough yet? | ||
| 4435 | (cond | ||
| 4436 | ((>= count how-far-back) | ||
| 4437 | (+ (car elt) (- count how-far-back))) | ||
| 4438 | ((eq base (point-min)) | ||
| 4439 | (point-min)) | ||
| 4440 | (t | ||
| 4441 | (c-determine-limit (- how-far-back count) base try-size)))))) | ||
| 4351 | 4442 | ||
| 4352 | ;; `c-find-decl-spots' and accompanying stuff. | 4443 | ;; `c-find-decl-spots' and accompanying stuff. |
| 4353 | 4444 | ||
| @@ -4484,13 +4575,14 @@ comment at the start of cc-engine.el for more info." | |||
| 4484 | ;; Call CFD-FUN for each possible spot for a declaration, cast or | 4575 | ;; Call CFD-FUN for each possible spot for a declaration, cast or |
| 4485 | ;; label from the point to CFD-LIMIT. | 4576 | ;; label from the point to CFD-LIMIT. |
| 4486 | ;; | 4577 | ;; |
| 4487 | ;; CFD-FUN is called with point at the start of the spot. It's | 4578 | ;; CFD-FUN is called with point at the start of the spot. It's passed two |
| 4488 | ;; passed two arguments: The first is the end position of the token | 4579 | ;; arguments: The first is the end position of the token preceding the spot, |
| 4489 | ;; preceding the spot, or 0 for the implicit match at bob. The | 4580 | ;; or 0 for the implicit match at bob. The second is a flag that is t when |
| 4490 | ;; second is a flag that is t when the match is inside a macro. If | 4581 | ;; the match is inside a macro. Point should be moved forward by at least |
| 4491 | ;; CFD-FUN adds `c-decl-end' properties somewhere below the current | 4582 | ;; one token. |
| 4492 | ;; spot, it should return non-nil to ensure that the next search | 4583 | ;; |
| 4493 | ;; will find them. | 4584 | ;; If CFD-FUN adds `c-decl-end' properties somewhere below the current spot, |
| 4585 | ;; it should return non-nil to ensure that the next search will find them. | ||
| 4494 | ;; | 4586 | ;; |
| 4495 | ;; Such a spot is: | 4587 | ;; Such a spot is: |
| 4496 | ;; o The first token after bob. | 4588 | ;; o The first token after bob. |
| @@ -4864,7 +4956,8 @@ comment at the start of cc-engine.el for more info." | |||
| 4864 | (goto-char cfd-continue-pos) | 4956 | (goto-char cfd-continue-pos) |
| 4865 | (if (= cfd-continue-pos cfd-limit) | 4957 | (if (= cfd-continue-pos cfd-limit) |
| 4866 | (setq cfd-match-pos cfd-limit) | 4958 | (setq cfd-match-pos cfd-limit) |
| 4867 | (c-find-decl-prefix-search))))) | 4959 | (c-find-decl-prefix-search))))) ; Moves point, sets cfd-continue-pos, |
| 4960 | ; cfd-match-pos, etc. | ||
| 4868 | 4961 | ||
| 4869 | 4962 | ||
| 4870 | ;; A cache for found types. | 4963 | ;; A cache for found types. |
| @@ -8044,6 +8137,23 @@ comment at the start of cc-engine.el for more info." | |||
| 8044 | next-open-brace (c-pull-open-brace paren-state))) | 8137 | next-open-brace (c-pull-open-brace paren-state))) |
| 8045 | open-brace)) | 8138 | open-brace)) |
| 8046 | 8139 | ||
| 8140 | (defun c-cheap-inside-bracelist-p (paren-state) | ||
| 8141 | ;; Return the position of the L-brace if point is inside a brace list | ||
| 8142 | ;; initialization of an array, etc. This is an approximate function, | ||
| 8143 | ;; designed for speed over accuracy. It will not find every bracelist, but | ||
| 8144 | ;; a non-nil result is reliable. We simply search for "= {" (naturally with | ||
| 8145 | ;; syntactic whitespace allowed). PAREN-STATE is the normal thing that it | ||
| 8146 | ;; is everywhere else. | ||
| 8147 | (let (b-pos) | ||
| 8148 | (save-excursion | ||
| 8149 | (while | ||
| 8150 | (and (setq b-pos (c-pull-open-brace paren-state)) | ||
| 8151 | (progn (goto-char b-pos) | ||
| 8152 | (c-backward-sws) | ||
| 8153 | (c-backward-token-2) | ||
| 8154 | (not (looking-at "="))))) | ||
| 8155 | b-pos))) | ||
| 8156 | |||
| 8047 | (defun c-inside-bracelist-p (containing-sexp paren-state) | 8157 | (defun c-inside-bracelist-p (containing-sexp paren-state) |
| 8048 | ;; return the buffer position of the beginning of the brace list | 8158 | ;; return the buffer position of the beginning of the brace list |
| 8049 | ;; statement if we're inside a brace list, otherwise return nil. | 8159 | ;; statement if we're inside a brace list, otherwise return nil. |
diff --git a/lisp/progmodes/cc-fonts.el b/lisp/progmodes/cc-fonts.el index 97cfe808322..2d116e1ecdc 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2002-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2003- Alan Mackenzie | 5 | ;; Authors: 2003- Alan Mackenzie |
| 6 | ;; 2002- Martin Stjernholm | 6 | ;; 2002- Martin Stjernholm |
| @@ -446,10 +446,12 @@ | |||
| 446 | ;; `parse-sexp-lookup-properties' (when it exists). | 446 | ;; `parse-sexp-lookup-properties' (when it exists). |
| 447 | (parse-sexp-lookup-properties | 447 | (parse-sexp-lookup-properties |
| 448 | (cc-eval-when-compile | 448 | (cc-eval-when-compile |
| 449 | (boundp 'parse-sexp-lookup-properties)))) | 449 | (boundp 'parse-sexp-lookup-properties))) |
| 450 | (BOD-limit | ||
| 451 | (c-determine-limit 1000))) | ||
| 450 | (goto-char | 452 | (goto-char |
| 451 | (let ((here (point))) | 453 | (let ((here (point))) |
| 452 | (if (eq (car (c-beginning-of-decl-1)) 'same) | 454 | (if (eq (car (c-beginning-of-decl-1 BOD-limit)) 'same) |
| 453 | (point) | 455 | (point) |
| 454 | here))) | 456 | here))) |
| 455 | ,(c-make-font-lock-search-form regexp highlights)) | 457 | ,(c-make-font-lock-search-form regexp highlights)) |
| @@ -1240,6 +1242,7 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1240 | ;; it finds any. That's necessary so that we later will | 1242 | ;; it finds any. That's necessary so that we later will |
| 1241 | ;; stop inside them to fontify types there. | 1243 | ;; stop inside them to fontify types there. |
| 1242 | (c-parse-and-markup-<>-arglists t) | 1244 | (c-parse-and-markup-<>-arglists t) |
| 1245 | lbrace ; position of some {. | ||
| 1243 | ;; The font-lock package in Emacs is known to clobber | 1246 | ;; The font-lock package in Emacs is known to clobber |
| 1244 | ;; `parse-sexp-lookup-properties' (when it exists). | 1247 | ;; `parse-sexp-lookup-properties' (when it exists). |
| 1245 | (parse-sexp-lookup-properties | 1248 | (parse-sexp-lookup-properties |
| @@ -1351,7 +1354,6 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1351 | (or (looking-at c-typedef-key) | 1354 | (or (looking-at c-typedef-key) |
| 1352 | (goto-char start-pos))) | 1355 | (goto-char start-pos))) |
| 1353 | 1356 | ||
| 1354 | ;; Now analyze the construct. | ||
| 1355 | ;; In QT, "more" is an irritating keyword that expands to nothing. | 1357 | ;; In QT, "more" is an irritating keyword that expands to nothing. |
| 1356 | ;; We skip over it to prevent recognition of "more slots: <symbol>" | 1358 | ;; We skip over it to prevent recognition of "more slots: <symbol>" |
| 1357 | ;; as a bitfield declaration. | 1359 | ;; as a bitfield declaration. |
| @@ -1360,6 +1362,8 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1360 | (concat "\\(more\\)\\([^" c-symbol-chars "]\\|$\\)"))) | 1362 | (concat "\\(more\\)\\([^" c-symbol-chars "]\\|$\\)"))) |
| 1361 | (goto-char (match-end 1)) | 1363 | (goto-char (match-end 1)) |
| 1362 | (c-forward-syntactic-ws)) | 1364 | (c-forward-syntactic-ws)) |
| 1365 | |||
| 1366 | ;; Now analyze the construct. | ||
| 1363 | (setq decl-or-cast (c-forward-decl-or-cast-1 | 1367 | (setq decl-or-cast (c-forward-decl-or-cast-1 |
| 1364 | match-pos context last-cast-end)) | 1368 | match-pos context last-cast-end)) |
| 1365 | 1369 | ||
| @@ -1428,11 +1432,60 @@ casts and declarations are fontified. Used on level 2 and higher." | |||
| 1428 | (c-fontify-recorded-types-and-refs) | 1432 | (c-fontify-recorded-types-and-refs) |
| 1429 | nil) | 1433 | nil) |
| 1430 | 1434 | ||
| 1435 | ;; Restore point, since at this point in the code it has been | ||
| 1436 | ;; left undefined by c-forward-decl-or-cast-1 above. | ||
| 1437 | ((progn (goto-char start-pos) nil)) | ||
| 1438 | |||
| 1439 | ;; If point is inside a bracelist, there's no point checking it | ||
| 1440 | ;; being at a declarator. | ||
| 1441 | ((let ((paren-state (c-parse-state))) | ||
| 1442 | (setq lbrace (c-cheap-inside-bracelist-p paren-state))) | ||
| 1443 | ;; Move past this bracelist to prevent an endless loop. | ||
| 1444 | (goto-char lbrace) | ||
| 1445 | (unless (c-safe (progn (forward-list) t)) | ||
| 1446 | (goto-char start-pos) | ||
| 1447 | (c-forward-token-2)) | ||
| 1448 | nil) | ||
| 1449 | |||
| 1450 | ;; If point is just after a ")" which is followed by an | ||
| 1451 | ;; identifier which isn't a label, or at the matching "(", we're | ||
| 1452 | ;; at either a macro invocation, a cast, or a | ||
| 1453 | ;; for/while/etc. statement. The cast case is handled above. | ||
| 1454 | ;; None of these cases can contain a declarator. | ||
| 1455 | ((or (and (eq (char-before match-pos) ?\)) | ||
| 1456 | (c-on-identifier) | ||
| 1457 | (save-excursion (not (c-forward-label)))) | ||
| 1458 | (and (eq (char-after) ?\() | ||
| 1459 | (save-excursion | ||
| 1460 | (and | ||
| 1461 | (progn (c-backward-token-2) (c-on-identifier)) | ||
| 1462 | (save-excursion (not (c-forward-label))) | ||
| 1463 | (progn (c-backward-token-2) | ||
| 1464 | (eq (char-after) ?\()))))) | ||
| 1465 | (c-forward-token-2) ; Must prevent looping. | ||
| 1466 | nil) | ||
| 1467 | |||
| 1468 | ((and (not c-enums-contain-decls) | ||
| 1469 | ;; An optimization quickly to eliminate scans of long enum | ||
| 1470 | ;; declarations in the next cond arm. | ||
| 1471 | (let ((paren-state (c-parse-state))) | ||
| 1472 | (and | ||
| 1473 | (numberp (car paren-state)) | ||
| 1474 | (save-excursion | ||
| 1475 | (goto-char (car paren-state)) | ||
| 1476 | (c-backward-token-2) | ||
| 1477 | (or (looking-at c-brace-list-key) | ||
| 1478 | (progn | ||
| 1479 | (c-backward-token-2) | ||
| 1480 | (looking-at c-brace-list-key))))))) | ||
| 1481 | (c-forward-token-2) | ||
| 1482 | nil) | ||
| 1483 | |||
| 1431 | (t | 1484 | (t |
| 1432 | ;; Are we at a declarator? Try to go back to the declaration | 1485 | ;; Are we at a declarator? Try to go back to the declaration |
| 1433 | ;; to check this. If we get there, check whether a "typedef" | 1486 | ;; to check this. If we get there, check whether a "typedef" |
| 1434 | ;; is there, then fontify the declarators accordingly. | 1487 | ;; is there, then fontify the declarators accordingly. |
| 1435 | (let ((decl-search-lim (max (- (point) 50000) (point-min))) | 1488 | (let ((decl-search-lim (c-determine-limit 1000)) |
| 1436 | paren-state bod-res encl-pos is-typedef | 1489 | paren-state bod-res encl-pos is-typedef |
| 1437 | c-recognize-knr-p) ; Strictly speaking, bogus, but it | 1490 | c-recognize-knr-p) ; Strictly speaking, bogus, but it |
| 1438 | ; speeds up lisp.h tremendously. | 1491 | ; speeds up lisp.h tremendously. |
diff --git a/lisp/progmodes/cc-guess.el b/lisp/progmodes/cc-guess.el index 6553021e783..fcd6a443b67 100644 --- a/lisp/progmodes/cc-guess.el +++ b/lisp/progmodes/cc-guess.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; cc-guess.el --- guess indentation values by scanning existing code | 1 | ;;; cc-guess.el --- guess indentation values by scanning existing code |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985, 1987, 1992-2006, 2011 | 3 | ;; Copyright (C) 1985, 1987, 1992-2006, 2011-2012 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: 1994-1995 Barry A. Warsaw | 6 | ;; Author: 1994-1995 Barry A. Warsaw |
diff --git a/lisp/progmodes/cc-langs.el b/lisp/progmodes/cc-langs.el index 2aca885ca35..fafbfb70552 100644 --- a/lisp/progmodes/cc-langs.el +++ b/lisp/progmodes/cc-langs.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2002- Alan Mackenzie | 5 | ;; Authors: 2002- Alan Mackenzie |
| 6 | ;; 1998- Martin Stjernholm | 6 | ;; 1998- Martin Stjernholm |
| @@ -2938,6 +2938,12 @@ expression is considered to be a type." | |||
| 2938 | (consp (c-lang-const c-<>-arglist-kwds)))) | 2938 | (consp (c-lang-const c-<>-arglist-kwds)))) |
| 2939 | (c-lang-defvar c-recognize-<>-arglists (c-lang-const c-recognize-<>-arglists)) | 2939 | (c-lang-defvar c-recognize-<>-arglists (c-lang-const c-recognize-<>-arglists)) |
| 2940 | 2940 | ||
| 2941 | (c-lang-defconst c-enums-contain-decls | ||
| 2942 | "Non-nil means that an enum structure can contain declarations." | ||
| 2943 | t nil | ||
| 2944 | java t) | ||
| 2945 | (c-lang-defvar c-enums-contain-decls (c-lang-const c-enums-contain-decls)) | ||
| 2946 | |||
| 2941 | (c-lang-defconst c-recognize-paren-inits | 2947 | (c-lang-defconst c-recognize-paren-inits |
| 2942 | "Non-nil means that parenthesis style initializers exist, | 2948 | "Non-nil means that parenthesis style initializers exist, |
| 2943 | i.e. constructs like | 2949 | i.e. constructs like |
diff --git a/lisp/progmodes/cc-menus.el b/lisp/progmodes/cc-menus.el index 942303b1096..f57fcbff5ca 100644 --- a/lisp/progmodes/cc-menus.el +++ b/lisp/progmodes/cc-menus.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 1998- Martin Stjernholm | 5 | ;; Authors: 1998- Martin Stjernholm |
| 6 | ;; 1992-1999 Barry A. Warsaw | 6 | ;; 1992-1999 Barry A. Warsaw |
diff --git a/lisp/progmodes/cc-mode.el b/lisp/progmodes/cc-mode.el index bf7d6bfed12..0c86b68f1d9 100644 --- a/lisp/progmodes/cc-mode.el +++ b/lisp/progmodes/cc-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2003- Alan Mackenzie | 5 | ;; Authors: 2003- Alan Mackenzie |
| 6 | ;; 1998- Martin Stjernholm | 6 | ;; 1998- Martin Stjernholm |
| @@ -490,6 +490,7 @@ that requires a literal mode spec at compile time." | |||
| 490 | (make-local-variable 'paragraph-ignore-fill-prefix) | 490 | (make-local-variable 'paragraph-ignore-fill-prefix) |
| 491 | (make-local-variable 'adaptive-fill-mode) | 491 | (make-local-variable 'adaptive-fill-mode) |
| 492 | (make-local-variable 'adaptive-fill-regexp) | 492 | (make-local-variable 'adaptive-fill-regexp) |
| 493 | (make-local-variable 'fill-paragraph-handle-comment) | ||
| 493 | 494 | ||
| 494 | ;; now set their values | 495 | ;; now set their values |
| 495 | (set (make-local-variable 'parse-sexp-ignore-comments) t) | 496 | (set (make-local-variable 'parse-sexp-ignore-comments) t) |
| @@ -500,6 +501,9 @@ that requires a literal mode spec at compile time." | |||
| 500 | (set (make-local-variable 'comment-line-break-function) | 501 | (set (make-local-variable 'comment-line-break-function) |
| 501 | 'c-indent-new-comment-line) | 502 | 'c-indent-new-comment-line) |
| 502 | 503 | ||
| 504 | ;; For the benefit of adaptive file, which otherwise mis-fills. | ||
| 505 | (setq fill-paragraph-handle-comment nil) | ||
| 506 | |||
| 503 | ;; Install `c-fill-paragraph' on `fill-paragraph-function' so that a | 507 | ;; Install `c-fill-paragraph' on `fill-paragraph-function' so that a |
| 504 | ;; direct call to `fill-paragraph' behaves better. This still | 508 | ;; direct call to `fill-paragraph' behaves better. This still |
| 505 | ;; doesn't work with filladapt but it's better than nothing. | 509 | ;; doesn't work with filladapt but it's better than nothing. |
| @@ -1158,7 +1162,7 @@ Note that the style variables are always made local to the buffer." | |||
| 1158 | ;; Effectively advice around `font-lock-fontify-region' which extends the | 1162 | ;; Effectively advice around `font-lock-fontify-region' which extends the |
| 1159 | ;; region (BEG END), for example, to avoid context fontification chopping | 1163 | ;; region (BEG END), for example, to avoid context fontification chopping |
| 1160 | ;; off the start of the context. Do not do anything if it's already been | 1164 | ;; off the start of the context. Do not do anything if it's already been |
| 1161 | ;; done (i.e. from and after-change fontification. An example (C++) where | 1165 | ;; done (i.e. from an after-change fontification. An example (C++) where |
| 1162 | ;; this used to happen is this: | 1166 | ;; this used to happen is this: |
| 1163 | ;; | 1167 | ;; |
| 1164 | ;; template <typename T> | 1168 | ;; template <typename T> |
diff --git a/lisp/progmodes/cc-styles.el b/lisp/progmodes/cc-styles.el index 96cb15f2a72..cf628e44de0 100644 --- a/lisp/progmodes/cc-styles.el +++ b/lisp/progmodes/cc-styles.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2004- Alan Mackenzie | 5 | ;; Authors: 2004- Alan Mackenzie |
| 6 | ;; 1998- Martin Stjernholm | 6 | ;; 1998- Martin Stjernholm |
diff --git a/lisp/progmodes/cc-vars.el b/lisp/progmodes/cc-vars.el index a4338a3193b..8efe3f27002 100644 --- a/lisp/progmodes/cc-vars.el +++ b/lisp/progmodes/cc-vars.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985, 1987, 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: 2002- Alan Mackenzie | 5 | ;; Authors: 2002- Alan Mackenzie |
| 6 | ;; 1998- Martin Stjernholm | 6 | ;; 1998- Martin Stjernholm |
diff --git a/lisp/progmodes/cfengine.el b/lisp/progmodes/cfengine.el index ffe8edfaeb6..4e9a10e3ceb 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Dave Love <fx@gnu.org> | 5 | ;; Author: Dave Love <fx@gnu.org> |
| 6 | ;; Maintainer: Ted Zlatanov <tzz@lifelogs.com> | 6 | ;; Maintainer: Ted Zlatanov <tzz@lifelogs.com> |
diff --git a/lisp/progmodes/cmacexp.el b/lisp/progmodes/cmacexp.el index 322492c5566..88c36e8c452 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992, 1994, 1996, 2000-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Francesco Potorti` <pot@gnu.org> | 5 | ;; Author: Francesco Potorti` <pot@gnu.org> |
| 6 | ;; Adapted-By: ESR | 6 | ;; Adapted-By: ESR |
diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 73e990e2755..f152209956f 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-1987, 1993-1999, 2001-2011 | 3 | ;; Copyright (C) 1985-1987, 1993-1999, 2001-2012 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Authors: Roland McGrath <roland@gnu.org>, | 6 | ;; Authors: Roland McGrath <roland@gnu.org>, |
diff --git a/lisp/progmodes/cperl-mode.el b/lisp/progmodes/cperl-mode.el index 86284eaa30a..9ea42db2a8c 100644 --- a/lisp/progmodes/cperl-mode.el +++ b/lisp/progmodes/cperl-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-1987, 1991-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1985-1987, 1991-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Ilya Zakharevich | 5 | ;; Author: Ilya Zakharevich |
| 6 | ;; Bob Olson | 6 | ;; Bob Olson |
diff --git a/lisp/progmodes/cpp.el b/lisp/progmodes/cpp.el index e5bfda54728..8ecfe79de3b 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994-1995, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Per Abrahamsen <abraham@dina.kvl.dk> | 5 | ;; Author: Per Abrahamsen <abraham@dina.kvl.dk> |
| 6 | ;; Keywords: c, faces, tools | 6 | ;; Keywords: c, faces, tools |
diff --git a/lisp/progmodes/cwarn.el b/lisp/progmodes/cwarn.el index 0516aca8d2b..90147700d77 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Anders Lindgren <andersl@andersl.com> | 5 | ;; Author: Anders Lindgren <andersl@andersl.com> |
| 6 | ;; Keywords: c, languages, faces | 6 | ;; Keywords: c, languages, faces |
diff --git a/lisp/progmodes/dcl-mode.el b/lisp/progmodes/dcl-mode.el index eeb145e2b1a..166065131b2 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Odd Gripenstam <gripenstamol@decus.se> | 5 | ;; Author: Odd Gripenstam <gripenstamol@decus.se> |
| 6 | ;; Maintainer: Odd Gripenstam <gripenstamol@decus.se> | 6 | ;; Maintainer: Odd Gripenstam <gripenstamol@decus.se> |
diff --git a/lisp/progmodes/delphi.el b/lisp/progmodes/delphi.el index e513b617022..dd8d267683c 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998-1999, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: Ray Blaak <blaak@infomatch.com>, | 5 | ;; Authors: Ray Blaak <blaak@infomatch.com>, |
| 6 | ;; Simon South <ssouth@member.fsf.org> | 6 | ;; Simon South <ssouth@member.fsf.org> |
diff --git a/lisp/progmodes/ebnf-abn.el b/lisp/progmodes/ebnf-abn.el index b45a47f8a3f..009770eff60 100644 --- a/lisp/progmodes/ebnf-abn.el +++ b/lisp/progmodes/ebnf-abn.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ebnf-abn.el --- parser for ABNF (Augmented BNF) | 1 | ;;; ebnf-abn.el --- parser for ABNF (Augmented BNF) |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
diff --git a/lisp/progmodes/ebnf-bnf.el b/lisp/progmodes/ebnf-bnf.el index cb8ebf8aab0..7d549cb9b47 100644 --- a/lisp/progmodes/ebnf-bnf.el +++ b/lisp/progmodes/ebnf-bnf.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ebnf-bnf.el --- parser for EBNF | 1 | ;;; ebnf-bnf.el --- parser for EBNF |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
diff --git a/lisp/progmodes/ebnf-dtd.el b/lisp/progmodes/ebnf-dtd.el index 7b63575195e..be1de11add6 100644 --- a/lisp/progmodes/ebnf-dtd.el +++ b/lisp/progmodes/ebnf-dtd.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
diff --git a/lisp/progmodes/ebnf-ebx.el b/lisp/progmodes/ebnf-ebx.el index 7d697e889b7..ae15e09f4ca 100644 --- a/lisp/progmodes/ebnf-ebx.el +++ b/lisp/progmodes/ebnf-ebx.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
diff --git a/lisp/progmodes/ebnf-iso.el b/lisp/progmodes/ebnf-iso.el index d33167093a3..f8e2520c29c 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
diff --git a/lisp/progmodes/ebnf-otz.el b/lisp/progmodes/ebnf-otz.el index 0392505972d..0aa2948cf19 100644 --- a/lisp/progmodes/ebnf-otz.el +++ b/lisp/progmodes/ebnf-otz.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ebnf-otz.el --- syntactic chart OpTimiZer | 1 | ;;; ebnf-otz.el --- syntactic chart OpTimiZer |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
diff --git a/lisp/progmodes/ebnf-yac.el b/lisp/progmodes/ebnf-yac.el index 5ff239bfa21..56c8dc57e96 100644 --- a/lisp/progmodes/ebnf-yac.el +++ b/lisp/progmodes/ebnf-yac.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ebnf-yac.el --- parser for Yacc/Bison | 1 | ;;; ebnf-yac.el --- parser for Yacc/Bison |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
diff --git a/lisp/progmodes/ebnf2ps.el b/lisp/progmodes/ebnf2ps.el index 240deb39ce3..5d0bfad0366 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 5 | ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
| 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> | 6 | ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br> |
diff --git a/lisp/progmodes/ebrowse.el b/lisp/progmodes/ebrowse.el index dd7a9824af3..4a07392c309 100644 --- a/lisp/progmodes/ebrowse.el +++ b/lisp/progmodes/ebrowse.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ebrowse.el --- Emacs C++ class browser & tags facility | 1 | ;;; ebrowse.el --- Emacs C++ class browser & tags facility |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1992-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Gerd Moellmann <gerd@gnu.org> | 5 | ;; Author: Gerd Moellmann <gerd@gnu.org> |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
diff --git a/lisp/progmodes/etags.el b/lisp/progmodes/etags.el index 2d0b18f3dae..cc5f0fef934 100644 --- a/lisp/progmodes/etags.el +++ b/lisp/progmodes/etags.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; etags.el --- etags facility for Emacs | 1 | ;;; etags.el --- etags facility for Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1986, 1988-1989, 1992-1996, 1998, 2000-2011 | 3 | ;; Copyright (C) 1985-1986, 1988-1989, 1992-1996, 1998, 2000-2012 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Roland McGrath <roland@gnu.org> | 6 | ;; Author: Roland McGrath <roland@gnu.org> |
| @@ -463,7 +463,7 @@ Returns non-nil if it is a valid table." | |||
| 463 | 463 | ||
| 464 | ;; Subroutine of visit-tags-table-buffer. Search the current tags tables | 464 | ;; Subroutine of visit-tags-table-buffer. Search the current tags tables |
| 465 | ;; for one that has tags for THIS-FILE (or that includes a table that | 465 | ;; for one that has tags for THIS-FILE (or that includes a table that |
| 466 | ;; does). Return the name of the first table table listing THIS-FILE; if | 466 | ;; does). Return the name of the first table listing THIS-FILE; if |
| 467 | ;; the table is one included by another table, it is the master table that | 467 | ;; the table is one included by another table, it is the master table that |
| 468 | ;; we return. If CORE-ONLY is non-nil, check only tags tables that are | 468 | ;; we return. If CORE-ONLY is non-nil, check only tags tables that are |
| 469 | ;; already in buffers--don't visit any new files. | 469 | ;; already in buffers--don't visit any new files. |
diff --git a/lisp/progmodes/executable.el b/lisp/progmodes/executable.el index 281fa3cef72..c44f1d73501 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-1996, 2000-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994-1996, 2000-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Daniel Pfeiffer <occitan@esperanto.org> | 5 | ;; Author: Daniel Pfeiffer <occitan@esperanto.org> |
| 6 | ;; Keywords: languages, unix | 6 | ;; Keywords: languages, unix |
diff --git a/lisp/progmodes/f90.el b/lisp/progmodes/f90.el index 95b8d810028..25f8107340a 100644 --- a/lisp/progmodes/f90.el +++ b/lisp/progmodes/f90.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; f90.el --- Fortran-90 mode (free format) | 1 | ;;; f90.el --- Fortran-90 mode (free format) |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1995-1997, 2000-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1995-1997, 2000-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Torbjörn Einarsson <Torbjorn.Einarsson@era.ericsson.se> | 5 | ;; Author: Torbjörn Einarsson <Torbjorn.Einarsson@era.ericsson.se> |
| 6 | ;; Maintainer: Glenn Morris <rgm@gnu.org> | 6 | ;; Maintainer: Glenn Morris <rgm@gnu.org> |
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el index 1c138f053d3..fee45fcb3e8 100644 --- a/lisp/progmodes/flymake.el +++ b/lisp/progmodes/flymake.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2003-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Pavel Kobyakov <pk_at_work@yahoo.com> | 5 | ;; Author: Pavel Kobyakov <pk_at_work@yahoo.com> |
| 6 | ;; Maintainer: Pavel Kobyakov <pk_at_work@yahoo.com> | 6 | ;; Maintainer: Pavel Kobyakov <pk_at_work@yahoo.com> |
diff --git a/lisp/progmodes/fortran.el b/lisp/progmodes/fortran.el index 2dac46a6d5b..8d488fe9be4 100644 --- a/lisp/progmodes/fortran.el +++ b/lisp/progmodes/fortran.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; fortran.el --- Fortran mode for GNU Emacs | 1 | ;;; fortran.el --- Fortran mode for GNU Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1986, 1993-1995, 1997-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1986, 1993-1995, 1997-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael D. Prange <prange@erl.mit.edu> | 5 | ;; Author: Michael D. Prange <prange@erl.mit.edu> |
| 6 | ;; Maintainer: Glenn Morris <rgm@gnu.org> | 6 | ;; Maintainer: Glenn Morris <rgm@gnu.org> |
diff --git a/lisp/progmodes/gdb-mi.el b/lisp/progmodes/gdb-mi.el index 1c38c59bba6..ff2a5f3f3e7 100644 --- a/lisp/progmodes/gdb-mi.el +++ b/lisp/progmodes/gdb-mi.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; gdb-mi.el --- User Interface for running GDB | 1 | ;;; gdb-mi.el --- User Interface for running GDB |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2007-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Nick Roberts <nickrob@gnu.org> | 5 | ;; Author: Nick Roberts <nickrob@gnu.org> |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
diff --git a/lisp/progmodes/glasses.el b/lisp/progmodes/glasses.el index 6792e861888..fb0489f185c 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Milan Zamazal <pdm@zamazal.org> | 5 | ;; Author: Milan Zamazal <pdm@zamazal.org> |
| 6 | ;; Maintainer: Milan Zamazal <pdm@zamazal.org> | 6 | ;; Maintainer: Milan Zamazal <pdm@zamazal.org> |
diff --git a/lisp/progmodes/grep.el b/lisp/progmodes/grep.el index 38b17a9b1ee..697af76acc9 100644 --- a/lisp/progmodes/grep.el +++ b/lisp/progmodes/grep.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; grep.el --- run `grep' and display the results | 1 | ;;; grep.el --- run `grep' and display the results |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1985-1987, 1993-1999, 2001-2011 | 3 | ;; Copyright (C) 1985-1987, 1993-1999, 2001-2012 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Roland McGrath <roland@gnu.org> | 6 | ;; Author: Roland McGrath <roland@gnu.org> |
diff --git a/lisp/progmodes/gud.el b/lisp/progmodes/gud.el index 7215ac4ea73..5fabe5086db 100644 --- a/lisp/progmodes/gud.el +++ b/lisp/progmodes/gud.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; gud.el --- Grand Unified Debugger mode for running GDB and other debuggers | 1 | ;;; gud.el --- Grand Unified Debugger mode for running GDB and other debuggers |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1992-1996, 1998, 2000-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992-1996, 1998, 2000-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> | 5 | ;; Author: Eric S. Raymond <esr@snark.thyrsus.com> |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
diff --git a/lisp/progmodes/hideif.el b/lisp/progmodes/hideif.el index 82961376669..3e3d7adc0b6 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 1994, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Brian Marick | 5 | ;; Author: Brian Marick |
| 6 | ;; Daniel LaLiberte <liberte@holonexus.org> | 6 | ;; Daniel LaLiberte <liberte@holonexus.org> |
diff --git a/lisp/progmodes/hideshow.el b/lisp/progmodes/hideshow.el index 9cbc1dc6d32..0884d28ad5a 100644 --- a/lisp/progmodes/hideshow.el +++ b/lisp/progmodes/hideshow.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Thien-Thi Nguyen <ttn@gnu.org> | 5 | ;; Author: Thien-Thi Nguyen <ttn@gnu.org> |
| 6 | ;; Dan Nicolaescu <dann@ics.uci.edu> | 6 | ;; Dan Nicolaescu <dann@ics.uci.edu> |
| @@ -604,7 +604,7 @@ we return a list having a nil as its car and the end of comment position | |||
| 604 | as cdr." | 604 | as cdr." |
| 605 | (save-excursion | 605 | (save-excursion |
| 606 | ;; the idea is to look backwards for a comment start regexp, do a | 606 | ;; the idea is to look backwards for a comment start regexp, do a |
| 607 | ;; forward comment, and see if we are inside, then extend extend | 607 | ;; forward comment, and see if we are inside, then extend |
| 608 | ;; forward and backward as long as we have comments | 608 | ;; forward and backward as long as we have comments |
| 609 | (let ((q (point))) | 609 | (let ((q (point))) |
| 610 | (when (or (looking-at hs-c-start-regexp) | 610 | (when (or (looking-at hs-c-start-regexp) |
diff --git a/lisp/progmodes/icon.el b/lisp/progmodes/icon.el index 5382ce1386d..35c29e10627 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1989, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Chris Smith <csmith@convex.com> | 5 | ;; Author: Chris Smith <csmith@convex.com> |
| 6 | ;; Created: 15 Feb 89 | 6 | ;; Created: 15 Feb 89 |
diff --git a/lisp/progmodes/idlw-complete-structtag.el b/lisp/progmodes/idlw-complete-structtag.el index a967fc03e40..246ba8f29cd 100644 --- a/lisp/progmodes/idlw-complete-structtag.el +++ b/lisp/progmodes/idlw-complete-structtag.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; idlw-complete-structtag.el --- Completion of structure tags. | 1 | ;;; idlw-complete-structtag.el --- Completion of structure tags. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2001-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Carsten Dominik <dominik@astro.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@astro.uva.nl> |
| 6 | ;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> | 6 | ;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> |
diff --git a/lisp/progmodes/idlw-help.el b/lisp/progmodes/idlw-help.el index 0266fc17f9c..f2f9fd30ed4 100644 --- a/lisp/progmodes/idlw-help.el +++ b/lisp/progmodes/idlw-help.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; idlw-help.el --- HTML Help code for IDLWAVE | 1 | ;;; idlw-help.el --- HTML Help code for IDLWAVE |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2000-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2000-2012 Free Software Foundation, Inc. |
| 4 | ;; | 4 | ;; |
| 5 | ;; Authors: J.D. Smith <jdsmith@as.arizona.edu> | 5 | ;; Authors: J.D. Smith <jdsmith@as.arizona.edu> |
| 6 | ;; Carsten Dominik <dominik@science.uva.nl> | 6 | ;; Carsten Dominik <dominik@science.uva.nl> |
diff --git a/lisp/progmodes/idlw-shell.el b/lisp/progmodes/idlw-shell.el index aa46b54d848..55a085fbde0 100644 --- a/lisp/progmodes/idlw-shell.el +++ b/lisp/progmodes/idlw-shell.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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 | 2 | ||
| 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: J.D. Smith <jdsmith@as.arizona.edu> | 5 | ;; Authors: J.D. Smith <jdsmith@as.arizona.edu> |
| 6 | ;; Carsten Dominik <dominik@astro.uva.nl> | 6 | ;; Carsten Dominik <dominik@astro.uva.nl> |
| @@ -227,7 +227,7 @@ window, but is useful for stepping, etc." | |||
| 227 | "Obsolete variable. See `idlwave-shell-debug-modifiers'.") | 227 | "Obsolete variable. See `idlwave-shell-debug-modifiers'.") |
| 228 | 228 | ||
| 229 | (defcustom idlwave-shell-use-truename nil | 229 | (defcustom idlwave-shell-use-truename nil |
| 230 | "*Non-nil means, use use `file-truename' when looking for buffers. | 230 | "*Non-nil means, use `file-truename' when looking for buffers. |
| 231 | If this variable is non-nil, Emacs will use the function `file-truename' to | 231 | If this variable is non-nil, Emacs will use the function `file-truename' to |
| 232 | resolve symbolic links in the file paths printed by e.g., STOP commands. | 232 | resolve symbolic links in the file paths printed by e.g., STOP commands. |
| 233 | This means, unvisited files will be loaded under their truename. | 233 | This means, unvisited files will be loaded under their truename. |
diff --git a/lisp/progmodes/idlw-toolbar.el b/lisp/progmodes/idlw-toolbar.el index d4eddee9722..1dad455d37e 100644 --- a/lisp/progmodes/idlw-toolbar.el +++ b/lisp/progmodes/idlw-toolbar.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; idlw-toolbar.el --- a debugging toolbar for IDLWAVE | 1 | ;;; idlw-toolbar.el --- a debugging toolbar for IDLWAVE |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Carsten Dominik <dominik@astro.uva.nl> | 5 | ;; Author: Carsten Dominik <dominik@astro.uva.nl> |
| 6 | ;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> | 6 | ;; Maintainer: J.D. Smith <jdsmith@as.arizona.edu> |
diff --git a/lisp/progmodes/idlwave.el b/lisp/progmodes/idlwave.el index 9bc4af2a072..31fe20698b9 100644 --- a/lisp/progmodes/idlwave.el +++ b/lisp/progmodes/idlwave.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;; idlwave.el --- IDL editing mode for GNU Emacs | 1 | ;; idlwave.el --- IDL editing mode for GNU Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1999-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: J.D. Smith <jdsmith@as.arizona.edu> | 5 | ;; Authors: J.D. Smith <jdsmith@as.arizona.edu> |
| 6 | ;; Carsten Dominik <dominik@science.uva.nl> | 6 | ;; Carsten Dominik <dominik@science.uva.nl> |
diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el index dd24aeea9a3..73e167d1587 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1988, 1993-1994, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Olin Shivers <shivers@cs.cmu.edu> | 5 | ;; Author: Olin Shivers <shivers@cs.cmu.edu> |
| 6 | ;; Keywords: processes, lisp | 6 | ;; Keywords: processes, lisp |
diff --git a/lisp/progmodes/js.el b/lisp/progmodes/js.el index f0c86265232..69da6737520 100644 --- a/lisp/progmodes/js.el +++ b/lisp/progmodes/js.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; js.el --- Major mode for editing JavaScript | 1 | ;;; js.el --- Major mode for editing JavaScript |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2008-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2008-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Karl Landstrom <karl.landstrom@brgeight.se> | 5 | ;; Author: Karl Landstrom <karl.landstrom@brgeight.se> |
| 6 | ;; Daniel Colascione <dan.colascione@gmail.com> | 6 | ;; Daniel Colascione <dan.colascione@gmail.com> |
| @@ -369,7 +369,8 @@ Match group 1 is the name of the macro.") | |||
| 369 | ;; must be h-end. | 369 | ;; must be h-end. |
| 370 | ;; | 370 | ;; |
| 371 | ;; js--pitem instances are never modified (with the exception | 371 | ;; js--pitem instances are never modified (with the exception |
| 372 | ;; of the b-end field). Instead, modified copies are added at subseqnce parse points. | 372 | ;; of the b-end field). Instead, modified copies are added at |
| 373 | ;; subsequence parse points. | ||
| 373 | ;; (The exception for b-end and its caveats is described below.) | 374 | ;; (The exception for b-end and its caveats is described below.) |
| 374 | ;; | 375 | ;; |
| 375 | 376 | ||
diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el index c682bfa0280..9cbed855d5e 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Masatake YAMATO<jet@gyve.org> | 5 | ;; Author: Masatake YAMATO<jet@gyve.org> |
| 6 | ;; Keywords: languages, faces | 6 | ;; Keywords: languages, faces |
diff --git a/lisp/progmodes/m4-mode.el b/lisp/progmodes/m4-mode.el index 98df1c69468..b1884bd105b 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1996-1997, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Andrew Csillag <drew_csillag@geocities.com> | 5 | ;; Author: Andrew Csillag <drew_csillag@geocities.com> |
| 6 | ;; Maintainer: Andrew Csillag <drew_csillag@geocities.com> | 6 | ;; Maintainer: Andrew Csillag <drew_csillag@geocities.com> |
diff --git a/lisp/progmodes/make-mode.el b/lisp/progmodes/make-mode.el index 024744957c6..b4ca1ba665f 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 -*- lexical-binding:t -*- | 1 | ;;; make-mode.el --- makefile editing commands for Emacs -*- lexical-binding:t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1992, 1994, 1999-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992, 1994, 1999-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Thomas Neumann <tom@smart.bo.open.de> | 5 | ;; Author: Thomas Neumann <tom@smart.bo.open.de> |
| 6 | ;; Eric S. Raymond <esr@snark.thyrsus.com> | 6 | ;; Eric S. Raymond <esr@snark.thyrsus.com> |
diff --git a/lisp/progmodes/mantemp.el b/lisp/progmodes/mantemp.el index c8963d2a6dd..a2a976a6d37 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1996, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Tom Houlder <thoulder@icor.fr> | 5 | ;; Author: Tom Houlder <thoulder@icor.fr> |
| 6 | ;; Created: 10 Dec 1996 | 6 | ;; Created: 10 Dec 1996 |
diff --git a/lisp/progmodes/meta-mode.el b/lisp/progmodes/meta-mode.el index d0a34179cc8..d0432f58d60 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 -*- lexical-binding:t -*- | 1 | ;;; meta-mode.el --- major mode for editing Metafont or MetaPost sources -*- lexical-binding:t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997, 2001-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Ulrik Vieth <vieth@thphy.uni-duesseldorf.de> | 5 | ;; Author: Ulrik Vieth <vieth@thphy.uni-duesseldorf.de> |
| 6 | ;; Version: 1.0 | 6 | ;; Version: 1.0 |
| @@ -384,7 +384,7 @@ Each entry is a list with the following elements: | |||
| 384 | 1. Regexp matching the preceding text. | 384 | 1. Regexp matching the preceding text. |
| 385 | 2. A number indicating the subgroup in the regexp containing the text. | 385 | 2. A number indicating the subgroup in the regexp containing the text. |
| 386 | 3. A function returning an alist of possible completions. | 386 | 3. A function returning an alist of possible completions. |
| 387 | 4. Text to append after a succesful completion (if any). | 387 | 4. Text to append after a successful completion (if any). |
| 388 | 388 | ||
| 389 | Or alternatively: | 389 | Or alternatively: |
| 390 | 1. Regexp matching the preceding text. | 390 | 1. Regexp matching the preceding text. |
diff --git a/lisp/progmodes/mixal-mode.el b/lisp/progmodes/mixal-mode.el index 7d1f12595ab..54d857dd4b1 100644 --- a/lisp/progmodes/mixal-mode.el +++ b/lisp/progmodes/mixal-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2003-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Pieter E.J. Pareit <pieter.pareit@gmail.com> | 5 | ;; Author: Pieter E.J. Pareit <pieter.pareit@gmail.com> |
| 6 | ;; Maintainer: Pieter E.J. Pareit <pieter.pareit@gmail.com> | 6 | ;; Maintainer: Pieter E.J. Pareit <pieter.pareit@gmail.com> |
| @@ -145,43 +145,43 @@ zeros to make a word." | |||
| 145 | (LD1 loading "load I1" 9 field | 145 | (LD1 loading "load I1" 9 field |
| 146 | "Put in rI1 the contents of cell no. M. | 146 | "Put in rI1 the contents of cell no. M. |
| 147 | Uses a + when there is no sign in subfield. Subfield is left padded with | 147 | Uses a + when there is no sign in subfield. Subfield is left padded with |
| 148 | zeros to make a word. Index registers only have 2 bytes and a sign, Trying | 148 | zeros to make a word. Index registers only have 2 bytes and a sign; trying |
| 149 | to set anything more that that will result in undefined behavior." | 149 | to set anything more than that will result in undefined behavior." |
| 150 | 2) | 150 | 2) |
| 151 | 151 | ||
| 152 | (LD2 loading "load I2" 10 field | 152 | (LD2 loading "load I2" 10 field |
| 153 | "Put in rI2 the contents of cell no. M. | 153 | "Put in rI2 the contents of cell no. M. |
| 154 | Uses a + when there is no sign in subfield. Subfield is left padded with | 154 | Uses a + when there is no sign in subfield. Subfield is left padded with |
| 155 | zeros to make a word. Index registers only have 2 bytes and a sign, Trying | 155 | zeros to make a word. Index registers only have 2 bytes and a sign; trying |
| 156 | to set anything more that that will result in undefined behavior." | 156 | to set anything more than that will result in undefined behavior." |
| 157 | 2) | 157 | 2) |
| 158 | 158 | ||
| 159 | (LD3 loading "load I3" 11 field | 159 | (LD3 loading "load I3" 11 field |
| 160 | "Put in rI3 the contents of cell no. M. | 160 | "Put in rI3 the contents of cell no. M. |
| 161 | Uses a + when there is no sign in subfield. Subfield is left padded with | 161 | Uses a + when there is no sign in subfield. Subfield is left padded with |
| 162 | zeros to make a word. Index registers only have 2 bytes and a sign, Trying | 162 | zeros to make a word. Index registers only have 2 bytes and a sign; trying |
| 163 | to set anything more that that will result in undefined behavior." | 163 | to set anything more than that will result in undefined behavior." |
| 164 | 2) | 164 | 2) |
| 165 | 165 | ||
| 166 | (LD4 loading "load I4" 12 field | 166 | (LD4 loading "load I4" 12 field |
| 167 | "Put in rI4 the contents of cell no. M. | 167 | "Put in rI4 the contents of cell no. M. |
| 168 | Uses a + when there is no sign in subfield. Subfield is left padded with | 168 | Uses a + when there is no sign in subfield. Subfield is left padded with |
| 169 | zeros to make a word. Index registers only have 2 bytes and a sign, Trying | 169 | zeros to make a word. Index registers only have 2 bytes and a sign; trying |
| 170 | to set anything more that that will result in undefined behavior." | 170 | to set anything more than that will result in undefined behavior." |
| 171 | 2) | 171 | 2) |
| 172 | 172 | ||
| 173 | (LD5 loading "load I5" 13 field | 173 | (LD5 loading "load I5" 13 field |
| 174 | "Put in rI5 the contents of cell no. M. | 174 | "Put in rI5 the contents of cell no. M. |
| 175 | Uses a + when there is no sign in subfield. Subfield is left padded with | 175 | Uses a + when there is no sign in subfield. Subfield is left padded with |
| 176 | zeros to make a word. Index registers only have 2 bytes and a sign, Trying | 176 | zeros to make a word. Index registers only have 2 bytes and a sign; trying |
| 177 | to set anything more that that will result in undefined behavior." | 177 | to set anything more than that will result in undefined behavior." |
| 178 | 2) | 178 | 2) |
| 179 | 179 | ||
| 180 | (LD6 loading "load I6" 14 field | 180 | (LD6 loading "load I6" 14 field |
| 181 | "Put in rI6 the contents of cell no. M. | 181 | "Put in rI6 the contents of cell no. M. |
| 182 | Uses a + when there is no sign in subfield. Subfield is left padded with | 182 | Uses a + when there is no sign in subfield. Subfield is left padded with |
| 183 | zeros to make a word. Index registers only have 2 bytes and a sign, Trying | 183 | zeros to make a word. Index registers only have 2 bytes and a sign; trying |
| 184 | to set anything more that that will result in undefined behavior." | 184 | to set anything more than that will result in undefined behavior." |
| 185 | 2) | 185 | 2) |
| 186 | 186 | ||
| 187 | (LDAN loading "load A negative" 16 field | 187 | (LDAN loading "load A negative" 16 field |
| @@ -200,7 +200,7 @@ Subfield is left padded with zeros to make a word." | |||
| 200 | "Put in rI1 the contents of cell no. M, with opposite sign. | 200 | "Put in rI1 the contents of cell no. M, with opposite sign. |
| 201 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. | 201 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. |
| 202 | Subfield is left padded with zeros to make a word. Index registers only | 202 | Subfield is left padded with zeros to make a word. Index registers only |
| 203 | have 2 bytes and a sign, Trying to set anything more that that will result | 203 | have 2 bytes and a sign; trying to set anything more than that will result |
| 204 | in undefined behavior." | 204 | in undefined behavior." |
| 205 | 2) | 205 | 2) |
| 206 | 206 | ||
| @@ -208,7 +208,7 @@ in undefined behavior." | |||
| 208 | "Put in rI2 the contents of cell no. M, with opposite sign. | 208 | "Put in rI2 the contents of cell no. M, with opposite sign. |
| 209 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. | 209 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. |
| 210 | Subfield is left padded with zeros to make a word. Index registers only | 210 | Subfield is left padded with zeros to make a word. Index registers only |
| 211 | have 2 bytes and a sign, Trying to set anything more that that will result | 211 | have 2 bytes and a sign; trying to set anything more than that will result |
| 212 | in undefined behavior." | 212 | in undefined behavior." |
| 213 | 2) | 213 | 2) |
| 214 | 214 | ||
| @@ -216,7 +216,7 @@ in undefined behavior." | |||
| 216 | "Put in rI3 the contents of cell no. M, with opposite sign. | 216 | "Put in rI3 the contents of cell no. M, with opposite sign. |
| 217 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. | 217 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. |
| 218 | Subfield is left padded with zeros to make a word. Index registers only | 218 | Subfield is left padded with zeros to make a word. Index registers only |
| 219 | have 2 bytes and a sign, Trying to set anything more that that will result | 219 | have 2 bytes and a sign; trying to set anything more than that will result |
| 220 | in undefined behavior." | 220 | in undefined behavior." |
| 221 | 2) | 221 | 2) |
| 222 | 222 | ||
| @@ -224,7 +224,7 @@ in undefined behavior." | |||
| 224 | "Put in rI4 the contents of cell no. M, with opposite sign. | 224 | "Put in rI4 the contents of cell no. M, with opposite sign. |
| 225 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. | 225 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. |
| 226 | Subfield is left padded with zeros to make a word. Index registers only | 226 | Subfield is left padded with zeros to make a word. Index registers only |
| 227 | have 2 bytes and a sign, Trying to set anything more that that will result | 227 | have 2 bytes and a sign; trying to set anything more than that will result |
| 228 | in undefined behavior." | 228 | in undefined behavior." |
| 229 | 2) | 229 | 2) |
| 230 | 230 | ||
| @@ -232,7 +232,7 @@ in undefined behavior." | |||
| 232 | "Put in rI5 the contents of cell no. M, with opposite sign. | 232 | "Put in rI5 the contents of cell no. M, with opposite sign. |
| 233 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. | 233 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. |
| 234 | Subfield is left padded with zeros to make a word. Index registers only | 234 | Subfield is left padded with zeros to make a word. Index registers only |
| 235 | have 2 bytes and a sign, Trying to set anything more that that will result | 235 | have 2 bytes and a sign; trying to set anything more than that will result |
| 236 | in undefined behavior." | 236 | in undefined behavior." |
| 237 | 2) | 237 | 2) |
| 238 | 238 | ||
| @@ -240,7 +240,7 @@ in undefined behavior." | |||
| 240 | "Put in rI6 the contents of cell no. M, with opposite sign. | 240 | "Put in rI6 the contents of cell no. M, with opposite sign. |
| 241 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. | 241 | Uses a + when there is no sign in subfield, otherwise use the opposite sign. |
| 242 | Subfield is left padded with zeros to make a word. Index registers only | 242 | Subfield is left padded with zeros to make a word. Index registers only |
| 243 | have 2 bytes and a sign, Trying to set anything more that that will result | 243 | have 2 bytes and a sign; trying to set anything more than that will result |
| 244 | in undefined behavior." | 244 | in undefined behavior." |
| 245 | 2) | 245 | 2) |
| 246 | 246 | ||
diff --git a/lisp/progmodes/octave-inf.el b/lisp/progmodes/octave-inf.el index 421f476016e..40469b75b9f 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> | 5 | ;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> |
| 6 | ;; Author: John Eaton <jwe@bevo.che.wisc.edu> | 6 | ;; Author: John Eaton <jwe@bevo.che.wisc.edu> |
diff --git a/lisp/progmodes/octave-mod.el b/lisp/progmodes/octave-mod.el index 28e25a35c70..668c3d147c6 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> | 5 | ;; Author: Kurt Hornik <Kurt.Hornik@wu-wien.ac.at> |
| 6 | ;; Author: John Eaton <jwe@octave.org> | 6 | ;; Author: John Eaton <jwe@octave.org> |
diff --git a/lisp/progmodes/pascal.el b/lisp/progmodes/pascal.el index 2db4309d9e0..db15e3c6f27 100644 --- a/lisp/progmodes/pascal.el +++ b/lisp/progmodes/pascal.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; pascal.el --- major mode for editing pascal source in Emacs -*- lexical-binding: t -*- | 1 | ;;; pascal.el --- major mode for editing pascal source in Emacs -*- lexical-binding: t -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1993-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Espen Skoglund <esk@gnu.org> | 5 | ;; Author: Espen Skoglund <esk@gnu.org> |
| 6 | ;; Keywords: languages | 6 | ;; Keywords: languages |
diff --git a/lisp/progmodes/perl-mode.el b/lisp/progmodes/perl-mode.el index f051b49fe2a..e7afd0e0e67 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1990, 1994, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: William F. Mann | 5 | ;; Author: William F. Mann |
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |
diff --git a/lisp/progmodes/prolog.el b/lisp/progmodes/prolog.el index 389746e2850..b531fc0dc9c 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 (and Mercury) code | 1 | ;;; prolog.el --- major mode for editing and running Prolog (and Mercury) code |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1986-1987, 1997-1999, 2002-2003, 2011 | 3 | ;; Copyright (C) 1986-1987, 1997-1999, 2002-2003, 2011-2012 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Authors: Emil Åström <emil_astrom(at)hotmail(dot)com> | 6 | ;; Authors: Emil Åström <emil_astrom(at)hotmail(dot)com> |
diff --git a/lisp/progmodes/ps-mode.el b/lisp/progmodes/ps-mode.el index c2adc3b801b..e85fa0476b0 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1999, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Peter Kleiweg <p.c.j.kleiweg@rug.nl> | 5 | ;; Author: Peter Kleiweg <p.c.j.kleiweg@rug.nl> |
| 6 | ;; Maintainer: Peter Kleiweg <p.c.j.kleiweg@rug.nl> | 6 | ;; Maintainer: Peter Kleiweg <p.c.j.kleiweg@rug.nl> |
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 6081d8e838b..0c29891cd92 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; python.el --- silly walks for Python -*- coding: iso-8859-1 -*- | 1 | ;;; python.el --- silly walks for Python -*- coding: iso-8859-1 -*- |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2003-2012 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/ruby-mode.el b/lisp/progmodes/ruby-mode.el index c8b156c5441..bf264972940 100644 --- a/lisp/progmodes/ruby-mode.el +++ b/lisp/progmodes/ruby-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; ruby-mode.el --- Major mode for editing Ruby files | 1 | ;;; ruby-mode.el --- Major mode for editing Ruby files |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: Yukihiro Matsumoto | 5 | ;; Authors: Yukihiro Matsumoto |
| 6 | ;; Nobuyoshi Nakada | 6 | ;; Nobuyoshi Nakada |
diff --git a/lisp/progmodes/scheme.el b/lisp/progmodes/scheme.el index 66300d97621..82a4985015f 100644 --- a/lisp/progmodes/scheme.el +++ b/lisp/progmodes/scheme.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; scheme.el --- Scheme (and DSSSL) editing mode | 1 | ;;; scheme.el --- Scheme (and DSSSL) editing mode |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1986-1988, 1997-1998, 2001-2011 | 3 | ;; Copyright (C) 1986-1988, 1997-1998, 2001-2012 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Bill Rozas <jinx@martigny.ai.mit.edu> | 6 | ;; Author: Bill Rozas <jinx@martigny.ai.mit.edu> |
diff --git a/lisp/progmodes/sh-script.el b/lisp/progmodes/sh-script.el index 62ca2ce085f..48b19524b8c 100644 --- a/lisp/progmodes/sh-script.el +++ b/lisp/progmodes/sh-script.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-1997, 1999, 2001-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1993-1997, 1999, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Daniel Pfeiffer <occitan@esperanto.org> | 5 | ;; Author: Daniel Pfeiffer <occitan@esperanto.org> |
| 6 | ;; Version: 2.0f | 6 | ;; Version: 2.0f |
diff --git a/lisp/progmodes/simula.el b/lisp/progmodes/simula.el index dc2773a9efe..7536126e8f1 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992, 1994, 1996, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Hans Henrik Eriksen <hhe@ifi.uio.no> | 5 | ;; Author: Hans Henrik Eriksen <hhe@ifi.uio.no> |
| 6 | ;; Maintainer: simula-mode@ifi.uio.no | 6 | ;; Maintainer: simula-mode@ifi.uio.no |
diff --git a/lisp/progmodes/sql.el b/lisp/progmodes/sql.el index 60ba768a80e..2e59d8f8517 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1998-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Alex Schroeder <alex@gnu.org> | 5 | ;; Author: Alex Schroeder <alex@gnu.org> |
| 6 | ;; Maintainer: Michael Mauger <mmaug@yahoo.com> | 6 | ;; Maintainer: Michael Mauger <mmaug@yahoo.com> |
| @@ -219,6 +219,8 @@ | |||
| 219 | ;; Drew Adams <drew.adams@oracle.com> -- Emacs 20 support | 219 | ;; Drew Adams <drew.adams@oracle.com> -- Emacs 20 support |
| 220 | ;; Harald Maier <maierh@myself.com> -- sql-send-string | 220 | ;; Harald Maier <maierh@myself.com> -- sql-send-string |
| 221 | ;; Stefan Monnier <monnier@iro.umontreal.ca> -- font-lock corrections; code polish | 221 | ;; Stefan Monnier <monnier@iro.umontreal.ca> -- font-lock corrections; code polish |
| 222 | ;; Paul Sleigh <bat@flurf.net> -- MySQL keyword enhancement | ||
| 223 | ;; Andrew Schein <andrew@andrewschein.com> -- sql-port bug | ||
| 222 | 224 | ||
| 223 | 225 | ||
| 224 | 226 | ||
| @@ -811,6 +813,14 @@ is changed." | |||
| 811 | :type 'hook | 813 | :type 'hook |
| 812 | :group 'SQL) | 814 | :group 'SQL) |
| 813 | 815 | ||
| 816 | (defcustom sql-login-hook '() | ||
| 817 | "Hook for interacting with a buffer in `sql-interactive-mode'. | ||
| 818 | |||
| 819 | This hook is invoked in a buffer once it is ready to accept input | ||
| 820 | for the first time." | ||
| 821 | :type 'hook | ||
| 822 | :group 'SQL) | ||
| 823 | |||
| 814 | ;; Customization for ANSI | 824 | ;; Customization for ANSI |
| 815 | 825 | ||
| 816 | (defcustom sql-ansi-statement-starters (regexp-opt '( | 826 | (defcustom sql-ansi-statement-starters (regexp-opt '( |
| @@ -1594,6 +1604,7 @@ to add functions and PL/SQL keywords.") | |||
| 1594 | "atan" "atan2" "avg" "bfilename" "bin_to_num" "bitand" "cardinality" | 1604 | "atan" "atan2" "avg" "bfilename" "bin_to_num" "bitand" "cardinality" |
| 1595 | "cast" "ceil" "chartorowid" "chr" "cluster_id" "cluster_probability" | 1605 | "cast" "ceil" "chartorowid" "chr" "cluster_id" "cluster_probability" |
| 1596 | "cluster_set" "coalesce" "collect" "compose" "concat" "convert" "corr" | 1606 | "cluster_set" "coalesce" "collect" "compose" "concat" "convert" "corr" |
| 1607 | "connect_by_root" "connect_by_iscycle" "connect_by_isleaf" | ||
| 1597 | "corr_k" "corr_s" "cos" "cosh" "count" "covar_pop" "covar_samp" | 1608 | "corr_k" "corr_s" "cos" "cosh" "count" "covar_pop" "covar_samp" |
| 1598 | "cube_table" "cume_dist" "current_date" "current_timestamp" "cv" | 1609 | "cube_table" "cume_dist" "current_date" "current_timestamp" "cv" |
| 1599 | "dataobj_to_partition" "dbtimezone" "decode" "decompose" "deletexml" | 1610 | "dataobj_to_partition" "dbtimezone" "decode" "decompose" "deletexml" |
| @@ -2279,7 +2290,7 @@ you define your own `sql-mode-solid-font-lock-keywords'.") | |||
| 2279 | "collation" "column" "columns" "comment" "committed" "concurrent" | 2290 | "collation" "column" "columns" "comment" "committed" "concurrent" |
| 2280 | "constraint" "create" "cross" "data" "database" "default" | 2291 | "constraint" "create" "cross" "data" "database" "default" |
| 2281 | "delay_key_write" "delayed" "delete" "desc" "directory" "disable" | 2292 | "delay_key_write" "delayed" "delete" "desc" "directory" "disable" |
| 2282 | "distinct" "distinctrow" "do" "drop" "dumpfile" "duplicate" "else" | 2293 | "distinct" "distinctrow" "do" "drop" "dumpfile" "duplicate" "else" "elseif" |
| 2283 | "enable" "enclosed" "end" "escaped" "exists" "fields" "first" "for" | 2294 | "enable" "enclosed" "end" "escaped" "exists" "fields" "first" "for" |
| 2284 | "force" "foreign" "from" "full" "fulltext" "global" "group" "handler" | 2295 | "force" "foreign" "from" "full" "fulltext" "global" "group" "handler" |
| 2285 | "having" "heap" "high_priority" "if" "ignore" "in" "index" "infile" | 2296 | "having" "heap" "high_priority" "if" "ignore" "in" "index" "infile" |
| @@ -3423,7 +3434,7 @@ list of SQLi command strings." | |||
| 3423 | :prompt-regexp)) | 3434 | :prompt-regexp)) |
| 3424 | (start nil)) | 3435 | (start nil)) |
| 3425 | (with-current-buffer buf | 3436 | (with-current-buffer buf |
| 3426 | (toggle-read-only -1) | 3437 | (setq view-read-only nil) |
| 3427 | (unless save-prior | 3438 | (unless save-prior |
| 3428 | (erase-buffer)) | 3439 | (erase-buffer)) |
| 3429 | (goto-char (point-max)) | 3440 | (goto-char (point-max)) |
| @@ -3532,7 +3543,7 @@ buffer is popped into a view window. " | |||
| 3532 | (get-lru-window)))) | 3543 | (get-lru-window)))) |
| 3533 | (with-current-buffer outbuf | 3544 | (with-current-buffer outbuf |
| 3534 | (set-buffer-modified-p nil) | 3545 | (set-buffer-modified-p nil) |
| 3535 | (toggle-read-only 1)) | 3546 | (setq view-read-only t)) |
| 3536 | (view-buffer-other-window outbuf) | 3547 | (view-buffer-other-window outbuf) |
| 3537 | (when one-win | 3548 | (when one-win |
| 3538 | (shrink-window-if-larger-than-buffer))))) | 3549 | (shrink-window-if-larger-than-buffer))))) |
| @@ -4097,7 +4108,8 @@ the call to \\[sql-product-interactive] with | |||
| 4097 | (setq new-sqli-buffer (current-buffer)) | 4108 | (setq new-sqli-buffer (current-buffer)) |
| 4098 | (when new-name | 4109 | (when new-name |
| 4099 | (sql-rename-buffer new-name)) | 4110 | (sql-rename-buffer new-name)) |
| 4100 | (setq sql-buffer (buffer-name new-sqli-buffer)) | 4111 | (set (make-local-variable 'sql-buffer) |
| 4112 | (buffer-name new-sqli-buffer)) | ||
| 4101 | 4113 | ||
| 4102 | ;; Set `sql-buffer' in the start buffer | 4114 | ;; Set `sql-buffer' in the start buffer |
| 4103 | (with-current-buffer start-buffer | 4115 | (with-current-buffer start-buffer |
| @@ -4107,6 +4119,7 @@ the call to \\[sql-product-interactive] with | |||
| 4107 | 4119 | ||
| 4108 | ;; All done. | 4120 | ;; All done. |
| 4109 | (message "Login...done") | 4121 | (message "Login...done") |
| 4122 | (run-hooks 'sql-login-hook) | ||
| 4110 | (pop-to-buffer new-sqli-buffer))))) | 4123 | (pop-to-buffer new-sqli-buffer))))) |
| 4111 | (message "No default SQL product defined. Set `sql-product'."))) | 4124 | (message "No default SQL product defined. Set `sql-product'."))) |
| 4112 | 4125 | ||
diff --git a/lisp/progmodes/subword.el b/lisp/progmodes/subword.el index 9c61da89008..7d8dd4301a2 100644 --- a/lisp/progmodes/subword.el +++ b/lisp/progmodes/subword.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; subword.el --- Handling capitalized subwords in a nomenclature | 1 | ;;; subword.el --- Handling capitalized subwords in a nomenclature |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2004-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2004-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Masatake YAMATO | 5 | ;; Author: Masatake YAMATO |
| 6 | 6 | ||
diff --git a/lisp/progmodes/tcl.el b/lisp/progmodes/tcl.el index d0e2c5abe7d..0198b32ec9f 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 1998-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Maintainer: FSF | 5 | ;; Maintainer: FSF |
| 6 | ;; Author: Tom Tromey <tromey@redhat.com> | 6 | ;; Author: Tom Tromey <tromey@redhat.com> |
diff --git a/lisp/progmodes/vera-mode.el b/lisp/progmodes/vera-mode.el index 434984c8bf1..7f3f99f5cfb 100644 --- a/lisp/progmodes/vera-mode.el +++ b/lisp/progmodes/vera-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;;; vera-mode.el --- major mode for editing Vera files | 1 | ;;; vera-mode.el --- major mode for editing Vera files |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1997-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1997-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Reto Zimmermann <reto@gnu.org> | 5 | ;; Author: Reto Zimmermann <reto@gnu.org> |
| 6 | ;; Maintainer: Reto Zimmermann <reto@gnu.org> | 6 | ;; Maintainer: Reto Zimmermann <reto@gnu.org> |
diff --git a/lisp/progmodes/verilog-mode.el b/lisp/progmodes/verilog-mode.el index 52e7b6e2429..f3bac41fb32 100644 --- a/lisp/progmodes/verilog-mode.el +++ b/lisp/progmodes/verilog-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | ;; verilog-mode.el --- major mode for editing verilog source in Emacs | 1 | ;; verilog-mode.el --- major mode for editing verilog source in Emacs |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1996-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Michael McNamara (mac@verilog.com), | 5 | ;; Author: Michael McNamara (mac@verilog.com), |
| 6 | ;; Wilson Snyder (wsnyder@wsnyder.org) | 6 | ;; Wilson Snyder (wsnyder@wsnyder.org) |
| @@ -1423,7 +1423,7 @@ If set will become buffer local.") | |||
| 1423 | ["AUTOSENSE" (describe-function 'verilog-auto-sense) | 1423 | ["AUTOSENSE" (describe-function 'verilog-auto-sense) |
| 1424 | :help "Help on AUTOSENSE - sensitivity lists for always blocks"] | 1424 | :help "Help on AUTOSENSE - sensitivity lists for always blocks"] |
| 1425 | ["AUTOTIEOFF" (describe-function 'verilog-auto-tieoff) | 1425 | ["AUTOTIEOFF" (describe-function 'verilog-auto-tieoff) |
| 1426 | :help "Help on AUTOTIEOFF - tieing off unused outputs"] | 1426 | :help "Help on AUTOTIEOFF - tying off unused outputs"] |
| 1427 | ["AUTOUNUSED" (describe-function 'verilog-auto-unused) | 1427 | ["AUTOUNUSED" (describe-function 'verilog-auto-unused) |
| 1428 | :help "Help on AUTOUNUSED - terminating unused inputs"] | 1428 | :help "Help on AUTOUNUSED - terminating unused inputs"] |
| 1429 | ["AUTOWIRE" (describe-function 'verilog-auto-wire) | 1429 | ["AUTOWIRE" (describe-function 'verilog-auto-wire) |
| @@ -1667,7 +1667,7 @@ This speeds up complicated regexp matches." | |||
| 1667 | ;; Similar to `delete-trailing-whitespace' but that's not present in XEmacs | 1667 | ;; Similar to `delete-trailing-whitespace' but that's not present in XEmacs |
| 1668 | (save-excursion | 1668 | (save-excursion |
| 1669 | (goto-char (point-min)) | 1669 | (goto-char (point-min)) |
| 1670 | (while (re-search-forward "[ \t]+$" nil t) ;; Not syntatic WS as no formfeed | 1670 | (while (re-search-forward "[ \t]+$" nil t) ;; Not syntactic WS as no formfeed |
| 1671 | (replace-match "" nil nil)))) | 1671 | (replace-match "" nil nil)))) |
| 1672 | 1672 | ||
| 1673 | (defvar compile-command) | 1673 | (defvar compile-command) |
| @@ -11725,7 +11725,7 @@ this is a recent change. To control this behavior, see | |||
| 11725 | `verilog-auto-reset-widths'. | 11725 | `verilog-auto-reset-widths'. |
| 11726 | 11726 | ||
| 11727 | AUTORESET ties signals to deasserted, which is presumed to be zero. | 11727 | AUTORESET ties signals to deasserted, which is presumed to be zero. |
| 11728 | Signals that match `verilog-active-low-regexp' will be deasserted by tieing | 11728 | Signals that match `verilog-active-low-regexp' will be deasserted by tying |
| 11729 | them to a one. | 11729 | them to a one. |
| 11730 | 11730 | ||
| 11731 | An example: | 11731 | An example: |
| @@ -11816,7 +11816,7 @@ finds all outputs in the module, and if that input is not otherwise declared | |||
| 11816 | as a register or wire, creates a tieoff. | 11816 | as a register or wire, creates a tieoff. |
| 11817 | 11817 | ||
| 11818 | AUTORESET ties signals to deasserted, which is presumed to be zero. | 11818 | AUTORESET ties signals to deasserted, which is presumed to be zero. |
| 11819 | Signals that match `verilog-active-low-regexp' will be deasserted by tieing | 11819 | Signals that match `verilog-active-low-regexp' will be deasserted by tying |
| 11820 | them to a one. | 11820 | them to a one. |
| 11821 | 11821 | ||
| 11822 | You can add signals you do not want included in AUTOTIEOFF with | 11822 | You can add signals you do not want included in AUTOTIEOFF with |
diff --git a/lisp/progmodes/vhdl-mode.el b/lisp/progmodes/vhdl-mode.el index deac85581d2..d765a960470 100644 --- a/lisp/progmodes/vhdl-mode.el +++ b/lisp/progmodes/vhdl-mode.el | |||
| @@ -1,6 +1,6 @@ | |||
| 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1992-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Authors: Reto Zimmermann <reto@gnu.org> | 5 | ;; Authors: Reto Zimmermann <reto@gnu.org> |
| 6 | ;; Rodney J. Whitby <software.vhdl-mode@rwhitby.net> | 6 | ;; Rodney J. Whitby <software.vhdl-mode@rwhitby.net> |
diff --git a/lisp/progmodes/which-func.el b/lisp/progmodes/which-func.el index e27d07854c8..721c610517a 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-2011 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 1997-1998, 2001-2012 Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | ;; Author: Alex Rezinsky <alexr@msil.sps.mot.com> | 5 | ;; Author: Alex Rezinsky <alexr@msil.sps.mot.com> |
| 6 | ;; (doesn't seem to be responsive any more) | 6 | ;; (doesn't seem to be responsive any more) |
| @@ -229,7 +229,9 @@ It creates the Imenu index for the buffer, if necessary." | |||
| 229 | (error "Error in which-func-update: %S" info)))))) | 229 | (error "Error in which-func-update: %S" info)))))) |
| 230 | 230 | ||
| 231 | ;;;###autoload | 231 | ;;;###autoload |
| 232 | (defalias 'which-func-mode 'which-function-mode) | 232 | (defun which-func-mode (&optional arg) |
| 233 | (which-function-mode arg)) | ||
| 234 | (make-obsolete 'which-func-mode 'which-function-mode "24.1") | ||
| 233 | 235 | ||
| 234 | (defvar which-func-update-timer nil) | 236 | (defvar which-func-update-timer nil) |
| 235 | 237 | ||
diff --git a/lisp/progmodes/xscheme.el b/lisp/progmodes/xscheme.el index dfa91b3fe30..1f50910330c 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-2011 | 3 | ;; Copyright (C) 1986-1987, 1989-1990, 2001-2012 |
| 4 | ;; Free Software Foundation, Inc. | 4 | ;; Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Maintainer: FSF | 6 | ;; Maintainer: FSF |