GNU logs - #72275, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#72275: 30.0.60; [PATCH] Fix jumping to page in DocView's text contents
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 24 Jul 2024 13:34:02 +0000
Resent-Message-ID: <handler.72275.B.172182801620434 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 72275
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: 72275 <at> debbugs.gnu.org
Cc: Tassilo Horn <tsdh@HIDDEN>
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.172182801620434
          (code B ref -1); Wed, 24 Jul 2024 13:34:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 13:33:36 +0000
Received: from localhost ([127.0.0.1]:33373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWc7c-0005JV-1i
	for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 09:33:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:49400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1sWc7a-0005JM-0P
 for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 09:33:35 -0400
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 <manuel@HIDDEN>)
 id 1sWc7R-00081A-D8
 for bug-gnu-emacs@HIDDEN; Wed, 24 Jul 2024 09:33:25 -0400
Received: from ledu-giraud.fr ([51.159.28.247])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1sWc7N-0005tv-LF; Wed, 24 Jul 2024 09:33:24 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=5tYup9g5
 yZ+1bay9YRpVdslGj4kp3BEJw6LnbXY0WJ0=; h=date:subject:cc:to:from;
 d=ledu-giraud.fr; b=Dvtb0uVyIUn7mj7fGJy6+UtfcDHox9yjuD1Ukw4gaBuN8n1JB7
 m6NLt1f2/oAgq3BcOO6leBBxAtEN+bleeYBQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=5tYup9g5yZ+1bay9
 YRpVdslGj4kp3BEJw6LnbXY0WJ0=; h=date:subject:cc:to:from;
 d=ledu-giraud.fr; b=lTjdhj4ZbfSCotGxGgaYnD1WA7aAXfU/vVfUNUb7+FIl1bGx0A
 Ob8DtZbJhRWUbmqGFybgSHuYR8nchAQHdl9eHWGrpHsrqLsc0xwJT1f25NaAyc3Rut8y7a
 oXfR0QLdnAMr3Je5fetUNyQapPYdE2EITPG/uQVnSaM+lzC8nDb9ZdkyChGMvXpkt0YQJ+
 qDNS6c8ReMrtQKo+XmNA7fIs5r0itt/ug0Fz4f6bwmCxUoi4dM6l7X/63bgWDgqg6ZplAZ
 i2hR7YLRmuHLDHGR1j5kgbaxMsv5rNqq2TgycsESzP3DAESd8eQKUXwSuGg2WRBb+sCL9l
 IVjgChcg/F1Q==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 6bfb3d95
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 24 Jul 2024 15:33:18 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
Date: Wed, 24 Jul 2024 15:33:15 +0200
Message-ID: <875xsuhq3o.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@HIDDEN;
 helo=ledu-giraud.fr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain


Hi,

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.

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Fix-jumping-to-page-in-DocView-s-text-contents.patch

From e22d7dd15c8762214bfe4dbc504fe8e8dce90c46 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@HIDDEN>
Date: Wed, 24 Jul 2024 15:18:30 +0200
Subject: [PATCH] Fix jumping to page in DocView's text contents

