GNU bug report logs - #67536
29.1; Calc mode's math-read-preprocess-string conses unnecessarily

Previous Next

Package: emacs;

Reported by: Raffael Stocker <r.stocker <at> mnet-mail.de>

Date: Wed, 29 Nov 2023 21:32:02 UTC

Severity: normal

Found in version 29.1

Done: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Mattias EngdegÄrd <mattias.engdegard <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 67536 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca,
 Raffael Stocker <r.stocker <at> mnet-mail.de>
Subject: Re: bug#67536: 29.1; Calc mode's math-read-preprocess-string conses
 unnecessarily
Date: Mon, 18 Dec 2023 11:55:10 +0100
[Message part 1 (text/plain, inline)]
16 dec. 2023 kl. 10.40 skrev Eli Zaretskii <eliz <at> gnu.org>:

> Mattias, is this okay with you?  Should I install these patches?

So very sorry for the hiatus. I've been a bit poorly and getting back will take some time.

Raffael, thank you for your dogged measurements. Of course my clumsy code didn't preserve the possibility for `math-read-replacement-list` to translate strings longer than a single character but that's what I get for sending off-cuff patches that way.

Here's another off-cuff patch that might work better (demonstrating that I've learned nothing).

Again it's most likely that no user ever changes `math-read-replacement-list` and the code could be simplified a lot.

[calc-aent.diff (application/octet-stream, attachment)]

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

Previous Next


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