bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#67536: 29.1; Calc mode's math-read-preprocess-string conses unnecess


From: Raffael Stocker
Subject: bug#67536: 29.1; Calc mode's math-read-preprocess-string conses unnecessarily
Date: Mon, 18 Dec 2023 12:39:01 +0100
User-agent: mu4e 1.10.8; emacs 29.1

Mattias Engdegård <mattias.engdegard@gmail.com> writes:

> 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.

...and my test did not catch that edge case.  I extended the test with
this and an empty ‘math-read-replacement-list’ for good measure
(although I don't quite know which use case that might be).  The test
fails for the previous version and succeeds for the original and this
new one.

Have I missed any other edge cases in the test?

I appended the updated patch.

Attachment: 0001-lisp-calc-calc-aent.el-math-read-preprocess-string-o.patch
Description: 0001-lisp-calc-calc-aent.el-math-read-preprocess-string-o.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]