* lisp/doc-view.el (doc-view-open-text): Replace
`page-delimiter' with a plain Control-L.
---
 lisp/doc-view.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index e7d7ed4a862..19fd8901867 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -1782,7 +1782,7 @@ doc-view-open-text
             (goto-char (point-min))
             ;; Put point at the start of the page the user was
             ;; reading.  Pages are separated by Control-L characters.
-            (re-search-forward page-delimiter nil t (1- page))
+            (re-search-forward "" nil t (1- page))
 	    (add-hook 'write-file-functions
 		      (lambda ()
                         ;; FIXME: If the user changes major mode and then
-- 
2.45.2


--=-=-=
Content-Type: text/plain



In GNU Emacs 30.0.60 (build 2, x86_64-unknown-openbsd7.5) of 2024-07-24
 built on computer
Repository revision: 23549d7175108ca632375f9cc4390ff3e53e4d1e
Repository branch: mgi/doc-view-ctrl-l
Windowing system distributor 'The X.Org Foundation', version 11.0.12101013
System Description: OpenBSD computer 7.5 GENERIC.MP#198 amd64

Configured using:
 'configure CC=egcc CPPFLAGS=-I/usr/local/include
 LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs
 --bindir=/home/manuel/bin --with-x-toolkit=no --without-cairo
 --without-compress-install'

Configured features:
DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF
LIBXML2 MODULES NOTIFY KQUEUE OLDXMENU PDUMPER PNG RSVG SQLITE3 THREADS
TIFF TREE_SITTER WEBP X11 XDBE XFT XIM XINPUT2 XPM ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Dired by name

Minor modes in effect:
  pdf-occur-dired-minor-mode: t
  gnus-dired-mode: t
  display-time-mode: t
  display-battery-mode: t
  desktop-save-mode: t
  exwm-randr-mode: t
  server-mode: t
  electric-pair-mode: t
  override-global-mode: t
  repeat-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/manuel/prog/elisp/exwm/exwm-randr hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-randr
/home/manuel/prog/elisp/exwm/exwm hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm
/home/manuel/prog/elisp/exwm/exwm-xsettings hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-xsettings
/home/manuel/prog/elisp/exwm/exwm-xim hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-xim
/home/manuel/prog/elisp/exwm/exwm-workspace hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-workspace
/home/manuel/prog/elisp/exwm/exwm-systemtray hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-systemtray
/home/manuel/prog/elisp/exwm/exwm-manage hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-manage
/home/manuel/prog/elisp/exwm/exwm-layout hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-layout
/home/manuel/prog/elisp/exwm/exwm-input hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-input
/home/manuel/prog/elisp/exwm/exwm-floating hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-floating
/home/manuel/prog/elisp/exwm/exwm-core hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-core
/home/manuel/prog/elisp/exwm/exwm-config hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-config
/home/manuel/prog/elisp/exwm/exwm-background hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-background
/home/manuel/.emacs.d/elpa/ef-themes-1.7.0/theme-loaddefs hides /home/manuel/emacs/share/emacs/30.0.60/lisp/theme-loaddefs

Features:
(shadow sort mail-extr misearch multi-isearch vc-hg vc-bzr vc-src
vc-sccs vc-svn emacsbug log-edit pulse dabbrev add-log smerge-mode diff
whitespace display-line-numbers org-indent org-agenda texinfo
texinfo-loaddefs view flymake-cc flymake python conf-mode vc-cvs vc-rcs
log-view pcvs-util make-mode oc-basic org-element org-persist org-id
org-element-ast inline avl-tree ol-eww eww url-queue mm-url ol-rmail
ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view filenotify
ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi gnus-icalendar
org-capture org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-src ob-comint org-pcomplete org-list org-footnote
org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval
org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs
org-compat org-macs emacs-news-mode mule-util on-screen gud sh-script
smie treesit executable pdf-occur ibuf-ext ibuffer ibuffer-loaddefs
tablist tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch
let-alist pdf-misc imenu pdf-tools cus-edit cus-start pdf-view bookmark
jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif
gnus-dired vc-dir ewoc vc vc-git diff-mode track-changes vc-dispatcher
bug-reference time battery cus-load desktop frameset exwm-randr
xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating
xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh
xcb-icccm xcb xcb-xproto xcb-types xcb-debug server ef-kassio-theme
ef-themes modus-operandi-theme modus-themes zone speed-type url-http
url-auth url-gw nsm ytdious mpdired transmission color calc-bin calc-ext
calc calc-loaddefs rect calc-macs supercite regi ebdb-gnus gnus-msg
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range gnus-win ebdb-message message sendmail
yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
gmm-utils mailheader ebdb-mua ebdb-com crm ebdb-format ebdb mailabbrev
eieio-opt speedbar ezimage dframe find-func eieio-base timezone
icalendar gnus nnheader gnus-util mail-utils range mm-util mail-prsvr
wid-edit web-mode derived disp-table erlang-start skeleton cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs slime-asdf grep slime-tramp tramp rx trampver tramp-integration
files-x tramp-message tramp-compat warnings xdg shell pcomplete
parse-time iso8601 time-date format-spec tramp-loaddefs slime-fancy
slime-indentation slime-cl-indent cl-indent slime-trace-dialog
slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree advice slime-scratch slime-presentations
bridge slime-macrostep macrostep compat slime-mdot-fu
slime-enclosing-context slime-fuzzy slime-fancy-trace
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-repl slime-parse slime apropos compile text-property-search etags
fileloop generator xref project arc-mode archive-mode noutline outline
pp comint ansi-osc ansi-color ring hyperspec thingatpt elec-pair edmacro
kmacro use-package-bind-key bind-key appt diary-lib diary-loaddefs
cal-menu calendar cal-loaddefs pcase dired-x dired-aux dired
dired-loaddefs use-package-core repeat easy-mmode calfw-autoloads
calfw-cal-autoloads calfw-org-autoloads debbugs-autoloads ebdb-autoloads
cl-extra help-mode ef-themes-autoloads exwm-autoloads
hyperbole-autoloads kotl-autoloads hact set hhist on-screen-autoloads
osm-autoloads pdf-tools-autoloads rust-mode-autoloads info
slime-autoloads macrostep-autoloads speed-type-autoloads
tablist-autoloads transmission-autoloads xelb-autoloads
ytdious-autoloads package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt
gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list
replace newcomment text-mode lisp-mode prog-mode register page tab-bar
menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse
jit-lock font-lock syntax font-core term/tty-colors frame minibuffer
nadvice seq simple cl-generic indonesian philippine cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop
case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind kqueue lcms2 dynamic-setting system-font-setting
font-render-setting xinput2 x multi-tty move-toolbar
make-network-process emacs)

Memory information:
((conses 16 1025742 653219) (symbols 48 57496 2)
 (strings 32 260102 42117) (string-bytes 1 6536941)
 (vectors 16 159749) (vector-slots 8 2188364 86800) (floats 8 634 915)
 (intervals 56 43337 1512) (buffers 992 169))

-- 
Manuel Giraud

--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Manuel Giraud <manuel@HIDDEN>
Subject: bug#72275: Acknowledgement (30.0.60; [PATCH] Fix jumping to page
 in DocView's text contents)
Message-ID: <handler.72275.B.172182801620434.ack <at> debbugs.gnu.org>
References: <875xsuhq3o.fsf@HIDDEN>
X-Gnu-PR-Message: ack 72275
X-Gnu-PR-Package: emacs
X-Gnu-PR-Keywords: patch
Reply-To: 72275 <at> debbugs.gnu.org
Date: Wed, 24 Jul 2024 13:34:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 72275 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
72275: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72275
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Tassilo Horn <tsdh@HIDDEN>
Subject: bug#72275: closed (30.0.60; [PATCH] Fix jumping to page in
 DocView's text contents)
CC: tracker <at> debbugs.gnu.org
Message-ID: <handler.72275.D72275.172189031416001.ackdone <at> debbugs.gnu.org>
References: <87ttgeufpl.fsf@HIDDEN> <875xsuhq3o.fsf@HIDDEN>
X-Gnu-PR-Message: closed 72275
X-Gnu-PR-Package: emacs
X-Gnu-PR-Keywords: patch
Date: Thu, 25 Jul 2024 06:52:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1721890322-16020-0"

This is a multi-part message in MIME format...

------------=_1721890322-16020-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8

Your message dated Thu, 25 Jul 2024 08:51:34 +0200
with message-id <87ttgeufpl.fsf@HIDDEN>
and subject line Re: bug#72275: 30.0.60; [PATCH] Fix jumping to page in Doc=
View's text contents
has caused the debbugs.gnu.org bug report #72275,
regarding 30.0.60; [PATCH] Fix jumping to page in DocView's text contents
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@HIDDEN)


--=20
72275: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72275
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1721890322-16020-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 13:33:36 +0000
Received: from localhost ([127.0.0.1]:33373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWc7c-0005JV-1i
	for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 09:33:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:49400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1sWc7a-0005JM-0P
 for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 09:33:35 -0400
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 <manuel@HIDDEN>)
 id 1sWc7R-00081A-D8
 for bug-gnu-emacs@HIDDEN; Wed, 24 Jul 2024 09:33:25 -0400
Received: from ledu-giraud.fr ([51.159.28.247])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1sWc7N-0005tv-LF; Wed, 24 Jul 2024 09:33:24 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=5tYup9g5
 yZ+1bay9YRpVdslGj4kp3BEJw6LnbXY0WJ0=; h=date:subject:cc:to:from;
 d=ledu-giraud.fr; b=Dvtb0uVyIUn7mj7fGJy6+UtfcDHox9yjuD1Ukw4gaBuN8n1JB7
 m6NLt1f2/oAgq3BcOO6leBBxAtEN+bleeYBQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=5tYup9g5yZ+1bay9
 YRpVdslGj4kp3BEJw6LnbXY0WJ0=; h=date:subject:cc:to:from;
 d=ledu-giraud.fr; b=lTjdhj4ZbfSCotGxGgaYnD1WA7aAXfU/vVfUNUb7+FIl1bGx0A
 Ob8DtZbJhRWUbmqGFybgSHuYR8nchAQHdl9eHWGrpHsrqLsc0xwJT1f25NaAyc3Rut8y7a
 oXfR0QLdnAMr3Je5fetUNyQapPYdE2EITPG/uQVnSaM+lzC8nDb9ZdkyChGMvXpkt0YQJ+
 qDNS6c8ReMrtQKo+XmNA7fIs5r0itt/ug0Fz4f6bwmCxUoi4dM6l7X/63bgWDgqg6ZplAZ
 i2hR7YLRmuHLDHGR1j5kgbaxMsv5rNqq2TgycsESzP3DAESd8eQKUXwSuGg2WRBb+sCL9l
 IVjgChcg/F1Q==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 6bfb3d95
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 24 Jul 2024 15:33:18 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.60; [PATCH] Fix jumping to page in DocView's text contents
X-Debbugs-Cc: 
Date: Wed, 24 Jul 2024 15:33:15 +0200
Message-ID: <875xsuhq3o.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@HIDDEN;
 helo=ledu-giraud.fr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Tassilo Horn <tsdh@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain


Hi,

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.

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Fix-jumping-to-page-in-DocView-s-text-contents.patch

From e22d7dd15c8762214bfe4dbc504fe8e8dce90c46 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@HIDDEN>
Date: Wed, 24 Jul 2024 15:18:30 +0200
Subject: [PATCH] Fix jumping to page in DocView's text contents

* lisp/doc-view.el (doc-view-open-text): Replace
`page-delimiter' with a plain Control-L.
---
 lisp/doc-view.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index e7d7ed4a862..19fd8901867 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -1782,7 +1782,7 @@ doc-view-open-text
             (goto-char (point-min))
             ;; Put point at the start of the page the user was
             ;; reading.  Pages are separated by Control-L characters.
