From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#58532: 29.0.50; Support displaying imenu entries in a separate buffer Date: Wed, 19 Oct 2022 23:51:37 +0200 Message-ID: <87sfjjscra.fsf@rub.de> References: <86sfjkxk69.fsf@mail.linkov.net> <871qr35wfc.fsf@mail.jao.io> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13366"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Daniel =?UTF-8?Q?Mart=C3=ADn?= , 58532@debbugs.gnu.org, Juri Linkov To: "Jose A. Ortega Ruiz" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 19 23:52:13 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 1olGyy-0003Fg-BH for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 23:52:12 +0200 Original-Received: from localhost ([::1]:54856 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olGyw-00013E-Ue for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 17:52:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olGyo-000130-Sh for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 17:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1olGyo-00017T-Kj for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 17:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1olGyo-0006L0-GU for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 17:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2022 21:52:02 +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.166621631124343 (code B ref 58532); Wed, 19 Oct 2022 21:52:02 +0000 Original-Received: (at 58532) by debbugs.gnu.org; 19 Oct 2022 21:51:51 +0000 Original-Received: from localhost ([127.0.0.1]:60350 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olGyc-0006KZ-Vd for submit@debbugs.gnu.org; Wed, 19 Oct 2022 17:51:51 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:35633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1olGyY-0006KK-OT for 58532@debbugs.gnu.org; Wed, 19 Oct 2022 17:51:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1666216299; bh=j6xvw+TKqTnwQQz/dIgSn8R2P+EANz6zQK6vsuE2qEs=; h=X-UI-Sender-Class:From:To:Cc:Subject:In-Reply-To:References:Date; b=JggDJpgNTkSFosSFL5UJ3XW0wCYgrL0gc4ADS5dDiEXKifaksxnA987vKOUs49YmP LMClrsxzL4mvKeI3kO26jFTrMPZG9a5RLj6ORi1XKbETxrVCe4I07unN9aMDUOq8Qb nfsaq65cSLcJsJnLmO/tu2gurp62H1hYGHwf7fak= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from strobelfs2 ([89.246.38.37]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MrQEx-1pQt373fPT-00oSv2; Wed, 19 Oct 2022 23:51:38 +0200 In-Reply-To: <871qr35wfc.fsf@mail.jao.io> (Jose A. Ortega Ruiz's message of "Wed, 19 Oct 2022 22:35:19 +0100") X-Provags-ID: V03:K1:EK5iPjwPxVsL8zHTwCpBkog6p3aI7pMIk4znyayNebGp4W10kes x8ylJdYuzmxc4EI1DtEI/LRPk1IirRHh/6r73nlJIVTkaFHAJC7IFup1WvMcXj2ehlk89DJ r4tZJq8gMUbWqY+RhWcPd/ozZhM9rKTbNDAQvDNfkNrp2UIrK1+Fec9UUt0x3xpNfwNWaBF gGEDFOxtKFLXOklpearIQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:S8bjCoS/7tQ=:TUpI0FlxqR3+YL2xJneUiN YOqDaDW6BkoRoGLYPgAS9nDBY7ErlR7AasosExrjGDFnd5KybuwZWNBNyHZeV7kKkePOI/j6R ZtIQ78FzgoNa5+Ebv8K1U/KpiTSu512WAkeLmH+4I+tQHzkJT23a1vhCi9BBkDAHQBbXgAVxA j/5g0nFP3Ea5lM0kUbm8j0RgGxBw0q8qhlcRv4ydsyJZ7DpqQH2uHpXJE3bX/JV7fG1quLe2D yuFr4e3snZEFlJFcNKI20xLYE7iLco3V2WzLUub7/HpZnW8Lz8cfrjq+50ythnk5Ab66H4oXs DjoSf8tgi4BTCYNizofC0bcoE3+tRc1JyYofJp4JvgScf5zk4XX2YBo+pm8BCTR6WdDZPvtOJ fybZ/RaFJFyskJpQ6tQtySPVfxchx2nf0tHzM6es1egAxukLz1Ry9exLHzjvSwl+xeNb11u8y 2pSY2bF3CbOZg+8kZq8p5qrzOs2GKeJ+ssP75L/zfA6/hvy54QUZJ9hGXmbT3LOn9MV+cW2/e xoWnazdecVCjLeVQU/3UcK20kqGSTjI2eNH04R/N9TU4JFlyo1+MA5GTT6uYiZjDsS4KnBvbj 0bV2h4FYha0ZOVvanVFej0XskHq6OH10P3yrItRFpz8UjtD/F4ujrQGEKtwzQSKDFbfFmhrY+ fWurQ+Cml8oDEmYFIdEvguWocJZNjPpQtm3+1ajGA/QnEm45fxDdi3Jdr7FQoGH8XxOb+nG8C YjQO/lB+Bf5GhWJxr28nykLlsTjlqYAeLBXJJyfuQ0DWcF8g43Mi6BJwiClOQnX+sXZuNXYv 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:245901 Archived-At: On Wed, 19 Oct 2022 22:35:19 +0100 "Jose A. Ortega Ruiz" wrote: > On Wed, Oct 19 2022, Juri Linkov wrote: > >>> It'd be great if imenu supported displaying its alist of entries in a >>> separate buffer. This is particularly useful when the list of entries >>> has many levels (for example, it is the table of contents of a PDF, >> >> 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? > > i wasn't aware of this mutool limitation when i wrote that function; if > the encoding is good enough, yes, we could do that: i'll send a patch, > unless someone already did. hmmm, do somebody have a good example of a > PDF with lots of unicode in its section titles? That bug is marked as fixed since 2020-05-07. And indeed, using mupdf-1.19.0, when I execute the recipe given in the bug report non-ASCII UTF-8 encoded characters are correctly displayed. Steve Berman