GNU bug report logs -
#59622
29.0.50; [PATCH] Regression in Eshell's handling of escaped newlines
Previous Next
Reported by: Jim Porter <jporterbugs <at> gmail.com>
Date: Sun, 27 Nov 2022 00:38:01 UTC
Severity: normal
Tags: patch
Found in version 29.0.50
Done: Jim Porter <jporterbugs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #29 received at 59622 <at> debbugs.gnu.org (full text, mbox):
On 12/7/2022 5:34 AM, Eli Zaretskii wrote:
>> Date: Tue, 6 Dec 2022 20:18:30 -0800
>> Cc: 59622 <at> debbugs.gnu.org
>> From: Jim Porter <jporterbugs <at> gmail.com>
>>
>> I also split the patch in two: the first patch for the 29 branch (which
>> makes the least code changes I could manage), and the second as an
>> additional small cleanup patch for master only.
>
> Since which Emacs version do we have this regression? If it's a very
> old regression, I'd prefer not to fix it on the emacs-29 branch.
This worked properly in Emacs 28 and is broken in 29. I'm not 100% sure
which patch regressed it, but my guess is patch 0003 in bug#54227, which
was merged in March.
>> @subsection Quoting and escaping
>> As with other shells, you can escape special characters and spaces
>> -with by prefixing the character with a backslash (@code{\}), or by
>> -surrounding the string with apostrophes (@code{''}) or double quotes
>> -(@code{""}). This is needed especially for file names with special
>> -characters like pipe (@code{|}), which could be part of remote file
>> +with by prefixing the character with a backslash (@samp{\}), or by
>
> "with by prefixing" is a typo; probably "with" should be dropped.
Good catch! I missed that despite reading it a few times while editing
the manual.
This bug report was last modified 2 years and 161 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.