Chong Yidong
790c2e44de
Revert 2009-10-12 change to compilation-next-error-function (Bug#5983).
...
* progmodes/compile.el (compilation-next-error-function): Revert
2009-10-12 change (Bug#5983).
2010-04-20 12:04:05 -04:00
Chong Yidong
7860d2e357
* progmodes/grep.el (grep-compute-defaults): Fix handling of host
...
default settings (Bug#5928).
2010-04-14 11:33:42 -04:00
Alan Mackenzie
e42a330165
Reverse 2009-12-03T16:02:10Z!acm@muc.de "Enhance `c-parse-state' to run efficiently in
...
\"brace desserts\".".
2010-04-12 18:58:52 +00:00
Alan Mackenzie
7af4bf3aea
Reverse change 2010-02-04T21:15:37Z!acm@muc.de: "Change strategy for marking < and > as template
...
delimiters: mark them strictly in matching pairs."
2010-04-12 15:15:07 +00:00
Alan Mackenzie
e2387bdba2
Reverse 2010-02-25T21:21:25Z!acm@muc.de:
...
" (i) Remove any hard syntax-table properties for <, > inserted by C-y.
(ii) Remove category text props, not syntax-table ones in unmarking <, >.
".
2010-04-12 14:59:56 +00:00
Alan Mackenzie
a1c7301e31
Reverse 2010-03-01T11:31:42Z!acm@muc.de: "Fix bug #5649 : 23.1.92; Indentation problems in C mode.".
2010-04-12 14:55:18 +00:00
Alan Mackenzie
2811df2c90
Reverse 2010-03-01T17:46:36Z!acm@muc.de "Correct buggy patch 2010-03-01T11:31:42Z!acm@muc.de to cc-engine.el.".
2010-04-12 14:48:07 +00:00
Alan Mackenzie
db00cb3ae4
Undo 2010-03-15T01:38:28Z!yamaoka@jpl.org "Fix off-by-one error. Fixes bug #5747."
2010-04-12 14:34:09 +00:00
Glenn Morris
0a23b2c303
Fix bug ref in previous.
2010-04-09 19:14:47 -07:00
Glenn Morris
119850e927
Close bug#1835.
...
* progmodes/fortran.el (fortran-match-and-skip-declaration):
New function.
(fortran-font-lock-keywords-3): Use it. (Bug#1835)
2010-04-09 19:12:03 -07:00
Chong Yidong
2a793f7f35
Revert 2009-08-15 change, restoring electric punctuation (Bug#5586)
...
* progmodes/js.el (js-auto-indent-flag, js-mode-map)
(js-insert-and-indent): Revert 2009-08-15 change, restoring
electric punctuation for "{}();,:" (Bug#5586).
2010-03-28 16:41:37 -04:00
Nick Roberts
eca16aa79a
(gdb-apple-test): New function.
...
(gdb-init-1): Use it.
2010-03-26 21:58:41 +13:00
Stefan Monnier
efee6a6d9c
(makefile-rule-action-regex): Backtrack less.
...
(makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
not be present any more.
2010-03-24 11:57:16 -04:00
Alan Mackenzie
657071fc07
cc-engine.el (c-remove-stale-state-cache): Fix off-by-one error. Fixes
...
bug #5747 .
2010-03-22 17:21:22 +00:00
Alan Mackenzie
eb2f6eeb39
Correct buggy patch 2010-03-01T11:31:42Z!acm@muc.de to cc-engine.el.
2010-03-01 17:46:36 +00:00
Alan Mackenzie
dd21b6216d
Fix bug #5649 : 23.1.92; Indentation problems in C mode.
2010-03-01 11:31:42 +00:00
Chong Yidong
449d63fdc0
Minor doc fix.
2010-02-28 16:34:58 -05:00
Chong Yidong
b8280f3930
Minor Python mode fix (Bug#5653).
...
* progmodes/python.el (python-pdbtrack-stack-entry-regexp): Allow
the characters _<> in the stack entry (Bug#5653).
2010-02-26 19:19:50 -05:00
Alan Mackenzie
8a249abc87
(i) Remove any hard syntax-table properties for <, > inserted by C-y.
...
(ii) Remove category text props, not syntax-table ones in unmarking <, >.
2010-02-25 21:21:25 +00:00
Chong Yidong
3e39928c77
* progmodes/compile.el (compilation-error-regexp-alist-alist): In
...
`watcom' anchor regexp to start of line, to avoid slowness
(Bug#5599).
2010-02-20 08:53:06 -05:00
Nick Roberts
8cfae03d19
Accommodate change of disassemble output in GDB 7.1.
2010-02-19 17:55:31 +13:00
Glenn Morris
055e4eea01
Close bug#5593.
...
* progmodes/f90.el (f90-electric-insert): Give it a delete-selection property.
2010-02-18 18:36:10 -08:00
Chong Yidong
f29fd8694c
Fix ada-mode handling of number literals.
...
* progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
(ada-adjust-case): Don't adjust case in hexadecimal number literals.
2010-02-08 18:27:29 -05:00
Glenn Morris
50e4518b52
Fix previous change for F2003 interfaces.
...
* progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
Move F2003 named interfaces from keywords-2 to keywords-1, and
use function-name-face rather than constant-face.
Simplify "abstract interface" regexp.
2010-02-07 12:23:20 -08:00
Glenn Morris
7cf3f3d6da
Handle F2003 named interfaces.
...
* progmodes/f90.el (f90-font-lock-keywords-2)
(f90-looking-at-type-like, f90-looking-at-program-block-end):
Handle F2003 named interfaces.
2010-02-06 17:41:45 -08:00
Chong Yidong
ffe87109ce
* progmodes/cc-mode.el (c-common-init): Bind temporary variables
...
beg and end before calling c-get-state-before-change-functions.
2010-02-06 08:01:43 -05:00
Glenn Morris
f43d8ecc20
* progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
2010-02-05 00:12:08 -08:00
Alan Mackenzie
dd969a56a5
Change strategy for marking < and > as template delimiters: mark them
...
strictly in matching pairs.
2010-02-04 21:15:37 +00:00
Juri Linkov
ad6fc8f44e
* progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
...
beginning of interactive spec like all other grep commands do.
Put "all" in front of "gz". (Bug#5260)
2010-01-31 23:47:47 +02:00
Chong Yidong
fd09a83f94
Flymake fix to handle more C++ filenames (Bug#5488).
...
* progmodes/flymake.el (flymake-allowed-file-name-masks)
(flymake-master-make-header-init): Add other C++ filename masks.
(flymake-find-possible-master-files)
(flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
2010-01-28 14:53:11 -05:00
Mark A. Hershberger
b1bb0a2570
merge conflict
2010-01-24 23:52:26 -05:00
Stephen Leake
5336c3ec74
Fix bug#5435: ada-mode; pragma parameter list indented incorrectly.
2010-01-23 13:42:22 +01:00
Stephen Leake
b06a3bb5cf
Tweak docstring and comment.
2010-01-23 13:34:52 +01:00
Alan Mackenzie
3e8f7d9196
Fix a situation where deletion of a cpp construct throws an error.
2010-01-21 21:45:01 +00:00
Stephen Leake
afb5d70904
Fix bug#5435.
2010-01-21 13:25:54 +01:00
Alan Mackenzie
8ee04f3a4f
Fix bug#5395: typing '#' in an empty C buffer throws "args out of range".
...
* progmodes/cc-defs.el: (c-set-cpp-delimiters, c-clear-cpp-delimiters):
Check for EOB playing the role of delimiter.
2010-01-19 22:10:19 +00:00
Mark A. Hershberger
aaef4f91fa
replace references to obsolete c-subword-mode
2010-01-19 14:39:22 -05:00
Stephen Leake
6a47c86a18
* ada-mode.el: Really fix bug#5400 (comment in 2010-01-17T19:15:32Z!lekktu@gmail.com was erroneous).
...
(ada-matching-decl-start-re): Move into ada-goto-decl-start.
(ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
changed. Delete RECURSIVE parameter; never used. Improve doc string.
Improve comments in "is" portion. Handle null procedure declaration.
(ada-move-to-end): Improve doc string.
2010-01-19 00:10:57 +01:00
Stephen Leake
0b702bc14d
* progmodes/ada-mode.el: Fix bug#1920, bug#5400.
...
(ada-ident-re): Delete ., allow multibyte characters.
(ada-goto-label-re): New; matches goto labels.
(ada-block-label-re): New; matches block labels.
(ada-label-re): New; matches both.
(ada-named-block-re): Deleted; callers changed to use
`ada-block-label-re' instead.
(ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
Use `ada-block-label-re'.
(ada-indent-on-previous-lines): Improve handling of goto labels.
(ada-get-indent-block-start): Special-case block label.
(ada-get-indent-label): Split into `ada-indent-block-label' and
`ada-indent-goto-label'.
(ada-goto-stmt-start, ada-goto-next-non-ws): Optionally ignore goto labels.
(ada-goto-next-word): Simplify.
(ada-indent-newline-indent-conditional): Insert newline before
trying to fix indentation; doc fix.
2010-01-17 20:15:32 +01:00
Juanma Barranquero
d1f18ec092
Fix typos in docstrings.
2010-01-14 19:59:31 +01:00
Juanma Barranquero
80cd4bb402
Fix typo in error message.
2010-01-14 19:49:53 +01:00
Juanma Barranquero
5a89f0a793
Fix typos in comments.
2010-01-14 19:37:23 +01:00
Juanma Barranquero
8794c483ae
Simplify previous change.
2010-01-14 14:14:24 +01:00
Stephen Leake
95005d39eb
Default ada_project_path to $ADA_PROJECT_PATH.
2010-01-14 14:12:05 +01:00
Stephen Leake
80e18d20ec
* progmodes/ada-mode.el: Override narrow-to-defun' with
ada-narrow-to-defun'.
2010-01-14 13:57:07 +01:00
Stephen Leake
fb0d15459c
* progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
...
(ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
(ada-get-current-indent, ada-imenu-generic-expression)
(ada-which-function): Check for it.
2010-01-14 13:52:37 +01:00
Stephen Leake
5c9434d0a0
* progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
...
(ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
2010-01-14 13:36:14 +01:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Chong Yidong
92b1c41682
* progmodes/js.el: Autoload javascript-mode alias.
2010-01-11 11:18:06 -05:00
Chong Yidong
4d9bbfa616
* compile.el (compilation-read-command): Doc fix.
2010-01-09 16:14:50 -05:00