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

Leo <[email protected]>
Newsgroups gmane.emacs.bugs,gmane.emacs.pretest.bugs
Organization University of Cambridge
Message-ID <[email protected]>
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 :.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.