From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#19170: 25.0.50; enhancement request: `compare-windows' use across frames Date: Fri, 28 Nov 2014 07:31:05 -0800 (PST) Message-ID: <57cad684-f228-4a49-b66b-2c00e658fe1d@default> References: <32848088-e8db-46dc-b9c7-f53bc46bb4e1@default> <87egss9r7v.fsf@mail.linkov.net> <2f6cb7a6-e050-4909-9b54-d651523bb5d5@default> <87egss86a8.fsf@mail.linkov.net> <87egsr0xjt.fsf@mail.linkov.net> <87egsqzy74.fsf@mail.linkov.net> <877fyhfno0.fsf@mail.linkov.net> <3dcedc6e-0613-4af5-a061-02395bc9a506@default> <87y4qw5elz.fsf@mail.linkov.net> <54782455.3020206@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1417188751 30242 80.91.229.3 (28 Nov 2014 15:32:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 28 Nov 2014 15:32:31 +0000 (UTC) Cc: 19170@debbugs.gnu.org To: martin rudalics , Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 28 16:32:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XuNWx-0006s5-Ba for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 16:32:23 +0100 Original-Received: from localhost ([::1]:44909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuNWw-0006jT-OV for geb-bug-gnu-emacs@m.gmane.org; Fri, 28 Nov 2014 10:32:22 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54364) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuNWl-0006j8-6r for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 10:32:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XuNWc-0000Nj-Ce for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 10:32:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:51353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XuNWc-0000NZ-9x for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 10:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XuNWb-0005PI-Ow for bug-gnu-emacs@gnu.org; Fri, 28 Nov 2014 10:32:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 28 Nov 2014 15:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19170 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19170-submit@debbugs.gnu.org id=B19170.141718867320722 (code B ref 19170); Fri, 28 Nov 2014 15:32:01 +0000 Original-Received: (at 19170) by debbugs.gnu.org; 28 Nov 2014 15:31:13 +0000 Original-Received: from localhost ([127.0.0.1]:48566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuNVo-0005OA-SV for submit@debbugs.gnu.org; Fri, 28 Nov 2014 10:31:13 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:36342) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XuNVm-0005O2-SY for 19170@debbugs.gnu.org; Fri, 28 Nov 2014 10:31:11 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sASFV8ZY020844 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 28 Nov 2014 15:31:09 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sASFV8T1019906 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 28 Nov 2014 15:31:08 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sASFV7N4019876; Fri, 28 Nov 2014 15:31:07 GMT In-Reply-To: <54782455.3020206@gmx.at> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:96701 Archived-At: > > There are still open questions about this new variable, e.g.: > > what should be recorded in `last-selected-window' in case of > > `C-x 0' (`delete-window') when the last window is deleted? >=20 > You mean when the window referenced by `last-selected-window' is > deleted? The one returned by (get-mru-window t t t) I presume. In > any case `window-use-time' allows to order all windows by the time > when they were selected. That (too) sounds good. But maybe (get-mru-window 0 t t) is better. Or (get-mru-window 'visible t t). I'm not that familiar with use of frames in terminal mode, so it's not clear to me what the restriction of these to "the current terminal" entails. That restriction is not mentioned in regard to an ALL-FRAMES value of `t'. I wasn't aware of (or forgot about) `window-use-time'.