From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: "whether the global keymap C-x 4 will be replaced by a command," Date: Tue, 14 Jul 2020 10:48:59 -0400 Message-ID: References: <83ft9woo68.fsf@gnu.org> <87wo377wxp.fsf_-_@mail.linkov.net> <0a02f94a-e28c-4f5d-8b46-df4c9484ccca@default> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23934"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org, Richard Stallman , Juri Linkov To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jul 14 16:49: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 1jvMFZ-00065V-SS for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Jul 2020 16:49:41 +0200 Original-Received: from localhost ([::1]:60758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jvMFY-0004CB-J2 for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Jul 2020 10:49:40 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvMF3-0003gN-Sz for emacs-devel@gnu.org; Tue, 14 Jul 2020 10:49:09 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:4505) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jvMEy-0003xx-5F; Tue, 14 Jul 2020 10:49:09 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 968134413D3; Tue, 14 Jul 2020 10:49:02 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id B174F44026F; Tue, 14 Jul 2020 10:49:00 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1594738140; bh=bbUOkEj3WNIiIpiZVWDAok/ype3cIduhYcXYW+8iI2w=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=R/+YLf4Ie+Lvl/pmhQdl6TE+VGxez1gGPaGfhUnK+Q/HwwORIfAemx5fft245wnPk 5UvGNvbZm6YXfASzQzcR7vrN79AeMubWmavpygM6/5t1wLsqSR0YgaXjT8uRNSwNFZ L8C68cVFRK3fZB5QhvRH0C2MP8HZ+CprbXdxvtBLO58PEyDx3Mmi6OQquoB9M2gZRT VBKa06a3f+Utj9iyq53FVtQRLAolrGLgGZTwOPY8xbzngwFdXQuazU3s8PuOtxiP2N VMFq4doAqVr/Cce27S+QrTktedz7zgYK16empUPV5txtcPcISx4GpI3oLj5sLwVd4O N6kbHKxHDcWUA== Original-Received: from alfajor (unknown [45.72.129.42]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 6575C120500; Tue, 14 Jul 2020 10:49:00 -0400 (EDT) In-Reply-To: <0a02f94a-e28c-4f5d-8b46-df4c9484ccca@default> (Drew Adams's message of "Tue, 14 Jul 2020 07:41:09 -0700 (PDT)") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/14 10:41:29 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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:252950 Archived-At: >> > This means that after binding the current ctl-x-4-map in Emacs core >> > to the other-window command, 'C-h k C-x 4' will display the help for >> > that command, not for the whole sequence 'C-h k C-x 4 C-f'. >> >> I don't think we can/should make `C-h k` read all of `C-x 4 C-f`, >> indeed. But maybe we could make the following work: >> `C-x 4 C-h k C-f`. > > Quelle horreur ! > > Farther & farther from Occam - more & more complex. I don't see what's more or less complex about it. With other-frame-window `C-x 4` is a (prefix) command. So just like `C-h k C-u` gives you help about the `C-u` binding, `C-h k C-x 4` naturally gives you help about the `C-x 4` binding. So if you're interested in the `C-f` binding available after you hit `C-x 4`, it's only natural to use `C-x 4 C-h k C-f` (and not only it's natural, but it's the only sane option unless we break the `C-h k C-x 4` case). > We already have `C-x 4 C-h', which shows you > every `C-x 4' key sequence and its command, with > a link to its doc. Que demande le peuple ? You're talking about the current `C-x 4` which is a keymap. I'm talking about the case when we've change `C-x 4` to be a prefix command, as provided by other-frame-window. Stefan