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

From: Rudolf Schlatte <rudi <at> constantly.at>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#76055: 29.4; Doc of string-empty-p
Date: Fri, 07 Feb 2025 10:11:32 +0100
Stefan Kangas <stefankangas <at> gmail.com> writes:
>
> FWIW, I'm not suggesting any changes, but I admit that I never really
> understood this design decision.

[...]

> And in SBCL:
>
>     * (string= "foo" 'foo)
>     NIL

Common Lisp has the concept of "designators"
(https://www.lispworks.com/documentation/HyperSpec/Body/01_dae.htm).
The arguments of string= are documented to be "string designators"
(https://www.lispworks.com/documentation/HyperSpec/Body/26_glo_s.htm#string_designator).

I'm not suggesting that Emacs Lisp should introduce designators, just
trying to clear up what SBCL is doing here.






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.