1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 10:50:49 -08:00
Commit graph

2800 commits

Author SHA1 Message Date
Nick Roberts
7dda19092f (gdb-speedbar-refresh): Rename from
gdb-speedbar-timer-fn.  Use speedbar-refresh instead of
speedbar-timer-fn
(gdb-var-update-handler, gdb-var-update-handler-1): Use it.
(gdb-speedbar-expand-node): Use speedbar-delete-subblock
instead of gdb-speedbar-timer-fn.
(gdb-edit-value):
2006-02-28 21:52:30 +00:00
Nick Roberts
5674718576 (gud-display-line): Use gdb-display-source-buffer
for gdb-ui/gdb-mi (old concept).
2006-02-27 09:15:58 +00:00
Nick Roberts
f27d4d6cdb (gdb-source-window): New variable.
Re-introduce the concept of a source window.
(gdb-get-buffer-create): Rename from gdb-get-create-buffer for
consistency with get-buffer-create.
(def-gdb-auto-update-handler, gdb-info-locals-handler)
(gdb-data-list-register-values-handler)
(gdb-stack-list-locals-handler): Try to preserve window-start as
well as window-point.
(gdb-display-source-buffer): New function (old concept).
(gdb-goto-breakpoint): Use it.
2006-02-27 09:14:59 +00:00
Thien-Thi Nguyen
19cd88cc93 (sh-mode): Fix bug: Arrange to use
the default shell if filename is not available.
2006-02-25 11:25:25 +00:00
Francesco Potortì
f37de644fd (tags-completion-table): Do completion from all the tables in the
current list, as documented in the manual.
2006-02-25 01:48:09 +00:00
Alan Mackenzie
cb694ab730 cc-align.el, cc-awk.el, cc-bytecomp.el, cc-cmds.el, cc-compat.el,
cc-defs.el, cc-engine.el, cc-fonts.el, cc-langs.el, cc-menus.el,
cc-mode.el, cc-styles.el, cc-subword.el, cc-vars.el:  Add 2006 to the
copyright statement.

cc-awk.el: (c-awk-after-change): Protect the match data with
save-match-data.  It was being corrupted when Font Lock was not enabled.
(ii): Fix a typo.

cc-cmds.el, cc-mode.el, cc-engine.el (c-update-modeline): Concatenate the
minor mode indicators directly onto mode-name, removing
c-submode-indicators.  Sometimes, c-s-i got separated from the mode name
on the mode line.

cc-cmds.el, cc-mode.el: Rename c-hungry-backspace to
c-hungry-delete-backwards, at the request of RMS.  Leave the old name as
an alias.

cc-cmds.el (c-electric-brace, c-electric-semi&comma, c-electric-colon):
Correct doc-strings: "/ln" -> "/la".

cc-cmds.el (c-electric-brace): Fix clean-up brace-else-brace (error due
to mbeg, mend being undefined).

cc-defs.el (c-version): Update to 5.31.3.

cc-defs.el: [Supersedes patch V1.38]: (top level): Check for a buggy
font-lock-compile-keywords ONLY in XEmacs.  GNU Emacs 22 now has a check
which would throw an error here.

cc-engine.el (c-beginning-of-statement-1): Clarify doc-string and
comments.  Distinguish real labels ("case 1:" or "foo:") from non-labels
("public:").

cc-engine.el (c-after-change-check-<>-operators): Remove save-match-data,
reversing change for V1.45.  save-match-data is now in c-after-change.

cc-engine.el (c-forward-objc-directive): Replace c-forward-token-2 with
crude coding; c-f-t-2 doesn't move over a token at EOB.  Objc Mode was
hanging after typing, e.g., "@implementation".

