From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Add -other-{window,frame} variants of project-prefix-map commands Date: Fri, 03 Jul 2020 17:54:00 -0700 Message-ID: <87blkw5cd3.fsf@iris.silentflame.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="39663"; mail-complaints-to="usenet@ciao.gmane.io" To: Juri Linkov , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 04 02:54:42 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 1jrWS2-000AEj-0S for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Jul 2020 02:54:42 +0200 Original-Received: from localhost ([::1]:49616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jrWS1-0007Ts-2B for ged-emacs-devel@m.gmane-mx.org; Fri, 03 Jul 2020 20:54:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrWRR-00074g-MI for emacs-devel@gnu.org; Fri, 03 Jul 2020 20:54:05 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:47573) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrWRP-0007cW-SQ for emacs-devel@gnu.org; Fri, 03 Jul 2020 20:54:05 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 727465C0125; Fri, 3 Jul 2020 20:54:01 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Fri, 03 Jul 2020 20:54:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=from:to:subject:date:message-id:mime-version:content-type; s= fm3; bh=liRlcUG3MrMQlOqe4MWXU38TJJ+ULGv2V/98hxnuhp0=; b=Uoj6EGL9 2DX4R9+7fYXptvoLNTzVtpYNFliPjSiqgcFLsGE57iSczXdkO3WPiZRD8ok4iPHB 4ch4Puz+3wr9fH7xvMBWKx+EGrvDXXuMvtG5Y6+w7dvyr/LWh9K7YjS4Zcd/hZYW YWVYWiHsZDkoVeXTO5j5AU73+eTOl/HJsIpBuUEoaNz8RS7jeNtkaLA8qYfNs2q1 Fiz0rBn3ThE8PhG1kgOSRwl1z58j4Ea6MaULw+u3DWMtIDMASW9cGowl/8wu5VLb /Bk2LHiLckJrxj63izgINw2RE31Xc9vaTn3NXiQSgQXUsvQBYqOHkcZJ3gH+0C0k Q6cR8jVxxg0gjA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=liRlcUG3MrMQlOqe4MWXU38TJJ+UL Gv2V/98hxnuhp0=; b=LP5HnPuU/h6uzIGxS47dTLBU/fd/DUSyFQ6UvWiSktxI4 2VEoI96tQRle33RO7EiqqZFxPWpBf98A1IAEIhkl2MiToD4R5Y+Knm4RUFI3Yu/h XO81sevFA8FJPfpqnZMhuacxx94kPeGhhJwSaj+07r13ml5GP+geCSAlcNCHw0jQ t0kJrs6Mw0nGRMknpUefFLqzazpEuklUy6Rm7M7fJ3lS2wEm69eHGfbNAyH2/AWB NEC78b3IgOWCcFtPg+t06EUvyav4C45UL6KeWTb3BOqi9OxiMPpmwu4/PXsMbdCF SNmrrRErr5yf2dK1DvsNYJoVNldm7HqfBxZTFz5WQ== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrtdejgdegudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefhvffufffkgggtsehttdertddttddtnecuhfhrohhmpefuvggrnhcuhghhihht thhonhcuoehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvgeqnecuggftrf grthhtvghrnhepleelgeejhedvheeghefgfeegvdfhvdefffefheejtdegfeehffeitdef teejueehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgv X-ME-Proxy: Received-SPF: pass client-ip=66.111.4.29; envelope-from=spwhitton@spwhitton.name; helo=out5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/03 20:54:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action 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:252649 Archived-At: Hello, It seems like it would be a good idea to have C-x 4 p f be like C-x 4 4 C-x p f C-x 5 p e be like C-x 5 5 C-x p e etc., since many of the commands in project-prefix-map involve switching to another buffer. Certainly project-switch-project, project-find-file and project-switch-to-buffer would be wanted. Rather than add definitions of project-find-file-other-window, project-eshell-other-frame etc., maybe `display-buffer-override-next-command' could be used so that pressing C-x 4 p really is just like pressing C-x 4 4 C-x p. The only disadvantage I can see is that commands like C-x 4 p k would also be bound and those don't really make sense. What would be the cleanest way to try to do this? Thanks. -- Sean Whitton