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.
Michael Albinus [Sun, 12 Feb 2006 20:22:28 +0000 (20:22 +0000)]
* net/tramp.el (tramp-remote-path): Add "/usr/xpg4/bin" on top,
because on Solaris a POSIX compatible "id" is needed. Reported by
Magnus Henoch <mange@freemail.hu>.
Juri Linkov [Sun, 12 Feb 2006 17:44:30 +0000 (17:44 +0000)]
Remove todo item about Thumbnail Managing Standard.
(tumme) <defgroup>: Change :group to `multimedia'.
(tumme-thumbnail-storage): Add choice `standard' for Thumbnail
Managing Standard.
(tumme-cmd-create-thumbnail-options): Use %w and %h instead of %s.
Fix dostring.
(tumme-cmd-create-temp-image-options): Use %w and %h instead of %x
and %y. Fix docstring.
(tumme-cmd-pngnq-program, tumme-cmd-pngcrush-program)
(tumme-cmd-create-standard-thumbnail-command): New user options.
(tumme-thumb-size): Set default to 128 if tumme-thumbnail-storage
is `standard'. Fix docstring.
(tumme-thumb-width, tumme-thumb-height): New user options.
(tumme-external-viewer): Try to find various viewers.
(tumme-get-thumbnail-image): Use `create-image' instead of
constructing the `image' structure.
(tumme-insert-thumbnail): Use `png' if tumme-thumbnail-storage is
`standard'.
(tumme-thumb-name): Add file name generation for standard storage.
Simplify code for other storages.
(tumme-thumb-name): Use width %w and height %h instead of size %s.
Add modification time %m and thumbnail-nq8 %q.
Use `tumme-cmd-create-standard-thumbnail-command' if
tumme-thumbnail-storage is `standard'.
(tumme-dired-insert-marked-thumbs): New autoload command.
(tumme-dired-after-readin-hook): New function.
(tumme-line-up-dynamic): Use `tumme-thumb-width' instead of
`tumme-thumb-size'.
(tumme-display-image): Replace size-x %x and size-y %y with
width %w and height %h.
rcirc: Add flexible response formatting; Add nick abbrevs
2006-02-12 Miles Bader <miles@gnu.org>
* lisp/net/rcirc.el (rcirc-nick-abbrevs, rcirc-response-formats):
New variables.
(rcirc-abbrev-nick): New function.
(rcirc-format-response-string): Rewrite to use the formats in
`rcirc-response-formats' and expand escape sequences therein.
A text-property `rcirc-text' is added over the actual response
text to make easy to find inside the returned string.
(rcirc-print): When filling, just look for the `rcirc-text'
text-property to find the appropriate fill prefix, instead of
using hardwired patterns.
Kim F. Storm [Sat, 11 Feb 2006 20:30:49 +0000 (20:30 +0000)]
(ido-buffer-internal): Set mark for ido-insert-buffer.
Don't use insert-buffer; do insert-buffer-substring directly.
(ido-file-internal): Set mark for ido-insert-file. Use insert-file-1.
Eli Zaretskii [Sat, 11 Feb 2006 13:55:42 +0000 (13:55 +0000)]
(describe-key-briefly): Now a wrapper for describe-key-briefly-internal.
Bind enable-disabled-menus-and-buttons to t.
(describe-key-briefly-internal): Renamed from describe-key-briefly.
(describe-key): Now a wrapper for describe-key-internal. Bind
enable-disabled-menus-and-buttons to t.
(describe-key-internal): Renamed from describe-key.
Eli Zaretskii [Sat, 11 Feb 2006 13:50:29 +0000 (13:50 +0000)]
(Venable_disabled_menus_and_buttons): New variable.
(syms_of_keyboard): DEVFAR_LISP and initialize it.
(parse_tool_bar_item, parse_menu_item): If that variable is
non-nil, don't disable menu items and tool-bar buttons.