unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* org-open-at-point and narrow subtree
@ 2024-11-13 11:09 Marc Coquand
  0 siblings, 0 replies; only message in thread
From: Marc Coquand @ 2024-11-13 11:09 UTC (permalink / raw)
  To: help-gnu-emacs


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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-11-13 11:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-11-13 11:09 org-open-at-point and narrow subtree Marc Coquand

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).