GNU logs - #17090, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17090: desktop.el saves unusable register data in register-alist
Resent-From: Juanma Barranquero <lekktu@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 24 Mar 2014 20:33:02 +0000
Resent-Message-ID: <handler.17090.B.139569313931694 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 17090
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 17090 <at> debbugs.gnu.org
X-Debbugs-Original-To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Received: via spool by submit <at> debbugs.gnu.org id=B.139569313931694
          (code B ref -1); Mon, 24 Mar 2014 20:33:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 Mar 2014 20:32:19 +0000
Received: from localhost ([127.0.0.1]:47999 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1WSBXe-0008F3-5Q
	for submit <at> debbugs.gnu.org; Mon, 24 Mar 2014 16:32:18 -0400
Received: from eggs.gnu.org ([208.118.235.92]:37210)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <lekktu@HIDDEN>) id 1WSBXa-0008Et-NT
 for submit <at> debbugs.gnu.org; Mon, 24 Mar 2014 16:32:15 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1WSBXZ-0008Lw-6u
 for submit <at> debbugs.gnu.org; Mon, 24 Mar 2014 16:32:14 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:38356)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1WSBXZ-0008Ln-3x
 for submit <at> debbugs.gnu.org; Mon, 24 Mar 2014 16:32:13 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:38918)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1WSBXX-0004cO-Sm
 for bug-gnu-emacs@HIDDEN; Mon, 24 Mar 2014 16:32:13 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1WSBXX-0008L9-1Y
 for bug-gnu-emacs@HIDDEN; Mon, 24 Mar 2014 16:32:11 -0400
Received: from mail-yk0-x22b.google.com ([2607:f8b0:4002:c07::22b]:35583)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <lekktu@HIDDEN>) id 1WSBXW-0008L3-Tj
 for bug-gnu-emacs@HIDDEN; Mon, 24 Mar 2014 16:32:10 -0400
Received: by mail-yk0-f171.google.com with SMTP id q9so16091522ykb.2
 for <bug-gnu-emacs@HIDDEN>; Mon, 24 Mar 2014 13:32:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=WvZUtigzI4IiLRozFWekSG/1o5Qye49RJlCahP29OjM=;
 b=UDNJwweaAdlPqTCatZNorpOF7r/UuI+s6pLyObLFi6BzpGBtH5CAr8qHsj5/G+UoeI
 QFc/WjEkJJXoRS+gZ4fXN0pfYfqdteUYi2vs8Pv8lEU8XMMZE6Wv/jqYIWCt2Mr94zZ5
 F2rjKYZto/9QXWVSdgzKSFpDxvjyGOss+Fhj/0JIkVp0m1OISAP3BJfq1ZYEZr1AQ0Rh
 fnd7sX4alqzRuk90LaCcZ1LGTVmjGHDS1FyQV4RuTARcNInHQopLkJcdmAczodvqwr3O
 SFxN0nKfHoTnAGd3HhT3LHNR1Ns2R3MRba2O/dpVXuYQTE+RtNZB1W6o2Iip71YQt/ur
 BO5w==
X-Received: by 10.236.172.33 with SMTP id s21mr91677376yhl.71.1395693130355;
 Mon, 24 Mar 2014 13:32:10 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.170.163.3 with HTTP; Mon, 24 Mar 2014 13:31:30 -0700 (PDT)
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Mon, 24 Mar 2014 21:31:30 +0100
Message-ID: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://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: -4.0 (----)

Package: Emacs
Severity: minor

emacs -Q -f desktop-save-mode
C-x r w a
C-x C-x
y <RET>
emacs -Q -f desktop-read
C-x r j

=> a: rectangle starting with Unprintable entity

and similarly, when using
C-x r f a

restoring and then C-x r j  brings

Error running timer: (invalid function "Unprintable entity")

register-alist is in desktop-globals-to-save by default, so it should
work out of the box. but any fix is going to be ugly.

Possibilities:

- Cleaning register-alist from desktop-save-hook. Not a good idea
because the session does not necessarily end on desktop-saving (and
even less now, with timer-based saving).

- Modify desktop-outvar to skip anything whose serialization matches
"Unprintable entity".

- Modify desktop-outvar with register-alist specific knowledge, so it
filters out only some entries when serializing.

- Design a more generic mechanism to allow variables to have cleaning
specific functions.

