GNU bug report logs - #79157
[PATCH] Fix recursive load when 'calc-always-load-extensions' is set

Previous Next

Package: emacs;

Reported by: Sean Devlin <spd <at> toadstyle.org>

Date: Sat, 2 Aug 2025 16:33:01 UTC

Severity: normal

Tags: patch

Full log


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

From: Sean Devlin <spd <at> toadstyle.org>
To: Sean Devlin <spd <at> toadstyle.org>
Cc: 79157 <at> debbugs.gnu.org
Subject: Re: [PATCH] Fix recursive load when 'calc-always-load-extensions' is
 set
Date: Sat, 2 Aug 2025 11:47:35 -0500
> On Aug 2, 2025, at 11:31 AM, Sean Devlin <spd <at> toadstyle.org> wrote:
> 
> Hi folks,
> 
> The Calc setting calc-always-load-extensions leads to a recursive load
> error if you set it in your init file before loading calc.el. (If you set it after
> loading calc.el, e.g. via calc-settings-file, there is no recursive error, but
> it also doesn’t load the extensions.)
> 

To reproduce the latter issue, i.e. failure to load extensions:

1. Emacs -Q
2. M-x load-library calc RET
3. Evaluate: (setq calc-always-load-extensions t)
4. M-x calc RET
5. Evaluate: (featurep 'calc-aent)

The result will be nil.

Alternately, by using the settings file:

1. mkdir /tmp/emacs-calc
2. HOME=/tmp/emacs-calc emacs
3. M-x calc RET
4. m x
5. m m
6. C-x C-c
7. Repeat steps 2 and 3
8. Evaluate: (featurep 'calc-aent)

The result will be nil.



This bug report was last modified 12 days ago.

Previous Next


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