GNU bug report logs - #59752
29.0.60; Eshell: Brace inside comment in {..} confuses Eshell parser

Previous Next

Package: emacs;

Reported by: Milan Zimmermann <milan.zimmermann <at> gmail.com>

Date: Fri, 2 Dec 2022 01:35:02 UTC

Severity: normal

Found in version 29.0.60

Full log


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

From: Jim Porter <jporterbugs <at> gmail.com>
To: Milan Zimmermann <milan.zimmermann <at> gmail.com>, 59752 <at> debbugs.gnu.org
Subject: Re: bug#59752: 29.0.60; Eshell: Brace inside comment in {..} confuses
 Eshell parser
Date: Thu, 1 Dec 2022 17:58:36 -0800
On 12/1/2022 5:34 PM, Milan Zimmermann wrote:
> To duplicate:
> 
> Create a file like this:
> 
> ============
> cat ./bug-comment.esh
>   {
>            #  {
>   }
> ============

I think this is a problem in 'eshell-find-delimiter'. It should have 
some logic where it skips over comments. Maybe something earlier in the 
parsing can either strip out the comments or mark them with a text 
property? Then 'eshell-find-delimiter' would know to ignore them.





This bug report was last modified 2 years and 199 days ago.

Previous Next


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