GNU bug report logs - #79485
31.0.50; Loaded files inherit read-symbol-shorthands

Previous Next

Package: emacs;

Reported by: "David J. Rosenbaum" <djr7c4 <at> gmail.com>

Date: Sun, 21 Sep 2025 23:59:01 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: David Rosenbaum <djr7c4 <at> gmail.com>
Cc: 79485 <at> debbugs.gnu.org, joaotavora <at> gmail.com
Subject: Re: bug#79485: 31.0.50; Loaded files inherit read-symbol-shorthands
Date: Mon, 22 Sep 2025 22:25:07 +0300
> From: David Rosenbaum <djr7c4 <at> gmail.com>
> Date: Mon, 22 Sep 2025 10:04:21 -0700
> Cc: Eli Zaretskii <eliz <at> gnu.org>, 79485 <at> debbugs.gnu.org
> 
> > Also they were designed to abbreviate prefixes, not full symbol names, so the db idea is probably not
> going to work. As far as I remember, these things were well explained in the manual...
> 
> Intended or not, shorthands are being used this way by packages authors. For example, see cond-let and
> llama.

So maybe we should improve our documentation to explicitly recommend
against such practices.

Emacs gives Lisp programmers enough rope to hang themselves, but
hanging themselves is probably not what they want.




This bug report was last modified today.

Previous Next


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