Luc Teirlinck [Fri, 17 Feb 2006 03:44:38 +0000 (03:44 +0000)]
(Other Display Specs, Image Descriptors): Revert erroneous changes.
The previous description of image-descriptors as `(image . PROPS)' was
correct. (Pointed out by Johan Bockgård.)
Nick Roberts [Fri, 17 Feb 2006 00:26:14 +0000 (00:26 +0000)]
(speedbar-frame-width): Make an inline function
instead of a macro. Use frame-width.
(speedbar-try-completion, speedbar-update-contents)
(speedbar-timer-fn): Use consp.
(speedbar-update-localized-contents): Try to preserve point.
Nick Roberts [Fri, 17 Feb 2006 00:25:16 +0000 (00:25 +0000)]
(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.
Bill Wohler [Thu, 16 Feb 2006 18:32:15 +0000 (18:32 +0000)]
(mh-image-load-path): The variables image-load-path or load-path would
not get updated if user set mh-image-load-path. Moved tests and
add-to-list calls outside of cond so they are applied consistently,
even if they are redundant in some circumstances. Efficiency isn't a
concern here. Made error messages more user-friendly.
Jan Djärv [Tue, 14 Feb 2006 11:35:19 +0000 (11:35 +0000)]
* gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the
value of x-gtk-whole-detached-tool-bar.
(xg_tool_bar_attach_callback): Set show-arrow to FALSE.
* xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar.
Jan Djärv [Tue, 14 Feb 2006 10:02:23 +0000 (10:02 +0000)]
* xterm.c (x_x_to_emacs_modifiers): Make non-static.
* xterm.h: Declare x_x_to_emacs_modifiers.
* gtkutil.c (xg_tool_bar_button_cb): New function.
(xg_tool_bar_callback): Call x_x_to_emacs_modifiers to
store modifiers in event.
(update_frame_tool_bar): Connect button-release-event to
xg_tool_bar_button_cb.
Jan Djärv [Tue, 14 Feb 2006 10:01:58 +0000 (10:01 +0000)]
* gtkutil.c (xg_tool_bar_button_cb): New function.
(xg_tool_bar_callback): Call x_x_to_emacs_modifiers to
store modifiers in event.
(update_frame_tool_bar): Connect button-release-event to
xg_tool_bar_button_cb.
Chong Yidong [Tue, 14 Feb 2006 01:21:31 +0000 (01:21 +0000)]
* files.el (safe-local-variable-values): New option.
(hack-local-variables-prop-line): Return a list of variable-value
pairs if MODE-ONLY is non-nil.
(hack-local-variables): Construct list of variable-value pairs,
and apply or reject them in one go. Ask for confirmation if
variables are not known safe.
(hack-local-variables-confirm): Complete rewrite. Support
`safe-local-variable-values'.
(enable-local-variables): Update docstring to reflect new
behavior.
(ignored-local-variables): Ignore ignored-local-variables and
safe-local-variable-values.
(safe-local-variable-p): New function.
(risky-local-variable-p): `safe-local-variable' property check
moved to safe-local-variable-p.
(hack-one-local-variable): Checks moved to hack-local-variables.
Nick Roberts [Mon, 13 Feb 2006 21:59:45 +0000 (21:59 +0000)]
(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.
(describe-key-briefly, describe-key):
Do all arg-reading inside `interactive' spec.
(describe-key-briefly-internal, describe-key-internal):
Functions merged back into their callers.
Juri Linkov [Mon, 13 Feb 2006 15:44:01 +0000 (15:44 +0000)]
(info-xref-visited): Inherit from info-xref too.
(Info-set-mode-line): Replace occurrences of `%' by `%%'
when propertizing Info-current-file and Info-current-node.