unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Alfonso Sanchez-Beato via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Stefan Kangas <stefankangas@gmail.com>,
	Jim Porter <jporterbugs@gmail.com>
Cc: "68074@debbugs.gnu.org" <68074@debbugs.gnu.org>
Subject: bug#68074: eshell sudo/doas does not work for aliases
Date: Sat, 27 Jan 2024 08:46:10 +0000 (UTC)	[thread overview]
Message-ID: <2135837382.2409214.1706345170815@mail.yahoo.com> (raw)
In-Reply-To: <ea3ab32a-22b7-fa3e-6778-35be903c768c@gmail.com>


 En sábado, 27 de enero de 2024, 01:19:32 GMT, Jim Porter <jporterbugs@gmail.com> escribió: 


On 1/26/2024 4:27 PM, Jim Porter wrote:

>> On 1/26/2024 3:53 PM, Alfonso Sanchez-Beato via Bug reports for GNU 
>> Emacs, the Swiss army knife of text editors wrote:
>>> Unfortunately that does not seem to be the case, I see an error saying 
>>> "Invalid function" after applying on top of current master:
>> 
>> Oops, I messed up the quoting. How about this?


> ... actually, this is a more-complete patch. I'm not 100% sure about 
> this part though:
>
>  ',(car args)
>
> That (usually) creates something like (quote "command"), but it's safer 
> than not quoting (the CAR of 'args' can be anything, really...)

This last patch works nicely, thanks a lot! It works also in cases where my patch was not, like:

$ eshell/sudo VAR=val <alias> ...





  reply	other threads:[~2024-01-27  8:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <31356544.8861481.1703711546895.ref@mail.yahoo.com>
2023-12-27 21:12 ` bug#68074: eshell sudo/doas does not work for aliases Alfonso Sanchez-Beato via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-11 21:00   ` Stefan Kangas
2024-01-11 21:15     ` Jim Porter
2024-01-25  2:43       ` Jim Porter
2024-01-26 23:53         ` Alfonso Sanchez-Beato via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-01-27  0:27           ` Jim Porter
2024-01-27  1:19             ` Jim Porter
2024-01-27  8:46               ` Alfonso Sanchez-Beato via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2024-01-27 20:24                 ` Jim Porter

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=2135837382.2409214.1706345170815@mail.yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=68074@debbugs.gnu.org \
    --cc=alfonsosanchezbeato@yahoo.es \
    --cc=jporterbugs@gmail.com \
    --cc=stefankangas@gmail.com \
    /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).