|
From: | Dmitry Gutov |
Subject: | bug#58951: [PATCH] ; Fix handling of 'not' by 'buffer-match-p' |
Date: | Wed, 2 Nov 2022 00:09:11 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 |
On 01.11.2022 21:36, Philip Kaludercic wrote:
I believe this is preferable to fixing `show-paren-predicate', as this is the kind of issue a lot of people could trip over. This patch is based on the patch from bug#58950, but can be back-ported to the previous implementations if there are any issues with that report.
I do agree that (not foo) is more convenient than (not . foo). Though the latter would be more regular compared to the rest of the syntax. I made just that mistake yesterday.
Let's change 'pcase' to 'pcase-exhaustive', though? So it will signal an error on invalid syntax.
[Prev in Thread] | Current Thread | [Next in Thread] |