all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: [fr/rfc] switch to buffer that contains given heading without moving point
Date: Wed, 25 Oct 2023 22:09:11 -0700	[thread overview]
Message-ID: <CAJcAo8t0QSXuOjD15aPgR6JHZwMdBSBAozA7jn_DmDkDBBAXbw@mail.gmail.com> (raw)

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


                 reply	other threads:[~2023-10-26  5:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJcAo8t0QSXuOjD15aPgR6JHZwMdBSBAozA7jn_DmDkDBBAXbw@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.