emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [fr/rfc] switch to buffer that contains given heading without moving point
@ 2023-10-26  5:09 Samuel Wales
  0 siblings, 0 replies; only message in thread
From: Samuel Wales @ 2023-10-26  5:09 UTC (permalink / raw)
  To: emacs-orgmode

suppose i am in the middle of a subtree, and it is in a buffer that i
am not in.  suppose i want to go to the buffer without moving point in
target buffer.

remembering what buffer contains the heading that i can use completion
to get to works with c-x b, but requires remembering where teh heading
is

refile goto takes me to the top heading it matches which could move point.

so those are not solutions.

i wonder if it is possible, or desirable, to have a wrapper around
refile goto that would chek for a buffer where point is in the target
subtree, and warn that you're not on the header, and take you to that
buffer so that you can be at the point location you were at in that
holon.

i can imagine other solutions, such as using refile goto to go to the
heading, then a move bcak to previous point command to get to where i
was.


example

  * computers
  *** good computers
text^
  *** bad computers

-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


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

only message in thread, other threads:[~2023-10-26  5:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-26  5:09 [fr/rfc] switch to buffer that contains given heading without moving point Samuel Wales

Code repositories for project(s) associated with this public inbox

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

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).