help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Warning (undo): Buffer `*Buffer List*'


From: Tassilo Horn
Subject: Re: Warning (undo): Buffer `*Buffer List*'
Date: Fri, 26 Apr 2013 09:53:47 +0200
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]