From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#13339: 24.3.50; doc of `next-frame' Date: Mon, 23 Aug 2021 16:32:03 +0200 Message-ID: <87ilzws04c.fsf@gnus.org> References: <79C6D147824B47049C223D2476CEE799@us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21998"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 13339@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 23 16:33:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIB0h-0005KF-W7 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Aug 2021 16:33:12 +0200 Original-Received: from localhost ([::1]:54160 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIB0g-0001iT-9X for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Aug 2021 10:33:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIB0Y-0001i6-Nn for bug-gnu-emacs@gnu.org; Mon, 23 Aug 2021 10:33:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIB0Y-000310-GA for bug-gnu-emacs@gnu.org; Mon, 23 Aug 2021 10:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mIB0Y-0003YV-As for bug-gnu-emacs@gnu.org; Mon, 23 Aug 2021 10:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Aug 2021 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13339 X-GNU-PR-Package: emacs Original-Received: via spool by 13339-submit@debbugs.gnu.org id=B13339.162972914413611 (code B ref 13339); Mon, 23 Aug 2021 14:33:02 +0000 Original-Received: (at 13339) by debbugs.gnu.org; 23 Aug 2021 14:32:24 +0000 Original-Received: from localhost ([127.0.0.1]:42257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIAzs-0003XH-AA for submit@debbugs.gnu.org; Mon, 23 Aug 2021 10:32:24 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:44458) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIAzm-0003Wx-VI for 13339@debbugs.gnu.org; Mon, 23 Aug 2021 10:32:19 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=u37l3mgW0s1GyiJxC4Z+l5aX2ejGmVWEmb/DpfkAv7s=; b=p2QNvJCEVZm6lUOGSAwZNIFhs/ zxOKO8DpeCDW5LmxOMLhra69djT8YLgxkwWnWjj5SUzFMbXruJwEedzKYPJ8kgtFLaFVE5TFQLgz2 vinbwR+GUdLaRxWGUOoRr2wLWs8XMPYdsz5KIrctYQpFI89R3hs12ZDnMLf+etlXqFM0=; Original-Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIAzb-0004Ac-Ud; Mon, 23 Aug 2021 16:32:08 +0200 In-Reply-To: <79C6D147824B47049C223D2476CEE799@us.oracle.com> (Drew Adams's message of "Wed, 2 Jan 2013 10:56:41 -0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212481 Archived-At: "Drew Adams" writes: > What is unclear is which frames are _included_ in this case. The only > thing we are told is that minibuffer-only frames are _excluded_. Does > that mean that all other frames are included? Or only visible frames? > Or only visible or iconified frames? Looking at the code, it's absolutely all frames on that terminal. I've now adjusted the doc string and the manual. "Drew Adams" writes: > BTW, the doc of `other-frame' says that it includes _visible_ frames. > And its code calls `next-frame' with a nil value for argument > MINIFRAME. So if the doc of `other-frame' is correct then the > `next-frame' with nil MINIFRAME must include only visible frames, not > all frames except minibuffer-only frames and not all visible or > iconified frames except minibuffer-only frames. I haven't dug into the code history here, but the code today says: (while (> arg 0) (setq frame (next-frame frame)) (while (and (not (eq frame sframe)) (not (eq (frame-visible-p frame) t))) (setq frame (next-frame frame))) (setq arg (1- arg))) So the doc string of `other-frame' is correct. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no