1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
emacs/doc/misc
Michael Albinus 21f54feee8 Do not hardcode "/bin/sh" in compile. Bug#24338, Bug#29723
* doc/emacs/custom.texi (Connection Variables): New node.

* doc/emacs/emacs.texi (Top): Add entry for Connection Variables.

* doc/emacs/misc.texi (Single Shell): Mention default value for
remote buffers.

* doc/lispref/variables.texi (Connection Local Variables):
Describe `with-connection-local-variables' instead of
`with-connection-local-profiles'.

* doc/misc/tramp.texi (Remote processes): Refer to Emacs manual.
Mention default connection-local settings for `shell-file-name'
and `shell-command-switch'.

* etc/NEWS: Mention connection-local variables changes.

* lisp/files-x.el (hack-connection-local-variables):
Push connection-local variables to `file-local-variables-alist'.
(connection-local-criteria-for-default-directory): New defsubst.
(with-connection-local-variables): Rename from
`with-connection-local-profiles'.  Adapt implementation.

* lisp/files.el (hack-local-variables):
Call `hack-connection-local-variables'.

* lisp/shell.el (shell): Use `with-connection-local-variables'.

* lisp/subr.el (start-file-process-shell-command):
* lisp/progmodes/compile.el (compilation-start):
Use `with-connection-local-variables'.  Do not set "/bin/sh" for
remote buffers, trust settings of `shell-file-name'.  (Bug#24338),
(Bug#29723)

* lisp/net/ange-ftp.el (ange-ftp-compress, ange-ftp-uncompress):
Use `shell-command-switch'.

* lisp/net/tramp-adb.el (tramp-adb-connection-local-default-profile):
New defvar.  Add it to connection-local profiles after loading "shell".

* lisp/net/tramp-integration.el (tramp-compat): Require tramp-compat.
(tramp-compat-exec-path): Do not declare anymore.
(tramp-connection-local-safe-shell-file-names): New defvar.
(tramp-connection-local-default-profile): New defconst.  Activate
it after loading "shell".
(shell-file-name, shell-command-switch): Add safe-local-variable
property.

* lisp/net/tramp-sh.el (tramp-display-escape-sequence-regexp):
Add tramp-autoload cookie.

* test/lisp/files-x-tests.el (remote-shell-file-name):
Add safe-local-variable property to remote-* variables.
(tramp-connection-local-default-profile): Declare.
(files-x-test-with-connection-local-variables):
Rename from `files-x-test-with-connection-local-profiles'.  Adapt
implementation.

* test/lisp/net/tramp-tests.el
(tramp-test34-connection-local-variables): New test.
(tramp-test34-explicit-shell-file-name): Run it also for tramp-adb.
Bind connection-local-{profile,criteria}-alist.  Use tramp-adb
specific `shell-file-name'.  Add safe-local-variable property to
`explicit-shell-file-name' and `explicit-sh-args'.
2019-03-09 16:44:24 +01:00
..
ada-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
auth.texi Remove gnus-overrides.texi 2019-03-05 21:55:09 -08:00
autotype.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
bovine.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
calc.texi Merge from origin/emacs-26 2019-03-01 09:40:22 -08:00
cc-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ChangeLog.1 Update copyright year to 2019 2019-01-01 01:01:13 +00:00
cl.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
dbus.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
dired-x.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
doclicense.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
ebrowse.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ede.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
ediff.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
edt.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
efaq-w32.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
efaq.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eieio.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
emacs-gnutls.texi Check for client certificates when using GnuTLS 2019-01-24 11:36:47 +01:00
emacs-mime.texi Remove gnus-overrides.texi 2019-03-05 21:55:09 -08:00
epa.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
erc.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ert.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
eshell.texi Merge from origin/emacs-26 2019-02-20 12:07:22 -08:00
eudc.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
eww.texi Add documentation for last change in eww.el 2019-02-15 10:33:01 +02:00
flymake.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
forms.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
gnus-coding.texi * doc/misc/gnus-coding.texi: Remove no longer relevant sections. 2019-03-05 22:27:35 -08:00
gnus-faq.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
gnus.texi * doc/misc/gnus.texi (New Features): Refer to NEWS for newer items. 2019-03-05 22:22:12 -08:00
gpl.texi Merge from Gnulib 2017-10-01 18:31:10 -07:00
htmlfontify.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
idlwave.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ido.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
info.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
mairix-el.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
Makefile.in Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
message.texi Remove gnus-overrides.texi 2019-03-05 21:55:09 -08:00
mh-e.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
newsticker.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
nxml-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
octave-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
org.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
pcl-cvs.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
pgg.texi Remove gnus-overrides.texi 2019-03-05 21:55:09 -08:00
rcirc.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
reftex.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
remember.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
sasl.texi Remove gnus-overrides.texi 2019-03-05 21:55:09 -08:00
sc.texi Update citations of Internet RFCs 2019-02-16 12:00:02 -08:00
sem-user.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
semantic.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
ses.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
sieve.texi Remove gnus-overrides.texi 2019-03-05 21:55:09 -08:00
smtpmail.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
speedbar.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
srecode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
texinfo.tex Update from Gnulib 2019-02-25 08:27:40 -08:00
todo-mode.texi Update copyright year to 2019 2019-01-01 01:01:13 +00:00
tramp.texi Do not hardcode "/bin/sh" in compile. Bug#24338, Bug#29723 2019-03-09 16:44:24 +01:00
trampver.texi Respect setgid bit of the upper directory in Tramp 2019-01-22 10:38:49 +01:00
url.texi Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
vhdl-mode.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
vip.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
viper.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
widget.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
wisent.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00
woman.texi Fix copyright years by hand 2019-01-01 01:02:40 +00:00