From unknown Fri Aug 15 15:57:41 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#58180 <58180@debbugs.gnu.org> To: bug#58180 <58180@debbugs.gnu.org> Subject: Status: [PATCH] docview: fixes for imenu generation Reply-To: bug#58180 <58180@debbugs.gnu.org> Date: Fri, 15 Aug 2025 22:57:41 +0000 retitle 58180 [PATCH] docview: fixes for imenu generation reassign 58180 emacs submitter 58180 Jose A Ortega Ruiz severity 58180 normal tag 58180 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 29 15:51:54 2022 Received: (at submit) by debbugs.gnu.org; 29 Sep 2022 19:51:54 +0000 Received: from localhost ([127.0.0.1]:39648 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odzZZ-00071r-Sn for submit@debbugs.gnu.org; Thu, 29 Sep 2022 15:51:54 -0400 Received: from lists.gnu.org ([209.51.188.17]:33174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odzZV-00071h-Up for submit@debbugs.gnu.org; Thu, 29 Sep 2022 15:51:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58700) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odzZV-0003j5-PX for bug-gnu-emacs@gnu.org; Thu, 29 Sep 2022 15:51:49 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:42514) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odzZV-0003Ct-GN; Thu, 29 Sep 2022 15:51:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to: references; bh=9TzavO3G7d4VCwv3A4xr3dtFdX/aPgesy/qtk82M9KM=; b=V0a9rbSIpnXGa1 JyV5xnQBvXRi+xpowEJTodpQyxlfoiHOSTqaaKxmAs7eVFxQbMvPwoPZxbIZyQi1j0VuteWztWiD+ JN3F8C8b5jjUoWuqDN3/amlOvOgMuqVpnZjdyveyOgbRgas/Tk5peH4UCtfgaN2Yc8aAA3af1e4jB IowLwCAznYq53i86z6+nhXD/wlEEMuq7EIOm6Hqtb9D8bWdwfHjMuWd6NIxcYRc7PReQKc4clh8yj VI6WMnw6G8jUOaKdEx5mfSWgAEJajJ9tyhjtJ/XgdtCffaFTd5s7MtYC0DU5u3fLZ6L8NvObN8lho 1np6g7qRHiU7bcNbxPtA==; Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:47836 helo=rivendell.localdomain) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odzZU-0000Ih-Vr; Thu, 29 Sep 2022 15:51:49 -0400 Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id f46bde88; Thu, 29 Sep 2022 19:51:45 +0000 (UTC) From: Jose A Ortega Ruiz To: bug-gnu-emacs@gnu.org Subject: [PATCH] docview: fixes for imenu generation X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: Date: Thu, 29 Sep 2022 20:51:45 +0100 Message-ID: <87fsga557y.fsf@mail.jao.io> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: submit Cc: Daniel =?utf-8?Q?Mart=C3=ADn?= 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 (---) --=-=-= Content-Type: text/plain Tags: patch As mentioned in the commit log, a fix for a bug i introduced in my previous changes, and also for the bad behaviour observed by Daniel for documents without an outline (or an associated buffer-file-name for that matter). In GNU Emacs 29.0.50 (build 20, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-09-27 built on rivendell Repository revision: 7368cdd359325cb6ed83688178ae4b4eaf22f4d5 Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12101004 System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --prefix=/usr/local/stow/emacs29 --with-x-toolkit=no --with-imagemagick -C' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-docview-fixes-for-imenu-generation.patch >From d2d2d829c9b8daf2cb0aca15cd58bca4679ea192 Mon Sep 17 00:00:00 2001 From: Jose A Ortega Ruiz Date: Thu, 29 Sep 2022 20:19:11 +0100 Subject: [PATCH] docview: fixes for imenu generation * lisp/doc-view.el: (doc-view--pdf-outline): (doc-view-imenu-index): (doc-view-imenu-setup): fix multiple empty index generation for documents without an outline, caching the result (see discussion in bug#58103). (doc-view--imenu-subtree): fix for nested imenus (bug introduced in commit fe002cc8ce) --- lisp/doc-view.el | 43 +++++++++++++++++++++++++------------------ 1 file changed, 25 insertions(+), 18 deletions(-) diff --git a/lisp/doc-view.el b/lisp/doc-view.el index 80c4fd21de..b1ea90c212 100644 --- a/lisp/doc-view.el +++ b/lisp/doc-view.el @@ -1900,6 +1900,9 @@ doc-view-search-previous-match (defconst doc-view--outline-rx "[^\t]+\\(\t+\\)\"\\(.+\\)\"\t#\\(?:page=\\)?\\([0-9]+\\)") +(defvar-local doc-view--outline nil + "Cached PDF outline, so that it is only computed once per document.") + (defun doc-view--pdf-outline (&optional file-name) "Return a list describing the outline of FILE-NAME. Return a list describing the current file if FILE-NAME is nil. @@ -1907,19 +1910,20 @@ doc-view--pdf-outline Each element in the returned list contains information about a section's title, nesting level and page number. The list is flat: its tree structure is extracted by `doc-view--imenu-subtree'." - (let* ((outline nil) - (fn (or file-name (buffer-file-name))) - (fn (shell-quote-argument (expand-file-name fn)))) - (with-temp-buffer - (insert (shell-command-to-string (format "mutool show %s outline" fn))) - (goto-char (point-min)) - (while (re-search-forward doc-view--outline-rx nil t) - (push `((level . ,(length (match-string 1))) - (title . ,(replace-regexp-in-string "\\\\[rt]" " " - (match-string 2))) - (page . ,(string-to-number (match-string 3)))) - outline))) - (nreverse outline))) + (let ((fn (or file-name (buffer-file-name)))) + (when fn + (let ((outline nil) + (fn (shell-quote-argument (expand-file-name fn)))) + (with-temp-buffer + (insert (shell-command-to-string (format "mutool show %s outline" fn))) + (goto-char (point-min)) + (while (re-search-forward doc-view--outline-rx nil t) + (push `((level . ,(length (match-string 1))) + (title . ,(replace-regexp-in-string "\\\\[rt]" " " + (match-string 2))) + (page . ,(string-to-number (match-string 3)))) + outline))) + (nreverse outline))))) (defun doc-view--imenu-subtree (outline act) "Construct a tree of imenu items for the given outline list and action. @@ -1932,7 +1936,8 @@ doc-view--imenu-subtree (nested (not doc-view-imenu-flatten)) (index nil)) (while (and (car outline) - (or nested (<= level (alist-get 'level (car outline))))) + (or (not nested) + (<= level (alist-get 'level (car outline))))) (let-alist (car outline) (let ((title (format-spec doc-view-imenu-title-format `((?t . ,.title) (?p . ,.page))))) @@ -1953,16 +1958,18 @@ doc-view-imenu-index the buffer other than the current buffer, and a jumping function GOTO-PAGE-FN other than `doc-view-goto-page'." (let* ((goto (or goto-page-fn 'doc-view-goto-page)) - (act (lambda (_name _pos page) (funcall goto page)))) - (car (doc-view--imenu-subtree (doc-view--pdf-outline file-name) act)))) + (act (lambda (_name _pos page) (funcall goto page))) + (outline (or doc-view--outline (doc-view--pdf-outline file-name)))) + (car (doc-view--imenu-subtree outline act)))) (defun doc-view-imenu-setup () "Set up local state in the current buffer for imenu, if needed." (when (and doc-view-imenu-enabled (executable-find "mutool")) (setq-local imenu-create-index-function #'doc-view-imenu-index imenu-submenus-on-top nil - imenu-sort-function nil) - (imenu-add-to-menubar "Outline"))) + imenu-sort-function nil + doc-view--outline (doc-view--pdf-outline)) + (when doc-view--outline (imenu-add-to-menubar "Outline")))) ;;;; User interface commands and the mode -- 2.37.2 --=-=-= Content-Type: text/plain -- Some stories are true that never happened. -Elie Wiesel, writer, Nobel laureate (b. 1928) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 09:09:02 2022 Received: (at 58180) by debbugs.gnu.org; 30 Sep 2022 13:09:02 +0000 Received: from localhost ([127.0.0.1]:40778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeFlF-0004Lw-Sv for submit@debbugs.gnu.org; Fri, 30 Sep 2022 09:09:02 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54966) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeFlE-0004Lb-5d for 58180@debbugs.gnu.org; Fri, 30 Sep 2022 09:09:00 -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:Date:References: In-Reply-To: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=mQ26y18N0Fj59CDwdrrsftDZR1ZHmPkDyOy5cRk1rBg=; b=bmPm2V2L0bgA0SYh6lL0NI2wB2 ISKiurccoaYAdAJLUPZPi0OCwhMnlVKLf/90IrY7yv91I6v9UPFQhSzruKLJh7dYulTg/O4mKrem7 ZAEhN43zi8RDWLPgynR/s9j3NHLFre6d8RfZaARmXu3D426r9CnEoYFLeUirwSecuzJA=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeFl5-0000Jb-Pm; Fri, 30 Sep 2022 15:08:53 +0200 From: Lars Ingebrigtsen To: Jose A Ortega Ruiz Subject: Re: bug#58180: [PATCH] docview: fixes for imenu generation In-Reply-To: <87fsga557y.fsf@mail.jao.io> (Jose A. Ortega Ruiz's message of "Thu, 29 Sep 2022 20:51:45 +0100") References: <87fsga557y.fsf@mail.jao.io> X-Now-Playing: Boogzbrown's _L'Esprit de Nyege 2020_: "Airwave" Date: Fri, 30 Sep 2022 15:08:51 +0200 Message-ID: <875yh56mcc.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: Jose A Ortega Ruiz writes: > As mentioned in the commit log, a fix for a bug i introduced in my > previous changes, and also for the bad behaviour observed by Daniel for > documents without an outline (or an associated buffer-f [...] 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: 58180 Cc: 58180@debbugs.gnu.org, Daniel =?utf-8?Q?Mart=C3=ADn?= 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 (---) Jose A Ortega Ruiz writes: > As mentioned in the commit log, a fix for a bug i introduced in my > previous changes, and also for the bad behaviour observed by Daniel for > documents without an outline (or an associated buffer-file-name for that > matter). Thanks; pushed to Emacs 29. From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 09:09:08 2022 Received: (at control) by debbugs.gnu.org; 30 Sep 2022 13:09:08 +0000 Received: from localhost ([127.0.0.1]:40783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeFlL-0004Mh-9X for submit@debbugs.gnu.org; Fri, 30 Sep 2022 09:09:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:54980) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeFlH-0004Lg-KG for control@debbugs.gnu.org; Fri, 30 Sep 2022 09:09:03 -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=9kf2k1acHRt9/317aThHve9gBkuQU7JW2T+YWI+NaUE=; b=OvKLjH7jPKk6lhpdJuxHaSIHX9 WK6obfuReROwxoW49zIoJUB1i+NRHhJ++WbsY74WPncoMIlJiXFxCIsT53UnQPVscpEO6jGRzzYyf zbj3DY1No7SiyEnK11qg4ZMp6KdNnXmdJi8Im52LUMh07abuuHLWyAf3i1piAEtdophU=; Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oeFlA-0000Ji-0J for control@debbugs.gnu.org; Fri, 30 Sep 2022 15:08:58 +0200 Date: Fri, 30 Sep 2022 15:08:55 +0200 Message-Id: <874jwp6mc8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #58180 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 58180 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 58180 29.1 quit From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 30 11:33:15 2022 Received: (at 58180) by debbugs.gnu.org; 30 Sep 2022 15:33:15 +0000 Received: from localhost ([127.0.0.1]:42688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeI0o-0002el-Q0 for submit@debbugs.gnu.org; Fri, 30 Sep 2022 11:33:14 -0400 Received: from sonic310-11.consmr.mail.ir2.yahoo.com ([77.238.177.32]:36046) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oeI0k-0002eV-Jb for 58180@debbugs.gnu.org; Fri, 30 Sep 2022 11:33:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1664551984; bh=P7CXfKRbzgAYtsKkZSfVHdRSP+WfOeDJ+nZiJ4sD7js=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=JMpZqngmxIlvRj6gVqwarPchhUzFWmH2qqFFc/luqq8fFxlQeuvQer0LE67UEkeT9Cv+APsd7SBSBuXoZ7s1paL5WLljT5qMole6nPPv2aQZ+6by7I4g/jWDKLujVP0nZw5zDxq+n3Fmy/b/Mw2+yrM7EnRNfbx7PTNiP2HKKHeTpqsA67saFYTArgRFzh4PFH5QLtpvMWclWbPi+gpS8P6Ww81KTgMMZHfYyxWAS6xytpvFRrdnLopgvwcfe85eh4F9D56bUyAByZokCIgutQ4xbazSi/ir1FxTvl1GvfgG1N+m7zk2/6EHnDGytUr+OmhlFMha4Ai7loVWzMk6Hw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1664551984; bh=hzIlPXKOkt9S+D2f3koJBfZT0Qn5yJh6nZCP2uMistp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=SyhmC5yJpm3D+8BI9uuP1JNHlvJr75GcSrm4WfmGcvOQSO28JWbhKwXqD7/PgC5+seQLdbmtmjAKFGRstd09jMLsEn/5SNHAnsOrtqhMFk335g7EBzffHPHi16ljtPKz5H0hN/PzgUpBa9L+PWFQiLWmDSwV2N1Vu4vE6c8sPgZIur6vHDm4rmFtFkoWDR4XMnk/i4T7ODSLN4tVucR4EISu6aEHg6MnJXruNGZRXf8W4r9R1fgdquS/Itz4GtzIdd9PsqyTcb9QtyfUqgqsotkCo0VzLRwtPSPAFzXcvgVZkYuU12zZ3VXJHAg9zG/AjUfddxUywfS7kUxahVLHKQ== X-YMail-OSG: Dyrfz0MVM1kaS7wLs5L4TPEpm6KoVOe6Xbu92tzpoCftsRYojoipyRzUKLiqx_H 8OKqSaakBfo6rPUQIxxNG5LpLgsaVKEXgFRMj0DQyjGjVr6qOGD0ljUH2C2UUvZTYdxPSWDym__T v9wrvECaJaZV6MCrbIUe82a00bdlqlor8PHSOVejPwaRQ8M.4yQt_zWpjy_r23H_af5fX8Ufk_z6 cZCF0FEu97gPo9X0_FkPYxShUea1NolMcUDt9yVPAZAk0IqkgmGne5wDiIe9taKCmNH7pwzjggHW 9QKXpsGsxKOAqMVg3RaS7jD39d.MLVifURKFXolFuUeKOF6Z0aZJGUKIHrUd3NlDrFv.CIJ4vLz5 He3Ls1HBuOLF3exai9ulAq_8nzsSj.gvGZzudQ4P8G4Nsqo7s1lemiHBv5vsc10W4UtzGvM25agy NV0jgLeSBJkoUSQE89OjV1aAovaZVqxBxgjKruzUfUy5OQ42qMwtMHB5l6DnZRfpw_NpMkUfOgpK _mXOVCuYowHoeH4r7dUgbleKD3gFCrWfNmKcPGxhlA7IdbRh.GBpqQBREF8O7KK.Oxz.NHkW0bG6 AQ6VGbpjYVRu4.k2z2PgSAt238pWHYIWhWnDrrJzYH9trpFpS.L.IJb8H2q_DocKc8I2enHnPDeH 6GvBkDcO.GsnpANSQn5sGjv6VGycEhPfY0Q.uKhRDRWzj4kKkb._qR2pc5TzztJ3Drp4mYJQHRFo nu.MZlHqyrZNz0ILmZpmsaYiYUKNJ0ZaBduifaGfNzAMgt5.0tzscl.lCkzJxqCwMOAejDPLdWvN qTW0Rsv8GHHWjM.SAP.rRCXv8Ks1oZVqeSKPGsBlGEU6EBUHyvGvA7iCYr0UBbHMsl.wf8QRvIJk VQLyxmAj.hbCPHjdvzksuuZZDxSgygK8XbtfhOneR5w_Hi0dPmL4o5mLDM1eTCIX9uqIIlpz5k4c e_Db6_ZfF.8_IfyfV6gXTfyONtp7XR8rD1PscFIuXlmDgk3AlVCSDURRFVgO74k9iUzvWd1bI6HI zyBM5qFKkNcLSmSTlUWY_mWfb6eSzvQKP9SyRTLFLmpJ45bEFobg0mSJXUKPFL8TOANe1gGOq3nA TGERbm8eTxXwg9jeRSnBUhHIknqQ4mCIvMYlgWXjFeK4vq3_TyVCUar6agEN5LaX9SsPUCcJPGcg ope1pckaNm1O7NlBBiYn3pZGslOvqdNX0.XCgq6TXWyQn0emV8YheUNDDJIAviW9ajbx39Y8iojl VPeNNT_xRHBtwhI1k0ymAlJXdz_43xpBAiwqCATNd8bcddyIY_kFYhVyIIpJMovH.LXUpY5CMKTC FmYk9JVmsqpSDWv7ObwfOQ8QDh38.9.RGVewPbrzBveCw8_M61.cO_qlLsd_dSdxz9yQ3cE5cuTB wpjN.1lMf_hzMPTD8DZhDSY3V.a9jDSN69DTdaFbnXrprPalA50X2FcwleRYDkavBWQOBLBzP_Vo sQe0l6UXrTq6lf_KlBSRbmKOi1t.gl0tAC8lVearLoUUWYWUrqpWZoa6eOIVGDzGhhnMhu7HHuoj NvCOhqEVzxt2t0Q0Ij90NK0hjYFS92Grl6Tg1rVinuqG71B93tGKAWwECqqSjtQAWJ9oOTQ0MwCB D6CBcNbKpmU.y2LqpfnhROTf1UG0TdnGAsRMaKG5UYmZFsoHNXFghgeDrXXNNxR21waKLLEznQwL PVreyELHk9hy.IrJ4_6rgFd5MXdzBgumfNFeCvjja9wls8EhmL_GnqS_L3diJqN4MUicXXxR4DRA wnJONwFIZVMLrl29nNiB3mOMgu9.X6HWg7PTSAghWZjauta.QBYZ3maQ9O6TSYqATUBun8HNpjNV WeTT3XiTgajwwnac88GJ8.heyihUz2XLYvJKUcIbi149aiFhCdWK45q_rQsIhCYreF6NChHDOD_G YwEmvdMB1oZWXkEx_l7chtz1esgPMzTNlqVXVreGCoTMQEvfBaR1YaSYRqyKKMk.GSeXz7T7mwID 6YGrYs6YXYXQUdEK_Tfi8O0MVMrmr.vOcPQSHHwaC4cM2BJzRtoUbyka4GrPxo0Lxmdzhzyk_uUr wbX3iXsg1uRd6rBBTjUEQT8PzXHpSL3CKrgxgf1Pbrv9WYDoNkoU4FvQjPWhvg4x712vDrQIW9il eiOrzgS_reQFVv3b0MSTLchMdIUoSBITljYw8uXgnymLlvm9sNxngmt_uBckoSmGsqJSKXSkfZfl xV6SsA9SJmgrU0JNPRzE_J9qJHtldfuHo0d0i2Z405xpIy2kkgDC1 X-Sonic-MF: Received: from sonic.gate.mail.ne1.yahoo.com by sonic310.consmr.mail.ir2.yahoo.com with HTTP; Fri, 30 Sep 2022 15:33:04 +0000 Received: by hermes--production-ir2-6f864959cb-whgwh (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 1c3aafcf3544ed6361f8996b45b07cf7; Fri, 30 Sep 2022 15:32:59 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= To: Jose A Ortega Ruiz Subject: Re: bug#58180: [PATCH] docview: fixes for imenu generation References: <87fsga557y.fsf@mail.jao.io> Date: Fri, 30 Sep 2022 17:32:58 +0200 In-Reply-To: <87fsga557y.fsf@mail.jao.io> (Jose A. Ortega Ruiz's message of "Thu, 29 Sep 2022 20:51:45 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.1 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.20702 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 362 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 58180 Cc: 58180@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.7 (/) Jose A Ortega Ruiz writes: > Tags: patch > > > As mentioned in the commit log, a fix for a bug i introduced in my > previous changes, and also for the bad behaviour observed by Daniel for > documents without an outline (or an associated buffer-file-name for that > matter). Thanks, with this patch it correctly reports that imenu is unavailable. From unknown Fri Aug 15 15:57:41 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, 29 Oct 2022 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