GNU bug report logs - #75714
31.0.50; Empty search string gives error in Customize buffer

Previous Next

Package: emacs;

Reported by: Mauro Aranda <maurooaranda <at> gmail.com>

Date: Tue, 21 Jan 2025 00:03:02 UTC

Severity: minor

Tags: patch

Found in version 31.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: Drew Adams <drew.adams <at> oracle.com>, "75714 <at> debbugs.gnu.org" <75714 <at> debbugs.gnu.org>
Subject: bug#75714: 31.0.50; Empty search string gives error in Customize buffer
Date: Mon, 20 Jan 2025 21:24:32 -0300
[Message part 1 (text/plain, inline)]
tags 75714 patch
quit

Drew Adams <drew.adams <at> oracle.com> writes:

>> After emacs -Q do:
>> M-x customize-group RET RET
>> C-n 3 times, to get to the Search field.
>> RET
>>
>> This gives an error:
>> apropos-parse-pattern: Wrong type argument: stringp, nil
>>
>> It'd be a tiny improvement to message the user instead.
>
> Good catch.

Thanks Drew.  Although it was pure luck: I was trying to improve other
aspects of the editable-field widget.

> FWIW, this goes back to Emacs 24, when
> the Search field was introduced.

Let's not let it turn 15 years old.  I attach a patch.
[0001-Avoid-error-with-empty-search-string-in-Customize.patch (text/x-patch, attachment)]

This bug report was last modified 171 days ago.

Previous Next


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