Commit graph

4004 commits

Author SHA1 Message Date
Miles Bader
2ae8360b51 Remove sh-newline-and-indent
It is obsolete.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1346
2008-07-22 04:56:09 +00:00
Nick Roberts
cf7238adf9 (gdb-create-define-alist): Don't create a
list of #defines for remote files.
(gdb-source-info): Only show main if it has been found.
2008-07-16 23:02:52 +00:00
Dan Nicolaescu
01623c2898 (grep-files-aliases): Improve the C++ source
pattern and add patterns for C++ header files.
2008-07-11 02:44:10 +00:00
Nick Roberts
c8baaa6b12 (gud-gdb-get-stackframe): Allow absolute
filenames in stack trace (text command mode).
2008-07-05 09:36:39 +00:00
Nick Roberts
95741663a9 (gdb-display-buffer): Don't split a buffer
if it's not part of gdb-ui, e.g, at start.
2008-07-05 09:35:01 +00:00
Glenn Morris
549c0a9664 Spelling fix. 2008-07-01 03:02:37 +00:00
Nick Roberts
959005e4db (gdb-create-source-file-list): New option.
(gdb-init-2): Use it.  Don't run gdb-mode-hook again.
(gdb-var-list-children-regexp, gdb-var-update-regexp)
(gdb-info-breakpoints-custom, gdb-stack-list-frames-regexp)
(gdb-var-list-children-regexp-1, gdb-var-update-regexp-1)
(gdb-stack-list-locals-regexp): Future proof regexps better.
2008-07-01 01:57:50 +00:00
Alan Mackenzie
13ac2398ff cc-mode.el (c-mode-base-map): Don't bind C-M-[ae] to the CC Mode specific
functions; this is no longer needed, since {beginning,end}-of-defun now
pass ARG to ...-of-defun-function.

cc-defs.el (c-emacs-features): new feature 'argumentative-bod-function.

