From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#73638: 31.0.50; doc-view: imenu index cannot be made for LaTeX PDFs Date: Tue, 08 Oct 2024 17:43:33 +0200 Message-ID: <87o73uwqfu.fsf@gnu.org> References: <87ploebyhc.fsf@gmail.com> <87ed4upbmf.fsf@gnu.org> <86plodvlcm.fsf@gnu.org> <87ttdphhir.fsf@gmail.com> <87jzel3aus.fsf@gnu.org> <87plodh68g.fsf@gmail.com> <87plod8ob3.fsf@gnu.org> <8734l9h0nj.fsf@gmail.com> <87y130z988.fsf@gnu.org> <87bjzw5knb.fsf@gmail.com> <87zfng44px.fsf@gmail.com> <87set8yy21.fsf@gnu.org> <87v7y43wh8.fsf@gmail.com> <87msjgymxm.fsf@gnu.org> <87jzej3p4p.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25064"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.12.6; emacs 31.0.50 Cc: Eli Zaretskii , 73638-done@debbugs.gnu.org To: Visuwesh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 08 17:44:26 2024 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 1syCNt-0006QI-V6 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Oct 2024 17:44:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1syCNU-0007Jl-C8; Tue, 08 Oct 2024 11:44:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1syCNP-0007J4-2b for bug-gnu-emacs@gnu.org; Tue, 08 Oct 2024 11:43:55 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1syCNO-0003KT-01 for bug-gnu-emacs@gnu.org; Tue, 08 Oct 2024 11:43:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=Fc44BvhgCq6gyRNWTzlfZBTcJnAQEQAItsW3PHdRTbc=; b=hxoOUsy0OB/37ZDlB5oIdwhHnF8aBtumAibB9KVl/BbEY7FusCn6epCjp9Vom4hGO7kRHrt9DPFOocf6dqC1SYRa/73x+mHhvaII/EYK/4Gh2WbtLSZfu38NGlG6g03LI1GLDYAlBZt02W9sLFq94QxJ081goM51GQqTUR3u+FdMAcMzHeMc+thAImh6Ydz/9T4IabBO5HFL+lX1qXX7OTmLheLVG14judQ535O87D5JbfrKCSaCIz/WZg/ejdruezb4GUSdOauDAujqg3TRGleYMqWG4rFbxZFMGRYm0BHTRNU2w4A3fFmTN6nRSF/CPF69YBC5bTDKNjIC/ZNt6g==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1syCNW-0006LL-Ie for bug-gnu-emacs@gnu.org; Tue, 08 Oct 2024 11:44:02 -0400 Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Oct 2024 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 73638 X-GNU-PR-Package: emacs Mail-Followup-To: 73638@debbugs.gnu.org, tsdh@gnu.org, visuweshm@gmail.com Original-Received: via spool by 73638-done@debbugs.gnu.org id=D73638.172840223524359 (code D ref 73638); Tue, 08 Oct 2024 15:44:02 +0000 Original-Received: (at 73638-done) by debbugs.gnu.org; 8 Oct 2024 15:43:55 +0000 Original-Received: from localhost ([127.0.0.1]:53995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syCNP-0006Ko-BN for submit@debbugs.gnu.org; Tue, 08 Oct 2024 11:43:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33344) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1syCNN-0006KZ-2K for 73638-done@debbugs.gnu.org; Tue, 08 Oct 2024 11:43:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1syCN9-0003Jc-0C; Tue, 08 Oct 2024 11:43:39 -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:References:In-Reply-To:Subject:To: From; bh=Fc44BvhgCq6gyRNWTzlfZBTcJnAQEQAItsW3PHdRTbc=; b=R6MXxiiYeJIclZw5/svg 6vjtC1fNLt48kJjdssxC175PkmOAj+01QtpgRFn+rxrdWiXIi4NP4Z+sTWxoekw2WzfUF5Fl7Q2X+ F7+uSOBlM3oaevHEgJR2kkxAz+/3rY7LGnq1AeIIpJ0qxfkANxe1aVhKWbWK8sk1jst4xqnJp9CLe JMu6xl7ryiveuX0RzCKPS8zYTXYUeiU1dIuSvc1EF/ldGwh3qAceb04JxsNO72O9gPjTZZrkpGaMV 4D5xsl6s2yLOHiga11O0qrU4PO4K75CBSwq7/dYGI0pBVyyR/S5P/K+lxocmOutjGDbiG0J1FQ37c fWPrIY/iHlf0CA==; X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrvdefuddgledvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvvefujghffgffkfggtgesthdtredttdertden ucfhrhhomhepvfgrshhsihhlohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenuc ggtffrrghtthgvrhhnpeetgedvleeuvefhveehteffteeflefgtdelleegffefffevvedt hfevueeiffelleenucffohhmrghinhepmhholhgvtghulhgvshdrihhnpdhprhhotggvsh hsvghsrdgrthenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhr ohhmpehthhhorhhnodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfe ekjeekgedqieefhedvleekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdr fhhmpdhnsggprhgtphhtthhopeefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhope ejfeeifeekqdguohhnvgesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopegv lhhiiiesghhnuhdroh X-ME-Proxy: Feedback-ID: ib2b94485:Fastmail In-Reply-To: <87jzej3p4p.fsf@gmail.com> (Visuwesh's message of "Tue, 08 Oct 2024 15:14:38 +0530") 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:293161 Archived-At: Visuwesh writes: >> Nope, now I get off-by-many-hundreds errors. The Imenu entries have >> the page number in parens, right? If so, I have many references to >> pages that are thrice as large as the actual number of pages, e.g., >> here some parts of the *Completions* buffer for the Atkins book: >> >> FOCUS.1.The.properties.of.gases.(341) >> FOCUS.10.Molecular.symmetry.(4181) >> FOCUS.11.Molecular.spectroscopy.(4481) >> FOCUS.12.Magnetic.resonance.(5181) >> FOCUS.13.Statistical.thermodynamics.(5621) >> FOCUS.14.Molecular.interactions.(6141) >> FOCUS.15.Solids.(6701) >> FOCUS.16.Molecules.in.motio.(7201) >> FOCUS.17.Chemical.kinetics.(7521) >> FOCUS.18.Reaction.dynamics.(8101) >> FOCUS.19.Processes.at.solid.surfaces.(8541) >> >> It's large but doesn't have more than 8000 pages. > > I messed up by not considering the precedence of operators. :-( Fixed > in the attached patch. Works! Applied and pushed. Thanks a lot, Tassilo