emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Morgan Smith <morgan.j.smith@outlook.com>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: imenu vs. refile goto (was Re: [PATCH] lisp/org-compat.el: Allow using imenu to visit non-leaf headlines)
Date: Sat, 15 Jun 2024 00:22:19 -0700	[thread overview]
Message-ID: <CAJcAo8v+gVcKbORsVS8wwNoh9Pewe_RyuMD+R03-dohSNRjAhw@mail.gmail.com> (raw)
In-Reply-To: <CH3PR84MB3424A9EF67AD25465107BE1BC5C22@CH3PR84MB3424.NAMPRD84.PROD.OUTLOOK.COM>

[-- Attachment #1: Type: text/plain, Size: 663 bytes --]

if i am not mistaken, imenu only works for a single buffer, while org
refile goto can go to any file configured for it.

at least, i /think/ imenu cannot be configured to, for example, find a
shell function definition that is not in the current file.  for example,
you might be in a script called myscript1, with a call like "myscript2
myfunc", where myscript2 is a script that defines myfunc and calls it when
its first argument is it.  if htat made sense....  then again maybe xref
and dumb-jump cannot either.  i have not investigated.



-- 
The Kafka Pandemic

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

[-- Attachment #2: Type: text/html, Size: 809 bytes --]

      reply	other threads:[~2024-06-15  7:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-14  6:10 imenu vs. refile goto (was Re: [PATCH] lisp/org-compat.el: Allow using imenu to visit non-leaf headlines) Samuel Wales
2024-06-14 11:35 ` Morgan Smith
2024-06-15  7:22   ` Samuel Wales [this message]

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CAJcAo8v+gVcKbORsVS8wwNoh9Pewe_RyuMD+R03-dohSNRjAhw@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=morgan.j.smith@outlook.com \
    /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 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).