GNU bug report logs - #76055
29.4; Doc of string-empty-p

Previous Next

Package: emacs;

Reported by: Drew Adams <drew.adams <at> oracle.com>

Date: Tue, 4 Feb 2025 20:29:01 UTC

Severity: minor

Tags: wontfix

Found in version 29.4

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 76055 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 76055 <at> debbugs.gnu.org
Subject: Re: bug#76055: 29.4; Doc of string-empty-p
Date: Wed, 05 Feb 2025 14:12:29 +0200
> Date: Tue, 4 Feb 2025 20:28:00 +0000
> From:  Drew Adams via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> The doc string should tell you that it treats a symbol for arg STRING,
> instead of a string, by checking its `symbol-name'.  E.g., like what is
> done for `string=':
> 
>  Symbols are also allowed; their print names are used instead.
> 
> This should be done for _each_ function where a string is said to be the
> expected arg but where we also allow a symbol.

I'm not sure we want to advertise this, certainly not "for _each_
function".  Who says this is not a side effect of the particular
implementation, which can therefore be changed without notice?




This bug report was last modified 131 days ago.

Previous Next


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