From: Lars Ingebrigtsen <larsi@gnus.org>
To: Pierre Neidhardt <mail@ambrevar.xyz>
Cc: 28320@debbugs.gnu.org, Pierre Neidhardt <ambrevar@gmail.com>
Subject: bug#28320: 25.2; Eshell/TRAMP's sudo does not work with aliases
Date: Sat, 13 Feb 2021 22:15:53 +0100 [thread overview]
Message-ID: <87h7mfoeie.fsf@gnus.org> (raw)
In-Reply-To: <87sg5zq5w6.fsf@ambrevar.xyz> (Pierre Neidhardt's message of "Sat, 13 Feb 2021 17:39:05 +0100")
Pierre Neidhardt <mail@ambrevar.xyz> writes:
> Note that the behaviour of "sudo ..." maybe depend on
> eshell-prefer-lisp-functions.
> If it's set to nil, then "*sudo" and "sudo" are the same, which explains
> the consistency you are seeing.
I tried
M-: (setq eshell-prefer-lisp-functions t) RET
and then:
~/src/emacs/trunk $ sudo c foo /etc/bar
[sudo] password for larsi:
sudo: c: command not found
~/src/emacs/trunk $ *sudo c foo /etc/bar
[sudo] password for larsi:
sudo: c: command not found
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-02-13 21:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-01 17:06 bug#28320: 25.2; Eshell/TRAMP's sudo does not work with aliases Pierre Neidhardt
2021-02-05 11:24 ` Lars Ingebrigtsen
2021-02-12 10:30 ` Pierre Neidhardt
2021-02-13 12:00 ` Lars Ingebrigtsen
2021-02-13 16:39 ` Pierre Neidhardt
2021-02-13 21:15 ` Lars Ingebrigtsen [this message]
2021-02-14 7:58 ` Pierre Neidhardt
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=87h7mfoeie.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=28320@debbugs.gnu.org \
--cc=ambrevar@gmail.com \
--cc=mail@ambrevar.xyz \
/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).