GNU bug report logs - #62847
29.0.90; Propertized space in Org Agenda's mode-name

Previous Next

Package: emacs;

Reported by: Gustavo Barros <gusbrs.2016 <at> gmail.com>

Date: Fri, 14 Apr 2023 23:05:02 UTC

Severity: normal

Found in version 29.0.90

Full log


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

From: Daniel Mendler <mail <at> daniel-mendler.de>
To: 62847 <at> debbugs.gnu.org
Cc: mattiase <at> acm.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: bug#62847: 29.0.90; Propertized space in Org Agenda's mode-name
Date: Sun, 16 Apr 2023 14:38:00 +0200
Hello Mattias!

> That requires a 'literal' flag for string objects and there's no
obvious space  for one, but perhaps we can grab the LSB of the
`intervals` pointer.

There was a recent report where I pointed out a segfault for `aset` on
"literal strings" (symbol names which are C strings located in the
read-only memory of the process). If you consider adding such a literal
string flag or read-only check, could this please be added there too? I
am in favor of adding immutable strings to Elisp. This would certainly
open up optimization potential for the bytecode compiler, in addition to
guarding against bugs like the one being discussed here.

Daniel




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

Previous Next


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