unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Shuguang Sun <shuguang79@qq.com>
To: Shuguang Sun <shuguang79@qq.com>
Cc: 34943@debbugs.gnu.org
Subject: bug#34943: 27.0.50; Tramp explicte-shell-file-name not work and not safe local variable
Date: Fri, 22 Mar 2019 15:56:55 +0800	[thread overview]
Message-ID: <24178.8921573729$1553241499@news.gmane.org> (raw)
In-Reply-To: <31262.7570166782$1553240177@news.gmane.org> (Shuguang Sun's message of "Fri, 22 Mar 2019 15:16:13 +0800")



Shuguang Sun <shuguang79@qq.com> writes:
> I see that according to the 49.2.6 Per-Connection Local Variables, it use shell-file-name now.

1. shell-file-name to "/bin/bash" defaultly not safey local variables, and it pops to (Y/N/!) buffer
```
  (connection-local-set-profile-variables   'remote-bash
   '((shell-file-name . "/bin/bash")
     (shell-command-switch . "-c")))
```
2. In this setting, M-x shell whill ask the path to the shell like:
/plink:username@host.com:/opt/home/username//bin/bash
Even I change to (shell-file-name . "/usr/bin/bash"), it is the same. Bothe /bin/bash and /usr/bin/bash exist.



-- 
Best Regards
Shuguang Sun







  reply	other threads:[~2019-03-22  7:56 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-03-22  6:17 bug#34943: 27.0.50; Tramp explicte-shell-file-name not work and not safe local variable Shuguang Sun
2019-03-22  7:16 ` Shuguang Sun
2019-03-22  7:56   ` Shuguang Sun [this message]
2019-03-22 14:14   ` Michael Albinus
2019-03-22 14:13 ` Michael Albinus
2019-03-23  4:13   ` Shuguang Sun
     [not found]   ` <vk5ybm229qin.fsf@qq.com>
2019-03-23  8:59     ` Michael Albinus
2019-03-23 15:41       ` Shuguang Sun
2019-03-24 12:42         ` Michael Albinus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='24178.8921573729$1553241499@news.gmane.org' \
    --to=shuguang79@qq.com \
    --cc=34943@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).