[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: |
Vincent Belaïche |
Subject: |
RE: [Emacs-diffs] master c1b1801 1/2: Make atomic cell update in data area. |
Date: |
Mon, 29 Jul 2019 20:32:20 +0000 |
AFAIU the advantage of atomic-change-group is with regard to
undoing. But SES has its own undo mecanism. So, I am not sure whether
atomic-change-group would have any great added value.
Anyway, I suspect that some operations are such as if you quit in the
middle of them, the result of undoing is not guaranteed. You probably
have to ses-reconstruct-all just after undoing.
De : Emacs-devel <emacs-devel-bounces+vincent.b.1=address@hidden> de la part de
Stefan Monnier <address@hidden>
Envoyé : dimanche 28 juillet 2019 20:48
À : Vincent Belaïche <address@hidden>
Cc : address@hidden <address@hidden>
Objet : Re: [Emacs-diffs] master c1b1801 1/2: Make atomic cell update in data
area.
> Make atomic cell update in data area.
> * lisp/ses.el (ses-write-cells): Set inhibit-quit to t during the data
> area write.
An alternative to inhibit-quit here is to use `atomic-change-group`.
Stefan