alphapapa / alphapapa/activities.el

Idea: "soft-revert" activity without changing point(s) in open buffers

未关闭
#41 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
enhancement
主要语言
Emacs Lisp
星标
319
派生
19
PR 合并指标
30 天内没有已合并 PR

描述

My favorite feature of activities is the ability to `revert` at any time, always there to save you when your activity has "gotten away from you", and you've introduced new or extraneous windows and buffers into the mix, or drifted away. But _usually_ this comes from opening other windows I no longer need, and `revert` is just a quick way to sweep those away and restore my window/buffer setup.

In that case, I'd prefer for the current point in each of the already displayed buffers to be left unchanged — a "soft-revert" if you will. Soft revert is basically just like normal revert, except point is left alone (for already visited buffers, that is). Perhaps a prefix arg to `revert` would be a good interface for `soft-revert`? Or a separate (lesser used) command? Or an option (I would pretty much always prefer for point in opened buffers to remain unchanged)?

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。