From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#17090: desktop.el saves unusable register data in register-alist Date: Mon, 07 Oct 2019 21:28:50 +0300 Organization: LINKOV.NET Message-ID: <87ftk4xz31.fsf@mail.linkov.net> References: <87tv8vgo4n.fsf@gnus.org> <87a7angnbk.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="154258"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (x86_64-pc-linux-gnu) Cc: 17090@debbugs.gnu.org, Lars Ingebrigtsen To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 07 21:04:23 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iHYIw-000dzi-Rp for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 21:04:22 +0200 Original-Received: from localhost ([::1]:49062 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHYIv-0000wZ-CR for geb-bug-gnu-emacs@m.gmane.org; Mon, 07 Oct 2019 15:04:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55274) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHYHf-0000Bk-6t for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 15:03:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHYHd-00070E-Vw for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 15:03:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40348) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHYHd-000705-Sd for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 15:03:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHYHd-0002Ml-NJ for bug-gnu-emacs@gnu.org; Mon, 07 Oct 2019 15:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 07 Oct 2019 19:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17090 X-GNU-PR-Package: emacs Original-Received: via spool by 17090-submit@debbugs.gnu.org id=B17090.15704749338527 (code B ref 17090); Mon, 07 Oct 2019 19:03:01 +0000 Original-Received: (at 17090) by debbugs.gnu.org; 7 Oct 2019 19:02:13 +0000 Original-Received: from localhost ([127.0.0.1]:49166 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHYGq-0002DD-Df for submit@debbugs.gnu.org; Mon, 07 Oct 2019 15:02:12 -0400 Original-Received: from crocodile.birch.relay.mailchannels.net ([23.83.209.45]:3907) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHYGo-0002AU-B5 for 17090@debbugs.gnu.org; Mon, 07 Oct 2019 15:02:10 -0400 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-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) Original-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@jurta.org Original-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@jurta.org X-MailChannels-Auth-Id: dreamhost X-Little-Continue: 545350f202c4ce4f_1570474928622_29684056 X-MC-Loop-Signature: 1570474928622:1396506217 X-MC-Ingress-Time: 1570474928620 Original-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= Original-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@jurta.org) 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 In-Reply-To: (Juanma Barranquero's message of "Sun, 29 Sep 2019 18:17:24 +0200") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedufedrheejgdduvddtucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledrleelrdelleenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrdelledrleelpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtoheplhgvkhhkthhusehgmhgrihhlrdgtohhmnecuvehluhhsthgvrhfuihiivgeptd X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:168583 Archived-At: > 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).