From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: Warning (undo): Buffer `*Buffer List*' Date: Fri, 26 Apr 2013 09:53:47 +0200 Message-ID: <87sj2dsp6c.fsf@thinkpad.tsdh.de> References: <87wqrqd6or.fsf@web.de> <87ppxh22r4.fsf@tamas.ihs.ac.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1366962858 21077 80.91.229.3 (26 Apr 2013 07:54:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Apr 2013 07:54:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 26 09:54:22 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UVdU4-0003CE-Qs for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 09:54:20 +0200 Original-Received: from localhost ([::1]:43742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVdU4-0007dp-I6 for geh-help-gnu-emacs@m.gmane.org; Fri, 26 Apr 2013 03:54:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:50047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVdTp-0007cj-Kv for help-gnu-emacs@gnu.org; Fri, 26 Apr 2013 03:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVdTn-0007ch-JH for help-gnu-emacs@gnu.org; Fri, 26 Apr 2013 03:54:05 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:49604) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVdTn-0007cH-Cd for help-gnu-emacs@gnu.org; Fri, 26 Apr 2013 03:54:03 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UVdTj-0002qz-DL for help-gnu-emacs@gnu.org; Fri, 26 Apr 2013 09:53:59 +0200 Original-Received: from 91-67-10-84-dynip.superkabel.de ([91.67.10.84]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Apr 2013 09:53:59 +0200 Original-Received: from tsdh by 91-67-10-84-dynip.superkabel.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 26 Apr 2013 09:53:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 27 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 91-67-10-84-dynip.superkabel.de User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:32GHPoERq6mz+SbwT150OqXMtqo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90356 Archived-At: Tamas K Papp writes: Hi Tamas, >>> Warning (undo): Buffer `*Buffer List*' undo info was 12075571 bytes >>> long. The undo info was discarded because it exceeded >>> `undo-outer-limit'. >> >> I wonder whether undo data in *Buffer List* is useful at all - I >> don't think so. ibuffer does (buffer-disable-undo) for its buffer >> list, and I think the *Buffer List* should disable recording undo >> data as well. >> >> With other words, I think this is just a bug, since *Buffer List* is >> a read-only buffer. Can you please submit a bug report (M-x >> report-emacs-bug)? > > Thanks Michael, I have reported it as a bug. In the meantime, how can > I work around this? I would need to call (buffer-disable-undo) each > time *Buffer List* is created, but I could not find a hook for this. I think this should do the trick: (add-hook 'Buffer-menu-mode-hook 'buffer-disable-undo) Bye, Tassilo