From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 13 16:16:33 2018 Received: (at submit) by debbugs.gnu.org; 13 Feb 2018 21:16:33 +0000 Received: from localhost ([127.0.0.1]:41862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elhwG-00029g-L9 for submit@debbugs.gnu.org; Tue, 13 Feb 2018 16:16:33 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46854) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1elhs3-00023E-Vl for submit@debbugs.gnu.org; Tue, 13 Feb 2018 16:12:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elhrx-0006qE-HE for submit@debbugs.gnu.org; Tue, 13 Feb 2018 16:12:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.1 required=5.0 tests=BAYES_50, FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43323) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1elhrx-0006qA-DA for submit@debbugs.gnu.org; Tue, 13 Feb 2018 16:12:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:37822) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1elhrv-0003TN-TY for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2018 16:12:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1elhru-0006pM-7t for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2018 16:12:03 -0500 Received: from mail-qk0-x236.google.com ([2607:f8b0:400d:c09::236]:46647) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1elhru-0006pE-2p for bug-gnu-emacs@gnu.org; Tue, 13 Feb 2018 16:12:02 -0500 Received: by mail-qk0-x236.google.com with SMTP id g129so9609927qkb.13 for ; Tue, 13 Feb 2018 13:12:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=/EVCOjKIT/727etHLRabemYpm9WWeDJcl1xAGIPN8ew=; b=jQ8d3iPiAg2ZQrSH+7LlgFEkmosW+/qSJ/Wc+cD7P0GI8ehK2GCjrRBc0Ma0LV4hiu PdhSVW8pvVIg6hcU1qmzQjie6JT0ycUq55suz9VyOY8n4ED1ElKoYcMPu4WuxgFQgYXv w3VgNHOeiP17Y5FPqYFBvxTT2uaQvIwfSc6Tw7vLo/wq0NpcMqoGYjRFTyOMM4BaahPm xAne3xfoEueOLdbd1NnBqgUOHnbG3pK3Q/fS1JG9Ln/o2WSZIGpXKxZgs3pDMtlslVMs iJ0INyyWz0+ec+jLwszlfUTi8b8LsE9tX0iZFi3H6QTAUIoDplkiljJ33zDJL2AJvrw8 li/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=/EVCOjKIT/727etHLRabemYpm9WWeDJcl1xAGIPN8ew=; b=FtiYjsx/6gZ8tpw5EayELKAvvWbQVE/8K9KrAkdzBiSSSxiqZDwwrJZpuUbxoNUO44 SLg788mWbr0Xyjv3hyxiz11EZtzAq/zd+b0ygiaQFY8rx61N+EeqW8PU2/byj6bd+RHi e9KHmFfZzFC64ob0vTjSTIcjQ8PYhPWypkVvnaX9lBcaPKvMshXDgpYiVnUlWCtEni1k 5VB3vEItxAtwZOHxlgXjzQMLBAWAjRTEqvln9nfL2L47RFOtwwW86xZ7sdQh/+8pRdBS 0Jm5m5C9vs1MxdANpHwITWdSTSgSPKsQRobEkwYZQ3k2MhzST/ot5qgMHPhVAgQW8YyZ RPgg== X-Gm-Message-State: APf1xPB3HXaJ8sPK+4JUy2gpz3scvLsM9MzoectWPUiH/g9GCJbHMGUQ isGMaMsGbB5mL8paWcbd58fhXzGl84OmqnEDuI6ZOQ== X-Google-Smtp-Source: AH8x227L1b7usAHZiSdZruV5SPZpBG0uQ/A9nOnb7ffhszm2BmjeLpC2IODzQtXzRJw7BLkjwbfOxrj7F/Mdfsnpqts= X-Received: by 10.55.174.193 with SMTP id x184mr4056244qke.336.1518556320815; Tue, 13 Feb 2018 13:12:00 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.190.202 with HTTP; Tue, 13 Feb 2018 13:12:00 -0800 (PST) From: Campbell Barton Date: Wed, 14 Feb 2018 08:12:00 +1100 Message-ID: Subject: imenu contains redundant '*Rescan*' item with auto refresh To: bug-gnu-emacs@gnu.org Content-Type: text/plain; charset="UTF-8" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -3.8 (---) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 13 Feb 2018 16:16:32 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.8 (---) With imenu package when auto rescan is enabled: (setq imenu-auto-rescan t) imenu shows a '*Refresh*' option, which should not be displayed when auto-rescan is used. See reference: https://emacs.stackexchange.com/a/38808/2418 ---- In GNU Emacs 25.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.26) of 2018-02-09 built on bisson Windowing system distributor 'The X.Org Foundation', version 11.0.11906000 Configured using: 'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=0 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: highlight-numbers-mode: t global-auto-complete-mode: t auto-complete-mode: t drag-stuff-global-mode: t drag-stuff-mode: t fci-mode: t whitespace-mode: t global-hl-line-mode: t show-paren-mode: t ivy-mode: t savehist-mode: t global-evil-surround-mode: t evil-surround-mode: t evil-leader-mode: t global-undo-tree-mode: t undo-tree-mode: t flyspell-mode: t shell-dirtrack-mode: t evil-mode: t evil-local-mode: t visual-indentation-mode: t tooltip-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent messages: Loading visual-indentation-mode...done Loading /home/ideasman42/.emacs.d/custom.el (source)...done Starting new Ispell process /usr/bin/aspell with default dictionary... Load-path shadows: /home/ideasman42/.emacs.d/elpa/cmake-mode-20180104.1137/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode /home/ideasman42/.emacs.d/elpa/let-alist-1.0.5/let-alist hides /usr/share/emacs/25.3/lisp/emacs-lisp/let-alist Features: (shadow sort mail-extr emacsbug message idna format-spec rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils colir color counsel dired esh-util etags xref project swiper highlight-numbers parent-mode flymake compile company auto-complete-config auto-complete popup smart-tabs-mode cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs drag-stuff inkpot-theme fill-column-indicator disp-table whitespace hl-line paren ivy delsel ivy-overlay ffap url-parse auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache url-vars savehist evil-surround evil-leader evil evil-integration undo-tree diff evil-maps evil-commands reveal flyspell ispell evil-jumps evil-command-window evil-types evil-search evil-ex shell pcomplete comint ansi-color evil-macros evil-repeat evil-states evil-core advice evil-common windmove thingatpt rect evil-digraphs evil-vars ring edmacro kmacro visual-indentation-mode finder-inf info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 288973 15259) (symbols 48 36176 0) (miscs 40 480 965) (strings 32 71477 10611) (string-bytes 1 2201254) (vectors 16 32691) (vector-slots 8 670043 7265) (floats 8 502 98) (intervals 56 597 0) (buffers 976 19)) From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 14 12:32:52 2019 Received: (at 30449) by debbugs.gnu.org; 14 Jul 2019 16:32:52 +0000 Received: from localhost ([127.0.0.1]:45726 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmhQh-00082p-SC for submit@debbugs.gnu.org; Sun, 14 Jul 2019 12:32:52 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hmhQf-00082g-9B for 30449@debbugs.gnu.org; Sun, 14 Jul 2019 12:32:49 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hmhQb-0003xm-Mg; Sun, 14 Jul 2019 18:32:48 +0200 From: Lars Ingebrigtsen To: Campbell Barton Subject: Re: bug#30449: imenu contains redundant '*Rescan*' item with auto refresh References: Date: Sun, 14 Jul 2019 18:32:45 +0200 In-Reply-To: (Campbell Barton's message of "Wed, 14 Feb 2018 08:12:00 +1100") Message-ID: <87zhlgy3te.fsf@mouse.gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Campbell Barton writes: > With imenu package when auto rescan is enabled: > > (setq imenu-auto-rescan t) > > imenu shows a '*Refresh*' option, > which should not be displayed when auto-rescan is used. > > See reference: http [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30449 Cc: 30449@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Campbell Barton writes: > With imenu package when auto rescan is enabled: > > (setq imenu-auto-rescan t) > > imenu shows a '*Refresh*' option, > which should not be displayed when auto-rescan is used. > > See reference: https://emacs.stackexchange.com/a/38808/2418 I don't use imenu, so I can't really test, but does the following fix the problem? diff --git a/lisp/imenu.el b/lisp/imenu.el index 5084fe61ef..9df597b4d6 100644 --- a/lisp/imenu.el +++ b/lisp/imenu.el @@ -510,8 +510,9 @@ imenu--make-index-alist "No items suitable for an index found in this buffer")) (or imenu--index-alist (setq imenu--index-alist (list nil))) - ;; Add a rescan option to the index. - (cons imenu--rescan-item imenu--index-alist)) + (unless imenu-auto-rescan + ;; Add a rescan option to the index. + (cons imenu--rescan-item imenu--index-alist))) (defvar imenu--cleanup-seen nil) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 02:41:09 2019 Received: (at control) by debbugs.gnu.org; 26 Jul 2019 06:41:09 +0000 Received: from localhost ([127.0.0.1]:40741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqtue-0004tw-UG for submit@debbugs.gnu.org; Fri, 26 Jul 2019 02:41:09 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqtud-0004to-9q for control@debbugs.gnu.org; Fri, 26 Jul 2019 02:41:07 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqtuZ-0003pL-BN for control@debbugs.gnu.org; Fri, 26 Jul 2019 08:41:05 +0200 Date: Fri, 26 Jul 2019 08:41:02 +0200 Message-Id: <87pnlxpabl.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #30449 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 30449 + patch quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 30449 + patch quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 26 02:41:49 2019 Received: (at control) by debbugs.gnu.org; 26 Jul 2019 06:41:49 +0000 Received: from localhost ([127.0.0.1]:40744 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqtvJ-0004uq-6h for submit@debbugs.gnu.org; Fri, 26 Jul 2019 02:41:49 -0400 Received: from quimby.gnus.org ([80.91.231.51]:56310) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hqtvH-0004ui-I6 for control@debbugs.gnu.org; Fri, 26 Jul 2019 02:41:47 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hqtvE-0003pT-Qg for control@debbugs.gnu.org; Fri, 26 Jul 2019 08:41:46 +0200 Date: Fri, 26 Jul 2019 08:41:44 +0200 Message-Id: <87o91hpaaf.fsf@mouse.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #30449 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 30449 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 30449 + moreinfo quit From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 16 19:38:58 2019 Received: (at 30449) by debbugs.gnu.org; 16 Sep 2019 23:38:58 +0000 Received: from localhost ([127.0.0.1]:51360 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iA0a7-0007dR-TV for submit@debbugs.gnu.org; Mon, 16 Sep 2019 19:38:58 -0400 Received: from quimby.gnus.org ([80.91.231.51]:42292) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iA0a6-0007dH-Jb for 30449@debbugs.gnu.org; Mon, 16 Sep 2019 19:38:54 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iA0a1-00088j-MR; Tue, 17 Sep 2019 01:38:53 +0200 From: Lars Ingebrigtsen To: Campbell Barton Subject: Re: bug#30449: imenu contains redundant '*Rescan*' item with auto refresh References: <87zhlgy3te.fsf@mouse.gnus.org> Date: Tue, 17 Sep 2019 01:38:49 +0200 In-Reply-To: <87zhlgy3te.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sun, 14 Jul 2019 18:32:45 +0200") Message-ID: <87lfunolpy.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: >> With imenu package when auto rescan is enabled: >> >> (setq imenu-auto-rescan t) >> >> imenu shows a '*Refresh*' option, [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30449 Cc: 30449@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Lars Ingebrigtsen writes: >> With imenu package when auto rescan is enabled: >> >> (setq imenu-auto-rescan t) >> >> imenu shows a '*Refresh*' option, [...] > I don't use imenu, so I can't really test, but does the following fix > the problem? [...] > - ;; Add a rescan option to the index. > - (cons imenu--rescan-item imenu--index-alist)) > + (unless imenu-auto-rescan > + ;; Add a rescan option to the index. > + (cons imenu--rescan-item imenu--index-alist))) There was no response, but it seems "obviously correct", so I'm applying the patch. Feel free to revert if it's the wrong thing to do. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 16 19:40:05 2019 Received: (at control) by debbugs.gnu.org; 16 Sep 2019 23:40:06 +0000 Received: from localhost ([127.0.0.1]:51364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iA0bF-0007g6-Km for submit@debbugs.gnu.org; Mon, 16 Sep 2019 19:40:05 -0400 Received: from quimby.gnus.org ([80.91.231.51]:42322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iA0bE-0007fy-0z for control@debbugs.gnu.org; Mon, 16 Sep 2019 19:40:04 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iA0bB-0008Al-8h for control@debbugs.gnu.org; Tue, 17 Sep 2019 01:40:03 +0200 Date: Tue, 17 Sep 2019 01:40:00 +0200 Message-Id: <87k1a7olnz.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #30449 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 30449 fixed close 30449 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 30449 fixed close 30449 27.1 quit From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 19 17:36:56 2019 Received: (at submit) by debbugs.gnu.org; 19 Sep 2019 21:36:56 +0000 Received: from localhost ([127.0.0.1]:56525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iB46h-0001OC-Vw for submit@debbugs.gnu.org; Thu, 19 Sep 2019 17:36:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:33797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iB46g-0001O4-7x for submit@debbugs.gnu.org; Thu, 19 Sep 2019 17:36:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55923) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iB46e-0005WN-7T for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 17:36:53 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iB46d-0005cn-1v for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 17:36:52 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:37749) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iB46c-0005cR-OL for bug-gnu-emacs@gnu.org; Thu, 19 Sep 2019 17:36:50 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 0777C21785; Thu, 19 Sep 2019 17:36:49 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute6.internal (MEProxy); Thu, 19 Sep 2019 17:36:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mnewton.com; h= from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:cc:to; s=fm1; bh=niDDx7pOqfXDVRs5DrlUZQidfYc8+4 2iXvpR+PNEleU=; b=NiUEXiponGvzM1UfoCBsZ4hCAK5ECqy6KEa0QMmWY4GsOt lW4qGCBYN5uliHBj+xfz+zlkRxI4t5bnU9zgsrK+KpNrBf+3WRLvQO/xl1EjMJQy fsOhKk5ZI6FkiwrUS2SZrqwB1iXeoO+L0vVHUBRYhoFbIwFTWTnrlltEOsz9EiVP e7uPRUYiueOtU6pV0wsyO++X2TwKBZe98CQzfHX+h8zwMR/DMym1Y1406ciSFWrI pV+LevIMuJGdFV3ulwxv/z5flqNEF6ZLa6X3fRV0A75FND05aCOU9H2hH5+uVVxJ KYzMSpz+LdnztPVOwnl9QIY4PV0prV1oMKLKN0eg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=niDDx7 pOqfXDVRs5DrlUZQidfYc8+42iXvpR+PNEleU=; b=BAgUqFSUejSJw0pP580KxN aVs7zw/QeKdvyNBedBwwRj0cbo/YuJiYzzR26X5m298IcPmyu3Jj/JosI9uWsyCc IBqXC5YJNQbbuDBRB1uoLNRMPI9r92U2xUbH8IreQRPhbKUfFq3quvgKeu661aWJ CJWuLDg58YXhAx/feodSrGxulRJyd+EYEYyltbhiYIn/Zh8SqSqYNKtZ63/mkEWg l8O+roSaGhxwEdQ6QLz5b50yvSsHhcDdp+OCRxPZTj0XWZXXDN9WpidRa3m+aYO9 NYMYZ0Znr/Y63s845+GGfm/kPRe1RhlNnE8op/2H7dYvtVP+JjekynTYfxcLMGng == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrvddtgdduieegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhtgfgggfukfffvffosehtqhhmtd hhtdejnecuhfhrohhmpeforghtthhhvgifucfpvgifthhonhcuoehmrghtthesmhhnvgif thhonhdrtghomheqnecuffhomhgrihhnpehgihhthhhusgdrtghomhenucfkphepudehje drudefuddrvdehuddrgeelnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghtthesmhhn vgifthhonhdrtghomhenucevlhhushhtvghrufhiiigvpedt X-ME-Proxy: Received: from [192.168.0.115] (157-131-251-49.fiber.dynamic.sonic.net [157.131.251.49]) by mail.messagingengine.com (Postfix) with ESMTPA id 507C880061; Thu, 19 Sep 2019 17:36:48 -0400 (EDT) From: Matthew Newton Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: bug#30449: imenu contains redundant '*Rescan*' item with auto refresh Message-Id: <33378FAE-C23F-4B17-A468-65406AF6D393@mnewton.com> Date: Thu, 19 Sep 2019 14:36:47 -0700 To: larsi@gnus.org X-Mailer: Apple Mail (2.3445.104.11) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.25 X-Spam-Score: -1.6 (-) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) 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=E2=80=99t know the codebase at all and I just spent a couple = minutes looking at it. But shouldn=E2=80=99t 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= From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 20 09:02:25 2019 Received: (at 30449) by debbugs.gnu.org; 20 Sep 2019 13:02:25 +0000 Received: from localhost ([127.0.0.1]:56948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBIYL-00065K-7y for submit@debbugs.gnu.org; Fri, 20 Sep 2019 09:02:25 -0400 Received: from quimby.gnus.org ([80.91.231.51]:54718) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iBIYI-00062h-IG for 30449@debbugs.gnu.org; Fri, 20 Sep 2019 09:02:23 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iBIYE-0000ng-I6; Fri, 20 Sep 2019 15:02:20 +0200 From: Lars Ingebrigtsen To: Matthew Newton Subject: Re: bug#30449: imenu contains redundant '*Rescan*' item with auto refresh References: <33378FAE-C23F-4B17-A468-65406AF6D393@mnewton.com> Date: Fri, 20 Sep 2019 15:02:18 +0200 In-Reply-To: <33378FAE-C23F-4B17-A468-65406AF6D393@mnewton.com> (Matthew Newton's message of "Thu, 19 Sep 2019 14:36:47 -0700") Message-ID: <878sqjazol.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Matthew Newton writes: > 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-resca [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 30449 Cc: 30449@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Matthew Newton writes: > I don=E2=80=99t know the codebase at all and I just spent a couple minute= s looking at it. But shouldn=E2=80=99t imenu--make-index-alist always retur= n 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)) Yes, that looks like the correct fix. I've now applied it to the Emacs trunk. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Aug 08 22:16:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 19 Oct 2019 11:24:08 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 25 19:50:49 2020 Received: (at control) by debbugs.gnu.org; 25 Aug 2020 23:50:49 +0000 Received: from localhost ([127.0.0.1]:36590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAiiG-0004M2-VE for submit@debbugs.gnu.org; Tue, 25 Aug 2020 19:50:49 -0400 Received: from mail-yb1-f170.google.com ([209.85.219.170]:38016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kAiiF-0004Ll-NP for control@debbugs.gnu.org; Tue, 25 Aug 2020 19:50:47 -0400 Received: by mail-yb1-f170.google.com with SMTP id e187so220900ybc.5 for ; Tue, 25 Aug 2020 16:50:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:user-agent :mime-version:date:message-id:subject:to:cc; bh=hrSIK8l2RVytOYyrcuaknhIbe7OPl4pz4tH+dSDlZUA=; b=Gve1SLLsewgQ6P7RaibB/pRQzcKB8hP8ccZKu7ZLFJP+0Nxl4WMsQrK5Mu0Vd98coB XYCboo3812oujSx4wU7GWHn0agJS9yV3Hybop+/V4ejMMLVFa0qsUVCRt8a9QtB6AwFo NvPC26rUx8rWrzTjXSjkSJ3XlfG/wIObMzs6CMWO7DiPrK8teyGomNY9OluU1AoLb/C+ KZT/9uLQdSOaNBx7ESyzB9pOKrKTF4RJFyzyUZdQ3b6EmRGA5E6maeynRSiTbIl3AUIv c9P2dSPP6CY39+gRr7rPRgOTLOVHE2BhBqjedpOo4qiZmpcvwYL8BotEAnD+sM2bTDBj Y+4g== X-Gm-Message-State: AOAM5303+mQVMAg9re+hygj1zXZOlqsUHJEpQI/qBbq6qRXCBgVyyxDz aVh4iEC06XuCY77eQXjbU2JMl25+SNOqZJK9D9U= X-Google-Smtp-Source: ABdhPJy8wHcQVPG90Wa1wlTCy8jWwTURHiPq9DKqrH5oyj7ib9iwSqQpwBx2MjX9atrkJt63PCsfZ0KQryhjNX0tLBs= X-Received: by 2002:a25:7007:: with SMTP id l7mr17344562ybc.85.1598399442269; Tue, 25 Aug 2020 16:50:42 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 25 Aug 2020 16:50:41 -0700 From: Stefan Kangas In-Reply-To: (Alex Peitsinis's message of "Fri, 20 Sep 2019 17:18:05 +0100") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Date: Tue, 25 Aug 2020 16:50:41 -0700 Message-ID: Subject: Re: bug#37460: Imenu bug when imenu-auto-rescan is enabled To: Alex Peitsinis Content-Type: text/plain; charset="UTF-8" Bcc: control@debbugs.gnu.org X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control Cc: 37460@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.5 (/) unarchive 30449 forcemerge 30449 37460 thanks Alex Peitsinis writes: > Fixed in #30449 Thanks, merging the bugs now. From unknown Fri Aug 08 22:16:30 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 23 Sep 2020 11:24:10 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator