Subject: bug#3356: 23.0.93; Loss of undo info in calc

From: Leo <[email-masked]>
Date: Sun, 24 May 2009 01:25:20 +0100

On 2009-05-23 16:48 +0100, Jay Belanger wrote:
>> 1. M-x calc
>> 2. do some calculation for example: ' sqrt ( x ) RET a t x 5 RET
>> 3. type q to quit calc
>> 4. M-x calc to bring it back
>> 5. type U
>>
>> You will get "No further undo information is available".
>
> calc-quit sets the undo list to nil on purpose, probably to save limited
> memory in the early days.   If there are still memory considerations,
> then calc-quit could truncate the undo list rather than remove it,

I think it should do its best to protect user's data. This option seems
very desirable.

> otherwise it'd be easy to have calc-quit not do anything with the undo
> list.

-- 
.:  Leo  :.  [ sdl.web AT gmail.com ]  .: I use Emacs :.