cc-langs.el (c-filter-ops): Made it available at runtime too to work when
`c-make-init-lang-vars-fun' needs to evaluate from source.

cc-langs.el (c-make-init-lang-vars-fun): Improved the error message when
there's an evaluation error to show whether it's loaded from source or
not.
(c-mode-menu): Add menu items for Electric Mode and Subword Mode.

cc-mode.el (c-after-change): Protect the match data with save-match-data.
It was getting corrupted by c-after-change-check-<>-operators.

cc-mode.el: File Local variables: Solve the problem where both `mode' and
c-file-offsets are specified: `mode' will overwrite c-f-o's settings:
(c-remove-any-local-eval-or-mode-variables): new function.
(c-postprocess-file-styles): call the above new function, within
c-tentative-buffer-change, to splat `mode' and `eval' before the second
hack-local-variables.
2006-02-24 15:33:02 +00:00
Stefan Monnier
c57a573fea Remove unnecessary leading * in docstrings. 2006-02-23 16:35:41 +00:00
Nick Roberts
7efc64d4be (gud-speedbar-buttons): Use shadow face properly. 2006-02-23 07:40:25 +00:00
Nick Roberts
a5de75080d (gdb-debug-ring-max): Rename from gdb-debug-log-length.
(gdb-debug-ring): Rename from gdb-debug-log-ring.  Don't make
it a real ring but...
(gud-gdba-marker-filter): ...make it work like mark-ring.
(gdb-enable-debug): Rename from gdb-enable-debug-log.
(gdb-mouse-jump): New function.  Add bindings.
2006-02-23 07:38:57 +00:00
Nick Roberts
e75116edb6 (gdb-signalled): New variable and function.
(gdb-debug-log-ring): Rename from gdb-debug-log and make a ring.
(gdb-send, gdb-send-item, gud-gdba-marker-filter): Use it.
(gdb-debug-log-length): Customize it's length.
(gud-watch, gdb-var-create-handler): Display function::var format
but don't use to create variable object.
(gdb-var-create-handler): Use message-box in place of message.
(gdb-stopped): Call gdb-exited if signalled.
2006-02-22 22:01:35 +00:00
Richard M. Stallman
f623a9d2e6 (sh-mode): Set shell type based on file name if no other specific basis. 2006-02-21 19:55:46 +00:00
Nick Roberts
958ac655e6 (gdb-speedbar-auto-raise): Don't enable by default. 2006-02-20 21:48:49 +00:00
Nick Roberts
cb0ea01ead (gud-speedbar-buttons): Use shadow face for all out of scope components. 2006-02-20 21:47:56 +00:00
Nick Roberts
ffb2cf00c2 (gdb-speedbar-expand-node): Force update of speedbar. 2006-02-20 00:03:15 +00:00
Nick Roberts
6d210c9d81 (gud-speedbar-buttons): Fontify watch expessions. 2006-02-20 00:02:22 +00:00
Nick Roberts
e5538a995c (gdb-force-update): Rename from gdb-var-changed.
(gdb-post-prompt): Use it.
(gdb-var-create-handler, gdb-var-evaluate-expression-handler)
(gdb-var-update-handler, gdb-var-delete)
(gdb-speedbar-expand-node, gdb-var-list-children-handler-1)
(gdb-var-update-handler-1): Don't set gdb-var-changed, just set
gdb-force-update in gdb-post-prompt.
(gdb-reset): Clear watch expressions from speedbar when quitting.
2006-02-19 05:21:50 +00:00
Nick Roberts
672162f3de Don't require font-lock as it's now automatically loaded.
(gud-speedbar-buttons): Replace gdb-var-changed with gdb-force-update.
2006-02-19 05:20:44 +00:00
Nick Roberts
054d409eaf (gdb-var-evaluate-expression-handler)
(gdb-var-update-handler): Detect out of scope variables with pre
GDB 6.4 too.
(gdb-post-prompt): Revert changet 2006-02-17 (force update).
Reset status of variable objexts to nil in update handlers.
(gdb-var-update-handler-1): Detect when a variable object comes
in scope.  setcar on var changes gdb-var-list directly.
2006-02-18 22:58:26 +00:00
Nick Roberts
02a471b435 (gud-speedbar-buttons): Update properly for
shadow face.  Don't provide binding to edit variable when it is
out of scope.
2006-02-18 22:57:05 +00:00
Nick Roberts
bbcc52157b (gdb-var-list): Update doc string.
(gdb-init-1, gdb-var-changed): Set gdb-var-changed to t initially.
(gdb-show-changed-values): Also use for out of scope variables.
(gdb-var-update-handler-1): Note if variable goes out of scope.
2006-02-17 11:51:38 +00:00
Nick Roberts
2ec58220f8 (gud-speedbar-buttons): Use shadow face for
out of scope variables.
(gud-speedbar-buttons): Use unless.
2006-02-17 11:50:48 +00:00
Nick Roberts
b32d1b9b01 (gdba, gdb-var-list): Improve doc strings.
(menu): Re-order menu items.
(gdb-var-update-regexp, gdb-var-update-regexp-1): Match "in_scope" field.
(gdb-var-update-handler-1): Use it for GDB 6.4+.
(gdb-post-prompt): Speed things by not forcing update.
2006-02-17 00:25:16 +00:00
Nick Roberts
b5c5d21640 (gdba): Improve doc string.
(menu): Re-order menu items.
2006-02-16 20:47:06 +00:00
Juanma Barranquero
57d3a1f359 (flymake-fix-file-name): Fix typo in docstring. 2006-02-16 11:40:51 +00:00
Nick Roberts
cb851ef5d9 (gdb-display-separate-io-buffer): Change use of
gdb-use-inferior-io-buffer to gdb-use-separate-io-buffer
(missed in previous change).
2006-02-14 22:19:26 +00:00
Nick Roberts
b5e5e9f2a0 (gdb-use-separate-io-buffer)
(gdb-display-separate-io-buffer, gdb-frame-separate-io-buffer)
(gdb-separate-io-interrupt, gdb-separate-io-quit)
(gdb-separate-io-stop, gdb-separate-io-eof):
Rename from gdb-inferior-* to gdb-separate-*.
(gdb-set-gud-minor-mode-existing-buffers-1): Improve doc string.
2006-02-14 22:03:20 +00:00
Nick Roberts
ee75f8b7ae (gdb): Improve doc string.
(gdb-script-font-lock-keywords): Expand allowed character set.
2006-02-14 22:02:21 +00:00
Nick Roberts
621b3aac56 (gud-watch, gdb-invalidate-registers-1)
(gdb-get-changed-registers): Test value of gud-minor-mode relative
to gud-comint-buffer.
(gdb-speedbar-expand-node, gdb-locals-mode): Use functions in
gdb-ui.el for gdb-mi.el.
(gdb-post-prompt, gdb-get-changed-registers): Move test for
registers buffer to gdb-get-changed-registers.
(gdb-breakpoint-regexp): New regexp.  Allow toggling and
deletion of catchpoints (throw and catch).
(gdb-toggle-breakpoint, gdb-delete-breakpoint)
(gdb-goto-breakpoint): Use it for both gdb-ui and gdb-mi.
(gdb-find-file-hook, gdb-set-gud-minor-mode-existing-buffers-1)
(gdb-var-list-children-1, gdb-info-breakpoints-custom)
(gdb-var-update-1, gdb-invalidate-locals-1): Use also for gdb-mi.
2006-02-13 21:59:45 +00:00
Richard M. Stallman
79657d524c (ebrowse-global-prefix-key): Change to C-c C-m. 2006-02-12 20:27:51 +00:00
Eli Zaretskii
0810857709 (glasses-separator): Doc fix.
(glasses-original-separator): New defcustom.
(glasses-make-readable, glasses-convert-to-unreadable): Use it.
2006-02-11 11:46:15 +00:00
Nick Roberts
d91362c9e0 Update copyright for 2006. 2006-02-10 09:00:31 +00:00
Nick Roberts
dbc4287b14 Update copyright for 2006. 2006-02-10 07:54:12 +00:00
Masatake YAMATO
d9674f335b (autoconf-font-lock-keywords): Check start boundary of symbols. 2006-02-09 19:15:46 +00:00
Glenn Morris
ab09adac9b Revert previous inadvertent check-in of local changes. 2006-02-08 08:05:13 +00:00
Glenn Morris
a20b384860 Add 2006 to copyright years. 2006-02-08 07:54:11 +00:00
Nick Roberts
e50054c2b9 (gud-tooltip-mode): Remove autoload cookie.
User should use gdb-mode-hook if desired.
2006-02-07 06:58:37 +00:00
Nick Roberts
d47c318cc8 (gdb-post-prompt): Regenerate breakpoints
buffer if necessary.
(gdb-delete-frame-or-window): New function.
(gdb-breakpoints-mode-map): Bind "q" to it.
2006-02-07 06:57:27 +00:00
Eli Zaretskii
13b0ddbd62 (python-mode) <eldoc-mode-hook>: Pass nil as the first arg to run-python. 2006-01-21 11:48:25 +00:00
Masatake YAMATO
9a8ee44887 * progmodes/cpp.el (cpp-edit-load): Make the order of listed conditions in a base C code buffer and its associate CPP Edit buffer the same. 2006-01-19 10:57:44 +00:00
Stefan Monnier
5d72423543 Move defvars out of eval-when-compile.
(fortran-break-line): Remove unused var `opoint'.
(fortran-abbrev-start): Obey help-event-list.
2006-01-18 15:56:30 +00:00
Masatake YAMATO
3968c89ffe Added makefile-imake-mode. 2006-01-17 18:11:53 +00:00
Stefan Monnier
4c3447538f (auto-mode-alist): Use \' rather than $.
(ld-script-mode): Don't set indent-line-function since we don't have one.
2006-01-13 17:20:52 +00:00
Masatake YAMATO
5f3996dc74 Update copyright year. 2006-01-13 05:22:10 +00:00
Masatake YAMATO
4ec7bdfdf7 * progmodes/ld-script.el (auto-mode-alist): Support suffix conventions used in netbsd and eCos. 2006-01-12 10:09:44 +00:00
Masatake YAMATO
4076cbf66c 2006-01-06 Masatake YAMATO <jet@gyve.org>
* font-lock.el (cpp-font-lock-keywords): Font lock keywords for
	C preprocessor forward ported from GNU Emacs 21.2.

	* progmodes/asm-mode.el (asm-font-lock-keywords): Use
	`cpp-font-lock-keywords'.

	* progmodes/ld-script.el (ld-script-font-lock-keywords): Ditto.

	* progmodes/ld-script.el (auto-mode-alist): Use \\> instead
	of $ for "\\.ld[s]?".
