alphapapa / alphapapa/activities.el

Reverting an activity should either remove the last state or immediately save

Aperta
#86 8 commenti 0 reazioni 1 assegnatario Rivendicata da @alphapapa Vedi su GitHub
discussion
Lingua principale
Emacs Lisp
Stelle
319
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I tend to use `revert` on an activity when it has "drifted" and the buffers shown have changed. The new annotations PR #83 revealed that the `last` state remains set even after `revert`.

This is surprising because that state is no longer reachable while the activity is active, AFAIU, and it will eventually be overwritten when save-all is run during idle time. So it seems sensible either to remove the last state, or immediately save the activity, after it gets reverted.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.