From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: "No further undo information" clutters *Messages* buffer Date: Wed, 26 Oct 2005 14:07:51 +0200 Message-ID: <435F7197.1080108@gmx.at> References: <435C998C.3030801@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1130334290 32759 80.91.229.2 (26 Oct 2005 13:44:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Oct 2005 13:44:50 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 26 15:44:48 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EUlYR-000234-TA for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2005 15:43:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUlYR-00073K-2d for ged-emacs-devel@m.gmane.org; Wed, 26 Oct 2005 09:42:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EUkAV-0006oE-O7 for emacs-devel@gnu.org; Wed, 26 Oct 2005 08:14:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EUkAT-0006nF-EP for emacs-devel@gnu.org; Wed, 26 Oct 2005 08:14:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EUkAS-0006mn-SI for emacs-devel@gnu.org; Wed, 26 Oct 2005 08:14:09 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1EUkAS-0006RS-Id for emacs-devel@gnu.org; Wed, 26 Oct 2005 08:14:08 -0400 Original-Received: (qmail invoked by alias); 26 Oct 2005 12:14:07 -0000 Original-Received: from N780P028.adsl.highway.telekom.at (EHLO [62.47.41.124]) [62.47.41.124] by mail.gmx.net (mp025) with SMTP; 26 Oct 2005 14:14:07 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: rms@gnu.org In-Reply-To: X-Y-GMX-Trusted: 0 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:44895 Archived-At: > Is it inevitable that `undo-more' raises an error when there is no > further undo information? > > That seems like the right thing to do. Eventually Undo! undo-more: No further undo information occupied more than 90% of my `*Messages*' buffer which made it quite difficult to trace more interesting error messages. I finally turned this off by making `undo-more' display a non-logged message and ding when there was no more undo information. Hardly the right thing to do but I didn't know better. Ideally, I wanted `undo' issue `Undo...', `Redo...', etc. first. If the operation succeeded it would display `Undo...done', `Redo...done', etc. Otherwise, it would issue `Undo...', `Redo...', etc. with the according error text appended. In any case `message_log_check_duplicate' would take care of the rest.