GNU bug report logs - #72328
[PATCH] Nested backquote in pcase

Previous Next

Package: emacs;

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

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Thuna <thuna.cing <at> gmail.com>
Cc: 72328 <at> debbugs.gnu.org
Subject: bug#72328: [PATCH] Nested backquote in pcase
Date: Sun, 28 Jul 2024 16:52:09 +0200
Hello Thuna,

> a comma should match its argument as a pattern only if it escapes the
> original backquote (currently comma at all depths "escape" the
> original backquote).

why do you want to behave `pcase' like that?

This would be a backward-incompatible change, breaking existing code.

And this change would break the symmetry between `backquote' the macro
and backquote patterns in `pcase'.  This is an important design idea.
And I don't see any advantage either.


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.