GNU bug report logs - #56821
[PATCH] * subr.el (buffer-match-p): Add t as trivial a condition

Previous Next

Package: emacs;

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

Date: Fri, 29 Jul 2022 12:02:02 UTC

Severity: normal

Tags: patch

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: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#56821: closed ([PATCH] * subr.el (buffer-match-p): Add t as
 trivial a condition)
Date: Sat, 30 Jul 2022 10:44:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 30 Jul 2022 10:43:22 +0000
with message-id <87ilnenanp.fsf <at> posteo.net>
and subject line Re: bug#56821: [PATCH] * subr.el (buffer-match-p): Add t as trivial a condition
has caused the debbugs.gnu.org bug report #56821,
regarding [PATCH] * subr.el (buffer-match-p): Add t as trivial a condition
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
56821: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=56821
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Philip Kaludercic <philipk <at> posteo.net>
To: bug-gnu-emacs <at> gnu.org
Subject: [PATCH] * subr.el (buffer-match-p): Add t as trivial a condition
Date: Fri, 29 Jul 2022 12:01:32 +0000
[Message part 3 (text/plain, inline)]
Tags: patch


The proposed patch adds a simple condition to buffer-match-p, that had
previously either be expressed using an empty string (or any regular
expression that matches all words), an empty (and) or a symbol like
`always'.  I think it would be intuitive to add t, especially when
considering new user options like `outline-minor-mode-use-buttons' being
added that indicate they should be used as boolean value.

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6)
 of 2022-07-29 built on rhea
Repository revision: dedd05d2831d650b07cd9f0c639bdc8eb3bef1e4
Repository branch: master
System Description: Fedora Linux 36 (Workstation Edition)

Configured using:
 'configure --with-pgtk --with-imagemagick 'CFLAGS=-march=native -O2
 -pipe' LDFLAGS=-flto'

[0001-subr.el-buffer-match-p-Add-t-as-trivial-a-condition.patch (text/patch, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Philip Kaludercic <philipk <at> posteo.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 56821-done <at> debbugs.gnu.org
Subject: Re: bug#56821: [PATCH] * subr.el (buffer-match-p): Add t as trivial
 a condition
Date: Sat, 30 Jul 2022 10:43:22 +0000
Philip Kaludercic <philip.kaludercic <at> fau.de> writes:

> Lars Ingebrigtsen <larsi <at> gnus.org> writes:
>
>> Philip Kaludercic <philipk <at> posteo.net> writes:
>>
>>> The proposed patch adds a simple condition to buffer-match-p, that had
>>> previously either be expressed using an empty string (or any regular
>>> expression that matches all words), an empty (and) or a symbol like
>>> `always'.  I think it would be intuitive to add t, especially when
>>> considering new user options like `outline-minor-mode-use-buttons' being
>>> added that indicate they should be used as boolean value.
>>
>> Makes sense to me.
>
> Ok, I would push the commit in that case.

Done.


This bug report was last modified 3 years and 28 days ago.

Previous Next


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