-            (re-search-forward page-delimiter nil t (1- page))
+            (re-search-forward "" nil t (1- page))
 	    (add-hook 'write-file-functions
 		      (lambda ()
                         ;; FIXME: If the user changes major mode and then
-- 
2.45.2


--=-=-=
Content-Type: text/plain



In GNU Emacs 30.0.60 (build 2, x86_64-unknown-openbsd7.5) of 2024-07-24
 built on computer
Repository revision: 23549d7175108ca632375f9cc4390ff3e53e4d1e
Repository branch: mgi/doc-view-ctrl-l
Windowing system distributor 'The X.Org Foundation', version 11.0.12101013
System Description: OpenBSD computer 7.5 GENERIC.MP#198 amd64

Configured using:
 'configure CC=egcc CPPFLAGS=-I/usr/local/include
 LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs
 --bindir=/home/manuel/bin --with-x-toolkit=no --without-cairo
 --without-compress-install'

Configured features:
DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF
LIBXML2 MODULES NOTIFY KQUEUE OLDXMENU PDUMPER PNG RSVG SQLITE3 THREADS
TIFF TREE_SITTER WEBP X11 XDBE XFT XIM XINPUT2 XPM ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Dired by name

Minor modes in effect:
  pdf-occur-dired-minor-mode: t
  gnus-dired-mode: t
  display-time-mode: t
  display-battery-mode: t
  desktop-save-mode: t
  exwm-randr-mode: t
  server-mode: t
  electric-pair-mode: t
  override-global-mode: t
  repeat-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/manuel/prog/elisp/exwm/exwm-randr hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-randr
/home/manuel/prog/elisp/exwm/exwm hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm
/home/manuel/prog/elisp/exwm/exwm-xsettings hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-xsettings
/home/manuel/prog/elisp/exwm/exwm-xim hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-xim
/home/manuel/prog/elisp/exwm/exwm-workspace hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-workspace
/home/manuel/prog/elisp/exwm/exwm-systemtray hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-systemtray
/home/manuel/prog/elisp/exwm/exwm-manage hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-manage
/home/manuel/prog/elisp/exwm/exwm-layout hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-layout
/home/manuel/prog/elisp/exwm/exwm-input hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-input
/home/manuel/prog/elisp/exwm/exwm-floating hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-floating
/home/manuel/prog/elisp/exwm/exwm-core hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-core
/home/manuel/prog/elisp/exwm/exwm-config hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-config
/home/manuel/prog/elisp/exwm/exwm-background hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-background
/home/manuel/.emacs.d/elpa/ef-themes-1.7.0/theme-loaddefs hides /home/manuel/emacs/share/emacs/30.0.60/lisp/theme-loaddefs

Features:
(shadow sort mail-extr misearch multi-isearch vc-hg vc-bzr vc-src
vc-sccs vc-svn emacsbug log-edit pulse dabbrev add-log smerge-mode diff
whitespace display-line-numbers org-indent org-agenda texinfo
texinfo-loaddefs view flymake-cc flymake python conf-mode vc-cvs vc-rcs
log-view pcvs-util make-mode oc-basic org-element org-persist org-id
org-element-ast inline avl-tree ol-eww eww url-queue mm-url ol-rmail
ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view filenotify
ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi gnus-icalendar
org-capture org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-src ob-comint org-pcomplete org-list org-footnote
org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval
org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs
org-compat org-macs emacs-news-mode mule-util on-screen gud sh-script
smie treesit executable pdf-occur ibuf-ext ibuffer ibuffer-loaddefs
tablist tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch
let-alist pdf-misc imenu pdf-tools cus-edit cus-start pdf-view bookmark
jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif
gnus-dired vc-dir ewoc vc vc-git diff-mode track-changes vc-dispatcher
bug-reference time battery cus-load desktop frameset exwm-randr
xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating
xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh
xcb-icccm xcb xcb-xproto xcb-types xcb-debug server ef-kassio-theme
ef-themes modus-operandi-theme modus-themes zone speed-type url-http
url-auth url-gw nsm ytdious mpdired transmission color calc-bin calc-ext
calc calc-loaddefs rect calc-macs supercite regi ebdb-gnus gnus-msg
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range gnus-win ebdb-message message sendmail
yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
gmm-utils mailheader ebdb-mua ebdb-com crm ebdb-format ebdb mailabbrev
eieio-opt speedbar ezimage dframe find-func eieio-base timezone
icalendar gnus nnheader gnus-util mail-utils range mm-util mail-prsvr
wid-edit web-mode derived disp-table erlang-start skeleton cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs slime-asdf grep slime-tramp tramp rx trampver tramp-integration
files-x tramp-message tramp-compat warnings xdg shell pcomplete
parse-time iso8601 time-date format-spec tramp-loaddefs slime-fancy
slime-indentation slime-cl-indent cl-indent slime-trace-dialog
slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree advice slime-scratch slime-presentations
bridge slime-macrostep macrostep compat slime-mdot-fu
slime-enclosing-context slime-fuzzy slime-fancy-trace
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-repl slime-parse slime apropos compile text-property-search etags
fileloop generator xref project arc-mode archive-mode noutline outline
pp comint ansi-osc ansi-color ring hyperspec thingatpt elec-pair edmacro
kmacro use-package-bind-key bind-key appt diary-lib diary-loaddefs
cal-menu calendar cal-loaddefs pcase dired-x dired-aux dired
dired-loaddefs use-package-core repeat easy-mmode calfw-autoloads
calfw-cal-autoloads calfw-org-autoloads debbugs-autoloads ebdb-autoloads
cl-extra help-mode ef-themes-autoloads exwm-autoloads
hyperbole-autoloads kotl-autoloads hact set hhist on-screen-autoloads
osm-autoloads pdf-tools-autoloads rust-mode-autoloads info
slime-autoloads macrostep-autoloads speed-type-autoloads
tablist-autoloads transmission-autoloads xelb-autoloads
ytdious-autoloads package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt
gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list
replace newcomment text-mode lisp-mode prog-mode register page tab-bar
menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse
jit-lock font-lock syntax font-core term/tty-colors frame minibuffer
nadvice seq simple cl-generic indonesian philippine cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop
case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind kqueue lcms2 dynamic-setting system-font-setting
font-render-setting xinput2 x multi-tty move-toolbar
make-network-process emacs)

Memory information:
((conses 16 1025742 653219) (symbols 48 57496 2)
 (strings 32 260102 42117) (string-bytes 1 6536941)
 (vectors 16 159749) (vector-slots 8 2188364 86800) (floats 8 634 915)
 (intervals 56 43337 1512) (buffers 992 169))

-- 
Manuel Giraud

--=-=-=--



------------=_1721890322-16020-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 72275-done) by debbugs.gnu.org; 25 Jul 2024 06:51:54 +0000
Received: from localhost ([127.0.0.1]:35210 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWsKP-0004A1-J8
	for submit <at> debbugs.gnu.org; Thu, 25 Jul 2024 02:51:53 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38376)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tsdh@HIDDEN>) id 1sWsKN-00049m-Hv
 for 72275-done <at> debbugs.gnu.org; Thu, 25 Jul 2024 02:51:52 -0400
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 <tsdh@HIDDEN>)
 id 1sWsKA-0007Vr-P8; Thu, 25 Jul 2024 02:51:38 -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=2t0jF4D3Ixz1hqG93ncLG7W0Vzl/p4tWYWrHSqq+bvs=; b=I9B3ZrxRqLcfQxGsvWDt
 0VStGdR4OXnNCOQUi6+oPVsqFcfq5z3u9TOZO+WE+KqLJJZKzIHkvCHWOuIGOEJQidLukrn5HAoIT
 cK2+xxnVsbbRyuYXH1l6AxaFHvH1KHd+4HSC3kdRNWeimrYJPyQuKFIYrnkqNKlvKUxFWTMgqj6Dp
 CPTgQEUxhyOtzIDlLz4YBFHTD2QbfWmYDlH8Rk/ra5uw1ynRIwOikV8IaizEHzJN5UNBxQOgN1ga+
 nkP0468EGJ7XGg+QfFu8CFdU6dHXowKXo/2RqIMCTSlYCAx9wKw6ka2DXfBHrAYzfv0vJmZxlxTsB
 D6lowSGKJF0wGw==;
