Michael Albinus [Sun, 21 Oct 2007 14:02:38 +0000 (14:02 +0000)]
* net/tramp.el (top): Put load of all tramp-* files into a dolist.
Require tramp-cmds.el.
(tramp-make-tramp-temp-file): We can get rid of DONT-CREATE.
(tramp-handle-file-name-all-completions): Expand DIRECTORY.
(tramp-do-copy-or-rename-file-directly): Make more rigid checks.
(tramp-do-copy-or-rename-file-out-of-band)
(tramp-maybe-open-connection): Use `make-temp-name'. This is
possible, because we don't need to create the temporary file, but
we need a prefix for ssh, which has its own temporary file
handling.
(tramp-handle-delete-directory): Add "-f" to rmdir.
(tramp-handle-dired-recursive-delete-directory): Call "rm -rf".
(tramp-handle-insert-file-contents): Don't raise a tramp-error but
a signal, in order to give the callee a chance to suppress.
(tramp-handle-write-region): Set owner also in case of short
track. Don't use compatibility calls for `write-region' anymore.
(tramp-clear-passwd): Add parameter VEC. Adapt all callees.
(tramp-append-tramp-buffers): Apply `tramp-list-tramp-buffers'.
* net/tramp-cmds.el: New file.
* net/tramp-gw.el (tramp-gw-basic-authentication): Apply VEC to
`tramp-clear-passwd'.
Dan Nicolaescu [Sun, 21 Oct 2007 00:24:32 +0000 (00:24 +0000)]
* textmodes/reftex.el: Move require easymenu before first use.
(reftex-info): Require info at compile too.
* textmodes/org-publish.el (org-publish-org-to-html)
(org-publish-org-to): Require org at compile time too.
(org-publish-attachment): Require at compile time too.
Eli Zaretskii [Sat, 20 Oct 2007 12:28:52 +0000 (12:28 +0000)]
A better solution for the last change:
(docflags, doldflags): New variables.
(genmakefiles): Use them to work around problems with whitespace in
arguments of the `if' command.
Stefan Monnier [Sat, 20 Oct 2007 02:02:22 +0000 (02:02 +0000)]
(diff-auto-refine): New var.
(diff-hunk): Use it.
(diff-ignore-whitespace-hunk): Rename diff-refine-ignore-spaces-hunk.
(diff-refine-change): Rename from diff-fine-change. Change it.
(diff-refine-preproc): Rename from diff-fine-highlight-preproc.
(diff-refine-hunk): Rename from diff-fine-highlight.
(describe-variable-custom-version-info): New function to return
variable's version or package version note.
(describe-variable): Use it, display result.
Jay Belanger [Sat, 20 Oct 2007 00:48:06 +0000 (00:48 +0000)]
(History and Acknowledgements): Turn comment about integer size into
past tense.
(Time Zones): Remove pointer to Calc author's address.
(Trigonometric and Hyperbolic Functions): Mention cotangent and
hyperbolic cotangent functions.
Stefan Monnier [Fri, 19 Oct 2007 20:59:49 +0000 (20:59 +0000)]
Remove `diff-tree' operation, now subsumed by `diff'.
Also `revision-completion-table' now takes a list of files.
(vc-deduce-fileset): Remove unused var `regexp'.
Only obey allow-directory-wildcard in dired buffers.
(vc-default-diff-tree): Remove.
(vc-diff-added-files): New var.
(vc-diff-internal): Use it. Remove arg `backend'. Update callers.
(vc-version-diff): Revert from `vc-history-diff' to the original name.
Remove the `backend' arg.
(vc-contains-version-controlled-file): Remove.
(vc-diff): Bring it closer to the version in Emacs-22.
(vc-revert): Fix typo in let-binding.
(vc-default-unregister): Remove.
(vc-dired-buffers-for-dir): Remove N^2 behavior.
Stefan Monnier [Fri, 19 Oct 2007 17:16:43 +0000 (17:16 +0000)]
(diff-fine-highlight-preproc): Stick to minimal changes
which will not affect the behavior of things like forward-word.
(diff-fine-highlight): Preserve point.
Stefan Monnier [Fri, 19 Oct 2007 15:59:13 +0000 (15:59 +0000)]
Add word-granularity refinement.
(smerge-refine-forward-function, smerge-refine-ignore-whitespace)
(smerge-refine-weight-hack): New vars.
(smerge-refine-forward): New fun.
(smerge-refine-chopup-region, smerge-refine-highlight-change): Use them.
(smerge-refine-subst): Use them as well. Preserve point.
(unload-function-features-list): Rename from `unload-hook-features-list'.
(unload-hook-features-list): Add as obsolete alias.
(unload-feature): Use `unload-function-features-list'
and new FEATURE-unload-function.
(unload-function-features-list): Rename from `unload-hook-features-list'.
(unload-hook-features-list): Add as obsolete alias.
(unload-feature): Use `unload-function-features-list'
and new FEATURE-unload-function.
Katsumi Yamaoka [Thu, 18 Oct 2007 22:49:05 +0000 (22:49 +0000)]
From_ Johan Bockgrd, <http://article.gmane.org/gmane.emacs.devel/81056>
* net/tramp.el (tramp-rfn-eshadow-update-overlay): Save excursion.
Use `save-restriction' rather than `widen'.
Stefan Monnier [Thu, 18 Oct 2007 19:06:44 +0000 (19:06 +0000)]
Don't change the global function-key-map anny more.
(xterm-mouse-mode): Use terminal-init-xterm-hook. Don't use
after-make-frame-functions now that term/xterm.el calls us directly.
(turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking):
Use turn-*-xterm-mouse-tracking-on-terminal. Only once per terminal.
(turn-on-xterm-mouse-tracking-on-terminal): Make param optional.
Setup input-decode-map and remember that xterm-mouse-mode was
enabled in this terminal.
(turn-off-xterm-mouse-tracking-on-terminal): Only disable on those
terminals where it has been enabled.
Stefan Monnier [Thu, 18 Oct 2007 19:02:23 +0000 (19:02 +0000)]
(tty-create-frame-with-faces): Make sure not only
tty-run-terminal-initialization but also set-locale-environment
are run only once per terminal.
(tty-run-terminal-initialization): Don't check if the terminal was
already initted.
Stefan Monnier [Thu, 18 Oct 2007 18:53:28 +0000 (18:53 +0000)]
(encoded-kbd-setup-display): Be careful not to remove keymaps that just
happen to inherit from one of ours. When setting up our keymap, make sure
it won't be accidentally modified by someone else.