(indent_tabs_mode, last_known_column, last_known_column_modified): Make static.
(syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring.
Stefan Monnier [Tue, 9 Oct 2007 05:05:39 +0000 (05:05 +0000)]
Add new `input-decode-map' keymap and use it for temrinal
escape sequences.
* keyboard.h (struct kboard): Add Vinput_decode_map.
Remove Vlocal_key_translation_map.
* keyboard.c (read_key_sequence): Add support for input-decode-map.
(init_kboard): Init input-decode-map.
Replace local-key-translation-map back with key-translation-map.
(syms_of_keyboard): Declare input-decode-map.
Remove local-key-translation-map. Update docstrings.
(mark_kboards): Mark Vinput_decode_map.
Don't mark Vlocal_key_translation_map.
* keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map.
Replace local-key-translation-map back with key-translation-map.
* term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN):
Bind in input-decode-map rather than function-key-map.
Stefan Monnier [Tue, 9 Oct 2007 04:25:14 +0000 (04:25 +0000)]
(describe-variable): Slightly change the layout of
meta-info to separate it better from the docstring.
Standardize insertion of extra empty lines in various circumstances.
Stefan Monnier [Tue, 9 Oct 2007 04:12:24 +0000 (04:12 +0000)]
(diff-hunk-style): New fun.
(diff-end-of-hunk): Use it.
(diff-context->unified): Use the new `apply' undo element, if applicable,
so as to save undo-log space.
(diff-fine-change): New face.
(diff-fine-highlight-preproc): New function.
(diff-fine-highlight): New command.
Stefan Monnier [Tue, 9 Oct 2007 03:38:57 +0000 (03:38 +0000)]
(smerge-refine-chopup-region): Add `preproc' argument.
(smerge-refine-highlight-change): Add `props' argument.
(smerge-refine-subst): New function holding most of smerge-refine.
(smerge-refine): Use it.
(internal_condition_case_2, internal_condition_case_1)
(internal_condition_case): Reenable abort if x_catching_errors (),
to see if that really happens and why.
Juri Linkov [Sat, 6 Oct 2007 22:17:16 +0000 (22:17 +0000)]
(tutorial--default-keys): Replace fill-paragraph
with fill-paragraph-or-region. Suspend command is now the same
`suspend-frame' on window systems and on tty.
Michael Albinus [Sat, 6 Oct 2007 15:25:50 +0000 (15:25 +0000)]
* net/tramp.el (tramp-completion-mode): Extend doc-string.
(tramp-completion-mode-p): Revert change from 2007-09-24.
Checking for `return' etc as last character is not sufficient, for
example in dired-mode when entering <g> (revert-buffer) or
<s> (dired-sort).
Michael Albinus [Sat, 6 Oct 2007 12:00:42 +0000 (12:00 +0000)]
* net/tramp.el (top): Move loading of tramp-util.el and
tramp-vc.el to tramp-compat.el.
(tramp-make-tramp-temp-file): Complete rewrite. Create remote
temporary file if possible, in order to avoid a security hole.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Call `tramp-make-tramp-temp-file'
with DONT-CREATE, because the connection is not setup yet.
(tramp-handle-process-file): Rewrite temporary file handling.
(tramp-completion-mode): New defvar.
(tramp-completion-mode-p): Use it.
* net/tramp-compat.el (top): Load tramp-util.el and tramp-vc.el.
* net/tramp-fish.el (tramp-fish-handle-process-file): Rewrite
temporary file handling.
Eric S. Raymond [Sat, 6 Oct 2007 11:14:32 +0000 (11:14 +0000)]
Port various comments from new VC to reduce the noise in the diff.
Rename vc-revert-buffer1 to vc-revert-buffer-internal.
Patch in the new vc-create-repo function to go with the
header comment about it already present.
No changes to existing logic.
Martin Rudalics [Sat, 6 Oct 2007 10:19:45 +0000 (10:19 +0000)]
(mouse-autoselect-window-cancel): Don't cancel for
select-window or select-frame events.
(handle-select-window): When autoselecting window set input
focus. Restructure.
Eric S. Raymond [Sat, 6 Oct 2007 10:09:19 +0000 (10:09 +0000)]
More manual updates and additions bringing it current with modern
VCSes. This includes the workfile version -> focus version
terminology change, but not the UI changes for new VC.