From: Jim Porter <jporterbugs@gmail.com>
To: Milan Zimmermann <milan.zimmermann@gmail.com>, 59752@debbugs.gnu.org
Subject: bug#59752: 29.0.60; Eshell: Brace inside comment in {..} confuses Eshell parser
Date: Thu, 1 Dec 2022 17:58:36 -0800 [thread overview]
Message-ID: <75e5a736-b055-e007-dbd6-82a03ca62857@gmail.com> (raw)
In-Reply-To: <CAEc2VK3t9fZaW7zsgxHmGJZ9QkAqLxVzbF9c=+hkgni9TMPmnw@mail.gmail.com>
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 parent reply other threads:[~2022-12-02 1:58 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-02 1:34 bug#59752: 29.0.60; Eshell: Brace inside comment in {..} confuses Eshell parser Milan Zimmermann
2022-12-02 1:58 ` Jim Porter [this message]
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=75e5a736-b055-e007-dbd6-82a03ca62857@gmail.com \
--to=jporterbugs@gmail.com \
--cc=59752@debbugs.gnu.org \
--cc=milan.zimmermann@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).