1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
Commit graph

4357 commits

Author SHA1 Message Date
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
Chong Yidong
fa7b5f7b98 Fix compile-command's safe-local-variable condition.
* progmodes/compile.el: Don't treat compile-command as safe if
compilation-read-command might be nil (Bug#4218).
2010-01-09 15:53:55 -05:00
Chong Yidong
fd579fdca5 * progmodes/python.el (python-font-lock-keywords): Handle qualified decorators
(Bug#881).
2010-01-05 15:11:04 -07:00
Chong Yidong
b2ad70b67b Allow use of "end" keyword for terminating Octave-mode blocks.
* progmodes/octave-mod.el (octave-end-keywords)
(octave-block-begin-or-end-regexp, octave-block-match-alist): Add
"end" keyword (Bug#3061).
(octave-end-as-array-index-p): New function.
(calculate-octave-indent): Use it.
2010-01-02 14:40:59 -05:00
Juanma Barranquero
0472835ff2 lisp/*: Fix typos in docstrings and messages. 2010-01-02 02:05:44 +01:00
Juanma Barranquero
659e4408a4 Declare some functions for the byte-compiler. 2009-12-29 18:44:27 +01:00
Nick Roberts
49f073bd8a This changeset reverts GDB Graphical Interface to use annotations. It incorporates features added
(and never released) on the EMACS_23_1_RC branch.  Namely reverse debugging and the display of STL
collections as watch expressions.

The long term aim is to move to GDB/MI, so these changes will be re-instated at some time in the future.
At the moment, however, there are issues with gdb-mi.el that have not yet
2009-12-29 20:15:34 +13:00
Chong Yidong
8cffbb7542 * progmodes/python.el (python-symbol-completions): Remove text
properties from symbol string before calling python-send-receive.
2009-12-14 16:19:24 +00:00
Nick Roberts
e960eea685 (gdb-frame-handler): Only set gud-lat-frame
when there are values for both file and line. (Bug#5060)
2009-12-14 09:44:43 +00:00
Chong Yidong
315eb96d01 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
rather than down-mouse-1, based on follow-link conventions.
2009-12-11 17:02:03 +00:00
Dan Nicolaescu
86a4c7ac2b * verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re,
verilog-vmm-statement-re, verilog-ovm-statement-re,
verilog-defun-level-not-generate-re, verilog-calculate-indent,
verilog-leap-to-head, verilog-backward-token): Fix
indenting VMM macros.  Reported by Jonathan Ashbrook.

* verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
Cleanup user-visible spelling and documentation errors.  One
reported by Gary Delp.
(verilog-submit-bug-report): Mention bug tracking and CC
co-author.
(verilog-read-decls): Fix AUTOWIRE with types declared in a
package, bug195.  Reported by Pierre-David Pfister.
2009-12-11 02:31:49 +00:00
Glenn Morris
47641aacc1 (safe-pos-list): Define for compiler. 2009-12-11 01:46:24 +00:00
Alan Mackenzie
d0fcee6698 Fix bug#5091: indentation in c++-mode.
* cc-mode.el (c-basic-common-init): make text property `category' rear
non-sticky.

* cc-engine.el (c-ssb-lit-begin): New defsubst, extracted from ....
(c-syntactic-skip-backward): Refactor, extracting the above.
(c-guess-basic-syntax CASEs 5D.3, 5L): Add extra anchor point;
(c-guess-basic-syntax CASE 19): New CASE to handle template construct
continued over line boundary.
(c-guess-basic-syntax CASE 7): don't trigger on '<'.
2009-12-10 14:29:11 +00:00
Stefan Monnier
51ef56c47f * minibuffer.el (completion-at-point-functions): New var.
(completion-at-point): New command.
* indent.el (indent-for-tab-command): Handle the new `complete' behavior.
* progmodes/python.el (python-mode-map): Use completion-at-point.
(python-completion-at-point): Rename from python-partial-symbol and
adjust for use in completion-at-point-functions.
(python-mode): Setup completion-at-point for Python completion.
* emacs-lisp/lisp.el (lisp-completion-at-point): New function
extracted from lisp-complete-symbol.
(lisp-complete-symbol): Use it.
* emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
setup completion-at-point for Elisp completion.
(emacs-lisp-mode-map, lisp-interaction-mode-map): Use completion-at-point.
* ielm.el (ielm-map): Use completion-at-point.
(inferior-emacs-lisp-mode): Setup completion-at-point for Elisp completion.
* progmodes/sym-comp.el: Move to...
* obsolete/sym-comp.el: Move from progmodes.
2009-12-07 20:06:26 +00:00
Juri Linkov
9136e89523 (grep-read-files): Use `completing-read'
instead of `read-string'.  Set its `collection' arg to
`read-file-name-internal'.  (Bug#4301)
2009-12-07 17:35:47 +00:00