From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#36894: Stability issues in frameset sorting Date: Fri, 09 Aug 2019 22:04:12 +0300 Message-ID: <83a7ci9n4j.fsf@gnu.org> References: <878sscwovy.fsf@mail.linkov.net> <877e7rwbv7.fsf@mail.linkov.net> <834l2uconb.fsf@gnu.org> <874l2uug62.fsf@mail.linkov.net> <83y305btde.fsf@gnu.org> <87h86q8b3m.fsf@mail.linkov.net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="269867"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36894@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 09 21:05:16 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 1hwACS-001856-3Q for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2019 21:05:16 +0200 Original-Received: from localhost ([::1]:33486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwACR-0003yb-5E for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Aug 2019 15:05:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56774) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hwACG-0003x0-E0 for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 15:05:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hwACE-0003HE-Cg for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 15:05:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34462) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hwACE-0003H6-94 for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 15:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hwACE-0000v8-1o for bug-gnu-emacs@gnu.org; Fri, 09 Aug 2019 15:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 09 Aug 2019 19:05:02 +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.15653774643490 (code B ref 36894); Fri, 09 Aug 2019 19:05:02 +0000 Original-Received: (at 36894) by debbugs.gnu.org; 9 Aug 2019 19:04:24 +0000 Original-Received: from localhost ([127.0.0.1]:43283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwABc-0000uC-Bp for submit@debbugs.gnu.org; Fri, 09 Aug 2019 15:04:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hwABZ-0000u0-SZ for 36894@debbugs.gnu.org; Fri, 09 Aug 2019 15:04:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41469) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hwABU-0002wv-Lx; Fri, 09 Aug 2019 15:04:16 -0400 Original-Received: from [176.228.60.248] (port=3165 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hwABU-0005OD-3X; Fri, 09 Aug 2019 15:04:16 -0400 In-reply-to: <87h86q8b3m.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 09 Aug 2019 21:09:17 +0300) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:164815 Archived-At: > From: Juri Linkov > Cc: 36894@debbugs.gnu.org > Date: Fri, 09 Aug 2019 21:09:17 +0300 > > Then created a completely new desktop in Emacs 26, > but it didn't restore focus in the frame where it previously was. > > And I don't see how Emacs 26 could restore focus, Well, it does for me, and I think that's because the order of saving the frames is such that the selected frame is saved last (and thus restored last). > 'last-focus-update' was added recently in Emacs 27. How is that relevant? > So this is a new feature that we could use now in the desktop > to restore focus in the same frame where it was before. Selected frame and frame that has focus is not the same thing, definitely not with an arbitrary window-manager. But I asked for a reproducible recipe, and I don't think you have shown one. Could you please do that? I'd like to study it. Thanks.