help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

org-open-at-point and narrow subtree


From: Marc Coquand
Subject: org-open-at-point and narrow subtree
Date: Wed, 13 Nov 2024 13:09:42 +0200
User-agent: mu4e 1.12.7; emacs 29.4

Hi,

I'm trying to setup so that when I follow a link using org, it also
automatically runs org-narrow-to-subtree.

There is a org-follow-link-hook that I think could be used. However,
there is a limitation that not all links lead to org files, so there
needs to be some check that the actual destination is an org-file.

I was also wondering if there can be a conflict if the buffer is already
open and narrowed, and that that could cause issues. 

Sincerely,
-- Marc



reply via email to

[Prev in Thread] Current Thread [Next in Thread]