GNU bug report logs - #67325
shorthands: Incorrect autoloaded register-definition-prefixes

Previous Next

Package: emacs;

Reported by: Joseph Turner <joseph <at> ushin.org>

Date: Tue, 21 Nov 2023 14:17:02 UTC

Severity: normal

Full log


View this message in rfc822 format

From: João Távora <joaotavora <at> gmail.com>
To: Joseph Turner <joseph <at> ushin.org>
Cc: 67325 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>, public <at> protesilaos.com, Jonas Bernoulli <jonas <at> bernoul.li>
Subject: bug#67325: shorthands: Incorrect autoloaded register-definition-prefixes
Date: Sun, 26 Nov 2023 14:14:28 +0000
On Sat, Nov 25, 2023 at 12:44 PM João Távora <joaotavora <at> gmail.com> wrote:

> Hmmm. The two bugs are not related anymore than two Emacs bugs are related. That bug has a (very decent IMO) workaround. If you want something to be done there additionally, request it there
>
> > I don't know if these two bugs will have related solutions.
>
> I don't think so.


Earlier I said that 'autoload-compute-prefixes' was completely
undocumented.  I was wrong, it is documented in loading.texi
and perfectly defined in loaddefs-gen.el.  No idea why
I didn't notice.

It even has a sane local safety specification, but that safety
specification is not pre-loaded, so opening files
with 'autoload-compute-prefixes' local variables has
the unfortunate effect of prompting the user sometimes.

I think this should be fixed maybe somewhere in the
prompting logic.  Even describing the variable will cause
loaddefs-gen.el to be loaded the file and thus the safety
specification.

Another option is to store just safety specification
for this variable somewhere else, so that it is preloaded.

Eli, any comments about the above ideas?

João




This bug report was last modified 1 year and 204 days ago.

Previous Next


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