----------------------------------------------------------------------
cc-defs.el cc-mode.el CVS:
----------------------------------------------------------------------
2008-06-27 21:12:46 +00:00
Glenn Morris
fffa137cb7 American English spelling fix. 2008-06-27 07:34:53 +00:00
Glenn Morris
6772c8e169 American English spelling fix. 2008-06-27 02:41:14 +00:00
Glenn Morris
321d9c42c4 (bug-reference-fontify): Revert previous change that saved match data. 2008-06-21 20:30:00 +00:00
Glenn Morris
bffc65597f (bug-reference-map): Bind down-mouse-1 rather than mouse-1.
(bug-reference-url-format): Autoload safe if string.
(bug-reference-bug-regexp): Make space after "bug" optional.
(bug-reference-fontify): Save match data.
2008-06-21 20:13:48 +00:00
Alan Mackenzie
c60f3aa442 (c-guess-basic-syntax CASE 5D.5): Fix an infinite loop on invalid syntax. 2008-06-21 09:00:49 +00:00
Stefan Monnier
b705155a62 (c-make-inherited-keymap): Only use set-keymap-parents if set-keymap-parent
doesn't exist.
2008-06-20 19:52:37 +00:00
Nick Roberts
14b26c3304 (gud-gdba-marker-filter): Don't switch to
text command mode.
(gdb): Explain that gud-gdb is needed for text command mode.
2008-06-17 22:09:40 +00:00
Nick Roberts
d91e2cb64e (gdb-memory-set-address)
(gdb-memory-set-repeat-count): Allow keyboard bindings.
(gdb-memory-mode-map): Bind above functions respectively
to 'S' and 'N'.
2008-06-16 11:26:22 +00:00
Stefan Monnier
ec4e0abcd2 * progmodes/compile.el (compilation-start): Don't disable undo in
comint buffer.  Don't override the comint-filter with our own.
(compilation-filter): Change point's insertion-type.
* comint.el (comint-output-filter): Use copy-marker.
2008-06-13 16:22:16 +00:00
Glenn Morris
aa360da10d Add some compiler declarations, for builds without X. 2008-06-12 03:56:20 +00:00
Glenn Morris
d431decb9e (cperl-info-on-command): Use display-pixel-height rather than
x-display-pixel-height.
2008-06-12 03:48:56 +00:00
Glenn Morris
575b674637 (f90-beginning-of-subprogram, f90-end-of-subprogram): Only give a
message when interactive.
2008-06-12 03:48:15 +00:00
Glenn Morris
dd08226ad2 (fortran-end-of-subprogram): Check for a match before trying to move there.
(fortran-calculate-indent): When fortran-check-all-num-for-matching-do
is non-nil, indent most terminating statements like loop body.
2008-06-11 02:56:03 +00:00
Stefan Monnier
d3d31fad69 (compilation-filter): Fix up last change. 2008-06-11 02:47:57 +00:00
Stefan Monnier
a1562258dc * window.c (Vwindow_point_insertion_type): New var.
(set_window_buffer): Use it.
(syms_of_window): Init and export it to Lisp.
* progmodes/compile.el (compilation-mode):
Set window-point-insertion-type.
(compilation-filter): Don't use insert-before-markers any more.
* emacs-lisp/trace.el (trace-make-advice):
Set window-point-insertion-type in the trace buffer.
* startup.el (normal-top-level): Set window-point-insertion-type in
*Messages*.
* net/telnet.el (telnet-mode): Set window-point-insertion-type.
(telnet-filter): Don't use insert-before-markers any more.
* comint.el (comint-mode): Set window-point-insertion-type.
(comint-output-filter): Don't use insert-before-markers any more.
* button.el (make-text-button): Allow `start' to be a string.
2008-06-10 16:08:48 +00:00
Glenn Morris
0d56ae8918 Remove unnecessary eval-when-compile. 2008-06-07 02:37:56 +00:00
Stefan Monnier
dcaaec2302 (tags-verify-table): Be careful to use and update
tags-file-name and tags-table-list from the right buffer.
(tags-table-check-computed-list, tags-table-extend-computed-list)
(find-tag-noselect): Use with-current-buffer.
2008-06-05 05:55:37 +00:00
John Paul Wallington
e956634f3a (makefile-cleanup-continuations, makefile-warn-suspicious-lines):
Use `derived-mode-p'.
2008-06-03 19:39:24 +00:00
Stefan Monnier
466a09b5f8 (flymake-process-filter): Make sure the source buffer isn't dead. 2008-06-03 08:12:02 +00:00
Stefan Monnier
a9bc137f5e (perl-font-lock-syntactic-keywords): Try to be
yet a bit more clever at distinguishing / from /.
2008-06-03 07:18:54 +00:00
Glenn Morris
5fe2902f8e (f90-typedef-matcher, f90-looking-at-type-like): Check that
end-of-word follows "type".
2008-06-03 03:12:40 +00:00
Stefan Monnier
ab1d38354d * progmodes/flymake.el (flymake-save-buffer-in-file):
* shadowfile.el (shadow-copy-file):
* arc-mode.el (archive-*-write-file-member):
* files.el (diff-buffer-with-file):
* subr.el (with-temp-file): Pass nil to write-region.
* jka-compr.el (jka-compr-write-region): Preserve `start's nullness.
2008-05-28 17:35:34 +00:00
Miles Bader
142e26a72e Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1179
2008-05-26 06:57:40 +00:00
Alan Mackenzie
c5fcadd11f (c-postprocess-file-styles): Throw an error if c-file-style is set to a
non-string.

(c-neutralize-CPP-line): Surround by `save-excursion'.
(c-neutralize-syntax-in-CPP): Optimize for speed.
2008-05-24 12:47:37 +00:00
Alan Mackenzie
b9a6ed295c * progmodes/cc-mode.el (c-postprocess-file-styles): Throw an error
if c-file-style is set to a non-string

