[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Advice with undo config
From: |
Nick Helm |
Subject: |
Re: Advice with undo config |
Date: |
Thu, 22 Mar 2018 09:27:54 +1300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (darwin) |
On Wed, 21 Mar 2018 at 12:04:27 +0100, Emanuel Berg wrote:
> Nick Helm wrote:
>
>> (setq undo-limit (* 16 1024 1024)) [...]
>>
>> will there be any side-effects I should be
>> aware of? Are these numbers reasonable?
>
> There should not be any side-effects save for
> the increased storage, which is what you want,
Thanks.
> but is it reasonable to have >16 MB of undo
> data? A better question is probably "is it
> reasonable to do, and then undo, that much"?
In an ideal world, wouldn't undo be unlimited?
Some commands can bump into the default undo limits pretty
quickly – org-table-delete-column is a good example. In those
situations, the count of "do" is 2 and you've already hit the
limit. Isn't it reasonable to expect a bit more than that?