GNU bug report logs -
#72328
[PATCH] Nested backquote in pcase
Previous Next
Reported by: Thuna <thuna.cing <at> gmail.com>
Date: Sun, 28 Jul 2024 01:06:02 UTC
Severity: normal
Tags: patch
Done: Stefan Monnier <monnier <at> iro.umontreal.ca>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Thuna <thuna.cing <at> gmail.com> writes:
> The one downside that I can see is the situation I mentioned in my
> previous message where you explicitly *want* to bypass all backquotes,
> plus the fact that this is backwards incompatible, even though to be
> effected you would need to be making use of the fact that comma behaves
> this way - which I still don't believe will be too common - though there
> could be an obsoletion period where comma still bypasses backquotes but
> warns the user to change off of that behavior. All code making use of
> the new behavior will firmly be incompatible with older versions of
> emacs for which this is not patched, however.
Ok.
I actually found something I wrote myself. In "el-search" I am using a
pattern like used here:
(pcase '`qpat (``,qpat qpat)) --> qpat
i.e. a pattern checking for backquoted QPATS. When your patch is
installed this pattern doesn't match any more. I could rewrite that of
course - I just wanted to share the example without implying anything
else.
Michael.
This bug report was last modified 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.