1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 10:11:05 -08:00
Commit graph

3980 commits

Author SHA1 Message Date
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
Glenn Morris
a3dd77f764 Dave Love <fx at gnu.org>
(python-beginning-of-statement): Loop at least once (fixes 2008-02-21 change).
2008-05-03 18:51:41 +00:00
Sam Steingold
5f3ca1ba63 * progmodes/compile.el (compilation-start): Move setting of
compilation-directory after (funcall mode) as that resets local
variables, this fixes recompile in grep buffers.
* grep.el (grep-mode-map): Bind "g" to recompile (like in dired &c).
2008-05-02 18:37:07 +00:00
Stefan Monnier
7210c33ff8 (octave-abbrev-table): Move defvar and
initialization into define-abbrev-table.  Use :regexp.
(octave-mode-syntax-table): Don't set word syntax for `.
2008-05-02 18:32:18 +00:00
Miles Bader
bfab7c6ec7 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1139
2008-05-02 12:43:30 +00:00
Juri Linkov
93c0985f4c (compilation-auto-jump): Set window point to `pos' explicitly. 2008-05-01 23:56:52 +00:00
Nick Roberts
d5ec6bc04f (gdb-info-breakpoints-custom): Don't throw error if no file is found. 2008-05-01 08:43:56 +00:00
Stefan Monnier
5d8137abac * progmodes/octave-mod.el (octave-help): New function.
* progmodes/octave-hlp.el: Delete.
* info-look.el (octave-mode): Add operator index.
2008-04-30 08:48:02 +00:00
Stefan Monnier
bb6da2f86f (compilation-error-regexp-alist-alist) <gnu>:
Rule out trailing spaces in file and directory names as well.
2008-04-30 08:12:20 +00:00
Nick Roberts
37c7234307 (gdb-frame-handler-1): Make overlay arrow
hollow if not in innermost frame.
2008-04-30 02:27:52 +00:00
Nick Roberts
56a03d92cf (gud-speedbar-buttons): Raise frame in gdb-speedbar-timer-fn. 2008-04-29 11:03:40 +00:00
Nick Roberts
05dfe89a80 (gdb-display-buffer): Don't pop up GUD buffer.
Always split windows.
(gdb-speedbar-timer-fn): Only raise frame after user input.
(gdb-same-frame): Reverse initial value.
(gdb-display-gdb-buffer): Check for GUD buffer in other frames.
2008-04-29 11:02:22 +00:00
Miles Bader
e983096bb6 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1132
2008-04-29 01:03:43 +00:00
Nick Roberts
1f38de120d (gud-display-line): Only consider visible
frames when looking for source buffer.
2008-04-29 00:44:47 +00:00
Nick Roberts
72ba4f36c6 (gdb-info-stack-custom): Use
gud-tool-bar-item-visible-no-fringe.
(gdb-display-buffer): Don't pop new buffer if gud-comint-buffer
is already visible in frame.  Remove optional size parameter
and add optional frame parameter.
2008-04-29 00:41:23 +00:00
Nick Roberts
05a27ce5cc (gdb-info-breakpoints-custom): Fix mismatched parentheses. 2008-04-28 07:18:03 +00:00
Nick Roberts
841b19a0a0 (gdb-info-breakpoints-custom): Make breakpoint
icons work for assembler, i.e. FILE.s, FILE.S (not disassembly).
(gdb-goto-breakpoint): Likewise for visiting breakpoints.
(gdb-assembler-custom): Be careful not to match other addresses.
2008-04-28 03:24:43 +00:00
Glenn Morris
1ea193a2b6 Comments. 2008-04-26 02:46:56 +00:00
Glenn Morris
17cb3e0e8a (fortran-mode-syntax-table): Change `;' to punctuation now it's not
needed for abbrevs.
(fortran-mode-abbrev-table): Remove defvar, make use of new
define-abbrev-table :regexp feature.
2008-04-26 02:33:47 +00:00
Nick Roberts
34fb82b8da (gud-watch): Don't create speedbar...
(gdb-var-create-handler): ...until here when there are values.
(gdb-post-prompt): Don't do -var-update with no watch expressions.
(gdb-info-locals-handler): Don't match "struct {...}" as an array.
2008-04-25 10:59:20 +00:00
Nick Roberts
5a1ad629fb (gdb-invalidate-assembler): Compare numeric
value of addresses rather than (partial) string value.
(gdb-frame-handler): Change regexp according to above change.
(gdb-breakpoints-mode, gdb-frames-mode, gdb-threads-mode)
(gdb-registers-mode, gdb-memory-mode, gdb-locals-mode)
(gdb-assembler-mode): Disable undo in these buffers.
2008-04-24 22:35:08 +00:00
Nick Roberts
3ed96733c6 (gdb-invalidate-assembler): Compare numeric
value of addresses rather than (partial) string value.
(gdb-frame-handler): Change regexp according to above change.
2008-04-24 22:26:38 +00:00
Stefan Monnier
5d16fdd706 (f90-mode-syntax-table): Don't set ` as word syntax.
(f90-mode-abbrev-table): Use the new :regexp feature.
Merge defvar and mapc into define-abbrev-table.
(f90-imenu-type-matcher): Remove unused `l'.
(f90-imenu-generic-expression): Remove unused `not-ib'.
(f90-prepare-abbrev-list-buffer): Use with-current-buffer.
(f90-change-keywords): Use restore-buffer-modified-p.
2008-04-24 15:06:27 +00:00
Glenn Morris
d4296db31f (bug-reference-prog-mode): Define for compiler. 2008-04-24 05:54:10 +00:00
Glenn Morris
871968cac1 Tom Tromey <tromey at redhat.com>: New file. 2008-04-24 05:49:09 +00:00