X-ME-Sender: <xms:-fWhZt4DzE3HyoGiH8uSuPqcnVgIVAdgY40tjAc2R4guSQzV6mr22w>
 <xme:-fWhZq419cfVh3M0U9nATlw7EHDY3oCnqqqNWX6b_tIw1t_nmcK90RWhCnUh-4gXF
 l_dBLki_eJkEw>
X-ME-Received: <xmr:-fWhZkeHaslPMRCUQhj7UKczX8RzE2PA_qzLt4-77LU47dTedCDVlB1hzALYmuP0Rd7uelzYvkjyELJtSCkf7vmtyY0t9Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddriedvgdduudegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufgjfhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi
 lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnheptd
 dutdeugfeihedtvddtleehfeduffetfeefiefhjeejudffgedvudettdduffetnecuvehl
 uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh
 gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel
 kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmhdpnhgspghrtghpth
 htoheptd
X-ME-Proxy: <xmx:-fWhZmLPPAS4X6LqfI2I9g-PSwgz8Tb30Nce-XWljMY8Ck0CsOvlGA>
 <xmx:-fWhZhId0tYvpDwkvjgDYxAvSIT895ZsMyzn7bRRIunk9JbwqsFLlw>
 <xmx:-fWhZvwoEyekw-XvGH-OPgZvDXY56c1yg9WkAPpiSYwFdsL7SBoPAQ>
 <xmx:-fWhZtJs6JzJIq_G7GS3NRsZSbRubTGNER4N-ok_Td5I-yt0BHAy3Q>
 <xmx:-fWhZkbOAxeCnUdPBR0qmOFeyevL7oh1Fl1zbq26kBteQaDjUIWjVWJq>
