GNU bug report logs - #62009
29.0.60; Emacs crashes on setf symbol-name

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Mon, 6 Mar 2023 19:28:01 UTC

Severity: normal

Found in version 29.0.60

Full log


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

From: Gregory Heytings <gregory <at> heytings.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: philipk <at> posteo.net, michael_heerdegen <at> web.de,
 Daniel Mendler <mail <at> daniel-mendler.de>, rpluim <at> gmail.com,
 monnier <at> iro.umontreal.ca, 62009 <at> debbugs.gnu.org, arstoffel <at> gmail.com
Subject: Re: bug#62009: 29.0.60; Emacs crashes on setf symbol-name
Date: Sat, 11 Mar 2023 15:16:36 +0000
>
> Sorry, I object to any change to cater for this use case.
>

IMO a reasonable change here would be to update the docstring of 
symbol-name, which only says "Return SYMBOL's name, a string.", with a 
warning similar to the one in the manual:

Warning: Changing the string by substituting characters does change the 
name of the symbol, but fails to update the obarray, so don't do it!

Perhaps we could also explicitly mention, in the docstring and/or in the 
manual, that doing that can also crash Emacs.





This bug report was last modified 2 years and 88 days ago.

Previous Next


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