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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: 76055 <at> debbugs.gnu.org, stefankangas <at> gmail.com
Subject: bug#76055: 29.4; Doc of string-empty-p
Date: Fri, 07 Feb 2025 09:18:06 +0200
> From: Drew Adams <drew.adams <at> oracle.com>
> CC: "76055 <at> debbugs.gnu.org" <76055 <at> debbugs.gnu.org>
> Date: Thu, 6 Feb 2025 20:19:03 +0000
> 
> > However, while extending to strings comparison to symbol names could
> > make sense, telling whether a string is empty (the subject of this
> > report) is NOT: what symbol could have an empty name?
> 
> That's easy.
> 
> (intern "") gives you such a symbol.
> It's written ## (dunno why).
> 
> (symbol-name '##) ; => ""

And where did you see such symbols used in Emacs?




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.