Feedback-ID: ib2b94485:Fastmail
From: Tassilo Horn <tsdh@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>, 72275-done <at> debbugs.gnu.org
Subject: Re: bug#72275: 30.0.60; [PATCH] Fix jumping to page in DocView's
 text contents
In-Reply-To: <875xsuhq3o.fsf@HIDDEN> (Manuel Giraud's message of "Wed, 
 24 Jul 2024 15:33:15 +0200")
References: <875xsuhq3o.fsf@HIDDEN>
Date: Thu, 25 Jul 2024 08:51:34 +0200
Message-ID: <87ttgeufpl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 72275-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Manuel Giraud <manuel@HIDDEN> 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


------------=_1721890322-16020-0--


Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Manuel Giraud <manuel@HIDDEN>
Subject: bug#72275: closed (Re: bug#72275: 30.0.60; [PATCH] Fix jumping to
 page in DocView's text contents)
Message-ID: <handler.72275.D72275.172189031416001.notifdone <at> debbugs.gnu.org>
References: <87ttgeufpl.fsf@HIDDEN> <875xsuhq3o.fsf@HIDDEN>
X-Gnu-PR-Message: they-closed 72275
X-Gnu-PR-Package: emacs
X-Gnu-PR-Keywords: patch
Reply-To: 72275 <at> debbugs.gnu.org
Date: Thu, 25 Jul 2024 06:52:02 +0000
Content-Type: multipart/mixed; boundary="----------=_1721890322-16020-1"

This is a multi-part message in MIME format...

------------=_1721890322-16020-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your bug report

#72275: 30.0.60; [PATCH] Fix jumping to page in DocView's text contents

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 72275 <at> debbugs.gnu.org.

--=20
72275: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D72275
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems

------------=_1721890322-16020-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 72275-done) by debbugs.gnu.org; 25 Jul 2024 06:51:54 +0000
Received: from localhost ([127.0.0.1]:35210 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWsKP-0004A1-J8
	for submit <at> debbugs.gnu.org; Thu, 25 Jul 2024 02:51:53 -0400
Received: from eggs.gnu.org ([209.51.188.92]:38376)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <tsdh@HIDDEN>) id 1sWsKN-00049m-Hv
 for 72275-done <at> debbugs.gnu.org; Thu, 25 Jul 2024 02:51:52 -0400
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 <tsdh@HIDDEN>)
 id 1sWsKA-0007Vr-P8; Thu, 25 Jul 2024 02:51:38 -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=2t0jF4D3Ixz1hqG93ncLG7W0Vzl/p4tWYWrHSqq+bvs=; b=I9B3ZrxRqLcfQxGsvWDt
 0VStGdR4OXnNCOQUi6+oPVsqFcfq5z3u9TOZO+WE+KqLJJZKzIHkvCHWOuIGOEJQidLukrn5HAoIT
 cK2+xxnVsbbRyuYXH1l6AxaFHvH1KHd+4HSC3kdRNWeimrYJPyQuKFIYrnkqNKlvKUxFWTMgqj6Dp
 CPTgQEUxhyOtzIDlLz4YBFHTD2QbfWmYDlH8Rk/ra5uw1ynRIwOikV8IaizEHzJN5UNBxQOgN1ga+
 nkP0468EGJ7XGg+QfFu8CFdU6dHXowKXo/2RqIMCTSlYCAx9wKw6ka2DXfBHrAYzfv0vJmZxlxTsB
 D6lowSGKJF0wGw==;
X-ME-Sender: <xms:-fWhZt4DzE3HyoGiH8uSuPqcnVgIVAdgY40tjAc2R4guSQzV6mr22w>
 <xme:-fWhZq419cfVh3M0U9nATlw7EHDY3oCnqqqNWX6b_tIw1t_nmcK90RWhCnUh-4gXF
 l_dBLki_eJkEw>
X-ME-Received: <xmr:-fWhZkeHaslPMRCUQhj7UKczX8RzE2PA_qzLt4-77LU47dTedCDVlB1hzALYmuP0Rd7uelzYvkjyELJtSCkf7vmtyY0t9Q>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddriedvgdduudegucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne
 cujfgurhephffvufgjfhffkfgfgggtsehttdertddtredtnecuhfhrohhmpefvrghsshhi
 lhhoucfjohhrnhcuoehtshguhhesghhnuhdrohhrgheqnecuggftrfgrthhtvghrnheptd
 dutdeugfeihedtvddtleehfeduffetfeefiefhjeejudffgedvudettdduffetnecuvehl
 uhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepthhhohhrnhdomh
 gvshhmthhprghuthhhphgvrhhsohhnrghlihhthidqkeeijeefkeejkeegqdeifeehvdel
 kedqthhsughhpeepghhnuhdrohhrghesfhgrshhtmhgrihhlrdhfmhdpnhgspghrtghpth
 htoheptd
