GNU bug report logs - #58951
[PATCH] ; Fix handling of 'not' by 'buffer-match-p'

Previous Next

Package: emacs;

Reported by: Philip Kaludercic <philipk <at> posteo.net>

Date: Tue, 1 Nov 2022 19:37:02 UTC

Severity: normal

Tags: patch

Fixed in version 29.1

Done: Philip Kaludercic <philipk <at> posteo.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mattias EngdegÄrd <mattiase <at> acm.org>
Cc: philipk <at> posteo.net, 58951 <at> debbugs.gnu.org
Subject: bug#58951: [PATCH] ; Fix handling of 'not' by 'buffer-match-p'
Date: Sat, 31 Dec 2022 18:34:15 +0200
> Cc: 58951 <at> debbugs.gnu.org
> From: Mattias EngdegÄrd <mattiase <at> acm.org>
> Date: Sat, 31 Dec 2022 17:26:02 +0100
> 
> >     (not . CONDITION)
> > 
> > while it is more natural to write
> > 
> >     (not CONDITION)
> 
> Shouldn't then the `derived-mode` and `major-mode` operators be changed in the same way?

In fact, that change cause errors in timer function of
show-paren-mode, so I've reverted it for now.

> And shouldn't there be tests? For all of `buffer-match-p`, in fact?

Ideally, yes.




This bug report was last modified 2 years and 140 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.