GNU bug report logs - #55943
Cannot insert registers in calc

Previous Next

Package: emacs;

Reported by: Kuba Orlik <kontakt <at> kuba-orlik.name>

Date: Mon, 13 Jun 2022 14:21:01 UTC

Severity: normal

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 55943 <at> debbugs.gnu.org, Kuba Orlik <kontakt <at> kuba-orlik.name>
Subject: bug#55943: Cannot insert registers in calc
Date: Tue, 14 Jun 2022 13:05:09 +0200
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Registers in Calc have nothing to do with the normal Emacs-wide
> registers -- you can only insert with `r i' in Calc stuff you've save
> with `r s' in Calc.  But I see that the doc strings here don't actually
> say this, so I've fixed this for Emacs 28.2.

Hmm - I think I don't agree - see what

  (info "(calc) Inserting From Registers")

tells.  String valued registers work fine.  So this change:

+Note that this command only works with Calc registers, and they
+have nothing to do with the Emacs-wide register mechanism.

is not justified in my opinion.  Calc uses the normal register
mechanism, but enhances registers that save regions from Calc by saving
additional data in a separate variable.

Wouldn't it make sense to make "calc-insert-register" work with number
valued registers?

Michael.




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

Previous Next


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