From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jose A Ortega Ruiz Newsgroups: gmane.emacs.bugs Subject: bug#58103: [PATCH] docview: imenu access to table of contents Date: Wed, 28 Sep 2022 23:53:42 +0100 Message-ID: <87r0zv5cw9.fsf@mail.jao.io> References: <87r0zxz85h.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="18474"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58103@debbugs.gnu.org To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 29 00:54:10 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 1odfwP-0004eh-PB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 29 Sep 2022 00:54:09 +0200 Original-Received: from localhost ([::1]:44948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1odfwO-0000He-PQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 28 Sep 2022 18:54:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37832) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odfwI-0000Gx-P5 for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 18:54:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36083) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1odfwI-0004pT-GF for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 18:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1odfwI-0003Br-3s for bug-gnu-emacs@gnu.org; Wed, 28 Sep 2022 18:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jose A Ortega Ruiz Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 28 Sep 2022 22:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58103 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 58103-submit@debbugs.gnu.org id=B58103.166440563812254 (code B ref 58103); Wed, 28 Sep 2022 22:54:02 +0000 Original-Received: (at 58103) by debbugs.gnu.org; 28 Sep 2022 22:53:58 +0000 Original-Received: from localhost ([127.0.0.1]:35161 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odfwE-0003Ba-38 for submit@debbugs.gnu.org; Wed, 28 Sep 2022 18:53:58 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1odfw8-0003BI-Hl for 58103@debbugs.gnu.org; Wed, 28 Sep 2022 18:53:56 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38070) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1odfw1-0004oP-VA; Wed, 28 Sep 2022 18:53:45 -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:In-Reply-To:Subject:To:From: references; bh=JMR/0POvv2sc9j3m2oehtpSngMKQi1nCuwQr4DMEJxs=; b=HsobIRAUitbbyz GETJb8dAecPBc9dP4BFj/KcFdyAmK6HnZqLapwFMCL57xxySBgw+vz7FgHPKwSB8YEXHM5QyC7xrO qg6DNM1HdLvQW0PWWHYSou7mdJJ3+J7WPPgED/IAx6cu5oGCAOXOzZmvG6m2QnTYeCSQo2ddxESn7 JcA6ITUYBhDXJT4V9Y0faFfJZ//uqRdgSCWToaYpJ/PBVDRFTLlkSJagRMV9ElyxUQ6a/77m2taGM +1zx10btSKNjW4xExZOqywQb/KssNy8dCcQV5MwylNtGw+eguQsnxdPdOFx7krmEn81+y1GXrAV/8 Niwk5qp6YHLXpTvxjX0Q==; Original-Received: from cpc103048-sgyl39-2-0-cust502.18-2.cable.virginm.net ([92.233.85.247]:50268 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 1odfw1-00077t-IC; Wed, 28 Sep 2022 18:53:45 -0400 Original-Received: from localhost (rivendell.localdomain [local]) by rivendell.localdomain (OpenSMTPD) with ESMTPA id 5c6a32a6; Wed, 28 Sep 2022 22:53:42 +0000 (UTC) In-Reply-To: X-Attribution: jao X-Clacks-Overhead: GNU Terry Pratchett X-URL: 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:243858 Archived-At: Hi Daniel, [...] > Thanks for working on this! I've given it a try, and I get the following > error when the PDF does not have an outline (starting from emacs -Q): Hmm, i cannot reproduce it. When i try for instance M-g i for a PDF without outline i just get back an error message telling me that there is no imenu. I have mutool 1.20, so maybe that's the difference. What's the output of this command in a terminal for you: mutool show file.pdf outline with file.pdf one of those without an outline? Do you have any imenu-related variable customized to a non-default value? Thanks for your help, jao -- The mind commands the body and the body obeys. The mind commands itself and finds resistance. -St. Augustine (354-430)