|
From: | Jim Porter |
Subject: | 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.
[Prev in Thread] | Current Thread | [Next in Thread] |