all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Matthew Newton <matt@mnewton.com>
To: larsi@gnus.org
Cc: 30449@debbugs.gnu.org
Subject: bug#30449: imenu contains redundant '*Rescan*' item with auto refresh
Date: Thu, 19 Sep 2019 14:36:47 -0700	[thread overview]
Message-ID: <33378FAE-C23F-4B17-A468-65406AF6D393@mnewton.com> (raw)
In-Reply-To: <CAEcf3Nx+RnXKThK1yAdJudF7zLTQn6-xGBQao2V+0B17p2jx6g@mail.gmail.com>

Hi Lars,

I found this issue after finding a downstream problem in the counsel package. See the related issue I started:

https://github.com/abo-abo/swiper/issues/2241

I don’t know the codebase at all and I just spent a couple minutes looking at it. But shouldn’t imenu--make-index-alist always return a list? So the last lines would be:

(if imenu-auto-rescan
      imenu--index-alist
    ;; Add a rescan option to the index.
    (cons imenu--rescan-item imenu--index-alist))

Cheers,
Matt




  parent reply	other threads:[~2019-09-19 21:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-13 21:12 bug#30449: imenu contains redundant '*Rescan*' item with auto refresh Campbell Barton
2019-07-14 16:32 ` Lars Ingebrigtsen
2019-09-16 23:38   ` Lars Ingebrigtsen
2019-09-19 21:36 ` Matthew Newton [this message]
2019-09-20 13:02   ` Lars Ingebrigtsen

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=33378FAE-C23F-4B17-A468-65406AF6D393@mnewton.com \
    --to=matt@mnewton.com \
    --cc=30449@debbugs.gnu.org \
    --cc=larsi@gnus.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.