GNU bug report logs - #52917
29.0.50; pp-use-max-width=t can break bookmark-save

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Visuwesh <visuwesh@HIDDEN>; Done: Lars Ingebrigtsen <larsi@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 29.1, send any further explanations to 52917 <at> debbugs.gnu.org and Visuwesh <visuwesh@HIDDEN> Request was from Lars Ingebrigtsen <larsi@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 52917 <at> debbugs.gnu.org:


Received: (at 52917) by debbugs.gnu.org; 15 Jan 2022 09:41:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jan 15 04:41:09 2022
Received: from localhost ([127.0.0.1]:39027 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n8fYa-0008C8-OB
	for submit <at> debbugs.gnu.org; Sat, 15 Jan 2022 04:41:08 -0500
Received: from quimby.gnus.org ([95.216.78.240]:47198)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1n8fYY-0008BU-PP
 for 52917 <at> debbugs.gnu.org; Sat, 15 Jan 2022 04:41:07 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID
 :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe:
 List-Post:List-Owner:List-Archive;
 bh=nabt+julLxNHp0vSi+Xz5leXT1BFsVmeMXWeseOS+tQ=; b=ZN1M0tc5P7IjVdOROd0k57TurQ
 N4V4jNEzzVOrBIUFwy+AjSAsM7ffci9AZkK3RK4zTmwXH5/ZBYBSo39lHCpkW9Cx0WD1d+AjZ8Ec6
 hFMr3W8Qtvji/OPP3QfKGKUxmoDKdey2TDpGVAn+Y7rqExnMmv35fumLpqh9MyxDl/dk=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1n8fYP-0003Bk-Sh; Sat, 15 Jan 2022 10:41:00 +0100
From: Lars Ingebrigtsen <larsi@HIDDEN>
To: Visuwesh <visuwesh@HIDDEN>
Subject: Re: bug#52917: 29.0.50; pp-use-max-width=t can break bookmark-save
References: <MsGHF0f--3-2@HIDDEN> <MsGLd0q--3-2@HIDDEN>
X-Now-Playing: Joni Mitchell's _Archives: The Early Years (4)_: "The Dowie
 Dens Of Yarrow"
Date: Sat, 15 Jan 2022 10:40:54 +0100
In-Reply-To: <MsGLd0q--3-2@HIDDEN> (visuwesh@HIDDEN's message of
 "Fri, 31 Dec 2021 17:37:35 +0100 (CET)")
Message-ID: <87wnj1xro9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 
 Content preview:  Visuwesh <visuwesh@HIDDEN> writes: > A much simpler
   reproducer: > >     (pp-emacs-lisp-code '(1 2 . 0)) Thanks; I've now fixed
    this in Emacs 29. 
 
 Content analysis details:   (-2.9 points, 5.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
                             [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 52917
Cc: 52917 <at> debbugs.gnu.org
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 (---)

Visuwesh <visuwesh@HIDDEN> writes:

> A much simpler reproducer:
>
> =C2=A0=C2=A0=C2=A0 (pp-emacs-lisp-code '(1 2 . 0))

Thanks; I've now fixed this in Emacs 29.

--=20
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52917; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Dec 2021 16:37:40 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 31 11:37:40 2021
Received: from localhost ([127.0.0.1]:57366 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n3KuR-0006jl-UG
	for submit <at> debbugs.gnu.org; Fri, 31 Dec 2021 11:37:40 -0500
Received: from lists.gnu.org ([209.51.188.17]:57844)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuwesh@HIDDEN>) id 1n3KuR-0006jc-6i
 for submit <at> debbugs.gnu.org; Fri, 31 Dec 2021 11:37:39 -0500
Received: from eggs.gnu.org ([209.51.188.92]:46366)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuwesh@HIDDEN>)
 id 1n3KuQ-0002gH-NG
 for bug-gnu-emacs@HIDDEN; Fri, 31 Dec 2021 11:37:38 -0500
Received: from w1.tutanota.de ([81.3.6.162]:41558)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuwesh@HIDDEN>)
 id 1n3KuP-0001k2-08
 for bug-gnu-emacs@HIDDEN; Fri, 31 Dec 2021 11:37:38 -0500
Received: from w3.tutanota.de (unknown [192.168.1.164])
 by w1.tutanota.de (Postfix) with ESMTP id 8E181FBF5CD
 for <bug-gnu-emacs@HIDDEN>; Fri, 31 Dec 2021 16:37:35 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1640968655; 
 s=s1; d=tutanota.com;
 h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender;
 bh=OWQs6UrI5XQ52+qdNIMPyrdW/ppE9829IC8U7PSbyI4=;
 b=wQN4VRbLWS/VmtBTSw2iTKf/1LsvabS50IbSWoZEHZMEt2yPedT2gWWHd3rmrxSK
 sEnMr++d+hUBtGJv9OJ1dfgzTXcRHVu7sPbIyMk1oR2mERs4jBIgfqGBUO2/IKB7LA3
 0GWiQzc5J02qoKy9apLVuuPPcLGxU2kd3TxfuHtb0zknp6ON47+f4+MYoNov1vGDPPd
 TvvfE0K6h9EFY6+M95ELdlaUCITzCKr9Ul0pFl7tPC+zxUtdFjRcBabPXn+pSz5qxjQ
 zRopXQJIW6bDDXu8FA0j+rJDKx/h1fQWgqv0g1+m+ZbyXWU4WWEGVvdkXtGtzkLzfIf
 Uh8Aoe86iQ==
Date: Fri, 31 Dec 2021 17:37:35 +0100 (CET)
From: Visuwesh <visuwesh@HIDDEN>
To: Bug Gnu Emacs <bug-gnu-emacs@HIDDEN>
Message-ID: <MsGLd0q--3-2@HIDDEN>
In-Reply-To: <MsGHF0f--3-2@HIDDEN>
References: <MsGHF0f--3-2@HIDDEN>
Subject: Re: 29.0.50; pp-use-max-width=t can break bookmark-save
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=81.3.6.162; envelope-from=visuwesh@HIDDEN;
 helo=w1.tutanota.de
X-Spam_score_int: -1
X-Spam_score: -0.2
X-Spam_bar: /
X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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 (--)

31 Dec 2021, 21:48 by visuwesh@HIDDEN:
> When the user option `pp-use-max-width' introduced in Emacs 29 is set to
> t, `bookmark-save' can fail.=C2=A0 Following the backtrace points out the
> problem lies in `pp', specifically `pp-emacs-lisp-code', which fails to p=
rint
> the following bookmark record produced pdf-tools,
>
>
> ("Last read Peter Sykes"
> (filename . "~/doc/uni/refb/A_guidebook_to_Mechanism_in_Organic_Chemistry=
_Peter_Sykes.pdf")
> (position . 1)
> (page . 263)
> (slice)
> (size . 4.367774566473988)
> (origin 0.0 . 0.5892997639653816)
> (handler . pdf-view-bookmark-jump-handler))

A much simpler reproducer:

=C2=A0=C2=A0=C2=A0 (pp-emacs-lisp-code '(1 2 . 0))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52917; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Dec 2021 16:28:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 31 11:28:49 2021
Received: from localhost ([127.0.0.1]:57359 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n3Klt-0006Ro-3I
	for submit <at> debbugs.gnu.org; Fri, 31 Dec 2021 11:28:49 -0500
Received: from lists.gnu.org ([209.51.188.17]:51022)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuwesh@HIDDEN>) id 1n3Kls-0006Rh-9I
 for submit <at> debbugs.gnu.org; Fri, 31 Dec 2021 11:28:48 -0500
Received: from eggs.gnu.org ([209.51.188.92]:44820)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuwesh@HIDDEN>)
 id 1n3Kls-0005yj-3z
 for bug-gnu-emacs@HIDDEN; Fri, 31 Dec 2021 11:28:48 -0500
Received: from w1.tutanota.de ([81.3.6.162]:39934)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuwesh@HIDDEN>)
 id 1n3Klq-0004t4-IR
 for bug-gnu-emacs@HIDDEN; Fri, 31 Dec 2021 11:28:47 -0500
Received: from w3.tutanota.de (unknown [192.168.1.164])
 by w1.tutanota.de (Postfix) with ESMTP id CD3BAFA0A89
 for <bug-gnu-emacs@HIDDEN>; Fri, 31 Dec 2021 16:28:44 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1640968124; 
 s=s1; d=tutanota.com;
 h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:References:Sender;
 bh=ceF1vXCZ8pbjGHvJb54K69vSrJyjBZ5D3ggVYV0Wfws=;
 b=wkGqkVXXEYyGjKn9GJvneqOD6iiZrrHctrnRcvi6E1j6I6Mqm80culr9YC6zOsDK
 9PziWIQpvgddfBG68jWN+cLYN7gknX0QQ6yn6EwMeC4o6McFmIqgoj0EE0CVveEIhcK
 q1RWctAOgImOa5KqP4jSm2nGBtr9ujdo4z8oTKvoeF6UKqKfEUo4/Oaqjae/cc3Q2An
 9IKW67q/QBDEuPYGt9R/28HFDO6BWd64W4XJ3B2rS3iw6CISXP81SHAjcEb9QScoRky
 JH+DFc2wzsE/Q9dGlmRKUDF+3+Y+kjjZ+I5y0C3XHu48vGrxtfMeEvP9ntcuMkWWM+Z
 /kwiCcSjcQ==
Date: Fri, 31 Dec 2021 17:28:44 +0100 (CET)
From: Visuwesh <visuwesh@HIDDEN>
To: Bug Gnu Emacs <bug-gnu-emacs@HIDDEN>
Message-ID: <MsGJbD1--3-2@HIDDEN>
In-Reply-To: <MsGHF0f--3-2@HIDDEN>
References: <MsGHF0f--3-2@HIDDEN>
Subject: Re: 29.0.50; pp-use-max-width=t can break bookmark-save
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=81.3.6.162; envelope-from=visuwesh@HIDDEN;
 helo=w1.tutanota.de
X-Spam_score_int: -1
X-Spam_score: -0.2
X-Spam_bar: /
X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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 (--)

31 Dec 2021, 21:48 by visuwesh@HIDDEN:

>When the user option `pp-use-max-width' introduced in Emacs 29 is set to
>t, `bookmark-save' can fail.=C2=A0 Following the backtrace points out the
>problem lies in `pp', specifically `pp-emacs-lisp-code', which fails to pr=
int
>the following bookmark record produced pdf-tools,
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ^^^^^^^^^^^^^
I meant produced by pdf-tools.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#52917; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 31 Dec 2021 16:18:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 31 11:18:33 2021
Received: from localhost ([127.0.0.1]:57352 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1n3Kbw-00067q-MG
	for submit <at> debbugs.gnu.org; Fri, 31 Dec 2021 11:18:33 -0500
Received: from lists.gnu.org ([209.51.188.17]:47476)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuwesh@HIDDEN>) id 1n3Kbv-00067i-12
 for submit <at> debbugs.gnu.org; Fri, 31 Dec 2021 11:18:31 -0500
Received: from eggs.gnu.org ([209.51.188.92]:42862)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuwesh@HIDDEN>)
 id 1n3Kbu-00035i-Qp
 for bug-gnu-emacs@HIDDEN; Fri, 31 Dec 2021 11:18:30 -0500
Received: from w1.tutanota.de ([81.3.6.162]:38522)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <visuwesh@HIDDEN>)
 id 1n3Kbs-0003Kc-NR
 for bug-gnu-emacs@HIDDEN; Fri, 31 Dec 2021 11:18:30 -0500
Received: from w3.tutanota.de (unknown [192.168.1.164])
 by w1.tutanota.de (Postfix) with ESMTP id 403EFFBF4E6
 for <bug-gnu-emacs@HIDDEN>; Fri, 31 Dec 2021 16:18:25 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1640967505; 
 s=s1; d=tutanota.com;
 h=From:From:To:To:Subject:Subject:Content-Description:Content-ID:Content-Type:Content-Type:Content-Transfer-Encoding:Content-Transfer-Encoding:Cc:Date:Date:In-Reply-To:MIME-Version:MIME-Version:Message-ID:Message-ID:Reply-To:References:Sender;
 bh=yNsDB/eUbyGQlitlg7vcoNcdknkUilSSzc66LwFWuRI=;
 b=uMrCxepHBZtmf7L1j8Z+DUuTvTrnf503ATuYXt2ZG3g7Z1IjPebAtM7ENkH8nDYY
 KYGUlEVNByXHdCCytfZVQKxntD1ca1kaksUFaDXBmpcs5XkACHcC6c/NsE5VCPTcI9G
 ZoBAUEJo7POTxklIISRC2a1+L84heHdw9tnBjRWQTSUV7kxEd1RU90LAdetS9n3eP3V
 As1vZrpzCdUD5QDCO4aKomqFK86tWIbRFxjnmS93SvrZDjxQjUzJbwhBuZQoAitzkIE
 LZOPO/53NllEFU24l/yNokqlr7DuxQhcqR3bS6hi6K5WlFOCZYbPucOqMDnZi10UY4z
 EWQiKvQdtA==
Date: Fri, 31 Dec 2021 17:18:25 +0100 (CET)
From: Visuwesh <visuwesh@HIDDEN>
To: Bug Gnu Emacs <bug-gnu-emacs@HIDDEN>
Message-ID: <MsGHF0f--3-2@HIDDEN>
Subject: 29.0.50; pp-use-max-width=t can break bookmark-save
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=81.3.6.162; envelope-from=visuwesh@HIDDEN;
 helo=w1.tutanota.de
X-Spam_score_int: -1
X-Spam_score: -0.2
X-Spam_bar: /
X-Spam_report: (-0.2 / 5.0 requ) DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
 DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H3=0.001,
 RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
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 (--)

When the user option `pp-use-max-width' introduced in Emacs 29 is set to
t, `bookmark-save' can fail.=C2=A0 Following the backtrace points out the
problem lies in `pp', specifically `pp-emacs-lisp-code', which fails to pri=
ntthe following bookmark record produced pdf-tools,

("Last read Peter Sykes"
(filename . "~/doc/uni/refb/A_guidebook_to_Mechanism_in_Organic_Chemistry_P=
eter_Sykes.pdf")
(position . 1)
(page . 263)
(slice)
(size . 4.367774566473988)
(origin 0.0 . 0.5892997639653816)
(handler . pdf-view-bookmark-jump-handler))

Let-binding `pp-use-max-width' to nil in `bookmark-save' should fix the
problem, I think.

Following is the backtrace produced when trying to save bookmarks (I hope i=
t
doesn't get mangled),

Debugger entered--Lisp error: (error "Invalid search bound (wrong side of p=
oint)")
=C2=A0 looking-back(" " 2)
=C2=A0 pp--insert(" " (filename . "~/doc/uni/refb/A_guidebook_to_Mechanism_=
in_Organic..."))
=C2=A0 pp--format-list(("Last read Peter Sykes" (filename . "~/doc/uni/refb=
/A_guidebook_to_Mechanism_in_Organic...") (position . 1) (page . 1) (slice)=
 (size . fit-width) (origin 0.0 . 0.0) (handler . pdf-view-bookmark-jump-ha=
ndler)))
=C2=A0 pp--insert-lisp(("Last read Peter Sykes" (filename . "~/doc/uni/refb=
/A_guidebook_to_Mechanism_in_Organic...") (position . 1) (page . 1) (slice)=
 (size . fit-width) (origin 0.0 . 0.0) (handler . pdf-view-bookmark-jump-ha=
ndler)))
=C2=A0 pp-emacs-lisp-code(("Last read Peter Sykes" (filename . "~/doc/uni/r=
efb/A_guidebook_to_Mechanism_in_Organic...") (position . 1) (page . 1) (sli=
ce) (size . fit-width) (origin 0.0 . 0.0) (handler . pdf-view-bookmark-jump=
-handler)))
=C2=A0 pp-to-string(("Last read Peter Sykes" (filename . "~/doc/uni/refb/A_=
guidebook_to_Mechanism_in_Organic...") (position . 1) (page . 1) (slice) (s=
ize . fit-width) (origin 0.0 . 0.0) (handler . pdf-view-bookmark-jump-handl=
er)))
=C2=A0 pp(("Last read Peter Sykes" (filename . "~/doc/uni/refb/A_guidebook_=
to_Mechanism_in_Organic...") (position . 1) (page . 1) (slice) (size . fit-=
width) (origin 0.0 . 0.0) (handler . pdf-view-bookmark-jump-handler)) #<buf=
fer=C2=A0 *Bookmarks*>)
=C2=A0 bookmark-write-file("/home/viz/lib/emacs/bookmarks")
=C2=A0 bookmark-save()
=C2=A0 bookmark-store("Last read Peter Sykes" ((filename . "~/doc/uni/refb/=
A_guidebook_to_Mechanism_in_Organic...") (position . 1) (page . 1) (slice) =
(size . fit-width) (origin 0.0 . 0.0) (handler . pdf-view-bookmark-jump-han=
dler)) nil)
=C2=A0 bookmark-set-internal("Set bookmark named" nil overwrite)
=C2=A0 bookmark-set(nil nil)
=C2=A0 funcall-interactively(bookmark-set nil nil)
=C2=A0 command-execute(bookmark-set)

In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit, cairo versio=
n 1.16.0, Xaw scroll bars)
Repository revision: 4b7e73432cd07612e5225189e18696f755c8f954
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: NixOS 21.11 (Porcupine)

Configured using:
'configure
--prefix=3D/nix/store/rsgfliii3k06j8i77zn295yp87qbq0yr-emacs-git-20211221.0
--disable-build-details --with-modules --with-x-toolkit=3Dlucid
--with-xft --with-cairo --with-native-compilation'

Configured features:
CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM LUCID ZLIB

Important settings:
=C2=A0 value of $EMACSLOADPATH:
=C2=A0 value of $EMACSNATIVELOADPATH: /nix/store/x6fjznfj7wks7nvs6xgsk1q4fc=
d5rjrw-emacs-packages-deps/share/emacs/native-lisp::
=C2=A0 value of $LANG: en_GB.UTF-8
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
=C2=A0 paredit-mode: t
=C2=A0 eros-mode: t
=C2=A0 flymake-mode: t
=C2=A0 pdf-occur-global-minor-mode: t
=C2=A0 hl-todo-mode: t
=C2=A0 minibuffer-depth-indicate-mode: t
=C2=A0 repeat-mode: t
=C2=A0 display-time-mode: t
=C2=A0 display-battery-mode: t
=C2=A0 straight-use-package-mode: t
=C2=A0 straight-package-neutering-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 tab-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 transient-mark-mode: t

Load-path shadows:
/home/viz/.nix-profile/share/emacs/site-lisp/site-start hides /nix/store/x6=
fjznfj7wks7nvs6xgsk1q4fcd5rjrw-emacs-packages-deps/share/emacs/site-lisp/si=
te-start
/home/viz/lib/emacs/straight/build/map/map hides /nix/store/rsgfliii3k06j8i=
77zn295yp87qbq0yr-emacs-git-20211221.0/share/emacs/29.0.50/lisp/emacs-lisp/=
map
/home/viz/lib/emacs/straight/build/let-alist/let-alist hides /nix/store/rsg=
fliii3k06j8i77zn295yp87qbq0yr-emacs-git-20211221.0/share/emacs/29.0.50/lisp=
/emacs-lisp/let-alist
/nix/store/rsgfliii3k06j8i77zn295yp87qbq0yr-emacs-git-20211221.0/share/emac=
s/29.0.50/lisp/emacs-lisp/eieio-compat hides /nix/store/rsgfliii3k06j8i77zn=
295yp87qbq0yr-emacs-git-20211221.0/share/emacs/29.0.50/lisp/obsolete/eieio-=
compat

Features:
(shadow sort goto-addr mail-extr emacsbug message yank-media rmc puny
rfc822 mml mml-sec epa epg rfc6068 epg-config gnus-util mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail mail-utils
debug cl-print face-remap help-fns radix-tree paredit edmacro kmacro
eros time-date checkdoc lisp-mnt mail-parse rfc2231 rfc2047 rfc2045
mm-util ietf-drums mail-prsvr flymake-proc flymake project warnings
thingatpt writegood-mode-autoloads sokoban-autoloads ement-autoloads
ts-autoloads s-autoloads map-autoloads plz-autoloads nov-autoloads
esxml-autoloads kv-autoloads transmission-autoloads lua-mode-autoloads
nix-mode-autoloads magit-section-autoloads dash-autoloads
racket-mode-autoloads eros-autoloads flymake-shellcheck-autoloads avy
avy-autoloads siege-mode-autoloads paredit-autoloads
expand-region-autoloads filladapt-autoloads compose quail
scroll-other-window org-pdftools-autoloads org-noter-autoloads
finder-inf math-delimiters-autoloads doct-autoloads ob-async-autoloads
async-autoloads emacs-ob-racket-autoloads valign-autoloads
org-starless-autoloads cdlatex-autoloads auctex-autoloads tex-site
easy-mmode 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 package browse-url url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util mailcap url-handlers url-parse auth-source eieio eieio-core
eieio-loaddefs json map url-vars compile comint ansi-color ring cus-edit
hl-todo edebug backtrace find-func wid-edit pdf-view password-cache
bookmark text-property-search pp jka-compr pdf-cache pdf-info tq
pdf-util advice pdf-macs image-mode dired-x dired dired-loaddefs exif
pdf-tools-autoloads let-alist-autoloads tablist-autoloads derived
mb-depth cus-load repeat visual-fill-autoloads olivetti-autoloads
hl-todo-autoloads time format-spec battery dbus filenotify xml
disp-table lacarte-autoloads shell-command-plus-autoloads icalendar
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs rx
chemtable-autoloads molar-mass-autoloads pcase straight-autoloads info
cl-seq cl-extra help-mode straight cl-macs cl-loaddefs cl-lib
vz-nh-theme seq gv subr-x byte-opt bytecomp byte-compile cconv
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd
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 cl-generic
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 simple abbrev obarray
cl-preloaded nadvice button 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 inotify dynamic-setting system-font-setting font-render-setting
cairo x-toolkit x multi-tty make-network-process native-compile emacs)

Memory information:
((conses 16 244713 25017) (symbols ?0 18721 0) (strings 32 64808 3640)
(
=C2=A0 string-bytes 1 2424342) (vectors 16 36511) (vector-slots 8 672184 15=
121)
(
=C2=A0 floats 8 128 ?E) (intervals ?8 423 0) (buffers 992 18))





Acknowledgement sent to Visuwesh <visuwesh@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#52917; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 15 Jan 2022 09:45:02 UTC

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