Commit graph

3943 commits

Author SHA1 Message Date
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
Stefan Monnier
7d56274281 (c-basic-common-init): Don't set
font-lock-extend-after-change-region-function globally.
2008-04-08 15:27:49 +00:00
Sam Steingold
49ec893114 lisp-eval-defun & lisp-compile-defun: DEFVAR forms reset the variables
to the init values, similar to emacs-lisp eval-defun
2008-04-07 16:01:47 +00:00
Dan Nicolaescu
f6ec641572 *** empty log message *** 2008-04-07 01:20:06 +00:00
Alan Mackenzie
8835a0f7e6 (c-before-font-lock-function): Correct a typo in the doc string. 2008-04-06 21:14:28 +00:00
Alan Mackenzie
8714fc1869 (c-basic-common-init): Set font-lock-extend-after-change-region-function.
(c-extend-after-change-region): New function, used in
font-lock-extend-after-change-region-function, thus superseding advice on
the Font Lock after change functions.
(c-advise-fl-for-region): Remove this macro.
2008-04-06 21:13:11 +00:00
Alan Mackenzie
772a35442b (c-before-font-lock-function): Correct a typo in the doc string. 2008-04-06 20:34:25 +00:00
Alan Mackenzie
afd2c2fc74 (c-extend-after-change-region): New function, used in
font-lock-extend-after-change-region-function, thus superseding advice on
the Font Lock after change functions.
2008-04-06 20:33:05 +00:00
Nick Roberts
86af339a9b (gdb): New group.
(gdb-debug-log-max, gdb-enable-debug)
(gdb-cpp-define-alist-program, gdb-cpp-define-alist-flags)
(gdb-show-main, gdb-many-windows, gdb-use-separate-io-buffer)
(gdb-speedbar-auto-raise, gdb-use-colon-colon-notation)
(gdb-show-changed-values, gdb-max-children)
(gdb-delete-out-of-scope, gdb-same-frame, gdb-find-source-frame)
(breakpoint-enabled, breakpoint-disabled, gdb-max-frames)
(gdb-all-registers, gdb-memory-repeat-count, gdb-memory-format)
(gdb-memory-unit): Move to new group from GUD group.
(menu): Allow customization from GDB-UI menu-item.
2008-04-06 03:32:45 +00:00
Miles Bader
5bc6ddff00 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1107
2008-04-05 23:01:26 +00:00
Stefan Monnier
83a38a5a39 (vhdl-mode-map-init): Replace C-c[a-zA-Z] key bindings. 2008-04-05 03:43:07 +00:00