alphapapa / alphapapa/org-bookmark-heading
Feature Request: Bookmarking end-of-file in an org document
- Ngôn ngữ chính
- Emacs Lisp
- Star
- 98
- Fork
- 8
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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?
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.