From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#19682: 25.0.50; `other-window' doc string should say that by default it selects win in same frame Date: Sun, 25 Jan 2015 19:48:33 +0200 Message-ID: <83ppa2rbta.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1422208155 30657 80.91.229.3 (25 Jan 2015 17:49:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2015 17:49:15 +0000 (UTC) Cc: 19682@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 25 18:49:15 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 1YFRJA-0005Z9-F0 for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 18:49:12 +0100 Original-Received: from localhost ([::1]:38469 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFRJ9-0000pB-NE for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2015 12:49:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41697) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFRJ5-0000ms-S7 for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 12:49:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFRJ0-0005Y4-TD for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 12:49:07 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37481) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFRJ0-0005Y0-Pj for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 12:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YFRJ0-00076E-93 for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2015 12:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Jan 2015 17:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19682 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 19682-submit@debbugs.gnu.org id=B19682.142220814027280 (code B ref 19682); Sun, 25 Jan 2015 17:49:02 +0000 Original-Received: (at 19682) by debbugs.gnu.org; 25 Jan 2015 17:49:00 +0000 Original-Received: from localhost ([127.0.0.1]:56173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YFRIx-00075w-TP for submit@debbugs.gnu.org; Sun, 25 Jan 2015 12:49:00 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:43365) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YFRIv-00075P-3T for 19682@debbugs.gnu.org; Sun, 25 Jan 2015 12:48:58 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NIQ00I00URISE00@a-mtaout23.012.net.il> for 19682@debbugs.gnu.org; Sun, 25 Jan 2015 19:48:49 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NIQ00IHVUTCOX50@a-mtaout23.012.net.il>; Sun, 25 Jan 2015 19:48:49 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il 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:98719 Archived-At: > Date: Sun, 25 Jan 2015 09:12:23 -0800 (PST) > From: Drew Adams > Cc: 19682@debbugs.gnu.org > > > The doc string says: > > > > This function uses `next-window' for finding the window to > > select. The argument ALL-FRAMES has the same meaning as in > > `next-window', but the MINIBUF argument of `next-window' is > > always effectively nil. > > > > This is a very clear invitation to read the documentation of > > 'next-window', if the reader cares about which window will be > > selected. If the reader indeed goes there, she will find there the > > details of what you wanted her to know. > > > > OTOH, many uses of 'other-window' don't really care about the order > > and the candidates, in which case that argument is of no importance > > for them. > > > > So I see no reason to think this doc strings lacks something > > important. > > The default interactive behavior should be described clearly, > as the first thing in the doc string. Users, especially Lisp > users, can read further to discover more information about > possible argument values and behavior. We are in violent agreement about this. It's just that I think the current doc string does precisely that. > But the first thing that needs to be said, very clearly, and > preferably without any reference to arguments or other doc > strings, is what the default behavior is. It already does. It just doesn't divulge _all_ the details about the selection of the "other" window.