From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jay Belanger Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#3356: 23.0.93; Loss of undo info in calc Date: Sat, 23 May 2009 10:48:23 -0500 Message-ID: <87my93g6rc.fsf@gmail.com> References: Reply-To: jay.p.belanger@gmail.com, 3356@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1243104581 8613 80.91.229.12 (23 May 2009 18:49:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 May 2009 18:49:41 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Leo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat May 23 20:49:34 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M7wHm-0006Ud-0U for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 May 2009 20:49:34 +0200 Original-Received: from localhost ([127.0.0.1]:34417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7wHl-0003Ys-2Y for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 May 2009 14:49:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M7wHd-0003Y8-7d for bug-gnu-emacs@gnu.org; Sat, 23 May 2009 14:49:25 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M7wHY-0003WA-Sj for bug-gnu-emacs@gnu.org; Sat, 23 May 2009 14:49:24 -0400 Original-Received: from [199.232.76.173] (port=38534 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M7wHY-0003W6-Hj for bug-gnu-emacs@gnu.org; Sat, 23 May 2009 14:49:20 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:40485) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M7wHX-0000p3-RZ for bug-gnu-emacs@gnu.org; Sat, 23 May 2009 14:49:20 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4NInBev018446; Sat, 23 May 2009 11:49:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n4NIeGeA016279; Sat, 23 May 2009 11:40:16 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Jay Belanger Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 23 May 2009 18:40:16 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 3356 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.124310334812135 (code B ref -1); Sat, 23 May 2009 18:40:16 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 23 May 2009 18:29:08 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n4NFmb3R013966 for ; Sat, 23 May 2009 08:48:38 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:46724) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1M7tSe-00025d-Iu for emacs-pretest-bug@gnu.org; Sat, 23 May 2009 11:48:36 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1M7tSd-0003GC-To for emacs-pretest-bug@gnu.org; Sat, 23 May 2009 11:48:36 -0400 Original-Received: from s7.cableone.net ([24.116.0.233]:40595) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M7tSd-0003FL-Gd for emacs-pretest-bug@gnu.org; Sat, 23 May 2009 11:48:35 -0400 Original-Received: from belanger (unverified [24.116.73.151]) by s7.cableone.net (CableOne SMTP Service s7) with ESMTP id 19147019-1872270 for multiple; Sat, 23 May 2009 08:48:25 -0700 In-Reply-To: (Leo's message of "Sat, 23 May 2009 14:15:10 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.93 (gnu/linux) X-Vpipe: Scanner said ok (av_avast) X-NotAscii: charset=us-ascii X-IP-stats: Incoming Last 3, First 331, in=114, out=0, spam=0 ip=24.116.73.151 X-Originating-IP: 24.116.73.151 X-Abuse-Info: Send abuse complaints to abuse@cableone.net X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sat, 23 May 2009 14:49:24 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:28097 gmane.emacs.pretest.bugs:24483 Archived-At: Leo writes: ... > 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, otherwise it'd be easy to have calc-quit not do anything with the undo list. > Incidentally, I wonder whether making the two windows dedicated is more > desirable than current behaviour. Maybe, but I wonder if this would cause problems in some situations. How would full-calc be affected, for instance. Jay