From unknown Sat Sep 06 13:38:14 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12436 <12436@debbugs.gnu.org> To: bug#12436 <12436@debbugs.gnu.org> Subject: Status: 24.2.50; rename `(next|previous)-multiframe-window' Reply-To: bug#12436 <12436@debbugs.gnu.org> Date: Sat, 06 Sep 2025 20:38:14 +0000 retitle 12436 24.2.50; rename `(next|previous)-multiframe-window' reassign 12436 emacs submitter 12436 "Drew Adams" severity 12436 wishlist thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 12:32:04 2012 Received: (at submit) by debbugs.gnu.org; 13 Sep 2012 16:32:04 +0000 Received: from localhost ([127.0.0.1]:60316 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCCKh-0003wW-Qo for submit@debbugs.gnu.org; Thu, 13 Sep 2012 12:32:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56957) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCCKf-0003w9-EF for submit@debbugs.gnu.org; Thu, 13 Sep 2012 12:32:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCCJj-0005u0-83 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 12:31:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:42135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCCJj-0005tw-5S for submit@debbugs.gnu.org; Thu, 13 Sep 2012 12:31:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCCJd-0002od-DF for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 12:31:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCCJV-0005ru-7L for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 12:30:57 -0400 Received: from acsinet15.oracle.com ([141.146.126.227]:35229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCCJV-0005rk-0D for bug-gnu-emacs@gnu.org; Thu, 13 Sep 2012 12:30:49 -0400 Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8DGUj2N001102 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 13 Sep 2012 16:30:46 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8DGUie5000892 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 13 Sep 2012 16:30:45 GMT Received: from abhmt105.oracle.com (abhmt105.oracle.com [141.146.116.57]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8DGUiFe015983 for ; Thu, 13 Sep 2012 11:30:44 -0500 Received: from dradamslap1 (/130.35.178.248) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 13 Sep 2012 09:30:44 -0700 From: "Drew Adams" To: Subject: 24.2.50; rename `(next|previous)-multiframe-window' Date: Thu, 13 Sep 2012 09:30:43 -0700 Message-ID: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Ac2RzR7GAt1mpR3dRpKhA7lhb8BY/Q== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Rename these commands and deprecate the old names. There is no such thing as a multiframe window, which would mean a window on more than one frame. These commands should be called something like: `(next|previous)-window-any-frame'. In GNU Emacs 24.2.50.1 (i386-mingw-nt5.1.2600) of 2012-09-02 on MARVIN Bzr revision: 109861 eggert@cs.ucla.edu-20120902171035-7mzihil3xd6bjfiy Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 28 13:23:08 2016 Received: (at 12436) by debbugs.gnu.org; 28 Apr 2016 17:23:08 +0000 Received: from localhost ([127.0.0.1]:53479 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avpee-0008Gw-9c for submit@debbugs.gnu.org; Thu, 28 Apr 2016 13:23:08 -0400 Received: from hermes.netfonds.no ([80.91.224.195]:32786) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1avpec-0008Go-Bs for 12436@debbugs.gnu.org; Thu, 28 Apr 2016 13:23:06 -0400 Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1avpeZ-0005Ww-8o; Thu, 28 Apr 2016 19:23:05 +0200 From: Lars Ingebrigtsen To: "Drew Adams" Subject: Re: bug#12436: 24.2.50; rename `(next|previous)-multiframe-window' References: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> Date: Thu, 28 Apr 2016 19:23:03 +0200 In-Reply-To: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> (Drew Adams's message of "Thu, 13 Sep 2012 09:30:43 -0700") Message-ID: <87fuu57img.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 12436 Cc: 12436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) "Drew Adams" writes: > Rename these commands and deprecate the old names. There is no such > thing as a multiframe window, which would mean a window on more than one > frame. These commands should be called something like: > `(next|previous)-window-any-frame'. I agree. Any objections? There does not seem to be many users of these functions: ./frame.el:522:(defun next-multiframe-window () ./frame.el:530:(defun previous-multiframe-window () ./term/ns-win.el:105:(define-key global-map [?\s-'] 'next-multiframe-window) -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 30 18:31:33 2019 Received: (at 12436) by debbugs.gnu.org; 30 Oct 2019 22:31:33 +0000 Received: from localhost ([127.0.0.1]:51782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPwV3-0003Hv-ED for submit@debbugs.gnu.org; Wed, 30 Oct 2019 18:31:33 -0400 Received: from giraff.fripost.org ([193.234.15.44]:42388 helo=outgoing.fripost.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPwV1-0003Hf-Df for 12436@debbugs.gnu.org; Wed, 30 Oct 2019 18:31:31 -0400 Received: from localhost (localhost [127.0.0.1]) by outgoing.fripost.org (Postfix) with ESMTP id 9DB4D187EAF2; Wed, 30 Oct 2019 23:31:25 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=x.fripost.org; h= content-type:content-type:mime-version:user-agent:message-id :in-reply-to:date:date:references:subject:subject:from:from; s= 9df9cdc7e101629b5003b587945afa70; t=1572474685; x=1574289086; bh=X1dWvCGbyVsEaYVHfGZNuOzVJ/2oMQbB3K4V1CjnVDw=; b=Yhmzjdxe+Ucl mbhYk78SdL/3pprixNkXrRsWY0SPCzOIG1Y0pK7R6DuJ220IqYfqT/EdcKn8HmhV ik4ntxff5v0ji/ARCPdAD5q6ZNW3jepCBOWe19dFvgd7q5XAzFY6QhpmPDJVqcsK zGoLVdUjaUx213kZjgqdzOaM8Q/Spt+LCP9/yV2Vsqhq57RR8BiNDK4bMadO39cQ 36jRUpB8QdGDLiG05XvUqcwQiYSwj/qquQhO5KzIwg6DnDwXITazLS+TT8cNpO/q Ok6SYcjfwlMZsiRKH1iCzjNa/1FPQnS/FYSur7Lu1gpZCHepRvnV5I2GouY9yiL8 HyEvn3+sdA== X-Virus-Scanned: Debian amavisd-new at fripost.org Received: from outgoing.fripost.org ([127.0.0.1]) by localhost (giraff.fripost.org [127.0.0.1]) (amavisd-new, port 10040) with LMTP id 3KbFfk9-CLVy; Wed, 30 Oct 2019 23:31:25 +0100 (CET) Received: from smtp.fripost.org (unknown [172.16.0.6]) by outgoing.fripost.org (Postfix) with ESMTP id 774DC187EAE6; Wed, 30 Oct 2019 23:31:25 +0100 (CET) Received: from [127.0.0.1] (localhost [127.0.0.1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by smtp.fripost.org (Postfix) with ESMTPSA id 33A06599F72B; Wed, 30 Oct 2019 23:31:05 +0100 (CET) Received: from skangas by joffe.skangas.se with local (Exim 4.92) (envelope-from ) id 1iPwUP-0006P5-Op; Wed, 30 Oct 2019 23:30:53 +0100 From: Stefan Kangas To: Lars Ingebrigtsen Subject: Re: bug#12436: 24.2.50; rename `(next|previous)-multiframe-window' References: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> <87fuu57img.fsf@gnus.org> Date: Wed, 30 Oct 2019 23:30:53 +0100 In-Reply-To: <87fuu57img.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 28 Apr 2016 19:23:03 +0200") Message-ID: <878sp1x3vm.fsf@joffe.skangas.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -1.0 (-) X-Debbugs-Envelope-To: 12436 Cc: 12436@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.0 (--) --=-=-= Content-Type: text/plain Lars Ingebrigtsen writes: > "Drew Adams" writes: > >> Rename these commands and deprecate the old names. There is no such >> thing as a multiframe window, which would mean a window on more than one >> frame. These commands should be called something like: >> `(next|previous)-window-any-frame'. > > I agree. Any objections? There does not seem to be many users of these > functions: > > ./frame.el:522:(defun next-multiframe-window () > ./frame.el:530:(defun previous-multiframe-window () > ./term/ns-win.el:105:(define-key global-map [?\s-'] 'next-multiframe-window) Makes sense to me. Any objections to the below patch? --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Rename-multiframe-window-to-window-any-frame.patch >From 1ee698b0b0722c18ee211d79821370af2f60af56 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 30 Oct 2019 23:27:37 +0100 Subject: [PATCH] Rename `*-multiframe-window' to '*-window-any-frame' Suggested by Drew Adams. * lisp/frame.el (next-multiframe-window): Define as obsolete alias for... (next-window-any-frame): ...new function name. (previous-multiframe-window): Define as obsolete alias for... (previous-window-any-frame): ...new function name. (Bug#12436) * lisp/term/ns-win.el (global-map): Use new command name. * doc/emacs/windows.texi (Other Window): Document it. * etc/NEWS: Announce it. --- doc/emacs/windows.texi | 4 ++-- etc/NEWS | 5 +++++ lisp/frame.el | 8 ++++++-- lisp/term/ns-win.el | 2 +- 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi index 19f6cff7bf..53e9a4bb58 100644 --- a/doc/emacs/windows.texi +++ b/doc/emacs/windows.texi @@ -181,12 +181,12 @@ Other Window back and finish supplying the minibuffer argument that is requested. @xref{Minibuffer Edit}. -@findex next-multiframe-window +@findex next-window-any-frame The @code{other-window} command will normally only switch to the next window in the current frame (unless otherwise configured). If you work in a multi-frame environment and you want windows in all frames to be part of the cycle, you can rebind @kbd{C-x o} to the -@code{next-multiframe-window} command. (@xref{Rebinding}, for how to +@code{next-window-any-frame} command. (@xref{Rebinding}, for how to rebind a command.) @kindex C-M-v diff --git a/etc/NEWS b/etc/NEWS index cd1e46bb87..bb288a4aac 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -202,6 +202,11 @@ the new version of the file again.) * Changes in Emacs 27.1 ++++ +** 'next-multiframe-window' and 'previous-multiframe-window' are obsolete. +Use new names 'next-window-any-frame' and 'previous-window-any-frame' +instead. + ** emacsclient +++ diff --git a/lisp/frame.el b/lisp/frame.el index 92fe57fbe6..7aa1b75f1f 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -673,21 +673,25 @@ get-other-frame is not considered (see `next-frame')." (if (equal (next-frame) (selected-frame)) (make-frame) (next-frame))) -(defun next-multiframe-window () +(defun next-window-any-frame () "Select the next window, regardless of which frame it is on." (interactive) (select-window (next-window (selected-window) (> (minibuffer-depth) 0) 0)) (select-frame-set-input-focus (selected-frame))) +(define-obsolete-function-alias 'next-multiframe-window + 'next-window-any-frame "27.1") -(defun previous-multiframe-window () +(defun previous-window-any-frame () "Select the previous window, regardless of which frame it is on." (interactive) (select-window (previous-window (selected-window) (> (minibuffer-depth) 0) 0)) (select-frame-set-input-focus (selected-frame))) +(define-obsolete-function-alias 'previous-multiframe-window + 'previous-window-any-frame "27.1") (defun window-system-for-display (display) "Return the window system for DISPLAY. diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index 83b845b1a5..1841e679ac 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -102,7 +102,7 @@ 'ns-alternatives-map ;; Here are some Nextstep-like bindings for command key sequences. (define-key global-map [?\s-,] 'customize) -(define-key global-map [?\s-'] 'next-multiframe-window) +(define-key global-map [?\s-'] 'next-window-any-frame) (define-key global-map [?\s-`] 'other-frame) (define-key global-map [?\s-~] 'ns-prev-frame) (define-key global-map [?\s--] 'center-line) -- 2.20.1 --=-=-= Content-Type: text/plain Best regards, Stefan Kangas --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 30 18:46:26 2019 Received: (at 12436) by debbugs.gnu.org; 30 Oct 2019 22:46:26 +0000 Received: from localhost ([127.0.0.1]:51806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPwjS-0004v0-8l for submit@debbugs.gnu.org; Wed, 30 Oct 2019 18:46:26 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35750) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPwjM-0004qP-CX for 12436@debbugs.gnu.org; Wed, 30 Oct 2019 18:46:25 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPwjI-0007sA-8u; Wed, 30 Oct 2019 23:46:18 +0100 From: Lars Ingebrigtsen To: Stefan Kangas Subject: Re: bug#12436: 24.2.50; rename `(next|previous)-multiframe-window' References: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> <87fuu57img.fsf@gnus.org> <878sp1x3vm.fsf@joffe.skangas.se> Date: Wed, 30 Oct 2019 23:46:15 +0100 In-Reply-To: <878sp1x3vm.fsf@joffe.skangas.se> (Stefan Kangas's message of "Wed, 30 Oct 2019 23:30:53 +0100") Message-ID: <87zhhhn96w.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Kangas writes: > Makes sense to me. Any objections to the below patch? > >>From 1ee698b0b0722c18ee211d79821370af2f60af56 Mon Sep 17 00:00:00 2001 > From: Stefan Kangas > Date: Wed, 30 Oct 20 [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 12436 Cc: 12436@debbugs.gnu.org, Drew Adams X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas writes: > Makes sense to me. Any objections to the below patch? > >>>From 1ee698b0b0722c18ee211d79821370af2f60af56 Mon Sep 17 00:00:00 2001 > From: Stefan Kangas > Date: Wed, 30 Oct 2019 23:27:37 +0100 > Subject: [PATCH] Rename `*-multiframe-window' to '*-window-any-frame' > > Suggested by Drew Adams. > > * lisp/frame.el > (next-multiframe-window): Define as obsolete alias for... > (next-window-any-frame): ...new function name. > (previous-multiframe-window): Define as obsolete alias for... > (previous-window-any-frame): ...new function name. (Bug#12436) Looks good to me. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 30 19:20:35 2019 Received: (at 12436) by debbugs.gnu.org; 30 Oct 2019 23:20:35 +0000 Received: from localhost ([127.0.0.1]:51851 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPxGU-0002Bt-Nq for submit@debbugs.gnu.org; Wed, 30 Oct 2019 19:20:35 -0400 Received: from userp2130.oracle.com ([156.151.31.86]:48104) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPxGT-0002Bf-H9 for 12436@debbugs.gnu.org; Wed, 30 Oct 2019 19:20:34 -0400 Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9UNIwIw047732; Wed, 30 Oct 2019 23:20:27 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=8+SRuuj696w6sCHsLXONxrVYWLSKSXLATMNGxn04nGg=; b=nUgNwBAf6QLr/BNUaSmZP9Pb5XGJt/oevhS+Qp4rZPygOON97TH7c+Yxu1LZYAurmyNx j4ii4dLPkut+ArzrADKJpgtLlyVezpmmxTNenDD6J6DZIgTQZdzSGSLyCl8P0ycuT4Zc 4Cjm1tsqbrYB823fxXcfEIRmRA1SJXNoA9ri13ROlKa57jBCW00Imk6DY1UNqLf7Hp0Z aCU9O5di9R888ZfsdmJoPnaN8BH1hBPs7cwVRbG37x2bz4EeHSWaEBl6AotM7BmPMfQ6 qaVcJtKEr2X42osw12JRs56zpslPN4/3d7ANBbFnlo9KMrP7y/P+OtIKnt96DBUzrb5l ww== Received: from aserp3030.oracle.com (aserp3030.oracle.com [141.146.126.71]) by userp2130.oracle.com with ESMTP id 2vxwhfqfh4-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Oct 2019 23:20:27 +0000 Received: from pps.filterd (aserp3030.oracle.com [127.0.0.1]) by aserp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9UNIF1O061110; Wed, 30 Oct 2019 23:20:26 GMT Received: from aserv0122.oracle.com (aserv0122.oracle.com [141.146.126.236]) by aserp3030.oracle.com with ESMTP id 2vykw08e8m-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Wed, 30 Oct 2019 23:20:26 +0000 Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserv0122.oracle.com (8.14.4/8.14.4) with ESMTP id x9UNKOR5002235; Wed, 30 Oct 2019 23:20:25 GMT MIME-Version: 1.0 Message-ID: Date: Wed, 30 Oct 2019 16:20:23 -0700 (PDT) From: Drew Adams To: Stefan Kangas , Lars Ingebrigtsen Subject: RE: bug#12436: 24.2.50; rename `(next|previous)-multiframe-window' References: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> <87fuu57img.fsf@gnus.org> <878sp1x3vm.fsf@joffe.skangas.se> In-Reply-To: <878sp1x3vm.fsf@joffe.skangas.se> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9426 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=704 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910300209 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9426 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=787 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910300209 X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 12436 Cc: 12436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Any objections to the below patch? Not from me. From debbugs-submit-bounces@debbugs.gnu.org Thu Oct 31 10:05:54 2019 Received: (at 12436) by debbugs.gnu.org; 31 Oct 2019 14:05:54 +0000 Received: from localhost ([127.0.0.1]:53911 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQB5G-00050y-FZ for submit@debbugs.gnu.org; Thu, 31 Oct 2019 10:05:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:34870) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQB5E-00050j-VQ for 12436@debbugs.gnu.org; Thu, 31 Oct 2019 10:05:53 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iQB59-0007EZ-EE; Thu, 31 Oct 2019 10:05:47 -0400 Received: from [176.228.60.248] (port=4505 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iQB58-00025F-NM; Thu, 31 Oct 2019 10:05:47 -0400 Date: Thu, 31 Oct 2019 16:05:46 +0200 Message-Id: <83pnidnh6t.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: <878sp1x3vm.fsf@joffe.skangas.se> (message from Stefan Kangas on Wed, 30 Oct 2019 23:30:53 +0100) Subject: Re: bug#12436: 24.2.50; rename `(next|previous)-multiframe-window' References: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> <87fuu57img.fsf@gnus.org> <878sp1x3vm.fsf@joffe.skangas.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 12436 Cc: larsi@gnus.org, 12436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Stefan Kangas > Date: Wed, 30 Oct 2019 23:30:53 +0100 > Cc: 12436@debbugs.gnu.org > > >> Rename these commands and deprecate the old names. There is no such > >> thing as a multiframe window, which would mean a window on more than one > >> frame. These commands should be called something like: > >> `(next|previous)-window-any-frame'. > > > > I agree. Any objections? There does not seem to be many users of these > > functions: > > > > ./frame.el:522:(defun next-multiframe-window () > > ./frame.el:530:(defun previous-multiframe-window () > > ./term/ns-win.el:105:(define-key global-map [?\s-'] 'next-multiframe-window) They are commands, not functions. So counting the number of their calls in the code is not an objective method of estimating their popularity. > Makes sense to me. Any objections to the below patch? I don't object, although I do wonder what could be the point of renaming commands which were known under these names for the last 28(!) years. Given their age, perhaps consider not obsoleting the old names: who knows whether someone out there has these names burned into their muscle memory? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 01 21:37:33 2019 Received: (at 12436) by debbugs.gnu.org; 2 Nov 2019 01:37:33 +0000 Received: from localhost ([127.0.0.1]:57756 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQiM9-0007qe-6l for submit@debbugs.gnu.org; Fri, 01 Nov 2019 21:37:33 -0400 Received: from host.gofardesign.uk ([208.79.239.190]:52548) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iQiM7-0007qQ-Ad for 12436@debbugs.gnu.org; Fri, 01 Nov 2019 21:37:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To: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=fWKcKzsKm8Cy5rhYkcYRexFYxJkqOzK+dcCeO7AJUKQ=; b=bVBUhcRdGV/qZjVmAYaZ6iANGM 9SV8jVIuxmvY7kddDkws6ZDogYggOCPXawhqL8AF3tqD95F2s49SwgWbu2NTdo4g7klCnx8F++t6N tsUkOt0qsfDs3MgplbGUn3N71GcRxk9zjegaXNq3oIg37SyL2Bj00MtH06vOnB7rniuw=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:51662 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iQiM0-0004nU-RD; Fri, 01 Nov 2019 20:37:25 -0500 From: Stefan Kangas To: Eli Zaretskii Subject: Re: bug#12436: 24.2.50; rename `(next|previous)-multiframe-window' In-Reply-To: <83pnidnh6t.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 31 Oct 2019 16:05:46 +0200") References: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> <87fuu57img.fsf@gnus.org> <878sp1x3vm.fsf@joffe.skangas.se> <83pnidnh6t.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Sat, 02 Nov 2019 02:37:22 +0100 Message-ID: <87o8xvrrcd.fsf@marxist.se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 12436 Cc: larsi@gnus.org, 12436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Eli Zaretskii writes: >> Makes sense to me. Any objections to the below patch? > > I don't object, although I do wonder what could be the point of > renaming commands which were known under these names for the last > 28(!) years. Given their age, perhaps consider not obsoleting the old > names: who knows whether someone out there has these names burned into > their muscle memory? Makes sense to me; I've attached an updated patch here. If there are no objections, I intend to push it within a couple of days. Best regards, Stefan Kangas --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Rename-multiframe-window-to-window-any-frame.patch >From b13ea22c9338097560d499872ef0a1f4aea15ba7 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Wed, 30 Oct 2019 23:27:37 +0100 Subject: [PATCH] Rename `*-multiframe-window' to '*-window-any-frame' Suggested by Drew Adams. * lisp/frame.el (next-multiframe-window): Define as obsolete alias for... (next-window-any-frame): ...new function name. (previous-multiframe-window): Define as obsolete alias for... (previous-window-any-frame): ...new function name. (Bug#12436) * lisp/term/ns-win.el (global-map): Use new command name. * doc/emacs/windows.texi (Other Window): Document it. * etc/NEWS: Announce it. --- doc/emacs/windows.texi | 4 ++-- etc/NEWS | 10 ++++++++++ lisp/frame.el | 7 +++++-- lisp/term/ns-win.el | 2 +- 4 files changed, 18 insertions(+), 5 deletions(-) diff --git a/doc/emacs/windows.texi b/doc/emacs/windows.texi index 19f6cff7bf..53e9a4bb58 100644 --- a/doc/emacs/windows.texi +++ b/doc/emacs/windows.texi @@ -181,12 +181,12 @@ Other Window back and finish supplying the minibuffer argument that is requested. @xref{Minibuffer Edit}. -@findex next-multiframe-window +@findex next-window-any-frame The @code{other-window} command will normally only switch to the next window in the current frame (unless otherwise configured). If you work in a multi-frame environment and you want windows in all frames to be part of the cycle, you can rebind @kbd{C-x o} to the -@code{next-multiframe-window} command. (@xref{Rebinding}, for how to +@code{next-window-any-frame} command. (@xref{Rebinding}, for how to rebind a command.) @kindex C-M-v diff --git a/etc/NEWS b/etc/NEWS index e614197125..e005cc9406 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -202,6 +202,16 @@ the new version of the file again.) * Changes in Emacs 27.1 ++++ +** 'next/previous-multiframe-window' have been renamed. +The new names are as follows: + + 'next-multiframe-window' -> 'next-window-any-frame' + 'previous-multiframe-window' -> 'previous-window-any-frame' + +The old names are maintained as function aliases for backward +compatibility. + ** emacsclient +++ diff --git a/lisp/frame.el b/lisp/frame.el index 92fe57fbe6..1a15a4c9f2 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -673,7 +673,7 @@ get-other-frame is not considered (see `next-frame')." (if (equal (next-frame) (selected-frame)) (make-frame) (next-frame))) -(defun next-multiframe-window () +(defun next-window-any-frame () "Select the next window, regardless of which frame it is on." (interactive) (select-window (next-window (selected-window) @@ -681,7 +681,7 @@ next-multiframe-window 0)) (select-frame-set-input-focus (selected-frame))) -(defun previous-multiframe-window () +(defun previous-window-any-frame () "Select the previous window, regardless of which frame it is on." (interactive) (select-window (previous-window (selected-window) @@ -689,6 +689,9 @@ previous-multiframe-window 0)) (select-frame-set-input-focus (selected-frame))) +(defalias 'next-multiframe-window 'next-window-any-frame) +(defalias 'previous-multiframe-window 'previous-window-any-frame) + (defun window-system-for-display (display) "Return the window system for DISPLAY. Return nil if we don't know how to interpret DISPLAY." diff --git a/lisp/term/ns-win.el b/lisp/term/ns-win.el index 83b845b1a5..1841e679ac 100644 --- a/lisp/term/ns-win.el +++ b/lisp/term/ns-win.el @@ -102,7 +102,7 @@ 'ns-alternatives-map ;; Here are some Nextstep-like bindings for command key sequences. (define-key global-map [?\s-,] 'customize) -(define-key global-map [?\s-'] 'next-multiframe-window) +(define-key global-map [?\s-'] 'next-window-any-frame) (define-key global-map [?\s-`] 'other-frame) (define-key global-map [?\s-~] 'ns-prev-frame) (define-key global-map [?\s--] 'center-line) -- 2.20.1 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Nov 05 18:51:40 2019 Received: (at 12436) by debbugs.gnu.org; 5 Nov 2019 23:51:40 +0000 Received: from localhost ([127.0.0.1]:39237 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iS8bn-0006YZ-6s for submit@debbugs.gnu.org; Tue, 05 Nov 2019 18:51:40 -0500 Received: from host.gofardesign.uk ([208.79.239.190]:55926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iS8bl-0006YF-1f; Tue, 05 Nov 2019 18:51:34 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To: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=gFvanAnuDZFYiz3nDO0yrKv099MsJ1bvP8/EQuigizM=; b=UHKcbw/WeYmuNC3ls6xYqsa/f+ FPOvH4+0S9ZfnkvPSu3kD1Z6FJXP64eqAorSF58H3jnevYnbNhQ/s8eZosX8eLM2LSt9EPX16RLn4 P1rQCuz7O38aaVCvrgRWbKXvl9OXo+1lIIZxQPpAziNZxkUp6CeujkJwUzmt7/yS1Brg=; Received: from h-70-69.a785.priv.bahnhof.se ([155.4.70.69]:58050 helo=localhost) by host.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iS8bb-0002Si-Ny; Tue, 05 Nov 2019 17:51:24 -0600 From: Stefan Kangas To: Eli Zaretskii Subject: Re: bug#12436: 24.2.50; rename `(next|previous)-multiframe-window' In-Reply-To: <87o8xvrrcd.fsf@marxist.se> (Stefan Kangas's message of "Sat, 02 Nov 2019 02:37:22 +0100") References: <41448D3E81B245CAA20C88FD41B31D26@us.oracle.com> <87fuu57img.fsf@gnus.org> <878sp1x3vm.fsf@joffe.skangas.se> <83pnidnh6t.fsf@gnu.org> <87o8xvrrcd.fsf@marxist.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Date: Wed, 06 Nov 2019 00:51:21 +0100 Message-ID: <87v9rx6fwm.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: host.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: host.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 12436 Cc: larsi@gnus.org, 12436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) close 12436 27.1 thanks Stefan Kangas writes: > Makes sense to me; I've attached an updated patch here. If there are > no objections, I intend to push it within a couple of days. Now pushed to master as commit c91c145d61. Closing. Best regards, Stefan Kangas From unknown Sat Sep 06 13:38:14 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 04 Dec 2019 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator