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

3953 commits

Author SHA1 Message Date
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
Glenn Morris
051897ff37 (vhdl-speedbar-find-file): Use dframe-update-speed rather than
obsolete alias speedbar-update-speed.
2008-04-24 05:45:26 +00:00
Miles Bader
a113b3ca32 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1121
2008-04-23 05:55:42 +00:00
Nick Roberts
7446b6573e (gdb-previous-frame-address): Rename...
(gdb-previous-frame-pc-address): ...to this.
(gdb-get-selected-frame): Use MI command -stack-info-frame instead
of "info frame" with Gdb 6.4+.
(gdb-stack-list-frames-regexp): New regexp.
(gdb-frame-handler-1): Parse output of -stack-info-frame
2008-04-23 02:50:24 +00:00
Nick Roberts
01a369030e (gud-watch): Add "$" prefix when in registers buffer. 2008-04-22 06:25:15 +00:00
Nick Roberts
4eb1954463 (gdb-locals-header): New variable.
(gdb-locals-mode, gdb-registers-mode): Use it for header line.
2008-04-22 05:57:37 +00:00
Glenn Morris
b218f37130 (gdbmi-invalidate-frames): Declare as function. 2008-04-22 02:57:26 +00:00
Dan Nicolaescu
61acee9902 * progmodes/asm-mode.el (asm-mode-map):
* progmodes/hideif.el (hide-ifdef-mode-menu): Add :help.

* progmodes/m4-mode.el (m4-mode-map): Add menu.
2008-04-21 05:02:06 +00:00
Nick Roberts
b06e477e59 (gdb-mouse-set-clear-breakpoint): Select
window clicked on first (regression in 22.2).
(gdb): Display thread number in mode-line.
(gdb-make-header-line-mouse-map): Move to avoid byte compiler warnings.
(gdb-breakpoints-header): New variable.
(gdb-breakpoints-mode, gdb-threads-mode): Use it for header line.
2008-04-19 22:49:32 +00:00
Stefan Monnier
e80591ba8d * emacs-lisp/lisp-mode.el (lisp-mode-auto-fill): Make it an alias.
* progmodes/scheme.el (scheme-mode-variables): Don't use it.
2008-04-19 19:35:09 +00:00
Nick Roberts
59ae30492b (gdb-thread-indicator): New variable.
(gdb-init-1): Initialise it.
(gdb-annotation-rules): New entry for "new-thread".
(gdb-thread-identification): New function to customize
mode-line-buffer-identification.
(gdb-frames-mode, gdb-registers-mode, gdb-locals-mode)
(gdb-assembler-mode): Use it.
(gdb-threads-mode): Force "info threads" onto queue.
2008-04-19 06:41:23 +00:00
Juanma Barranquero
ddb1f2e352 (compile-internal): Add WHEN to obsolescence declaration. 2008-04-18 10:33:17 +00:00
Miles Bader
d02fe47dd3 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1112
2008-04-18 02:56:45 +00:00
Stefan Monnier
6b3a84f29a Fix up comment convention. 2008-04-18 01:46:37 +00:00
Stefan Monnier
88bdb6c2e5 (python-mode-map): Use abbrev-table-menu.
(python-use-skeletons): Remove, unused.
(python-skeletons): Remove.  Use the abbrev table instead.
(python-mode-abbrev-table): Fix regexp; add enable-function and case-fixed.
(def-python-skeleton): Simplify.
(python-expand-template): Use the abbrev-table and abbrev-insert.
(python-abbrev-pc-hook, python-abbrev-syntax-table, python-pea-hook): Remove.
(python-mode): Don't set pre-abbrev-expand-hook.
2008-04-17 20:09:54 +00:00
Nick Roberts
551b23f38c (gdb-stack-update): New variable.
(gdb, gdb-starting, gdb-frames-mode): Use it.
(gdb-invalidate-frames): Advise to call "info stack" only if
execution has occurred.
(gdb-info-breakpoints-custom): Only update overlay-arrow pointing to
selected frame if no execution has occurred.
(gdb-frames-force-update): New interactive function.
(gdb-frames-mode-map): Bind it to "F".
2008-04-17 05:12:42 +00:00
Stefan Monnier
241760a33e Cleanup the bug-report email addresses and make sure the
maintainer is still willing to handle bug reports.
2008-04-16 14:10:34 +00:00
Andreas Schwab
f0d732ae65 Require 'cl when compiling. 2008-04-13 00:25:41 +00:00
Nick Roberts
3ee7281cbb (gud-menu-map): Expand tooltip. 2008-04-12 22:04:38 +00:00
Nick Roberts
aa72bfb256 (gdb-find-source-frame): Improve doc string.
(menu): Add/expand menu tooltips.
2008-04-12 21:57:58 +00:00
Dan Nicolaescu
63616f5208 (sh-show-indent): Fix typo.
(sh-mode-map): Add a toggle for inserting braces and quotes in pairs.
2008-04-12 16:41:03 +00:00
Nick Roberts
bcb96719b3 (gud-tooltip-tips): Use tooltip-event-buffer 2008-04-12 13:14:56 +00:00
Nick Roberts
6c6273c6a5 (gdb-init-buffer): New function.
(gdb-set-gud-minor-mode-existing-buffers)
(gdb-info-breakpoints-custom, gdb-get-location)
(gdb-set-gud-minor-mode-existing-buffers-1): Use it.
Previously gdb-create-define-alist wasn't always run and added to
after-save-hook.
2008-04-12 13:13:32 +00:00
Stefan Monnier
5e01f1ca49 (makefile-fill-paragraph): Treat indented comments like unindented ones. 2008-04-12 05:40:15 +00:00
Stefan Monnier
fb970f91df (hif-factor): Handle unary minus. 2008-04-12 04:38:45 +00:00
Glenn Morris
cd6ef82d85 Move non-autoloaded define-obsolete-variable-alias calls for
defcustoms not in dumped files before the associated defcustom.
2008-04-12 03:17:19 +00:00
Stefan Monnier
7f9020f1a2 (python-mode): Don't mess with hippie-expand. 2008-04-11 17:50:56 +00:00
Stefan Monnier
cbee283dd7 Fix up comment convention on the arch-tag lines. 2008-04-10 14:10:46 +00:00