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#42872: [PATCH] Add all-frames as arg for count windows. Date: Sun, 16 Aug 2020 22:36:10 +0200 Message-ID: <87d03qqqf9.fsf@gnus.org> References: <87v9hivkph.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16249"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 42872@debbugs.gnu.org To: Jen-Chieh Shen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 16 22:37:11 2020 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 1k7POw-000491-Qb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Aug 2020 22:37:10 +0200 Original-Received: from localhost ([::1]:48938 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k7POv-0005pp-AP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 16 Aug 2020 16:37:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k7POo-0005pW-Ni for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 16:37:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47098) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k7POo-0003Qe-El for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 16:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k7POo-0007uI-Bb for bug-gnu-emacs@gnu.org; Sun, 16 Aug 2020 16:37: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: Sun, 16 Aug 2020 20:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo patch Original-Received: via spool by 42872-submit@debbugs.gnu.org id=B42872.159761018330349 (code B ref 42872); Sun, 16 Aug 2020 20:37:02 +0000 Original-Received: (at 42872) by debbugs.gnu.org; 16 Aug 2020 20:36:23 +0000 Original-Received: from localhost ([127.0.0.1]:58644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7POB-0007tR-7z for submit@debbugs.gnu.org; Sun, 16 Aug 2020 16:36:23 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:41112) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k7PO7-0007tD-P5 for 42872@debbugs.gnu.org; Sun, 16 Aug 2020 16:36:21 -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=ZC7Lqpp4nW8z7KUGnylb34HZ6TDo18RMTnPEgSBQhB4=; b=UC6/ujdV+R12WIGf1Pwqa9KTKG wo7ruexrW9doaErgzUNLiO1DBbn77cUjFcIcF61YmR9/BhbnVEzzzT1JYaFoIpdQkEMyv29XqYGi0 6Wc68Z+k3rrBz1z0U/kzpUh3evTNfgklR1biIdES49JgDogxvYUEPlCXdUEAXbVpz7ts=; Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k7PNz-0008Qj-Dp; Sun, 16 Aug 2020 22:36:13 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEUJBwt8fIBcWV7B wMMqHCBbCw6XDhH////N3kznAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+QIEBQiNyVIB+kAAAGmSURB VDjLjZNNkqMwDIUVIrNO2jlAfrr3EHMAVSJYM1Nx1l4E3/8IIxs8YKipGm0o/PGeZEkAjLH7qukY gyALRAaOMZ8p6i1YYeOrKHBUlYPzg6dB9QDDuxuUK4dR4d0gigi8L1k55RLwZJWfgHw/AwdWvUfQ UWkT6J1Lik/XQZcUZf+RLKWy/gWu7Py7SwroLfUK2bbQq/ZlFfbwH6HNt2n0pTEmO24F3E2tTWXM eQl8r/f3KoJdBpwojiM4ZVYfAbcR1FnTB6efRoCuDGcg5DDVXT+rvKiQvLgcznq/Ti73ODFTAGYN apmtfjbmazV0QBk3IxFumiJW4XHdANmTIPv+F6AtuM5+sz9Me7UBFDcteNHKnynuH142AKBJphkg wOav6xoQE+ULDw/5DJsHMdxwARgKaSlWD7qCXtxx+h2wKfhKGZhkp3BW510pzkQQEq/B7iBVET8i WNa7PwcvRgwAciAHKBM8YnbBJ6XaOO+JgDCmk1SYg1vsXnGAqfuzYgLrFVGv6FD8iN1rCdrfbK1t f/1Yq6xdEo1hDvsDr7MfMV0zxR+zC2Cw1nLjhwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0wOC0x NlQyMDozNDo1NSswMDowMLq1+sUAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMDgtMTZUMjA6MzQ6 NTUrMDA6MDDL6EJ5AAAAAElFTkSuQmCC X-Now-Playing: The Residents's _Metal, Meat & Bone (1)_: "River Runs Dry" In-Reply-To: (Jen-Chieh Shen's message of "Sun, 16 Aug 2020 21:03:24 +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:185348 Archived-At: (Please keep the debbugs address in the Cc header.) Jen-Chieh Shen writes: > Oops, I guess I mess it up somehow. > > Here is the updated patch! [...] > (defun count-windows (&optional minibuf) > "Return the number of live windows on the selected frame. > + > The optional argument MINIBUF specifies whether the minibuffer > -window shall be counted. See `walk-windows' for the precise > -meaning of this argument." There's still no actual all-frames parameter in the count-windows function signature. :-)