From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: "whether the global keymap C-x 4 will be replaced by a command," Date: Fri, 17 Jul 2020 21:57:31 -0400 Message-ID: References: <83ft9woo68.fsf@gnu.org> <87wo377wxp.fsf_-_@mail.linkov.net> <87wo353f77.fsf@mail.linkov.net> <87o8ofoy9o.fsf@mail.linkov.net> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6362"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, juri@linkov.net To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 18 03:58:05 2020 Return-path: Envelope-to: ged-emacs-devel@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 1jwc72-0001ZU-Va for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Jul 2020 03:58:04 +0200 Original-Received: from localhost ([::1]:32878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwc72-0001XB-2K for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jul 2020 21:58:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51992) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwc6X-000176-KI for emacs-devel@gnu.org; Fri, 17 Jul 2020 21:57:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39441) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwc6W-0006I9-Qg; Fri, 17 Jul 2020 21:57:32 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.82) (envelope-from ) id 1jwc6V-0000GQ-2u; Fri, 17 Jul 2020 21:57:31 -0400 In-Reply-To: (message from Drew Adams on Thu, 16 Jul 2020 19:10:35 -0700 (PDT)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:253062 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I want to be able to bind a same-window, other-window, or > other-frame command to a simple key in this or that mode, > depending on what the command does. For some actions in the same > mode I want the same-window command, for other actions I want the > other-window command. Maybe it would be possible to make a function that would generate an "other-window" version of an existing command, by making code to call that command. -- Dr Richard Stallman Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)