(c-neutralize-CPP-line): Surround by `save-excursion'.
(c-neutralize-syntax-in-CPP): Optimize for speed.
2008-05-24 12:31:59 +00:00
Stefan Monnier
a3507bd3c2 * textmodes/reftex-vars.el (reftex-extra-bindings-prefix): New var.
* textmodes/reftex.el (reftex-extra-bindings-map): New var.
(reftex-extra-bindings): Use it.
* progmodes/mixal-mode.el (mixal-mode-map): Move key-bindings
away from the user-reserved keys.
* progmodes/ada-mode.el (ada-mode-extra-map, ada-mode-extra-prefix): New vars.
(ada-create-keymap): Use them.
2008-05-23 20:31:12 +00:00
Juanma Barranquero
f05cde180d (capitalized-words-mode): Fix typos in docstring. 2008-05-23 15:31:17 +00:00
Nick Roberts
22b6cf4846 (gdb-enable-debug): New function.
(gdb-annotation-rules): New entry for "thread-changed".
(gdb-thread-changed): New function.
2008-05-23 07:36:54 +00:00
Stefan Monnier
7dcc0df260 (fortran-font-lock-keywords-2): Add keywords for
logic operators .eqv. and .neqv.
2008-05-18 04:17:11 +00:00
Glenn Morris
ac342f28c0 (fortran-font-lock-keywords-2): Add .eqv., .neqv. 2008-05-17 20:08:54 +00:00
Glenn Morris
ae500c1a0f (declare-function): Add compat definition.
(awk-mode-syntax-table, c-awk-unstick-NL-prop): Declare for compiler.
2008-05-15 03:30:40 +00:00
Sam Steingold
86c7460fae (compilation-minor-mode-map, compilation-mode-map):
Bind "g" to recompile and "q" to quit-window.
(grep-mode-map): Use `set-keymap-parent' to connect it
to `compilation-minor-mode-map' (instead of an explicit `cons').
2008-05-08 17:28:05 +00:00
Dan Nicolaescu
9c059794a2 (verilog-type-font-keywords): Add leda and 0in
as pragma keywords.
(verilog-pretty-expr): Support lining up assignments which include
part selects.
(verilog-mode): More portable check for the availability of
hideshow support.
(verilog-do-indent): Remove special indent for declarations inside
a parenthetical list.  The code is ill-advised, and doesn't work
given the new user defined types.
(verilog-set-auto-endcomments): Enhance function automatic
endcomment to support functions that return user defined types.
(verilog-mode): Add code to tell which-function-mode minor mode
that Verilog supports this feature.
2008-05-08 13:44:16 +00:00
Juanma Barranquero
f67b40b3d8 (python-comment-line-p, python-blank-line-p, python-skip-out,
python-check-comint-prompt): Don't use `iff' in docstrings.
2008-05-08 03:42:10 +00:00
Glenn Morris
a4c687e03e (fortran-mode): Fix font-lock-syntactic-keywords oddness. 2008-05-07 02:59:40 +00:00
Dan Nicolaescu
5509c6add4 (verilog-getopt-file): Cleanup warning message format.
(verilog-auto, verilog-auto-arg, verilog-auto-ascii-enum)
(verilog-auto-inout, verilog-auto-inout-module)
(verilog-auto-input, verilog-auto-inst, verilog-auto-inst-param)
(verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
(verilog-auto-reg-input, verilog-auto-reset, verilog-auto-sense)
(verilog-auto-sense-sigs, verilog-auto-tieoff)
(verilog-auto-unused, verilog-auto-wire)
(verilog-decls-get-assigns, verilog-decls-get-consts)
(verilog-decls-get-gparams, verilog-decls-get-inouts)
(verilog-decls-get-inputs, verilog-decls-get-outputs)
(verilog-decls-get-ports, verilog-decls-get-regs)
(verilog-decls-get-signals, verilog-decls-get-wires)
(verilog-dir-cache-lib-filenames, verilog-dir-cache-list)
(verilog-dir-cache-preserving, verilog-dir-file-exists-p)
(verilog-dir-files, verilog-expand-dirnames, verilog-getopt-file)
(verilog-inject-sense, verilog-library-filenames)
(verilog-mode-release-date, verilog-mode-version)
(verilog-modi-cache-add, verilog-modi-cache-preserve-buffer)
(verilog-modi-cache-preserve-tick, verilog-modi-cache-results)
(verilog-modi-get-assigns, verilog-modi-get-consts)
(verilog-modi-get-gparams, verilog-modi-get-inouts)
(verilog-modi-get-inputs, verilog-modi-get-outputs)
(verilog-modi-get-ports, verilog-modi-get-regs)
(verilog-modi-get-signals, verilog-modi-get-sub-inouts)
(verilog-modi-get-sub-inputs, verilog-modi-get-sub-outputs)
(verilog-modi-get-wires, verilog-preserve-cache)
(verilog-preserve-dir-cache, verilog-preserve-modi-cache)
(verilog-read-sub-decls, verilog-read-sub-decls-line)
(verilog-read-sub-decls-sig, verilog-subdecls-get-inouts)
(verilog-subdecls-get-inputs, verilog-subdecls-get-outputs):
Add caching of additional state, and rework signal extraction
routines to improve AUTO expansion performance by 300%++.
2008-05-06 15:54:16 +00:00
Glenn Morris
b1fc2b5014 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 07:25:26 +00:00
Glenn Morris
aa3e7364a4 Switch to recommended form of GPLv3 permissions notice.
Delete trailing whitespace.
2008-05-06 07:14:39 +00:00
Chong Yidong
ed66ce2115 Fix last fix. 2008-05-06 03:31:55 +00:00
Chong Yidong
bf3e72ae05 (compilation-error-regexp-alist-alist): Tweak Open Watcom regexp to
distinguish between errors and warnings.
2008-05-06 03:23:26 +00:00
Nick Roberts
9d8a1adde0 (compilation-error-regexp-alist-alist):
Add regexp for Open Watcom compiler output.
2008-05-05 11:59:04 +00:00
Stefan Monnier
0c8a412cfd (python-block-pairs): Align finally with except. 2008-05-05 07:10:25 +00:00