From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Add -other-{window, frame} variants of project-prefix-map commands Date: Fri, 03 Jul 2020 22:34:48 -0700 Message-ID: <86a70fonbb.fsf@stephe-leake.org> References: <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="8947"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) To: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 04 07:35:57 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 1jraqD-0002EJ-6u for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Jul 2020 07:35:57 +0200 Original-Received: from localhost ([::1]:51486 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jraqC-0002Re-AN for ged-emacs-devel@m.gmane-mx.org; Sat, 04 Jul 2020 01:35:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59972) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrapb-0001ke-RI for emacs-devel@gnu.org; Sat, 04 Jul 2020 01:35:19 -0400 Original-Received: from gateway33.websitewelcome.com ([192.185.145.239]:12053) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jrapZ-0007xD-CP for emacs-devel@gnu.org; Sat, 04 Jul 2020 01:35:19 -0400 Original-Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway33.websitewelcome.com (Postfix) with ESMTP id 3F85A2A9B4EA for ; Sat, 4 Jul 2020 00:34:54 -0500 (CDT) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with SMTP id rapBjwgaTSxZVrapCjvO6F; Sat, 04 Jul 2020 00:34:54 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:To:From:Sender:Reply-To:Cc: 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=5FZLCV5Hfdjf2vRtiMKeqLAOxeFRpBc6aNir/sFj+Mg=; b=eqhFEd5Xwx8XFj3IQSxoPVOgU cNXfUPm8mD24DqJo3StKeM4VBzzSQd10191lMwI4/0ojm4n3s6/f7eSiovEzLIUS0KteVggvlIFl2 Rkyxl4UQ+xW9StUbSYeajtqdal3sWKygdN8PySpNmJfOYhuH2J315QXVTB79KmnO23dZVJy9pgH3T wHgWZVb94cMGn3dxBftJQ/YlEJ+O8FRhiHo48RlVk/OeR2rggUphEx4Mzji3VVGoHKDM+dnAgRzf9 W18rS3ir84kLH7jBNWGm0KFhgSg+kewveXU3SdrDMsd402qFDx1lCZ1gKovTdOq2GKqPxMwdA+fYI dfjvW2Zug==; Original-Received: from [76.77.182.20] (port=63934 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1jrapB-000hUL-IN for emacs-devel@gnu.org; Fri, 03 Jul 2020 23:34:53 -0600 In-Reply-To: <87blkw5cd3.fsf@iris.silentflame.com> (Sean Whitton's message of "Fri, 03 Jul 2020 17:54:00 -0700") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 76.77.182.20 X-Source-L: No X-Exim-ID: 1jrapB-000hUL-IN X-Source-Sender: (Takver4) [76.77.182.20]:63934 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 1 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: neutral client-ip=192.185.145.239; envelope-from=stephen_leake@stephe-leake.org; helo=gateway33.websitewelcome.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/04 01:34:54 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1, SPF_HELO_PASS=-0.001, SPF_NEUTRAL=0.779, 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:252653 Archived-At: Sean Whitton writes: > 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? Install the GNU ELPA package other-frame-window; that adds those key prefixes to all commands. -- -- Stephe