GNU bug report logs - #72275
30.0.60; [PATCH] Fix jumping to page in DocView's text contents

Previous Next

Package: emacs;

Reported by: Manuel Giraud <manuel <at> ledu-giraud.fr>

Date: Wed, 24 Jul 2024 13:34:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.60

Done: Tassilo Horn <tsdh <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 72275-done <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: Manuel Giraud <manuel <at> ledu-giraud.fr>, 72275-done <at> debbugs.gnu.org
Subject: Re: bug#72275: 30.0.60; [PATCH] Fix jumping to page in DocView's
 text contents
Date: Thu, 25 Jul 2024 08:51:34 +0200
Manuel Giraud <manuel <at> ledu-giraud.fr> writes:

> Poppler's "pdftotext" does not seem to enforce page delimiter at the
> first column.  For instance, I have documents translated with
> "pdftotext" that skips the first three page starting with "".
>
> In such case, using `page-delimiter' (which defaults to "^") to jump
> to the text contents page does not work as expected.  This patch fixes
> this issue.

Hm, it looks like that was wrong from the beginning when Lars added that
in commit c1c9af312ed3 in 2019.  page-delimiter never had a different
default value and pdftotext always used just ^L (FORM FEED)...

Looking at what other modes do, I've set page-delimiter buffer-locally
to the form feed character in the new text contents buffer now, i.e.,
it's only fixed on master which I think is ok given that nobody except
you found the issue in the last 5 years.

Bye,
  Tassilo




This bug report was last modified 299 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.