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#21305: 25.0.50; `get-buffer-window-list' doc - what order? Date: Fri, 21 Aug 2015 06:21:18 -0700 (PDT) Message-ID: <5430f5a7-2939-4f96-8c6c-3e820ffcfd6b@default> References: <<089f48ed-6ce9-4753-abcf-3f86d43a278e@default>> <<83vbc8iyut.fsf@gnu.org>> 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 1440163345 17314 80.91.229.3 (21 Aug 2015 13:22:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Aug 2015 13:22:25 +0000 (UTC) Cc: 21305@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 21 15:22:12 2015 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 1ZSmGp-0001Mx-AM for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 15:22:11 +0200 Original-Received: from localhost ([::1]:41521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSmGo-0002aG-Op for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Aug 2015 09:22:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSmGk-0002YE-1P for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2015 09:22:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZSmGg-0004m0-Rg for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2015 09:22:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:42043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZSmGg-0004lw-Oi for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2015 09:22:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZSmGg-0008E9-HY for bug-gnu-emacs@gnu.org; Fri, 21 Aug 2015 09:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Aug 2015 13:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21305 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 21305-submit@debbugs.gnu.org id=B21305.144016328431581 (code B ref 21305); Fri, 21 Aug 2015 13:22:02 +0000 Original-Received: (at 21305) by debbugs.gnu.org; 21 Aug 2015 13:21:24 +0000 Original-Received: from localhost ([127.0.0.1]:34253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSmG4-0008DJ-02 for submit@debbugs.gnu.org; Fri, 21 Aug 2015 09:21:24 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:28388) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZSmG1-0008DA-7h for 21305@debbugs.gnu.org; Fri, 21 Aug 2015 09:21:22 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t7LDLKQv010220 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 21 Aug 2015 13:21:20 GMT Original-Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t7LDLJtT032401 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 21 Aug 2015 13:21:19 GMT Original-Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserv0122.oracle.com (8.13.8/8.13.8) with ESMTP id t7LDLJIJ007424; Fri, 21 Aug 2015 13:21:19 GMT In-Reply-To: <<83vbc8iyut.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] 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: 208.118.235.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:105649 Archived-At: > > The doc string says: "Windows are scanned starting with the > > selected window." What does that mean? Scanned? How so? > > In what order are they scanned (besides starting with selected)? > > And how is the scanning used? >=20 > I replaced that sentence with this one: >=20 > If the selected window displays BUFFER-OR-NAME, it will be the > first in the resulting list. >=20 > Do you see any issues left after that change? (I don't.) >=20 > > Please update both the doc string and (elisp) `Buffers and > > Windows' to tell us what order the list is in. >=20 > The order is unspecified, which means the caller should not depend > on it. I don't think there's anything wrong with that; do you? Well, it's certainly the prerogative of designers to decide that the order is undefined and that users cannot depend on it. In that case, you can close the bug now. But as one user I'm disappointed. I was hoping for a usable window order. In fact, I was hoping for something similar to `buffer-list' - hoping that users would get a list of the windows (displaying a particular buffer) in order of their last use. I know no way to obtain such a list, but if there is one, please be so kind as to let me know. `walk-windows' etc. go through windows in their "structural" order, but how can I tell, given a list of windows showing a given buffer, which were last used after which others? Yes, my question is outside the scope of this bug (if the list `get-buffer-window-list' has no order we can depend on or even if its order is unrelated to the chronological order of access). Thanks for fixing the doc string.