alphapapa / alphapapa/activities.el

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

未關閉
#86 8 則留言 0 個 reaction 已指派 1 人 已被 @alphapapa 認領 在 GitHub 檢視
discussion
主要語言
Emacs Lisp
星號
319
分支
19
PR 合併指標
30 天內沒有已合併 PR

描述

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.

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。