alphapapa / alphapapa/org-bookmark-heading

Feature Request: Bookmarking end-of-file in an org document

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

描述

I would like to be able to save a bookmark to an org file that points to the end of the file, not to any heading in it. This isn't really org-specific, but I only have use cases that involve org files. Since `org-bookmark-heading` remaps the the `bookmark-make-record-function` in any org-mode buffer, this feature should either be in this package or there should be a fallback-to-default-bookmark handler (and therefore a way to decide whether to fallback, and have the feature in the built-in bookmark function, which adds complexity in both places).

Since this might not be of interest to everyone, there would need to be a switch to toggle this feature.

My proposal is to recognize that point is at end of buffer and record a specific type of org bookmark in that case. Could overload the existing `id` or `outline-path` fields for this or have a different attribute. `org-bookmark-heading-jump` would then recognize the EOB marker and jump directly to `(end-of-buffer)`.

Would this be useful to other people?

貢獻指南

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

評估

這個 Issue 還沒有評估資料。

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

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