all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tsdh@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Warning (undo): Buffer `*Buffer List*'
Date: Fri, 26 Apr 2013 09:53:47 +0200	[thread overview]
Message-ID: <87sj2dsp6c.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: 87ppxh22r4.fsf@tamas.ihs.ac.at

Tamas K Papp <tkpapp@gmail.com> 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




  reply	other threads:[~2013-04-26  7:53 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.24611.1366881694.855.help-gnu-emacs@gnu.org>
2013-04-25 14:29 ` Warning (undo): Buffer `*Buffer List*' Michael Heerdegen
2013-04-26  7:02   ` Tamas K Papp
2013-04-26  7:53     ` Tassilo Horn [this message]
     [not found]   ` <mailman.24662.1366959780.855.help-gnu-emacs@gnu.org>
2013-04-26 13:36     ` Michael Heerdegen
2013-04-25  8:49 Tamas K Papp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87sj2dsp6c.fsf@thinkpad.tsdh.de \
    --to=tsdh@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.