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#36894: Stability issues in frameset sorting Date: Wed, 07 Aug 2019 01:09:49 +0300 Organization: LINKOV.NET Message-ID: <874l2uug62.fsf@mail.linkov.net> References: <878sscwovy.fsf@mail.linkov.net> <877e7rwbv7.fsf@mail.linkov.net> <834l2uconb.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="242036"; 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: 36894@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Aug 07 00:19:21 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 1hv7nU-0010ek-7K for geb-bug-gnu-emacs@m.gmane.org; Wed, 07 Aug 2019 00:19:12 +0200 Original-Received: from localhost ([::1]:36520 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv7nT-00079D-7X for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Aug 2019 18:19:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50489) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hv7nM-00073r-PY for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 18:19:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hv7nL-00005Q-P7 for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 18:19:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57362) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hv7nL-00005L-M4 for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 18:19:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hv7nL-0000Ee-H6 for bug-gnu-emacs@gnu.org; Tue, 06 Aug 2019 18:19:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Aug 2019 22:19:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36894 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 36894-submit@debbugs.gnu.org id=B36894.1565129918817 (code B ref 36894); Tue, 06 Aug 2019 22:19:03 +0000 Original-Received: (at 36894) by debbugs.gnu.org; 6 Aug 2019 22:18:38 +0000 Original-Received: from localhost ([127.0.0.1]:37940 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv7mv-0000D7-RG for submit@debbugs.gnu.org; Tue, 06 Aug 2019 18:18:38 -0400 Original-Received: from bisque.elm.relay.mailchannels.net ([23.83.212.18]:8373) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hv7mt-0000Cx-30 for 36894@debbugs.gnu.org; Tue, 06 Aug 2019 18:18:35 -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 CD9B85E18A1; Tue, 6 Aug 2019 22:18:33 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a95.g.dreamhost.com (100-96-88-250.trex.outbound.svc.cluster.local [100.96.88.250]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 5AD4E5E1E4D; Tue, 6 Aug 2019 22:18:33 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a95.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.17.5); Tue, 06 Aug 2019 22:18:33 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Daffy-Bottle: 7cd718893c433cd0_1565129913640_1991158395 X-MC-Loop-Signature: 1565129913640:3706502156 X-MC-Ingress-Time: 1565129913640 Original-Received: from pdx1-sub0-mail-a95.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a95.g.dreamhost.com (Postfix) with ESMTP id 6BA38816CD; Tue, 6 Aug 2019 15:18:29 -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; s=linkov.net; bh=WPra0zYqe7jzfd/hcl6dv7LXetI=; b= SUY5wHKsXiqGcGf5fpTmrr66PivfFV4RUf0mLg7C3cASqvgT/r/5jwCIYRRh/oIl CedYvURvr0efmEmKLNYZ/7F5jdeT7x8Eb1UY0XByJwBAEpy9Zr2bwOBvQAYiOebI wF3++rgl7PsDtbg0SuJCqqkY9VH+XJbK/UDOkGF5iSA= Original-Received: from mail.jurta.org (m91-129-103-91.cust.tele2.ee [91.129.103.91]) (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-a95.g.dreamhost.com (Postfix) with ESMTPSA id DEC83816CF; Tue, 6 Aug 2019 15:18:27 -0700 (PDT) X-DH-BACKEND: pdx1-sub0-mail-a95 In-Reply-To: <834l2uconb.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 06 Aug 2019 18:14:00 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeduvddrudduuddgtdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuggftfghnshhusghstghrihgsvgdpffftgfetoffjqffuvfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufhofhffjgfkfgggtgesthdtredttdertdenucfhrhhomheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqeenucfkphepledurdduvdelrddutdefrdeludenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdefrdeluddprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegvlhhiiiesghhnuhdrohhrghenucevlhhushhtvghrufhiiigvpedt 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:164697 Archived-At: >> Now one problem still remains: the desktop file doesn't restore the >> selected frame, i.e. after restoring frames from the desktop file, >> the selected frame is not the same as was before saving the desktop. >> This patch ensures that the previously selected frame is restored last, >> thus becoming selected again: > > Is this really necessary? IME, the selected frame does get restored, > so I'm not sure why it doesn't work for you. Currently the desktop doesn't restore focus to the previously selected frame. > I'm wary of changing the order of restoring frames from what Emacs > does now, because this could have adverse effects on some settings > that are related to restoring frame dimensions. I doubt that fixing would have any effect because for many years the order was completely broken, and no one complained (I can speak only for myself why I haven't complained until now - every time the desktop restored focus to wrong frame, it was easier to switch to the previously selected frame manually than to debug the problem).