X-ME-Proxy: <xmx:-fWhZmLPPAS4X6LqfI2I9g-PSwgz8Tb30Nce-XWljMY8Ck0CsOvlGA>
 <xmx:-fWhZhId0tYvpDwkvjgDYxAvSIT895ZsMyzn7bRRIunk9JbwqsFLlw>
 <xmx:-fWhZvwoEyekw-XvGH-OPgZvDXY56c1yg9WkAPpiSYwFdsL7SBoPAQ>
 <xmx:-fWhZtJs6JzJIq_G7GS3NRsZSbRubTGNER4N-ok_Td5I-yt0BHAy3Q>
 <xmx:-fWhZkbOAxeCnUdPBR0qmOFeyevL7oh1Fl1zbq26kBteQaDjUIWjVWJq>
Feedback-ID: ib2b94485:Fastmail
From: Tassilo Horn <tsdh@HIDDEN>
To: Manuel Giraud <manuel@HIDDEN>, 72275-done <at> debbugs.gnu.org
Subject: Re: bug#72275: 30.0.60; [PATCH] Fix jumping to page in DocView's
 text contents
In-Reply-To: <875xsuhq3o.fsf@HIDDEN> (Manuel Giraud's message of "Wed, 
 24 Jul 2024 15:33:15 +0200")
References: <875xsuhq3o.fsf@HIDDEN>
Date: Thu, 25 Jul 2024 08:51:34 +0200
Message-ID: <87ttgeufpl.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 72275-done
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Manuel Giraud <manuel@HIDDEN> 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


------------=_1721890322-16020-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by debbugs.gnu.org; 24 Jul 2024 13:33:36 +0000
Received: from localhost ([127.0.0.1]:33373 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWc7c-0005JV-1i
	for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 09:33:36 -0400
Received: from lists.gnu.org ([209.51.188.17]:49400)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1sWc7a-0005JM-0P
 for submit <at> debbugs.gnu.org; Wed, 24 Jul 2024 09:33:35 -0400
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 <manuel@HIDDEN>)
 id 1sWc7R-00081A-D8
 for bug-gnu-emacs@HIDDEN; Wed, 24 Jul 2024 09:33:25 -0400
Received: from ledu-giraud.fr ([51.159.28.247])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <manuel@HIDDEN>)
 id 1sWc7N-0005tv-LF; Wed, 24 Jul 2024 09:33:24 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=5tYup9g5
 yZ+1bay9YRpVdslGj4kp3BEJw6LnbXY0WJ0=; h=date:subject:cc:to:from;
 d=ledu-giraud.fr; b=Dvtb0uVyIUn7mj7fGJy6+UtfcDHox9yjuD1Ukw4gaBuN8n1JB7
 m6NLt1f2/oAgq3BcOO6leBBxAtEN+bleeYBQ==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=5tYup9g5yZ+1bay9
 YRpVdslGj4kp3BEJw6LnbXY0WJ0=; h=date:subject:cc:to:from;
 d=ledu-giraud.fr; b=lTjdhj4ZbfSCotGxGgaYnD1WA7aAXfU/vVfUNUb7+FIl1bGx0A
 Ob8DtZbJhRWUbmqGFybgSHuYR8nchAQHdl9eHWGrpHsrqLsc0xwJT1f25NaAyc3Rut8y7a
 oXfR0QLdnAMr3Je5fetUNyQapPYdE2EITPG/uQVnSaM+lzC8nDb9ZdkyChGMvXpkt0YQJ+
 qDNS6c8ReMrtQKo+XmNA7fIs5r0itt/ug0Fz4f6bwmCxUoi4dM6l7X/63bgWDgqg6ZplAZ
 i2hR7YLRmuHLDHGR1j5kgbaxMsv5rNqq2TgycsESzP3DAESd8eQKUXwSuGg2WRBb+sCL9l
 IVjgChcg/F1Q==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 6bfb3d95
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Wed, 24 Jul 2024 15:33:18 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.60; [PATCH] Fix jumping to page in DocView's text contents
X-Debbugs-Cc: 
Date: Wed, 24 Jul 2024 15:33:15 +0200
Message-ID: <875xsuhq3o.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@HIDDEN;
 helo=ledu-giraud.fr
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
Cc: Tassilo Horn <tsdh@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)

--=-=-=
Content-Type: text/plain


Hi,

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.

--=-=-=
Content-Type: text/x-patch
Content-Disposition: attachment;
 filename=0001-Fix-jumping-to-page-in-DocView-s-text-contents.patch

From e22d7dd15c8762214bfe4dbc504fe8e8dce90c46 Mon Sep 17 00:00:00 2001
From: Manuel Giraud <manuel@HIDDEN>
Date: Wed, 24 Jul 2024 15:18:30 +0200
Subject: [PATCH] Fix jumping to page in DocView's text contents

