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 #38 received at 76055 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Eli Zaretskii <eliz <at> gnu.org>, Stefan Kangas <stefankangas <at> gmail.com>
Cc: "76055 <at> debbugs.gnu.org" <76055 <at> debbugs.gnu.org>
Subject: RE: [External] : Re: bug#76055: 29.4; Doc of string-empty-p
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 '##) ; => ""




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.