The first three options are horribly hackish, and the last one is a
bit overkill if we only want to avoid the register-alist issue (the
mechanism would be generally useful, but no one has ever asked for
it...)

Ideas?




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Juanma Barranquero <lekktu@HIDDEN>
Subject: bug#17090: Acknowledgement (desktop.el saves unusable register
 data in register-alist)
Message-ID: <handler.17090.B.139569313931694.ack <at> debbugs.gnu.org>
References: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
X-Gnu-PR-Message: ack 17090
X-Gnu-PR-Package: emacs
Reply-To: 17090 <at> debbugs.gnu.org
Date: Mon, 24 Mar 2014 20:33:03 +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 17090 <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
17090: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17090
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17090: desktop.el saves unusable register data in register-alist
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 29 Sep 2019 14:43:02 +0000
Resent-Message-ID: <handler.17090.B17090.15697681582653 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17090
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juanma Barranquero <lekktu@HIDDEN>
Cc: 17090 <at> debbugs.gnu.org
Received: via spool by 17090-submit <at> debbugs.gnu.org id=B17090.15697681582653
          (code B ref 17090); Sun, 29 Sep 2019 14:43:02 +0000
Received: (at 17090) by debbugs.gnu.org; 29 Sep 2019 14:42:38 +0000
Received: from localhost ([127.0.0.1]:55410 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEaPG-0000gj-Lh
	for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 10:42:38 -0400
Received: from quimby.gnus.org ([80.91.231.51]:56150)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iEaPE-0000gY-Ox
 for 17090 <at> debbugs.gnu.org; Sun, 29 Sep 2019 10:42:37 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1iEaPA-0001yF-LP; Sun, 29 Sep 2019 16:42:35 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
Date: Sun, 29 Sep 2019 16:42:32 +0200
In-Reply-To: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
 (Juanma Barranquero's message of "Mon, 24 Mar 2014 21:31:30 +0100")
Message-ID: <87tv8vgo4n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.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: Juanma Barranquero <lekktu@HIDDEN> writes: > emacs -Q -f
 desktop-save-mode > C-x r w a > C-x C-x > y <RET> > emacs -Q -f desktop-read
 > C-x r j > > => a: rectangle starting with Unprintable entity > > and
 similarly, when using > C-x r f a > > [...] 
 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: 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 (-)

Juanma Barranquero <lekktu@HIDDEN> writes:

> emacs -Q -f desktop-save-mode
> C-x r w a
> C-x C-x
> y <RET>
> emacs -Q -f desktop-read
> C-x r j
>
> =3D> a: rectangle starting with Unprintable entity
>
> and similarly, when using
> C-x r f a
>
> restoring and then C-x r j  brings
>
> Error running timer: (invalid function "Unprintable entity")

I'm unable to reproduce this bug in Emacs 27 (and I also vaguely
remember something being fixed in this area a few months ago).

Instead of the error, I get:

Desktop: 1 frame, 0 buffers restored.

and then=20

Register doesn=E2=80=99t contain a buffer position or configuration

when trying to C-x r j a-ing.

Are you still seeing this problem in Emacs 27?

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




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


Received: (at control) by debbugs.gnu.org; 29 Sep 2019 14:42:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 29 10:42:43 2019
Received: from localhost ([127.0.0.1]:55413 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEaPK-0000gz-Sz
	for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 10:42:43 -0400
Received: from quimby.gnus.org ([80.91.231.51]:56164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iEaPI-0000gr-UP
 for control <at> debbugs.gnu.org; Sun, 29 Sep 2019 10:42:41 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1iEaPG-0001yL-6F
 for control <at> debbugs.gnu.org; Sun, 29 Sep 2019 16:42:40 +0200
Date: Sun, 29 Sep 2019 16:42:37 +0200
Message-Id: <87sgofgo4i.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #17090
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:  tags 17090 + moreinfo quit 
 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: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

tags 17090 + moreinfo
quit





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


Received: (at control) by debbugs.gnu.org; 29 Sep 2019 14:48:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 29 10:48:41 2019
Received: from localhost ([127.0.0.1]:55421 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEaV7-0002sb-Jp
	for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 10:48:41 -0400
Received: from quimby.gnus.org ([80.91.231.51]:56258)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iEaV5-0002sT-8w
 for control <at> debbugs.gnu.org; Sun, 29 Sep 2019 10:48:39 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1iEaV1-00022L-Nf
 for control <at> debbugs.gnu.org; Sun, 29 Sep 2019 16:48:37 +0200
Date: Sun, 29 Sep 2019 16:48:35 +0200
Message-Id: <87r23zgnuk.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #17090
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:  forcemerge 17090 27422 quit 
 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: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

forcemerge 17090 27422
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17090: desktop.el saves unusable register data in register-alist
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 29 Sep 2019 15:01:01 +0000
Resent-Message-ID: <handler.17090.B17090.156976920612407 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17090
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Juanma Barranquero <lekktu@HIDDEN>
Cc: 17090 <at> debbugs.gnu.org
Received: via spool by 17090-submit <at> debbugs.gnu.org id=B17090.156976920612407
          (code B ref 17090); Sun, 29 Sep 2019 15:01:01 +0000
Received: (at 17090) by debbugs.gnu.org; 29 Sep 2019 15:00:06 +0000
Received: from localhost ([127.0.0.1]:55445 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEag9-0003Dp-V3
	for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 11:00:06 -0400
Received: from quimby.gnus.org ([80.91.231.51]:56540)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iEag8-0003CD-BB
 for 17090 <at> debbugs.gnu.org; Sun, 29 Sep 2019 11:00:04 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1iEag3-00028H-HT; Sun, 29 Sep 2019 17:00:03 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
 <87tv8vgo4n.fsf@HIDDEN>
Date: Sun, 29 Sep 2019 16:59:59 +0200
In-Reply-To: <87tv8vgo4n.fsf@HIDDEN> (Lars Ingebrigtsen's message of "Sun,
 29 Sep 2019 16:42:32 +0200")
Message-ID: <87a7angnbk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
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:  Lars Ingebrigtsen <larsi@HIDDEN> writes: > I'm unable to
 reproduce this bug in Emacs 27 (and I also vaguely > remember something being
 fixed in this area a few months ago). Hm, I think I was wrong here -- I'm
 not getting exactly the same errors as in earlier versions of Emacs, but
 the data that's saved still isn't usable. 
 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: 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 (-)

Lars Ingebrigtsen <larsi@HIDDEN> writes:

> I'm unable to reproduce this bug in Emacs 27 (and I also vaguely
> remember something being fixed in this area a few months ago).

Hm, I think I was wrong here -- I'm not getting exactly the same errors
as in earlier versions of Emacs, but the data that's saved still isn't
usable.

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




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


Received: (at control) by debbugs.gnu.org; 29 Sep 2019 15:00:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Sep 29 11:00:14 2019
Received: from localhost ([127.0.0.1]:55448 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEagI-0003ND-Ab
	for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 11:00:14 -0400
Received: from quimby.gnus.org ([80.91.231.51]:56556)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iEagF-0003Jc-St
 for control <at> debbugs.gnu.org; Sun, 29 Sep 2019 11:00:12 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>) id 1iEagD-00028T-79
 for control <at> debbugs.gnu.org; Sun, 29 Sep 2019 17:00:11 +0200
Date: Sun, 29 Sep 2019 17:00:09 +0200
Message-Id: <878sq7gnba.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #17090
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:  tags 17090 - moreinfo quit 
 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: 0.0 (/)
X-Debbugs-Envelope-To: control
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 (-)

tags 17090 - moreinfo
quit





Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17090: desktop.el saves unusable register data in register-alist
Resent-From: Juanma Barranquero <lekktu@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Sun, 29 Sep 2019 16:19:01 +0000
Resent-Message-ID: <handler.17090.B17090.156977388927569 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17090
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 17090 <at> debbugs.gnu.org
Received: via spool by 17090-submit <at> debbugs.gnu.org id=B17090.156977388927569
          (code B ref 17090); Sun, 29 Sep 2019 16:19:01 +0000
Received: (at 17090) by debbugs.gnu.org; 29 Sep 2019 16:18:09 +0000
Received: from localhost ([127.0.0.1]:55688 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEbtg-0007AZ-Sl
	for submit <at> debbugs.gnu.org; Sun, 29 Sep 2019 12:18:09 -0400
Received: from mail-qk1-f173.google.com ([209.85.222.173]:46286)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lekktu@HIDDEN>) id 1iEbte-0007A4-Pj
 for 17090 <at> debbugs.gnu.org; Sun, 29 Sep 2019 12:18:07 -0400
Received: by mail-qk1-f173.google.com with SMTP id 201so5659886qkd.13
 for <17090 <at> debbugs.gnu.org>; Sun, 29 Sep 2019 09:18:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=phoSmluA3LuOiXpiQN7YY9h/wpeUKLzv+/c3+X4fjHw=;
 b=lr1v9GSaxvYbht8bt7yhsQpo+wkbGtXzEQSV0SHid8tVm+hcNb8PefCVXBmNBIpb5A
 SVOgucdMHdT8LEHdgZTEKcLHF6PJNjlQCkcYYNFDLI6WmrxGnBKcqLlahXg/tOCgeiuR
 LrlKDgY0w0i+73GYBcqRD+qYdBC3L/1ai3X3bXmEgQ3KktzT2r/AQ00D91imtytfXCP8
 b61N6j05kAMSiB1yTGMvyzYQ1YIpcq8646jMlzh/1k2jTzRvsQPEoLgo997VvpBY4luE
 dnBQDbyTnkentnd+MBYGcLL6emmzU1VmMVY06S8HCagnvU4vJ79ZlhB/yX8R5k79dQzl
 vkdg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=phoSmluA3LuOiXpiQN7YY9h/wpeUKLzv+/c3+X4fjHw=;
 b=MYzznhVumWNNxVjIMOG4ps5/4J8s2KAoO+FAkIm1pVMPm4SwpllmRipnUZMBxbMTvV
 QNJ9eG4dXpqDlhzWRNRrexhuj6PcTjVqlNS+cRYKQ6v8PWno6gqiaLXjiQjWaJQMRIq6
 YeZqvYlKSuEDXyoBj6J+iyhiAjmwKmaeCFJuIHXQ6qLcond6Q5CaBCrMbQgWzvypoZN+
 519AzEF4BSw5baFo7XtmOm9vs6q+s9b5+xLitfhT6bU/0e/zFygHHrbqrgQOa617h5kH
 oU1VbUscZZouFhjQ7zAJoaH8iyIvpFDnMg7A6MnbJ7ZVIKlK0Ri1XfQFjrRMfbGVZ7XH
 RFRA==
X-Gm-Message-State: APjAAAWRuGl8KKPPZgFbHAqI0DNY7cymIDJhQO0069+4S1vN+puL3JlD
 r28ad5SO6O74uOk4DyIEJ7ZdNQnX0cRk+wJG9KQ=
X-Google-Smtp-Source: APXvYqw1aFa8Y8skz7PDZUN+hk7NMbUe7lQC9OU32LoPaT0nyaZ2v3e0PUPtpuxcuuLQxAp4Dh1JJvZifrFfjtGQjO0=
X-Received: by 2002:a37:a411:: with SMTP id n17mr15349573qke.216.1569773881053; 
 Sun, 29 Sep 2019 09:18:01 -0700 (PDT)
MIME-Version: 1.0
References: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
 <87tv8vgo4n.fsf@HIDDEN> <87a7angnbk.fsf@HIDDEN>
In-Reply-To: <87a7angnbk.fsf@HIDDEN>
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Sun, 29 Sep 2019 18:17:24 +0200
Message-ID: <CAAeL0SSGS9dtSAfo2i1yKOVQr4T3VmW7TxMbKdTXmtPB09Dx6g@HIDDEN>
Content-Type: multipart/alternative; boundary="0000000000008ed6b90593b37698"
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 (-)

--0000000000008ed6b90593b37698
Content-Type: text/plain; charset="UTF-8"

Curious that my original recipe (fixing the C-x C-x to C-x C-c, as I
suppose I intended) doesn't work now because

  emacs -Q -f desktop-read

does not read the desktop file from the current directory ('.' is no longer
in desktop-path).

But anyway, back to the issue:

> Hm, I think I was wrong here -- I'm not getting exactly the same errors
> as in earlier versions of Emacs, but the data that's saved still isn't
> usable.

Correct.

But, I suppose it is perhaps not worth fixing now, because after that we
implemented framesets, and you can do

C-x r f a

and the frameset in register a is saved and correctly reloaded afterwards.
It's a bit of an overkill, of course.

If we want to fix it, perhaps we could trick our way, by using framesets to
save a one-frame frameset with some special info to mark that it is really
intended to be just a window-configuration, and then, when reloading the
desktop, restoring somehow the window configuration into the register, from
the frameset data. No idea if it is worth the effort, but I think it would
be doable.

--0000000000008ed6b90593b37698
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Curious that my original recipe (fixing the C-x C-x to C-x=
 C-c, as I suppose I intended) doesn&#39;t work now because=C2=A0<div><br><=
/div><div>=C2=A0 emacs -Q -f desktop-read</div><div><br></div><div>does not=
 read the desktop file from the current directory (&#39;.&#39; is no longer=
 in desktop-path).=C2=A0</div><div><br></div><div>But anyway, back to the i=
ssue:<br><br>&gt; Hm, I think I was wrong here -- I&#39;m not getting exact=
ly the same errors<br>&gt; as in earlier versions of Emacs, but the data th=
at&#39;s saved still isn&#39;t<br>&gt; usable.<br><br></div><div>Correct.</=
div><div><br></div><div>But, I suppose it is perhaps not worth fixing now, =
because after that we implemented framesets, and you can do</div><div><br><=
/div><div>C-x r f a</div><div><br></div><div>and the frameset in register a=
 is saved and correctly reloaded afterwards. It&#39;s a bit of an overkill,=
 of course.<br><br>If we want to fix it, perhaps we could trick our way, by=
 using framesets to save a one-frame frameset with some special info to mar=
k that it is really intended to be just a window-configuration, and then, w=
hen reloading the desktop, restoring somehow the window configuration into =
the register, from the frameset data. No idea if it is worth the effort, bu=
t I think it would be doable.</div><div><br></div></div>

--0000000000008ed6b90593b37698--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17090: desktop.el saves unusable register data in register-alist
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 30 Sep 2019 04:41:02 +0000
Resent-Message-ID: <handler.17090.B17090.15698184259641 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17090
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juanma Barranquero <lekktu@HIDDEN>
Cc: 17090 <at> debbugs.gnu.org
Received: via spool by 17090-submit <at> debbugs.gnu.org id=B17090.15698184259641
          (code B ref 17090); Mon, 30 Sep 2019 04:41:02 +0000
Received: (at 17090) by debbugs.gnu.org; 30 Sep 2019 04:40:25 +0000
Received: from localhost ([127.0.0.1]:56490 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEnU1-0002VR-CJ
	for submit <at> debbugs.gnu.org; Mon, 30 Sep 2019 00:40:25 -0400
Received: from quimby.gnus.org ([80.91.231.51]:42742)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1iEnU0-0002VI-5N
 for 17090 <at> debbugs.gnu.org; Mon, 30 Sep 2019 00:40:24 -0400
Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie)
 by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.89) (envelope-from <larsi@HIDDEN>)
 id 1iEnTw-0002lX-7c; Mon, 30 Sep 2019 06:40:22 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
 <87tv8vgo4n.fsf@HIDDEN> <87a7angnbk.fsf@HIDDEN>
 <CAAeL0SSGS9dtSAfo2i1yKOVQr4T3VmW7TxMbKdTXmtPB09Dx6g@HIDDEN>
Date: Mon, 30 Sep 2019 06:40:19 +0200
In-Reply-To: <CAAeL0SSGS9dtSAfo2i1yKOVQr4T3VmW7TxMbKdTXmtPB09Dx6g@HIDDEN>
 (Juanma Barranquero's message of "Sun, 29 Sep 2019 18:17:24 +0200")
Message-ID: <87pnji8ki4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
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:  Juanma Barranquero <lekktu@HIDDEN> writes: > But,
 I suppose it is perhaps not worth fixing now,
 because after that > we implemented framesets, 
 and you can do > > C-x r f a > > and the frameset in register a is saved
 and correctly reloaded > af [...] 
 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: 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 (-)

Juanma Barranquero <lekktu@HIDDEN> writes:

> But, I suppose it is perhaps not worth fixing now, because after that
> we implemented framesets, and you can do
>
> C-x r f a
>
> and the frameset in register a is saved and correctly reloaded
> afterwards. It's a bit of an overkill, of course.
>
> If we want to fix it, perhaps we could trick our way, by using
> framesets to save a one-frame frameset with some special info to mark
> that it is really intended to be just a window-configuration, and
> then, when reloading the desktop, restoring somehow the window
> configuration into the register, from the frameset data. No idea if it
> is worth the effort, but I think it would be doable.

It sounds like we should perhaps refer users to the C-x r f a command
instead...  But in any case, desktop.el probably shouldn't be saving
these useless window configuration registers.

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




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17090: desktop.el saves unusable register data in register-alist
Resent-From: Juanma Barranquero <lekktu@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 30 Sep 2019 08:12:01 +0000
Resent-Message-ID: <handler.17090.B17090.15698310761329 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17090
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Lars Ingebrigtsen <larsi@HIDDEN>
Cc: 17090 <at> debbugs.gnu.org
Received: via spool by 17090-submit <at> debbugs.gnu.org id=B17090.15698310761329
          (code B ref 17090); Mon, 30 Sep 2019 08:12:01 +0000
Received: (at 17090) by debbugs.gnu.org; 30 Sep 2019 08:11:16 +0000
Received: from localhost ([127.0.0.1]:56882 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iEqm4-0000LN-Ay
	for submit <at> debbugs.gnu.org; Mon, 30 Sep 2019 04:11:16 -0400
Received: from mail-qt1-f171.google.com ([209.85.160.171]:41142)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <lekktu@HIDDEN>) id 1iEqm1-0000L4-Dr
 for 17090 <at> debbugs.gnu.org; Mon, 30 Sep 2019 04:11:14 -0400
Received: by mail-qt1-f171.google.com with SMTP id n1so15882019qtp.8
 for <17090 <at> debbugs.gnu.org>; Mon, 30 Sep 2019 01:11:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=mime-version:references:in-reply-to:from:date:message-id:subject:to
 :cc; bh=5j/rlMOnFQNFwAfFTGEHYoFziKGTmC1X5fDLnRpFVtM=;
 b=AxbCOWzfgLeDfZEejhadXYrsrw5OIfWxIoU8zskCa/fg4DNZc7REXXRaSybeVwArIE
 7/6Z43Xo/jrkifRSFAUqONlZdbxjZBgePVbT78bbUfCMna8eENhRy9tuOvsqVtXTb87y
 M71dzDCfoV8p+c50rQjOP5OFM0GrNe9sK4dCIZNWsCOdC+EoFrMHAZovkknEHMgMStsj
 4oXyYlpUq3fLaHhwfKBBxm2Asfwl2w1QksuqsFXJ6ybknfbiceEU1AghwW3/uhRRF5el
 k3FBu2hnKFLatKAcxysPkb3mbWds36oukeq5iMNzwjN8voPrRSPB/UD+9XoYeZSpdgPu
 SDfA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:mime-version:references:in-reply-to:from:date
 :message-id:subject:to:cc;
 bh=5j/rlMOnFQNFwAfFTGEHYoFziKGTmC1X5fDLnRpFVtM=;
 b=Mz0fhgG7uoNJOmzLcCNz7opDoHVQFiaqy2ImNnrG0nHR6+Fyh/U3DKklD+NbC51UoD
 yfrRt0QoBl3bRPfIzcRLvbge/79s7JCNyTm92PnPw15pwEFK6Ns3u/zfWcABvVUTYL1Z
 tJcbqsbRWBoKynNymhDJU2s1CbvMAb6tsoNKI0N0lMdZYgQ5gv+DekYB1B+6f/Rl52ng
 eD5AdIYziaLVcyXRtQzPWoW8//WjtBErtZKI+N8xAPjKaIAaD1jFQ0vIcylTgb60nXRK
 uhCs7sZkSmDXr1nMoEwTyh2ow+VK0sArj5vXKYxr+u+aq3HtRyExV63l8TWn9VReGkmc
 AzCw==
X-Gm-Message-State: APjAAAUSdWfR3dYbYiiC3odA7wGryuvmGiFNGqdgzVSx23ckg9sUscTl
 A78Tpp52f7OxZDGaTkJ5sap2Hk5kRJ3/5g1qmYw=
X-Google-Smtp-Source: APXvYqwX8jOj/DrN72CfDOhtOPb8gjzZdqhDCcZXm/jtVpPS3RRoZsGa8CUcl1SheasQ6C94BfbRaXwe2lguLVz8r8Y=
X-Received: by 2002:ac8:5448:: with SMTP id d8mr23372337qtq.287.1569831067744; 
 Mon, 30 Sep 2019 01:11:07 -0700 (PDT)
MIME-Version: 1.0
References: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
 <87tv8vgo4n.fsf@HIDDEN> <87a7angnbk.fsf@HIDDEN>
 <CAAeL0SSGS9dtSAfo2i1yKOVQr4T3VmW7TxMbKdTXmtPB09Dx6g@HIDDEN>
 <87pnji8ki4.fsf@HIDDEN>
In-Reply-To: <87pnji8ki4.fsf@HIDDEN>
From: Juanma Barranquero <lekktu@HIDDEN>
Date: Mon, 30 Sep 2019 10:10:30 +0200
Message-ID: <CAAeL0SSBy-ycLnrszGJSKCvp7_Em-NPRWoDcZzBOL2xZDYYSvw@HIDDEN>
Content-Type: multipart/alternative; boundary="000000000000267e080593c0c77d"
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 (-)

--000000000000267e080593c0c77d
Content-Type: text/plain; charset="UTF-8"

On Mon, Sep 30, 2019 at 6:40 AM Lars Ingebrigtsen <larsi@HIDDEN> wrote:

> It sounds like we should perhaps refer users to the C-x r f a command
> instead...

Currently, the function assigned to the C-x r map to save a frameset saves
all the frames, so in some uses, saving and restoring the window
configuration (which affects just one frame) is faster and cleaner. Also,
restoring a frameset not only restores the window configuration, but also
position on the screen.

Of course, it would be possible to add another command, or a prefix
parameter, to frameset-to-register, to save just the selected frame, and to
restore the frameset without moving the frame.

> But in any case, desktop.el probably shouldn't be saving
> these useless window configuration registers.

Definitely. It's wasted space and time, and does not serve any useful
purpose.

FWIW, I agree. Documenting the issue and filtering out the
window-configurations on desktop save seems like the easier answer right
now. Don't think it's really a very urgent or frequent issue.

--000000000000267e080593c0c77d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div dir=3D"ltr">On Mon, Sep 30, 2019 at 6:40 AM Lars Inge=
brigtsen &lt;<a href=3D"mailto:larsi@HIDDEN">larsi@HIDDEN</a>&gt; wrote=
:<br></div>=C2=A0<br>&gt; It sounds like we should perhaps refer users to t=
he C-x r f a command<br>&gt; instead...=C2=A0<div><br>Currently, the functi=
on assigned to the C-x r map to save a frameset saves all the frames, so in=
 some uses, saving and restoring the window configuration (which affects ju=
st one frame) is faster and cleaner. Also, restoring a frameset not only re=
stores the window configuration, but also position on the screen.</div><div=
><br></div><div>Of course, it would be possible to add another command, or =
a prefix parameter, to frameset-to-register, to save just the selected fram=
e, and to restore the frameset without moving the frame.<br></div><div><br>=
</div><div>&gt; But in any case, desktop.el probably shouldn&#39;t be savin=
g<br>&gt; these useless window configuration registers.</div><div><br></div=
><div>Definitely. It&#39;s wasted space and time, and does not serve any us=
eful purpose.</div><div><br>FWIW, I agree. Documenting the issue and filter=
ing out the window-configurations on desktop save seems like the easier ans=
wer right now. Don&#39;t think it&#39;s really a very urgent or frequent is=
sue.</div></div>

--000000000000267e080593c0c77d--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#17090: desktop.el saves unusable register data in register-alist
Resent-From: Juri Linkov <juri@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 07 Oct 2019 19:03:01 +0000
Resent-Message-ID: <handler.17090.B17090.15704749338527 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 17090
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Juanma Barranquero <lekktu@HIDDEN>
Cc: 17090 <at> debbugs.gnu.org, Lars Ingebrigtsen <larsi@HIDDEN>
Received: via spool by 17090-submit <at> debbugs.gnu.org id=B17090.15704749338527
          (code B ref 17090); Mon, 07 Oct 2019 19:03:01 +0000
Received: (at 17090) by debbugs.gnu.org; 7 Oct 2019 19:02:13 +0000
Received: from localhost ([127.0.0.1]:49166 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1iHYGq-0002DD-Df
	for submit <at> debbugs.gnu.org; Mon, 07 Oct 2019 15:02:12 -0400
Received: from crocodile.birch.relay.mailchannels.net ([23.83.209.45]:3907)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1iHYGo-0002AU-B5
 for 17090 <at> debbugs.gnu.org; Mon, 07 Oct 2019 15:02:10 -0400
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from relay.mailchannels.net (localhost [127.0.0.1])
 by relay.mailchannels.net (Postfix) with ESMTP id EE4C2E0B58;
 Mon,  7 Oct 2019 19:02:08 +0000 (UTC)
Received: from pdx1-sub0-mail-a42.g.dreamhost.com
 (100-96-87-199.trex.outbound.svc.cluster.local [100.96.87.199])
 (Authenticated sender: dreamhost)
 by relay.mailchannels.net (Postfix) with ESMTPA id 604F0E0AA9;
 Mon,  7 Oct 2019 19:02:08 +0000 (UTC)
X-Sender-Id: dreamhost|x-authsender|jurta@HIDDEN
Received: from pdx1-sub0-mail-a42.g.dreamhost.com ([TEMPUNAVAIL].
 [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384)
 by 0.0.0.0:2500 (trex/5.18.3); Mon, 07 Oct 2019 19:02:08 +0000
X-MC-Relay: Neutral
X-MailChannels-SenderId: dreamhost|x-authsender|jurta@HIDDEN
X-MailChannels-Auth-Id: dreamhost
X-Little-Continue: 545350f202c4ce4f_1570474928622_29684056
X-MC-Loop-Signature: 1570474928622:1396506217
X-MC-Ingress-Time: 1570474928620
Received: from pdx1-sub0-mail-a42.g.dreamhost.com (localhost [127.0.0.1])
 by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTP id C6FC481C69;
 Mon,  7 Oct 2019 12:02:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc
 :subject:references:date:in-reply-to:message-id:mime-version
 :content-type:content-transfer-encoding; s=linkov.net; bh=vlUC/W
 cfAjh4G0U1Bf/TuJhdkKs=; b=Jfwl1sYN87MSi5kFXQWaFz9IGlG3N/XbGuEwdt
 a/dh1iKZ7fAeO/Ce4HiOfxvDtoF3OUNdeKy68FQBuUo4SEY0cAEoaT9jrcIOeNHv
 4bvIusAdsTR2FLZLXKI3BMDuSZaITKbcR/iGOZ+piMGzxspFWPG6JFJl4XiMQRfl
 zut6U=
Received: from mail.jurta.org (m91-129-99-99.cust.tele2.ee [91.129.99.99])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 (Authenticated sender: jurta@HIDDEN)
 by pdx1-sub0-mail-a42.g.dreamhost.com (Postfix) with ESMTPSA id 9691481C66;
 Mon,  7 Oct 2019 12:02:01 -0700 (PDT)
X-DH-BACKEND: pdx1-sub0-mail-a42
From: Juri Linkov <juri@HIDDEN>
Organization: LINKOV.NET
References: <CAAeL0SSMj6bAwTACqj+y23qt5k8Z2HfOiG+LLoUyusNVx3AkwA@HIDDEN>
 <87tv8vgo4n.fsf@HIDDEN> <87a7angnbk.fsf@HIDDEN>
 <CAAeL0SSGS9dtSAfo2i1yKOVQr4T3VmW7TxMbKdTXmtPB09Dx6g@HIDDEN>
Date: Mon, 07 Oct 2019 21:28:50 +0300
In-Reply-To: <CAAeL0SSGS9dtSAfo2i1yKOVQr4T3VmW7TxMbKdTXmtPB09Dx6g@HIDDEN>
 (Juanma Barranquero's message of "Sun, 29 Sep 2019 18:17:24 +0200")
Message-ID: <87ftk4xz31.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
X-VR-OUT-STATUS: OK
X-VR-OUT-SCORE: -100
X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrheejgdduvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleelrdelleenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdelledrleelpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheplhgvkhhkthhusehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd
Content-Transfer-Encoding: quoted-printable
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 (-)

> If we want to fix it, perhaps we could trick our way, by using frameset=
s to
> save a one-frame frameset with some special info to mark that it is rea=
lly
> intended to be just a window-configuration, and then, when reloading th=
e
> desktop, restoring somehow the window configuration into the register, =
from
> the frameset data. No idea if it is worth the effort, but I think it wo=
uld
> be doable.

I invite you to look at the solution that Martin helped to develop
that restores tabs with window-configurations from the desktop file
using framesets, see the comment in tab-bar.el (just search
for =E2=80=9Cwindow-configuration=E2=80=9D).





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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