* lisp/doc-view.el (doc-view-open-text): Replace
`page-delimiter' with a plain Control-L.
---
 lisp/doc-view.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/doc-view.el b/lisp/doc-view.el
index e7d7ed4a862..19fd8901867 100644
--- a/lisp/doc-view.el
+++ b/lisp/doc-view.el
@@ -1782,7 +1782,7 @@ doc-view-open-text
             (goto-char (point-min))
             ;; Put point at the start of the page the user was
             ;; reading.  Pages are separated by Control-L characters.
-            (re-search-forward page-delimiter nil t (1- page))
+            (re-search-forward "" nil t (1- page))
 	    (add-hook 'write-file-functions
 		      (lambda ()
                         ;; FIXME: If the user changes major mode and then
-- 
2.45.2


--=-=-=
Content-Type: text/plain



In GNU Emacs 30.0.60 (build 2, x86_64-unknown-openbsd7.5) of 2024-07-24
 built on computer
Repository revision: 23549d7175108ca632375f9cc4390ff3e53e4d1e
Repository branch: mgi/doc-view-ctrl-l
Windowing system distributor 'The X.Org Foundation', version 11.0.12101013
System Description: OpenBSD computer 7.5 GENERIC.MP#198 amd64

Configured using:
 'configure CC=egcc CPPFLAGS=-I/usr/local/include
 LDFLAGS=-L/usr/local/lib MAKEINFO=gmakeinfo --prefix=/home/manuel/emacs
 --bindir=/home/manuel/bin --with-x-toolkit=no --without-cairo
 --without-compress-install'

Configured features:
DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LCMS2 LIBOTF
LIBXML2 MODULES NOTIFY KQUEUE OLDXMENU PDUMPER PNG RSVG SQLITE3 THREADS
TIFF TREE_SITTER WEBP X11 XDBE XFT XIM XINPUT2 XPM ZLIB

Important settings:
  value of $LC_CTYPE: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Dired by name

Minor modes in effect:
  pdf-occur-dired-minor-mode: t
  gnus-dired-mode: t
  display-time-mode: t
  display-battery-mode: t
  desktop-save-mode: t
  exwm-randr-mode: t
  server-mode: t
  electric-pair-mode: t
  override-global-mode: t
  repeat-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/manuel/prog/elisp/exwm/exwm-randr hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-randr
/home/manuel/prog/elisp/exwm/exwm hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm
/home/manuel/prog/elisp/exwm/exwm-xsettings hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-xsettings
/home/manuel/prog/elisp/exwm/exwm-xim hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-xim
/home/manuel/prog/elisp/exwm/exwm-workspace hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-workspace
/home/manuel/prog/elisp/exwm/exwm-systemtray hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-systemtray
/home/manuel/prog/elisp/exwm/exwm-manage hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-manage
/home/manuel/prog/elisp/exwm/exwm-layout hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-layout
/home/manuel/prog/elisp/exwm/exwm-input hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-input
/home/manuel/prog/elisp/exwm/exwm-floating hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-floating
/home/manuel/prog/elisp/exwm/exwm-core hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-core
/home/manuel/prog/elisp/exwm/exwm-config hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-config
/home/manuel/prog/elisp/exwm/exwm-background hides /home/manuel/.emacs.d/elpa/exwm-0.31/exwm-background
/home/manuel/.emacs.d/elpa/ef-themes-1.7.0/theme-loaddefs hides /home/manuel/emacs/share/emacs/30.0.60/lisp/theme-loaddefs

Features:
(shadow sort mail-extr misearch multi-isearch vc-hg vc-bzr vc-src
vc-sccs vc-svn emacsbug log-edit pulse dabbrev add-log smerge-mode diff
whitespace display-line-numbers org-indent org-agenda texinfo
texinfo-loaddefs view flymake-cc flymake python conf-mode vc-cvs vc-rcs
log-view pcvs-util make-mode oc-basic org-element org-persist org-id
org-element-ast inline avl-tree ol-eww eww url-queue mm-url ol-rmail
ol-mhe ol-irc ol-info ol-gnus nnselect ol-docview doc-view filenotify
ol-bibtex bibtex ol-bbdb ol-w3m ol-doi org-link-doi gnus-icalendar
org-capture org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp
org-macro org-src ob-comint org-pcomplete org-list org-footnote
org-faces org-entities org-version ob-emacs-lisp ob-core ob-eval
org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs
org-compat org-macs emacs-news-mode mule-util on-screen gud sh-script
smie treesit executable pdf-occur ibuf-ext ibuffer ibuffer-loaddefs
tablist tablist-filter semantic/wisent/comp semantic/wisent
semantic/wisent/wisent semantic/util-modes semantic/util semantic
semantic/tag semantic/lex semantic/fw mode-local cedet pdf-isearch
let-alist pdf-misc imenu pdf-tools cus-edit cus-start pdf-view bookmark
jka-compr pdf-cache pdf-info tq pdf-util pdf-macs image-mode exif
gnus-dired vc-dir ewoc vc vc-git diff-mode track-changes vc-dispatcher
bug-reference time battery cus-load desktop frameset exwm-randr
xcb-randr exwm exwm-input xcb-keysyms xcb-xkb exwm-manage exwm-floating
xcb-cursor xcb-render exwm-layout exwm-workspace exwm-core xcb-ewmh
xcb-icccm xcb xcb-xproto xcb-types xcb-debug server ef-kassio-theme
ef-themes modus-operandi-theme modus-themes zone speed-type url-http
url-auth url-gw nsm ytdious mpdired transmission color calc-bin calc-ext
calc calc-loaddefs rect calc-macs supercite regi ebdb-gnus gnus-msg
gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr
pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start
gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range gnus-win ebdb-message message sendmail
yank-media puny rfc822 mml mml-sec epa epg rfc6068 epg-config mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
gmm-utils mailheader ebdb-mua ebdb-com crm ebdb-format ebdb mailabbrev
eieio-opt speedbar ezimage dframe find-func eieio-base timezone
icalendar gnus nnheader gnus-util mail-utils range mm-util mail-prsvr
wid-edit web-mode derived disp-table erlang-start skeleton cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs slime-asdf grep slime-tramp tramp rx trampver tramp-integration
files-x tramp-message tramp-compat warnings xdg shell pcomplete
parse-time iso8601 time-date format-spec tramp-loaddefs slime-fancy
slime-indentation slime-cl-indent cl-indent slime-trace-dialog
slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree advice slime-scratch slime-presentations
bridge slime-macrostep macrostep compat slime-mdot-fu
slime-enclosing-context slime-fuzzy slime-fancy-trace
slime-fancy-inspector slime-c-p-c slime-editing-commands slime-autodoc
slime-repl slime-parse slime apropos compile text-property-search etags
fileloop generator xref project arc-mode archive-mode noutline outline
pp comint ansi-osc ansi-color ring hyperspec thingatpt elec-pair edmacro
kmacro use-package-bind-key bind-key appt diary-lib diary-loaddefs
cal-menu calendar cal-loaddefs pcase dired-x dired-aux dired
dired-loaddefs use-package-core repeat easy-mmode calfw-autoloads
calfw-cal-autoloads calfw-org-autoloads debbugs-autoloads ebdb-autoloads
cl-extra help-mode ef-themes-autoloads exwm-autoloads
hyperbole-autoloads kotl-autoloads hact set hhist on-screen-autoloads
osm-autoloads pdf-tools-autoloads rust-mode-autoloads info
slime-autoloads macrostep-autoloads speed-type-autoloads
tablist-autoloads transmission-autoloads xelb-autoloads
ytdious-autoloads package browse-url url url-proxy url-privacy
url-expand url-methods url-history url-cookie generate-lisp-file
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs icons password-cache json subr-x map byte-opt
gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl
tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
touch-screen tool-bar dnd fontset image regexp-opt fringe tabulated-list
replace newcomment text-mode lisp-mode prog-mode register page tab-bar
menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse
jit-lock font-lock syntax font-core term/tty-colors frame minibuffer
nadvice seq simple cl-generic indonesian philippine cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop
case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp
files window text-properties overlay sha1 md5 base64 format env
code-pages mule custom widget keymap hashtable-print-readable backquote
threads dbusbind kqueue lcms2 dynamic-setting system-font-setting
font-render-setting xinput2 x multi-tty move-toolbar
make-network-process emacs)

Memory information:
((conses 16 1025742 653219) (symbols 48 57496 2)
 (strings 32 260102 42117) (string-bytes 1 6536941)
 (vectors 16 159749) (vector-slots 8 2188364 86800) (floats 8 634 915)
 (intervals 56 43337 1512) (buffers 992 169))

-- 
Manuel Giraud

--=-=-=--



------------=_1721890322-16020-1--


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#72275: 30.0.60; [PATCH] Fix jumping to page in DocView's text contents
Resent-From: Manuel Giraud <manuel@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Thu, 25 Jul 2024 07:52:01 +0000
Resent-Message-ID: <handler.72275.D72275.172189386222604 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 72275
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Tassilo Horn <tsdh@HIDDEN>
Cc: 72275-done <at> debbugs.gnu.org
Received: via spool by 72275-done <at> debbugs.gnu.org id=D72275.172189386222604
          (code D ref 72275); Thu, 25 Jul 2024 07:52:01 +0000
Received: (at 72275-done) by debbugs.gnu.org; 25 Jul 2024 07:51:02 +0000
Received: from localhost ([127.0.0.1]:35452 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sWtFd-0005sM-RP
	for submit <at> debbugs.gnu.org; Thu, 25 Jul 2024 03:51:02 -0400
Received: from ledu-giraud.fr ([51.159.28.247]:36635)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <manuel@HIDDEN>) id 1sWtFb-0005s7-S1
 for 72275-done <at> debbugs.gnu.org; Thu, 25 Jul 2024 03:51:01 -0400
DKIM-Signature: v=1; a=ed25519-sha256; c=simple/simple; s=ed25519; bh=uHCzM+IL
 G8zQA+Q7fMkV6FRGGmUvtlT4+hhgl4g4HfA=;
 h=date:references:in-reply-to:
 subject:cc:to:from; d=ledu-giraud.fr; b=Jun1sQz79dwtKXSzWka1yyBlZyxZNz
 TG2sZ25VStGCcfW8Yhs6XFUX0dICTnZ5humXUOKX0ipTKEX4WePu/NCw==
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=uHCzM+ILG8zQA+Q7
 fMkV6FRGGmUvtlT4+hhgl4g4HfA=;
 h=date:references:in-reply-to:subject:
 cc:to:from; d=ledu-giraud.fr; b=j51u3i1OgtAX82hpFrIQDpJJX8hT/APsGZP/mq
 zqe5Xo66UOua81gEl3mma7NF5s8+CY0YzdICMQwVUwWnwfe9u751bZGxunHWGMDVKyqpsF
 hvaCTPMqRJUxRN4C3PKDfzG+yvwAqQDsKVOZ+xWRReU74Lqo9h6g0RpApQuuKeQ6Qi/JPu
 KhrkambpN8PBRbdy8kDer0EwbtRZ5iIbBhL+wdPZ68u9+EA41lrgOunouMeGxuMIXtOeTI
 8dO+NgpOw+RtVR4OB4jyXSsBqxKEAAheCXL6/liqBUhO1eN/DCl14i38MZdPGdI/5PX1ew
 ZeC2d4bNBLL5tVjMbwH1iqcQ==
Received: from computer (<unknown> [10.1.1.1])
 by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 61acd1cc
 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); 
 Thu, 25 Jul 2024 09:50:51 +0200 (CEST)
From: Manuel Giraud <manuel@HIDDEN>
In-Reply-To: <87ttgeufpl.fsf@HIDDEN> (Tassilo Horn's message of "Thu, 25 Jul
 2024 08:51:34 +0200")
References: <875xsuhq3o.fsf@HIDDEN> <87ttgeufpl.fsf@HIDDEN>
Date: Thu, 25 Jul 2024 09:50:50 +0200
Message-ID: <87r0bh3o6d.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Tassilo Horn <tsdh@HIDDEN> writes:

[...]

> 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.

Hi Tassilo,

Thanks for this improvement and fine by me for this to be on master
only.
-- 
Manuel Giraud





Last modified: Thu, 25 Jul 2024 08:00:02 UTC

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