all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Helm <nick@tenpoint.co.nz>
To: help-gnu-emacs@gnu.org
Subject: Re: Advice with undo config
Date: Thu, 22 Mar 2018 09:27:54 +1300	[thread overview]
Message-ID: <m2lgelqilx.fsf@tenpoint.co.nz> (raw)
In-Reply-To: <86bmfhsn9g.fsf@zoho.com> (Emanuel Berg's message of "Wed, 21 Mar 2018 12:04:27 +0100")

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?





  reply	other threads:[~2018-03-21 20:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.11019.1521629334.27995.help-gnu-emacs@gnu.org>
2018-03-21 11:04 ` Advice with undo config Emanuel Berg
2018-03-21 20:27   ` Nick Helm [this message]
     [not found]   ` <mailman.11055.1521664092.27995.help-gnu-emacs@gnu.org>
2018-03-21 21:28     ` Emanuel Berg
2018-03-21 10:48 Nick Helm
2018-03-22 13:44 ` Stefan Monnier
2018-03-24  0:31   ` Nick Helm

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=m2lgelqilx.fsf@tenpoint.co.nz \
    --to=nick@tenpoint.co.nz \
    --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.