From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58532: 29.0.50; Support displaying imenu entries in a separate buffer Date: Thu, 20 Oct 2022 00:03:09 +0200 Message-ID: References: <86sfjkxk69.fsf@mail.linkov.net> Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38685"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cc: 58532@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 20 00:04:16 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1olHAe-0009n7-33 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Oct 2022 00:04:16 +0200 Original-Received: from localhost ([::1]:38482 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olHAc-0005k5-UQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 18:04:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olHAQ-0005jr-LG for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 18:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33057) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olHAQ-0004L1-Ca for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 18:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olHAQ-0006fv-15 for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 18:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2022 22:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58532 X-GNU-PR-Package: emacs Original-Received: via spool by 58532-submit@debbugs.gnu.org id=B58532.166621700425615 (code B ref 58532); Wed, 19 Oct 2022 22:04:01 +0000 Original-Received: (at 58532) by debbugs.gnu.org; 19 Oct 2022 22:03:24 +0000 Original-Received: from localhost ([127.0.0.1]:60368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olH9o-0006f5-In for submit@debbugs.gnu.org; Wed, 19 Oct 2022 18:03:24 -0400 Original-Received: from sonic311-14.consmr.mail.bf2.yahoo.com ([74.6.131.124]:40208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olH9k-0006en-PT for 58532@debbugs.gnu.org; Wed, 19 Oct 2022 18:03:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1666216994; bh=DpZZPdS1Yy1yTTKXJd9Oa7ntbU2WitCLWmTDLYV8hec=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=Rqogf7MVM1X2C6D/r41lZ8eJzix3vrAa1IueCayjCmkjhA23fqdTyCRSHKRwCoCqpzuRIaIxNWwqwIWMzRyA84vqXmVI1nBjTmoc++7BmDITHNi+W0sIMJyJZNpqVEzQ8eWvJFu7CypyLhVc4l3U5kF35HCDH10U9dc+2ERdRHx+TEUn2VrzNDq66JSY7FleDeVTf1tWk9H9ReOE7u8cWm4Jy31GZT2+tHrYRTPEiU2fxkejNsq9qZ5FflD8MP57ImH3OiB6/4Glzs47PC1/fuRj4HP7dFO2/28NNAq3yXXV6ORvXaIbhwTaNRoslnya+Y3LRBTUJnkQq81Q+slBSA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1666216994; bh=ZEiUvFPPPF6DaPeXzxf0bFCeQq7hImvEOB50mcjAfOC=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=BgJQMuYgqGNFPClAlurQ5RCRoL8L/THkXE9j/AzqFlqsjoQLzB4fMPnesTICt3I+B1gA/Vfl/jzyqnlaYbcpdEKUu2YSTeQ2XJSioWI4TQgCTpru97jtkmu1zL4n00y7dDbAoFYbmwR9anfhOKh3zIn39P328mhM70Ivb6N/1zrwq5WXKW7tsQvsr7lkRo4/7CjkoZMS857NoZ95xlZxCFxBbdZvpNOBGzvqkrxJ3K+PjHzd46T1YzHrPVigLDHuqZltZOT2QveU8WUfN41J/Cs7QuU1yLJ3sq31iqfynkBWzI3ydtRooaocAFDvK/A3Lux2ayNuumeD4DepxMNMkw== X-YMail-OSG: FeBl0XAVM1mXnhUIU2OtwLARneDAV8eEs8ueP6LZNMEWbbIUSoejEx2MUFUPUkm VAO7Seb0Bez.qXB8m.Plot45Es0n5zGgcTQJZPmeoffhsRIqOPq579EvLteJa9h6MRwuFyujDs9g xKEST_hSvq8QW9as6NQ.LBfmVJRP7ruzbByVHwT7nin1Bjj.w8E9sJbugjcse2hutbixzuQN_XGz lFEItga0h9KNSM.kNBzBtT62T05re37EQuGPb78cv1.yoNMF5plJmmfrJyGn9bPODRVucDIOUguj qwePBpphYHKnmnA5pZqZfo50ukKrSEHORLELf44zEXWr_XO.QOwTxyuDr4HeTkMEEGHAs4sOLnLA QF9HfB7Ic89jOkqaNr272pd5sUXEY71LqFoO7PyIuKtVqTdmKfT7NwCPVlc2NhBRzefgEcmuFzLT o2gbolmDyhYahr7YYCVR5K_okh5Cl8TzO9rUj10lQOYqM2jQJaOEAKgNEmkVqaExq_1DRjlKSlcM xEekJ.DAQVcb9sBloklRKhr8hdtRyUw1S7FFTS4fZyMASPgpKAnhzzMXcASbftpNo8Fxv1Y_Ugnf I93BJ5lFm_ZAsMelb2uc4rqdALC3XZeyVTFIVywd_yruLz8pL51Ma98Vzw9RlzdwJ9YFVVMZXxlN Qv2N1AR_6uA93fQaLfIFitAIFhb8dT1AP0LZsSQJgE8Ls2Sh5B6_Nr_F8gaZBJ7lyVJJtvg3uKoo zF8YF0bWL2jS98j2PvpOX8EMsC9t4rGKdKAIZfiwjBH5qoI6yE2qnJLSLvLTi2Hh69bxCPuAvFKE tuMfRcmq6A9VKsgjR4zQKwtYmr2XbCMPMMRIUSdPMY X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.bf2.yahoo.com with HTTP; Wed, 19 Oct 2022 22:03:14 +0000 Original-Received: by hermes--production-ir2-96dfb7869-w4n5v (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID b25514a4d39f74852e32e7fcfdd1c20d; Wed, 19 Oct 2022 22:03:11 +0000 (UTC) In-Reply-To: <86sfjkxk69.fsf@mail.linkov.net> (Juri Linkov's message of "Wed, 19 Oct 2022 23:50:14 +0300") X-Mailer: WebService/1.1.20754 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245903 Archived-At: Juri Linkov writes: > > Unfortunately, mupdf/mutool doesn't support Unicode characters: > https://bugs.ghostscript.com/show_bug.cgi?id=702358 > Maybe doc-view--pdf-outline could post-process the output > to replace hex-encoded numbers with their character equivalents? > Do you mean for old versions of mupdf? IIUC, recent versions of mupdf already do the right thing: They decode the runes (Unicode codepoints) from the byte string and encode them in UTF-8, verbatim. Only control characters are hex-encoded. I've opened in Emacs the PDF attached to the mupdf bug report and it displays the outline correctly (mutool version 1.19.0). > > The problem is that imenu-submenus-on-top is t by default, > but such order is incompatible with the outline-mode trees. > For example, all functions belong to the Variables outline: > > * Types > imenu > imenu-unavailable > * Variables > imenu-after-jump-hook > imenu-auto-rescan > imenu-auto-rescan-maxout > ... > imenu > imenu--cleanup > imenu--completion-buffer > imenu--create-keymap > ... That's a good point. Perhaps we need to create a special mode to display the imenu hierarchy.