all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Joel Reicher <joel.reicher@gmail.com>
To: Heime <heimeborgia@protonmail.com>
Cc: Heime via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>
Subject: Re: imenu rescan automatically
Date: Mon, 12 Aug 2024 20:13:27 +1000	[thread overview]
Message-ID: <86ikw6dp6g.fsf@gmail.com> (raw)
In-Reply-To: <Qi0q_4jlnnqAANRVsjHLQ-ibmiTeQ79eJYPDhy5JCKby41PH9TQLqlsaK1KCUhBP8-qYlEW2ZPFunEZAcLqg-YUQ-6bYYQVRWtH0kpwwlEE=@protonmail.com> (Heime's message of "Mon, 12 Aug 2024 09:34:35 +0000")

Heime <heimeborgia@protonmail.com> writes:

> On Monday, August 12th, 2024 at 11:41 AM, Joel Reicher 
> <joel.reicher@gmail.com> wrote:
>
>> Heime heimeborgia@protonmail.com writes:
>>
>>> I made this interactive function that adds items to imenu 
>>> menubar.
>>>
>>> But I want a rescan to happen automatically rather than having 
>>> to do it after I call the function.
>>
>> I think you mean you want your function to do an imenu rescan?
>
> Yes, the function changes imenu-generic-expression and I want it 
> to do a rescan so the user does not have to manually do it.

So add a rescan call to your function?

What am I missing?

Cheers,

        - Joel



  reply	other threads:[~2024-08-12 10:13 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-11 16:51 imenu rescan automatically Heime
2024-08-11 23:41 ` Joel Reicher
2024-08-12  9:34   ` Heime
2024-08-12 10:13     ` Joel Reicher [this message]
2024-08-12 10:21       ` Heime
2024-08-12 10:50         ` Joel Reicher
2024-08-12 11:27           ` Heime
2024-08-12 11:57             ` Joel Reicher
2024-08-12 12:14               ` Heime
2024-08-12 12:20                 ` Joel Reicher
2024-08-12 12:32                   ` Christopher Dimech
2024-08-12 13:02                     ` Joel Reicher

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=86ikw6dp6g.fsf@gmail.com \
    --to=joel.reicher@gmail.com \
    --cc=heimeborgia@protonmail.com \
    --cc=help-gnu-emacs@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.