From unknown Sat Aug 16 21:02:03 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#56185 <56185@debbugs.gnu.org> To: bug#56185 <56185@debbugs.gnu.org> Subject: Status: 29.0.50; imenu with imenu-use-popup-menu fails for *Rescan* item Reply-To: bug#56185 <56185@debbugs.gnu.org> Date: Sun, 17 Aug 2025 04:02:03 +0000 retitle 56185 29.0.50; imenu with imenu-use-popup-menu fails for *Rescan* i= tem reassign 56185 emacs submitter 56185 Visuwesh severity 56185 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 07:49:10 2022 Received: (at submit) by debbugs.gnu.org; 24 Jun 2022 11:49:10 +0000 Received: from localhost ([127.0.0.1]:41198 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4hoE-0006na-5L for submit@debbugs.gnu.org; Fri, 24 Jun 2022 07:49:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:36056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4hoB-0006nS-QS for submit@debbugs.gnu.org; Fri, 24 Jun 2022 07:49:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o4hoB-0006dj-IJ for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 07:49:07 -0400 Received: from mail-pf1-x442.google.com ([2607:f8b0:4864:20::442]:34445) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o4ho9-00008B-BN for bug-gnu-emacs@gnu.org; Fri, 24 Jun 2022 07:49:07 -0400 Received: by mail-pf1-x442.google.com with SMTP id t21so2382176pfq.1 for ; Fri, 24 Jun 2022 04:49:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:user-agent:mime-version; bh=uGalIz3YhCHrPXEyy3dsHeF29HJjM4DZW/b2XUVZUeo=; b=l7SLcEhvc0cU3IA7hJJofJMNDySGyeLoJBWVMAi7jFmakNahTBeBCU850W/Q1lPkWd fi5mspGeeqBLmTUrmVLnTSFjd6jDz5kkQUat893xf1MsA1ULcLTcYsdLMKwnf9jVTVsh Zduh/ESJnMJcre+W7synXOluUJ9S2FFbc1Q0PQx3Qmw7lx712YmlClAJ5d66AtXlI4zf i3LpY4GilEYULJ+Uht2T1y9bR/+yB89rpUNi2YdFGT5EBu/hzyGx1wxIL04tM8PO4Gpu /hbeYxFeStjCWeyvDy+WDBopol/ilt+JvCwozioDLI376az/pNFliCTXfnUB03uEgjeo HjQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=uGalIz3YhCHrPXEyy3dsHeF29HJjM4DZW/b2XUVZUeo=; b=tJ0mKWpaf3zveSa0RxoCiiB6uzjnqUOnBOGuHRlAURsSL+8a2Zwk/Wy5GaOgJmdQ7J GrPMmkYMt+ZNNgqCoDpdp/0QKprZjXWX5g339Cvol6wYBwjSjhwBR8DJTACcddP1Io4W AQ+EGhUp1gSbMFK2Cx1OEnXJnVXqgULtaW0KMfD/hYvMtR1pLRFpmwK5ApcFWPb1pR+9 P5d70cOARYnvQt4nVjKc5sDsxG3lYXBoDf9WWSDEJ8d7oFMPQsMsDgyeaohtPoQXB7hF zQh8tWsYXH+PVuRHj5n6iGgxVzjDkQ+OX9iCJOPLkrp9LUvAVoaRd5+YhjJvdeCUlxEX zCwQ== X-Gm-Message-State: AJIora+uAp+oc5AS3mHrhj+o2UK8eeOTht2L5XcDnSdOJUZyEz221j6U lPvStqHNaXWQD2js3BJqjNXzaWxP/lg= X-Google-Smtp-Source: AGRyM1uMbdsJ1z9sqyKuOQIeZCDMkaNbvF1rbd0z0p0PfEgOXOATWlr/Hc5s9PUmwchx6ki0sz1Cxg== X-Received: by 2002:a65:6b8a:0:b0:3fc:4c06:8a8d with SMTP id d10-20020a656b8a000000b003fc4c068a8dmr11615767pgw.83.1656071342481; Fri, 24 Jun 2022 04:49:02 -0700 (PDT) Received: from localhost ([49.204.128.184]) by smtp.gmail.com with ESMTPSA id g19-20020a62e313000000b0051ba8b742e4sm1509965pfh.69.2022.06.24.04.49.00 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 04:49:01 -0700 (PDT) From: Visuwesh To: bug-gnu-emacs@gnu.org Subject: 29.0.50; imenu with imenu-use-popup-menu fails for *Rescan* item Date: Fri, 24 Jun 2022 17:18:59 +0530 Message-ID: <87h74a7044.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2607:f8b0:4864:20::442; envelope-from=visuweshm@gmail.com; helo=mail-pf1-x442.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit 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.3 (--) When imenu-use-popup-menu is non-nil and one selects the *Rescan* item, imenu fails with the following backtrace, Debugger entered--Lisp error: (error "Invalid `key-parse' syntax: %S" ["*Rescan*"]) lookup-key((keymap "sh" ("*Rescan*" "*Rescan*" . #f(compiled-function () (interactive nil) #)) ("x" "x" . #f(compiled-function () (interactive nil) #)) ("y" "y" . #f(compiled-function () (interactive nil) #))) ["*Rescan*"]) popup-menu((keymap "sh" ("*Rescan*" "*Rescan*" . #f(compiled-function () (interactive nil) #)) ("x" "x" . #f(compiled-function () (interactive nil) #)) ("y" "y" . #f(compiled-function () (interactive nil) #))) 105) imenu--mouse-menu((("*Rescan*" . -99) ("x" . #) ("y" . #)) 105) imenu-choose-buffer-index() byte-code("\300 C\207" [imenu-choose-buffer-index] 1) call-interactively(imenu nil nil) command-execute(imenu) Sometimes, this is also observed with an item other than *Rescan*: Debugger entered--Lisp error: (error "Invalid `key-parse' syntax: %S" ["x (def)"]) lookup-key((keymap "sh" ("*Rescan*" "*Rescan*" . #f(compiled-function () (interactive nil) #)) ("x (def)" "x (def)" . #f(compiled-function () (interactive nil) #)) ("y (def)" "y (def)" . #f(compiled-function () (interactive nil) #))) ["x (def)"]) popup-menu((keymap "sh" ("*Rescan*" "*Rescan*" . #f(compiled-function () (interactive nil) #)) ("x (def)" "x (def)" . #f(compiled-function () (interactive nil) #)) ("y (def)" "y (def)" . #f(compiled-function () (interactive nil) #))) 105) imenu--mouse-menu((("*Rescan*" . -99) ("x (def)" . #) ("y (def)" . #)) 105) imenu-choose-buffer-index() byte-code("\300 C\207" [imenu-choose-buffer-index] 1) call-interactively(imenu nil nil) command-execute(imenu) this is in a python-mode buffer containing the following text, def x(): return y def y(): return x No such problem is seen when adding the index to the menubar using M-x imenu-add-menubar-index however. In GNU Emacs 29.0.50 (build 19, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars) of 2022-06-21 built on astatine Repository revision: be35c92c90d455739a6ff9d4beefa2b35d044852 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101003 System Description: Debian GNU/Linux 11 (bullseye) Configured using: 'configure --with-modules --with-sound=alsa --with-x-toolkit=lucid --with-json --without-xaw3d --without-gconf --without-libsystemd --with-x --without-cairo' Configured features: ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XFT XIM XINPUT2 XPM LUCID ZLIB Important settings: value of $LC_MONETARY: ta_IN.UTF-8 value of $LC_NUMERIC: ta_IN.UTF-8 value of $LANG: en_GB.UTF-8 locale-coding-system: utf-8-unix Major mode: ELisp/l Minor modes in effect: reveal-mode: t shell-dirtrack-mode: t outline-minor-mode: t recentf-mode: t paredit-mode: t eros-mode: t flymake-mode: t pdf-occur-global-minor-mode: t hl-todo-mode: t minibuffer-depth-indicate-mode: t repeat-mode: t display-time-mode: t display-battery-mode: t winner-mode: t delete-selection-mode: t straight-use-package-mode: t straight-package-neutering-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t undelete-frame-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t abbrev-mode: t Load-path shadows: None found. Features: (shadow flyspell ispell ecomplete emacsbug bug-reference gnus-fun dired-aux pulse display-line-numbers ement-room-list ement taxy-magit-section taxy ement-notify ement-room ewoc color ement-api ement-structs ement-macros plz dns ts sort gnus-cite flow-fill mm-archive mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-async gnus-bcklg qp gnus-ml expand-region subword-mode-expansions text-mode-expansions cc-mode-expansions the-org-mode-expansions er-basic-expansions expand-region-core expand-region-custom cap-words superword subword nix-mode nix-repl nix-shell nix-store magit-section nix-instantiate nix-shebang nix-format nix gnus-dired face-remap find-dired skeleton smerge-mode log-edit add-log cl-print rfc2104 tramp-cmds tramp-cache tramp-sh tramp tramp-loaddefs trampver tramp-integration cus-start files-x tramp-compat ls-lisp shortdoc help-fns radix-tree time-stamp reveal dabbrev calccomp calc-alg calc-vec calc-aent calc-yank calc-ext calc-misc calc-menu calc calc-loaddefs rect calc-macs shell-command+ misc notifications misearch multi-isearch org-capture doct ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs ob-shell shell ob-racket async ob-async cdlatex texmathp ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view ol-bibtex ol-bbdb ol-w3m ol-doi org-link-doi org-tempo tempo org-id org-refile ol-man org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-footnote org-src ob-comint org-pcomplete pcomplete org-list org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval org-table oc-basic bibtex ol org-keys oc org-compat org-macs org-loaddefs flymake-shellcheck sh-script smie executable ffap noutline outline lua-mode cursor-sensor recentf tree-widget vc-backup log-view pcvs-util vc diff vc-git diff-mode vc-dispatcher network-stream nsm nndraft nnmh nnfolder nnmaildir nnagent nnml nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file url-dired svg dom gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message sendmail yank-media rmc puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util mail-utils range mm-util mail-prsvr server paredit edmacro kmacro eros time-date checkdoc lisp-mnt flymake-proc flymake project warnings thingatpt wordel-autoloads sokoban-autoloads ement-autoloads ts-autoloads svg-lib-autoloads taxy-magit-section-autoloads taxy-autoloads plz-autoloads nov-autoloads esxml-autoloads kv-autoloads transmission-autoloads lua-mode-autoloads nix-mode-autoloads magit-section-autoloads dash-autoloads racket-mode-autoloads eros-autoloads flymake-shellcheck-autoloads writegood-mode-autoloads siege-mode-autoloads paredit-autoloads puni-autoloads expand-region-autoloads filladapt-autoloads compose quail scroll-other-window org-pdftools-autoloads org-noter-autoloads change-env-autoloads math-delimiters-autoloads doct-autoloads ob-async-autoloads async-autoloads emacs-ob-racket-autoloads valign-autoloads cdlatex-autoloads auctex-autoloads tex-site pdf-occur ibuf-ext ibuffer ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch let-alist pdf-misc imenu pdf-tools package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core eieio-loaddefs json map url-vars compile comint ansi-color cus-edit hl-todo edebug debug backtrace find-func wid-edit pdf-view password-cache jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode dired-x dired dired-loaddefs exif pdf-tools-autoloads tablist-autoloads mb-depth repeat visual-fill-autoloads olivetti-autoloads hl-todo-autoloads time format-spec battery dbus filenotify xml disp-table lacarte-autoloads shell-command-plus-autoloads winner derived delsel cus-load easy-mmode avy ring avy-autoloads vc-backup-autoloads icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs rx filecache flymake-grammarly-autoloads grammarly-autoloads websocket-autoloads finder-inf request-autoloads s-autoloads chemtable-autoloads molar-mass-autoloads saveplace-pdf-view saveplace bookmark text-property-search pp saveplace-pdf-view-autoloads pcase straight-autoloads info cl-seq cl-extra help-mode seq byte-opt straight subr-x cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile cconv vz-nh-theme vz-options-theme iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice simple cl-generic indonesian philippine 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 composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting x-toolkit xinput2 x multi-tty make-network-process emacs) Memory information: ((conses 16 798175 167210) (symbols ?0 42938 6) (strings 32 204427 20385) (string-bytes 1 6986157) (vectors 16 112407) (vector-slots 8 2281491 85224) (floats 8 763 521) (intervals ?8 30822 1973) (buffers 992 ??)) From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 08:14:54 2022 Received: (at 56185) by debbugs.gnu.org; 24 Jun 2022 12:14:54 +0000 Received: from localhost ([127.0.0.1]:41247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4iD7-0007Ry-Ue for submit@debbugs.gnu.org; Fri, 24 Jun 2022 08:14:54 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49484) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4iCq-0007RA-C2 for 56185@debbugs.gnu.org; Fri, 24 Jun 2022 08:14:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=QnZuQZNLC6NlzMNtOBS+TSffLoex1vdLJ/1QrI/1xIs=; b=upvSHEwUxSbF29Nzk972vlLfbm HFSRi40Hi0IvsUpyCdEEsj/OfaYF2AO9/y/LtDdF78w5iexOXZtGObcos4qtDwv13F9CsiHyETpeP 4K3RHmas8U/yno/nOOnuHXMqO2dEXSMhwDy7CiazYJs2dJFxlmySmHgFOLPCdrKIBhk8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4iCh-0001QB-6z; Fri, 24 Jun 2022 14:14:29 +0200 From: Lars Ingebrigtsen To: Visuwesh Subject: Re: bug#56185: 29.0.50; imenu with imenu-use-popup-menu fails for *Rescan* item References: <87h74a7044.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAFVBMVEX8+/uuqKFfWlKN hXPY0tAcFxb///+s7z54AAAAAWJLR0QGYWa4fQAAAAd0SU1FB+YGGAwLMa0U+HoAAAGhSURBVDjL zdO9lqsgEABgiNzeWU0fB+gTxV4i9nfRef9X2QFjTNzd4nZ3Cp3DJzP8HIX455DIoYPSXSm7lnOL XVcyFMQBoUZ9LRCJ0FJsrw+IEsoNdIUtbkAdDhYZONVejztEJxAvGRrfNnspJ0T7AO1G3EFkOGlu rBvon6Xi8ARdNZ19BZWhpzk42IGcGHrLgLwHE3AHvIjWmpPl1M4Qd4BFWIb0SeRdxsvW4z4roiWB 1p3dgSzJB8RQ8fMJNJ8SxLTz/g2WKUE+EvsG5pzgg7P6DXDIM7yNGBL83VZlywRFDZXjI9D7IVKZ Sr3f+dpj6H+BZQUYjjBnkNYdgWLP8Mep7zClGdfvYFS/SKEChxDhdQaopRjrsMYLUAhGnvEHKGEp CINL43nRCgDq/NFwokakcb/uhjPuyS+Gz9I/Z8g5LZUg3+BsPNeo1+Ve+nkie5stQ0Qeb02V/w/j 28ncHXxkGMSdYkzHLpfg7zA6AKfqtAa19fgMQ+W903V9+AejD+dQXdtgDkA3mDpQFpcjzLexaPjl jqXwxlcnsTnAfxlfdeid5hiGxPwAAAAldEVYdGRhdGU6Y3JlYXRlADIwMjItMDYtMjRUMTI6MTE6 NDkrMDA6MDB90NPLAAAAJXRFWHRkYXRlOm1vZGlmeQAyMDIyLTA2LTI0VDEyOjExOjQ5KzAwOjAw DI1rdwAAAABJRU5ErkJggg== X-Now-Playing: Karel Goeyvaerts's _From Brussels With Love (2)_: "Ach Golgotha (extract)" Date: Fri, 24 Jun 2022 14:14:26 +0200 In-Reply-To: <87h74a7044.fsf@gmail.com> (Visuwesh's message of "Fri, 24 Jun 2022 17:18:59 +0530") Message-ID: <8735fuqmvx.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Visuwesh writes: > When imenu-use-popup-menu is non-nil and one selects the *Rescan* item, > imenu fails with the following backtrace, > > Debugger entered--Lisp error: (error "Invalid `key-parse' syntax: %S" ["*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: 56185 Cc: 56185@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: -3.3 (---) Visuwesh writes: > When imenu-use-popup-menu is non-nil and one selects the *Rescan* item, > imenu fails with the following backtrace, > > Debugger entered--Lisp error: (error "Invalid `key-parse' syntax: %S" ["*Rescan*"]) > lookup-key((keymap "sh" ("*Rescan*" "*Rescan*" . #f(compiled-function () (interactive nil) #)) ("x" "x" . #f(compiled-function () (interactive nil) #)) ("y" "y" . #f(compiled-function () (interactive nil) #))) ["*Rescan*"]) > popup-menu((keymap "sh" ("*Rescan*" "*Rescan*" . #f(compiled-function () (interactive nil) #)) ("x" "x" . #f(compiled-function () (interactive nil) #)) ("y" "y" . #f(compiled-function () (interactive nil) #))) 105) > imenu--mouse-menu((("*Rescan*" . -99) ("x" . #) ("y" . #)) 105) I think something has gone missing here over the years? Or I'm misreading the commits; that's also possible. We basically end up with this: (lookup-key '(keymap "sh" ("*Rescan*" "*Rescan*" . ignore)) ["*Rescan*"]) Which now signals an error; in Emacs 28 it just silently returned nil. But the problem here is that that's not a valid menu syntax -- the first element should be a symbol, not a string. So I've now fixed that in Emacs 29, which makes this work. But I'm wondering whether there's something more er fundamentally wrong somewhere... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 08:14:53 2022 Received: (at control) by debbugs.gnu.org; 24 Jun 2022 12:14:54 +0000 Received: from localhost ([127.0.0.1]:41245 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4iD4-0007Rq-P4 for submit@debbugs.gnu.org; Fri, 24 Jun 2022 08:14:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:49498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4iD2-0007RX-Lj for control@debbugs.gnu.org; Fri, 24 Jun 2022 08:14:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=UVPFjGzzKvwJOhqUJuvkxIHSlPvLPB34rR5EjsyK0mc=; b=Unvxz51aOXlHUS7GUDgT3LRDsg mIVsGUOO9D6ASxAzFHU9QeCOmKwQKUlVz+yoIVaNxYHaJpYHwjlDwrstGf5vx9/DNvtxfHV6J3V4Z zKeTa7SxXWxjeV8nxAAYANx7X6qPrRo3K0ZtEE49OIV3VJv7G6bEd0NlUDAgvXofx8S8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4iCu-0001QM-LE for control@debbugs.gnu.org; Fri, 24 Jun 2022 14:14:42 +0200 Date: Fri, 24 Jun 2022 14:14:37 +0200 Message-Id: <871qveqmvm.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #56185 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: close 56185 29.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: -2.3 (--) 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: -3.3 (---) close 56185 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 09:09:00 2022 Received: (at 56185) by debbugs.gnu.org; 24 Jun 2022 13:09:00 +0000 Received: from localhost ([127.0.0.1]:41364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4j3T-0004sc-Tz for submit@debbugs.gnu.org; Fri, 24 Jun 2022 09:09:00 -0400 Received: from mail-pg1-f194.google.com ([209.85.215.194]:36794) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4j3P-0004sM-Mq for 56185@debbugs.gnu.org; Fri, 24 Jun 2022 09:08:58 -0400 Received: by mail-pg1-f194.google.com with SMTP id s185so2392951pgs.3 for <56185@debbugs.gnu.org>; Fri, 24 Jun 2022 06:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=lvytc5kmecExNVQ5rl91eDCUerPbVLFhMn7pG63I8Q0=; b=LHe56mD45QuZeBlcpGeRrA+pARlO+vgQW0Xg7KcLwov71sjM78CZzPgeZCXsyO8icG 6I1m6E0PrNmIPGvr4hh1qf0/QE+vUvwWarp32jqk5A4EVWpPi0fPCS9QGPw3IE9+H+lY mD92QxyC1bgSogvIfwHCBn1ALYJlo0riz5651PRW/xU8zbJ0Nizds4NUzwegnovrJ1SU Auc7JEEXGhO67C4dnFcQvx7YgJTUoAj699jEc63pqVYlZLCfsVwzzHMRigxH15oTosMe HiCUocBkcyXWedi9cQVgpeqqPJEgek2v7bEI12Nh/AXc1stLVgz0P4nWF2SRXQkVTFUj 4ZAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=lvytc5kmecExNVQ5rl91eDCUerPbVLFhMn7pG63I8Q0=; b=GBEL9UX8JZEqnWXKzlHwmc3G/cr5pYXN/uXQlJ37iS49P+4r7NN9U6lIMebcOnmjbJ QGFeaw57piyCKHLq3cjAX5ZxA4V58GqT0EEJl16fZI8TVzheEOfkbZmz99xrPV6GnxNK +bb6haD1bDKtQtnDZKzByU8V/ugShZIf3rq0s2Ck3bwAKsZP/fJlBnemjD0fvLMx6INi cekmc21CMvMAsmR9KaVJlQ8EHUuVdcVH0eYDgL+qUv6sbth5TepD1Qm+B0CoyRQIzdcf cv1JOyjBJz0rRVeyyHX0R2KGWmZDusixoStW9h9EZ3nnslS5KfSBMYzQCYIlICrNWLao y9dQ== X-Gm-Message-State: AJIora+mmga61uITGaZ75x0qjQYapInObnp7DEwn+LQaUS3ptNqDZlvf 3yrBS1CTG+VbDYVWf3r8mXc= X-Google-Smtp-Source: AGRyM1vslKqr+ZPeSI0r/aVoUMlOJowzOHlyJIcRzDZp5xyWZdyWZPCqM2p6UMYGlGsvBXzMpXRJPg== X-Received: by 2002:a63:b70a:0:b0:40c:40b2:f001 with SMTP id t10-20020a63b70a000000b0040c40b2f001mr11688580pgf.460.1656076129643; Fri, 24 Jun 2022 06:08:49 -0700 (PDT) Received: from localhost ([49.204.128.184]) by smtp.gmail.com with ESMTPSA id a20-20020a621a14000000b005251bea0d53sm1654434pfa.83.2022.06.24.06.08.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 06:08:48 -0700 (PDT) From: Visuwesh To: Lars Ingebrigtsen Subject: Re: bug#56185: 29.0.50; imenu with imenu-use-popup-menu fails for *Rescan* item References: <87h74a7044.fsf@gmail.com> <8735fuqmvx.fsf@gnus.org> Date: Fri, 24 Jun 2022 18:38:39 +0530 In-Reply-To: <8735fuqmvx.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 24 Jun 2022 14:14:26 +0200") Message-ID: <87y1xmw6nc.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56185 Cc: 56185@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 (-) [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 24, 2022] Lars Ingebrigtsen wrote: > Visuwesh writes: > >> When imenu-use-popup-menu is non-nil and one selects the *Rescan* item, >> imenu fails with the following backtrace, >> >> Debugger entered--Lisp error: (error "Invalid `key-parse' syntax: %S= " ["*Rescan*"]) >> lookup-key((keymap "sh" ("*Rescan*" "*Rescan*" . #f(compiled-funct= ion () (interactive nil) #)) ("x" "x" . #f(co= mpiled-function () (interactive nil) #)) ("y"= "y" . #f(compiled-function () (interactive nil) #))) ["*Rescan*"]) >> popup-menu((keymap "sh" ("*Rescan*" "*Rescan*" . #f(compiled-funct= ion () (interactive nil) #)) ("x" "x" . #f(co= mpiled-function () (interactive nil) #)) ("y"= "y" . #f(compiled-function () (interactive nil) #))) 105) >> imenu--mouse-menu((("*Rescan*" . -99) ("x" . #)= ("y" . #)) 105) > > I think something has gone missing here over the years? Or I'm > misreading the commits; that's also possible. > > We basically end up with this: > > (lookup-key > '(keymap "sh" > ("*Rescan*" "*Rescan*" . ignore)) > ["*Rescan*"]) > > Which now signals an error; in Emacs 28 it just silently returned nil. > But the problem here is that that's not a valid menu syntax -- the first > element should be a symbol, not a string. So I've now fixed that in > Emacs 29, which makes this work. But I'm wondering whether there's > something more er fundamentally wrong somewhere... Thanks, it works now but now I'm wondering if the change will pollute the obarray? Also can `intern' fail at any point because imenu is also used by text-modes like org-mode whose heading can have any ol' character---a quick test in an org file seems to have no problem however, but I'm interested to know regardless. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 09:12:46 2022 Received: (at 56185) by debbugs.gnu.org; 24 Jun 2022 13:12:46 +0000 Received: from localhost ([127.0.0.1]:41379 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4j76-0004zG-EB for submit@debbugs.gnu.org; Fri, 24 Jun 2022 09:12:46 -0400 Received: from quimby.gnus.org ([95.216.78.240]:50052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4j70-0004yw-QI for 56185@debbugs.gnu.org; Fri, 24 Jun 2022 09:12:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=//HZQqHi59HgYomFEmxu4syA9q+r+lgLISin80NoSQ0=; b=pbIZfYo4+8tKYVJ/CCWUStfb/L cSgyY8M5ZDvQ55ynPSkoku2zojJYHYgIxc+0qdjTK4TF3MbVXK8e4QIKtrTdvGVKDIdO92qEFyOY3 CXAn1Y5Zq1ujfNxIx/zu+QkXs2fLekfY71cNhQlQ2hZBsxeXNVr8/C86MeiXOH1B9yH8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o4j6r-00023F-S8; Fri, 24 Jun 2022 15:12:32 +0200 From: Lars Ingebrigtsen To: Visuwesh Subject: Re: bug#56185: 29.0.50; imenu with imenu-use-popup-menu fails for *Rescan* item References: <87h74a7044.fsf@gmail.com> <8735fuqmvx.fsf@gnus.org> <87y1xmw6nc.fsf@gmail.com> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAALVBMVEUifSYtgi8ngCce eyYchCE4aiVeXzDLKUviH1KkPkPbJFEhex4eeR0iaR7///9kUa2UAAAAAWJLR0QOb70wTwAAAAd0 SU1FB+YGGA0IKg2eCGIAAAGUSURBVDjLbZO9TsNADMfNpQvKkvYJLlYXtkj3AhVSkVgRojvqgNgY kHiCVmRCTBU7orqJPY/QvALvgu273kcSK4ru/Mvf9vkcuJh7QwRQiFjLrgKAWgOgRlTaETHyk5Pf oMCZQiWgCZ5oAkwBE4CCGDMGShQGAjJNAhp5PDBO75KnClMYJ8BB8KI5Kzh7SpoYKhNk5zCTQHOJ 4YixWkxq9UA7RQXTB68rmLLxObLko1hyH3oyA19wVlVC9AQgoqncZjoYhCYWqwDqhQDfkPU2yxG+ mm12Z4krihey/fq5T6ut/KzAZWtfVxBHUVZaQXGwdn/nd+Sn2eUlwm1r7fGDAJ+B/HOn1bMnS+DR Z0aZdgE3JLDvK9c/xX+CA7NnFnyyW3GKs0Kv31iA0eTHIbLh1C/RX3NyApJ6vxgCkNzH7yySD4UH 224TQBJXFV61u+sU4MJ3Rx+2KgPSPyp/+ZAL3IVwd5ZDvxsfRUiGVvHaT4m7WoXxYsFHKuEX+Bla 2Z+6rgQY4VPPhK3supT89X3fBYPA/gGhXXr1ewIzvQAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0w Ni0yNFQxMzowODo0MiswMDowMJ/aqr4AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDYtMjRUMTM6 MDg6NDIrMDA6MDDuhxICAAAAAElFTkSuQmCC X-Now-Playing: Gil Scott-Heron & Jamie Xx's _We're New Here_: "My Cloud" Date: Fri, 24 Jun 2022 15:12:29 +0200 In-Reply-To: <87y1xmw6nc.fsf@gmail.com> (Visuwesh's message of "Fri, 24 Jun 2022 18:38:39 +0530") Message-ID: <87y1xmnr2a.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.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: Visuwesh writes: > Thanks, it works now but now I'm wondering if the change will pollute > the obarray? Yes, but we usually don't care much about that. All menus "pollute" the obarray. 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: -2.3 (--) X-Debbugs-Envelope-To: 56185 Cc: 56185@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: -3.3 (---) Visuwesh writes: > Thanks, it works now but now I'm wondering if the change will pollute > the obarray? Yes, but we usually don't care much about that. All menus "pollute" the obarray. > Also can `intern' fail at any point because imenu is also > used by text-modes like org-mode whose heading can have any ol' > character---a quick test in an org file seems to have no problem > however, but I'm interested to know regardless. No, you can intern any string. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 24 09:19:35 2022 Received: (at 56185) by debbugs.gnu.org; 24 Jun 2022 13:19:35 +0000 Received: from localhost ([127.0.0.1]:41416 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4jDj-0005DG-4W for submit@debbugs.gnu.org; Fri, 24 Jun 2022 09:19:35 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:35490) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o4jDf-0005Cv-O0 for 56185@debbugs.gnu.org; Fri, 24 Jun 2022 09:19:33 -0400 Received: by mail-pg1-f193.google.com with SMTP id r66so2424972pgr.2 for <56185@debbugs.gnu.org>; Fri, 24 Jun 2022 06:19:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=f0mST2druKbM1H0qj9LByIUkLDvrei8xaC0n1b/h1dk=; b=hcr5JKAQuFOQ5DLqCPuFqp9VrfbBlZosfgLmsStk/XmkfABQdZoovkGUedJe2wDOPB 4ALb1KCMjdr6EbD5xnWZZcd8iMGUUhUTvs84benb+UYCKC4buVY5zvolIHCm+o907fx4 sP35nd2eLHiIhF3JDJVbvbir5cidqHmmPJ64J8cI1xqUfUFLpRlGIH4MY6otSddznduj UNjjSOeb75Q7Hj6CMqYbb4jTFK4/vIDD1UU1TE67T+pECuS0JlDW6Phn0YtQ4+RVx5E5 zfpMCto1hhlu8W3hAbqN1azxyRI0SLQYrn3ECJOiaGYOpAy9GyVoGYAxpcyeXKs2lfoG mAHw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=f0mST2druKbM1H0qj9LByIUkLDvrei8xaC0n1b/h1dk=; b=EyIrJqndrL4n71uvDAnLuB9x2ONGfo1Mqf3QIc1UFLcIr7GIzBZLggju1vTE41rg/B 5GJWbe0FkqkeYKOXsWcWI3Rn3torzEAN1tu4x7gZxjfCli+OONlCDSFEV9QJSRcGmzuw HLaTSR4qLDd0f8hp5bVt/6vlW8CDfbBnwKR/fYy3eBOc+ShGtD0JCNpoXQkKYA7i6b2U X3OLaU6YY5ddmYItrCRV5hGr1j0COCukI6JdN7b+PKLiV8/CqdXSaq+g2RupRqw7917f ep+k3ZKMfG+9Rx6+sUpk5xMRmBKqqShGx/87bonHQj7vtzn1TGxPu4+AoWKaew5CKmze 0TBw== X-Gm-Message-State: AJIora8wyWoBPjX0U6fTOxhOzCAeE2BF4kHtlBzl1on8y4Fp1ONY2AJW GMQcj+nscabQSmNz1/YUPlw= X-Google-Smtp-Source: AGRyM1ut+jexzhCA/zNhWvIrjdjle1tT4/GOHWSkVU/rZaKktPb16KPRegNJvxhroJtQCs1+6zCf8g== X-Received: by 2002:a63:f715:0:b0:3fd:ebe6:d116 with SMTP id x21-20020a63f715000000b003fdebe6d116mr11701941pgh.230.1656076765849; Fri, 24 Jun 2022 06:19:25 -0700 (PDT) Received: from localhost ([49.204.128.184]) by smtp.gmail.com with ESMTPSA id bi11-20020a170902bf0b00b0016892555955sm1776368plb.179.2022.06.24.06.19.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jun 2022 06:19:25 -0700 (PDT) From: Visuwesh To: Lars Ingebrigtsen Subject: Re: bug#56185: 29.0.50; imenu with imenu-use-popup-menu fails for *Rescan* item References: <87h74a7044.fsf@gmail.com> <8735fuqmvx.fsf@gnus.org> <87y1xmw6nc.fsf@gmail.com> <87y1xmnr2a.fsf@gnus.org> Date: Fri, 24 Jun 2022 18:49:22 +0530 In-Reply-To: <87y1xmnr2a.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 24 Jun 2022 15:12:29 +0200") Message-ID: <87tu8aw65h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 56185 Cc: 56185@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 (-) [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF=82= =E0=AE=A9=E0=AF=8D 24, 2022] Lars Ingebrigtsen wrote: > Visuwesh writes: > >> Thanks, it works now but now I'm wondering if the change will pollute >> the obarray? > > Yes, but we usually don't care much about that. All menus "pollute" the > obarray. > >> Also can `intern' fail at any point because imenu is also >> used by text-modes like org-mode whose heading can have any ol' >> character---a quick test in an org file seems to have no problem >> however, but I'm interested to know regardless. > > No, you can intern any string. Thanks for the clarification! From unknown Sat Aug 16 21:02:03 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, 23 Jul 2022 11:24:11 +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