GNU bug report logs - #54470
29.0.50; [PATCH] Add documentation/tests for Eshell argument expansion

Previous Next

Package: emacs;

Reported by: Jim Porter <jporterbugs <at> gmail.com>

Date: Sun, 20 Mar 2022 01:35:02 UTC

Severity: normal

Tags: patch

Found in version 29.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 54470 <at> debbugs.gnu.org (full text, mbox):

From: Jim Porter <jporterbugs <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 54470 <at> debbugs.gnu.org
Subject: Re: bug#54470: 29.0.50; [PATCH] Add documentation/tests for Eshell
 argument expansion
Date: Sun, 27 Mar 2022 19:29:43 -0700
On 3/20/2022 1:57 PM, Jim Porter wrote:
> On 3/20/2022 12:05 AM, Eli Zaretskii wrote:
>> The use of quotes 'like this', here and elsewhere in a similar
>> context, begs the question: how to specify names that have embedded
>> single-quote characters in them?
> 
> "Very carefully." :)
> 
> Seriously though, this is an area I don't fully understand yet, but in 
> which I've found several bugs (or at least I think they're bugs). As 
> such, I intentionally avoided documenting this since it's pretty 
> confusing.

I narrowed down one of the bugs I mentioned here (and fixed it): bug#54603.

There are still a few other issues with quoting/escaping in argument 
predicates/modifiers. I can work on fixing these in a separate bug, or 
update my patches in this bug if you prefer. I lean very slightly 
towards the former, since the quoting/escaping logic could use some 
changes to be more consistent. That seems different enough from this bug 
that I think it'd be simpler to separate them. That said, if you'd 
prefer I do this all in this bug, that's ok too.




This bug report was last modified 3 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.