outshine icon indicating copy to clipboard operation
outshine copied to clipboard

Make the :ARCHIVE: tag effective

Open kaushalmodi opened this issue 10 years ago • 1 comments

Can you add a feature that that headings with :ARCHIVE: tag do not unfold when cycling through different views?

Currently the :ARCHIVE: tag doesn't seem to do anything.

In orgstruct mode, it works as expected.

I also tried "commenting" a subtree but that subtree also opens during visibility cycling inspite of its definition:

(defconst outshine-comment-tag "comment" "The tag that marks a subtree as comment. A comment subtree does not open during visibility cycling.")

Update: Just figured that this feature is disabled. Can you please fix this?

;; ;; FIXME max-lisp-eval-depth exceeded error when turned on ;; ;; with max-lisp-eval-depth set to 600 ;; (add-hook 'outline-view-change-hook ;; 'outshine-hide-comment-subtrees)

kaushalmodi avatar Oct 29 '14 14:10 kaushalmodi

Yes, thats actually a feature I really would like to have for outshine because it would allow to hide comment-trees when coding. As you figured out, I tried to port it from Org-mode, but my first attempt wasn't successfull.

Right now I don't have time for this, but its on my todo list. Patches would be very welcome here.

tj64 avatar Oct 29 '14 21:10 tj64