From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: "whether the global keymap C-x 4 will be replaced by a command," Date: Fri, 17 Jul 2020 02:05:43 +0300 Organization: LINKOV.NET Message-ID: <87o8ofoy9o.fsf@mail.linkov.net> References: <83ft9woo68.fsf@gnu.org> <87wo377wxp.fsf_-_@mail.linkov.net> <87wo353f77.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="394"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jul 17 01:28:52 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 1jwDJ6-000Aad-5p for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jul 2020 01:28:52 +0200 Original-Received: from localhost ([::1]:39826 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jwDJ5-0003kB-6y for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jul 2020 19:28:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwDIK-0002uM-A1 for emacs-devel@gnu.org; Thu, 16 Jul 2020 19:28:04 -0400 Original-Received: from relay11.mail.gandi.net ([217.70.178.231]:48965) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jwDII-0005oJ-FF; Thu, 16 Jul 2020 19:28:04 -0400 Original-Received: from mail.gandi.net (m91-129-103-18.cust.tele2.ee [91.129.103.18]) (Authenticated sender: juri@linkov.net) by relay11.mail.gandi.net (Postfix) with ESMTPSA id 99A24100003; Thu, 16 Jul 2020 23:27:58 +0000 (UTC) In-Reply-To: (Richard Stallman's message of "Wed, 15 Jul 2020 23:21:15 -0400") Received-SPF: pass client-ip=217.70.178.231; envelope-from=juri@linkov.net; helo=relay11.mail.gandi.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/16 19:28:00 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no 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:252993 Archived-At: > > Would it be more expected for `C-x 4 C-h k C-f` to show the help buffer > > about `C-f` (forward-char) in another window? > > For consistency, C-h k C-x 4 C-f should show the help for C-x 4 C-f. > That is find-file-other-window. A special handling of prefix commands could be added to the implementation of 'C-h k'. Then instead of saying that the command is 'find-file-other-window', it could say: "the command is like 'find-file' but displays the buffer in another window." > C-x 4 C-f is an important command -- don't break it! Its effect should remain the same (displaying the output buffer in another window), but the command namespace will be cleaner by removing duplicated commands with '-other-window' and '-other-frame' suffixes. Also it should allow the users to add the effect of displaying the command output buffer in another window to more commands easily, by just adding a key binding to the existing non-window command in the 'C-x 4' keymap. Anyway, before changing the 'C-x 4' keymap we could try this approach only on project-specific submap 'C-x 4 p' to see how well it works.