(global-whitespace-mode): When turning off the global mode,
turn off the local modes too if whitespace is being unloaded.
(whitespace-unload-function): New function.
Glenn Morris [Fri, 1 Feb 2008 04:48:20 +0000 (04:48 +0000)]
(bookmark-make-cell-function, bookmark-search-size)
(bookmark-current-bookmark): Declare variables for compiler.
(bookmark-buffer-file-name, bookmark-get-filename)
(bookmark-get-front-context-string)
(bookmark-get-rear-context-string, bookmark-get-position)
(bookmark-get-info-node, bookmark-file-or-variation-thereof)
(bookmark-jump-noselect): Declare functions for compiler.
(Info-bookmark-make-cell): Fix argument list to match example of
`bookmark-make-cell-for-text-file'.
(Info-bookmark-jump): Don't require info inside info.el.
Stefan Monnier [Fri, 1 Feb 2008 01:43:36 +0000 (01:43 +0000)]
(image-mode-current-vscroll, image-mode-current-hscroll): Make buffer-local.
(image-set-window-vscroll, image-set-window-hscroll): Simplify.
(image-reset-current-vhscroll): Use the latest setting when displaying
for the first time in a window. Apply to all windows in the frame.
(image-mode): Don't make image-mode-current-[vh]scroll buffer-local.
Kenichi Handa [Thu, 31 Jan 2008 11:27:46 +0000 (11:27 +0000)]
(CCL_WRITE_CHAR): Increment extra_bytes only when
ccl->eight_bit_control. Fix check for buffer overflow.
(CCL_WRITE_MULTIBYTE_CHAR): Fix check for buffer overflow.
(ccl_driver): Initialize extra_bytes to 0.
Tassilo Horn [Wed, 30 Jan 2008 18:53:38 +0000 (18:53 +0000)]
2008-01-30 Tassilo Horn <tassilo@member.fsf.org>
* info.el (Info-bookmark-make-cell, Info-bookmark-jump): New
functions. Implement bookmark support the new make-cell/handler
way.
(Info-mode): Bind bookmark-make-cell-function to
Info-bookmark-make-cell buffer locally.
Michael Albinus [Tue, 29 Jan 2008 21:14:04 +0000 (21:14 +0000)]
* net/tramp.el (tramp-methods): Use "-H" option for "sudo". Suggested
by Trent W. Buck <trentbuck@gmail.com>. Make ("%h") a single
element in "plinkx".
(tramp-handle-shell-command): Reuse "*Async Shell Command*" or
"*Shell Command Output*" buffers. Check, whether there is already
an asynchronous process running. Display always the buffer of the
asynchronous process.
(tramp-compute-multi-hops): Adapt error message.
Alan Mackenzie [Tue, 29 Jan 2008 20:33:38 +0000 (20:33 +0000)]
(c-specifier-key): Exclude "template" from this regexp; to allow the "{"
of a template function to be correctly anchored on "template", not the
following "<".
Alan Mackenzie [Tue, 29 Jan 2008 20:30:54 +0000 (20:30 +0000)]
(c-specifier-key): Exclude "template" from this regexp; to allow the "{"
of a template function to be correctly anchored on "template", not the
following "<".
Tassilo Horn [Tue, 29 Jan 2008 13:49:05 +0000 (13:49 +0000)]
2008-01-29 Tassilo Horn <tassilo@member.fsf.org>
* image-mode.el (image-mode-current-vscroll)
(image-mode-current-hscroll): New variables.
(image-set-window-hscroll, image-set-window-vscroll): New
functions.
(image-forward-hscroll, image-next-line, image-bol, image-eol)
(image-bob, image-eob): Use them.
(image-reset-current-vhscroll): New function.
(image-mode): Make new variables buffer-local and reset [vh]scroll
on window configuration changes.
John Wiegley [Tue, 29 Jan 2008 03:52:05 +0000 (03:52 +0000)]
2008-01-29 John Wiegley <johnw@newartisans.com>
* url-auth.el (url-digest-auth): If the 'opaque' argument is not
being used, don't add it to the response text. Also, changed an
if so that the interaction between the PROMPT and OVERWRITE
arguments can no longer result in the user being queried twice for
the same login and password information.
Stefan Monnier [Mon, 28 Jan 2008 19:05:13 +0000 (19:05 +0000)]
* window.c (run_window_configuration_change_hook): New function.
Code extracted from set_window_buffer. Set the selected frame.
(set_window_buffer): Use it.
* window.h (run_window_configuration_change_hook): Declare.
* dispnew.c (change_frame_size_1): Use it instead of set-window-buffer.