emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master c1b1801 1/2: Make atomic cell update in data ar


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master c1b1801 1/2: Make atomic cell update in data area.
Date: Mon, 29 Jul 2019 17:05:46 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> AFAIU the advantage of atomic-change-group is with regard to
> undoing.

No, it uses undo internally, but that's about it.

The advantages are:
- In case an error occurs in the middle of the processing, you won't be
  left with half of the change done.  I.e. the same advantage as
  inhibit-quit but extended to any *error*.
- it doesn't set inhibit-quit, so if some operation happens to inf-loop
  in there, the user can still interrupt it with C-g.


        Stefan




reply via email to

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