emacs/lisp/vc
Michael Albinus 2c0506173d Add make-nearby-temp-file' and temporary-file-directory'
* doc/lispref/files.texi (Unique File Names):
Introduce `make-nearby-temp-file' and `temporary-file-directory'.
(Magic File Names): Mention `make-nearby-temp-file' and
`temporary-file-directory'.

* etc/NEWS (provided): Mention `make-nearby-temp-file' and
`temporary-file-directory'.

* lisp/files.el (mounted-file-systems): New defcustom.
(temporary-file-directory, make-nearby-temp-file): New defuns.
(normal-backup-enable-predicate): Fix docstring.

* lisp/net/tramp-adb.el (tramp-adb-file-name-handler-alist):
* lisp/net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
* lisp/net/tramp-sh.el (tramp-sh-file-name-handler-alist):
* lisp/net/tramp-smb.el (tramp-smb-file-name-handler-alist):
<make-nearby-temp-file, temporary-file-directory>: Add handler.

* lisp/net/tramp.el (tramp-file-name-for-operation):
Add `make-nearby-temp-file' and `temporary-file-directory'.
(tramp-get-remote-tmpdir): Remove compatibility code.
(tramp-handle-temporary-file-directory)
(tramp-handle-make-nearby-temp-file): New defuns.

* lisp/org/ob-core.el (org-babel-local-file-name):
* lisp/progmodes/gud.el (gud-common-init):
* lisp/vc/vc-hooks.el (vc-user-login-name): Use `file-remote-p'.

* lisp/vc/vc-git.el (vc-git-checkin): Handle remote log message.

* test/lisp/net/tramp-tests.el (tramp-test06-directory-file-name):
Check `tramp--test-enabled'.
(tramp-test18-file-attributes): Add tests for
`file-ownership-preserved-p'.
(tramp-test27-start-file-process, tramp-test28-shell-command):
Reduce timeouts in `accept-process-output'.
(tramp-test--shell-command-to-string-asynchronously): Add timeout.
(tramp-test29-environment-variables): Remove additional sleep calls.
(tramp-test32-make-nearby-temp-file): New test.
(tramp--test-special-characters, tramp--test-utf8): Adapt docstring.
(tramp-test33-special-characters)
(tramp-test33-special-characters-with-stat)
(tramp-test33-special-characters-with-perl)
(tramp-test33-special-characters-with-ls, tramp-test34-utf8)
(tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
(tramp-test34-utf8-with-ls)
(tramp-test35-asynchronous-requests)
(tramp-test36-recursive-load, tramp-test37-unload): Rename.
(tramp--test-ftp-p): Simplify check.
(tramp--test-sh-p): New defun.
(tramp-test20-file-modes, tramp-test22-file-times)
(tramp-test26-process-file, tramp-test27-start-file-process)
(tramp-test28-shell-command)
(tramp-test29-environment-variables)
(tramp-test30-vc-registered)
(tramp-test33-special-characters-with-stat)
(tramp-test33-special-characters-with-perl)
(tramp-test33-special-characters-with-ls)
(tramp-test34-utf8-with-stat, tramp-test34-utf8-with-perl)
(tramp-test34-utf8-with-ls)
(tramp-test35-asynchronous-requests): Use it.
2016-08-07 13:57:23 +02:00
..
add-log.el Remove some face aliases obsoleted in 22.1 2016-06-23 17:13:11 -04:00
compare-w.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
cvs-status.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
diff-mode.el ; Fix breakage from previous commit 2016-06-27 16:50:09 -04:00
diff.el Fix the MSDOS build 2016-04-30 13:45:33 +03:00
ediff-diff.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-help.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-hook.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-init.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-merg.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-mult.el Mark some user options that can get evalled as risky. 2016-01-30 11:36:41 -08:00
ediff-ptch.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-util.el Prevent to apply funcall on t 2016-07-12 00:55:04 +09:00
ediff-vers.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff-wind.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
ediff.el Don't bug out on nil `patch-buf' arguments 2016-03-20 12:12:27 +01:00
emerge.el Make emerge always use shell-quote-argument 2016-08-06 16:16:02 -04:00
log-edit.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
log-view.el Fix breakage from previous change 2016-06-28 21:52:48 -04:00
pcvs-defs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcvs-info.el Remove some face aliases obsoleted in 22.1 2016-06-23 17:13:11 -04:00
pcvs-parse.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcvs-util.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
pcvs.el Expunge "allow" + infinitive without direct object from source and doc. 2016-01-24 20:30:39 +00:00
smerge-mode.el Change Smerge "Mine" and "Other" for "Upper" and "Lower. (Bug#20878) 2016-01-30 19:01:57 -08:00
vc-annotate.el ; * lisp/vc/vc-annotate.el (vc-annotate): Clarify commentary. 2016-04-01 23:22:52 +03:00
vc-bzr.el Pacify byte-compiler in lisp/vc 2016-05-10 13:40:52 -07:00
vc-cvs.el Merge from origin/emacs-25 2016-05-26 12:55:06 -07:00
vc-dav.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-dir.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-dispatcher.el make `vc-log-operation' buffer local to allow multiple simultaneous editing 2016-03-17 15:42:15 -04:00
vc-filewise.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-git.el Add make-nearby-temp-file' and temporary-file-directory' 2016-08-07 13:57:23 +02:00
vc-hg.el Pacify byte-compiler in lisp/vc 2016-05-10 13:40:52 -07:00
vc-hooks.el Add make-nearby-temp-file' and temporary-file-directory' 2016-08-07 13:57:23 +02:00
vc-mtn.el Fix typo in previous commits 2016-01-29 17:53:35 -06:00
vc-rcs.el Pacify byte-compiler in lisp/vc 2016-05-10 13:40:52 -07:00
vc-sccs.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc-src.el Pacify byte-compiler in lisp/vc 2016-05-10 13:40:52 -07:00
vc-svn.el Update copyright year to 2016 2016-01-01 01:34:24 -08:00
vc.el ; 'Changes from the pre-25.1 API' copyedits 2016-05-25 04:01:12 +03:00