all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / 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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.