2006-01-11 14:29:44 +00:00
Stefan Monnier
05794f14d6 (tcl-indent-command): Use indent-for-tab-command.
(tcl-indent-line): Return `noindent' if inside a string.
2006-01-10 19:42:43 +00:00
Stefan Monnier
9f812d2370 Add bugs/todo entry. 2006-01-10 19:16:02 +00:00
Stefan Monnier
587d108e55 (flymake-split-string): Remove >1 empty strings at beg/end of the result.
(flymake-find-buildfile, flymake-find-possible-master-files):
Use expand-file-name.
(flymake-fix-file-name): Don't replace \ with / and don't remove ./
since expand-file-name does it for us.  Use directory-file-name.
(flymake-ler-get-full-file, flymake-ler-get-file, flymake-ler-get-line)
(flymake-ler-get-type, flymake-ler-get-text)
(flymake-ler-make-ler): Remove.  Replace by defstruct.  Update callers.
(flymake-current-line-no): Remove spurious interactive spec.
(flymake-delete-temp-directory): Remove unused var `slash-pos'.
(flymake-check-include): Remove arg inc-path merged into inc-name.
(flymake-check-patch-master-file-buffer): Fit in 80 columns.
Arg regexp-list replaced by a simple regexp.
(flymake-master-make-header-init, flymake-master-tex-init):
Correspondingly replace regexp-list with a regexp.  Fix regexp.
2006-01-10 18:46:07 +00:00
Stefan Monnier
5f73367de4 (flymake-find-buildfile): Remove invariant arg `dirs'. Adjust callers. 2006-01-10 04:05:46 +00:00
Stefan Monnier
6fee12e66d Use `require' rather than autoload for XEmacs's overlays.
(flymake-get-common-file-prefix, flymake-build-relative-filename):
Delete.  Use file-relative-name instead.
(flymake-get-syntax-check-program-args, flymake-perl-init):
Simplify the resulting code.
2006-01-09 19:11:28 +00:00