From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Built-In Keybindingr associated with functions keys F2, F3, etc Date: Sat, 24 Oct 2020 09:49:58 -0700 (PDT) Message-ID: <64eeccd1-1971-477d-8f3a-75ce4c421b4a@default> References: <> <<877drga8wf.fsf@gnu.org>> <<54bdb735-681a-4429-b6f8-0ab9f1c366b0@default>> <<83y2jwghr0.fsf@gnu.org>> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6809"; mail-complaints-to="usenet@ciao.gmane.io" To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Oct 24 18:50:58 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1kWMks-0001dg-2r for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 24 Oct 2020 18:50:58 +0200 Original-Received: from localhost ([::1]:48278 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kWMkr-0004V8-1L for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 24 Oct 2020 12:50:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58738) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWMk9-0004St-Mm for help-gnu-emacs@gnu.org; Sat, 24 Oct 2020 12:50:13 -0400 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:40092) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kWMk6-0004J2-VM; Sat, 24 Oct 2020 12:50:13 -0400 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09OGjvY8163313; Sat, 24 Oct 2020 16:50:08 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=b+sMIMTIs5VBGX4yUtIa9BV/m8AzkoPfd4mNZoR95gw=; b=gZYSBYJYnZs66E2rugTIQzQ1xcCmB4+lM+MO+SZGxraVeEvn1imLtYLVID9b+3O+AlZV 4XedV/TMSplAWdoVt8HFlTOmbtsmqOtCPKqs7SSEoA8AZ4PYxwLE91ucpjb+Lj+RCe1y ux2gTySbHY+oUJJCE6vrDLkuK3daFgrpUNqDBMYWU4NhRzsxqt7qg/E1mPQnsbGX1R+S vkQyRcrzP4t2hKOkGRipbQcHJXdkCghbuIw76tIbz+6SY9uUc3/J/R9tV6xdxoxCByG4 u2ZeG8F3/up3h7EeK5kK28okNbr1lElV70BjLoewgINgslm4laUqjRvzwompEFTkaaQu vw== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 34c9sah1s7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Sat, 24 Oct 2020 16:50:08 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 09OGo8f0019571; Sat, 24 Oct 2020 16:50:08 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userp3020.oracle.com with ESMTP id 34cbkhkc6y-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 24 Oct 2020 16:50:08 +0000 Original-Received: from abhmp0007.oracle.com (abhmp0007.oracle.com [141.146.116.13]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 09OGnxED016188; Sat, 24 Oct 2020 16:49:59 GMT In-Reply-To: <<83y2jwghr0.fsf@gnu.org>> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5056.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9784 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 adultscore=0 phishscore=0 mlxscore=0 spamscore=0 bulkscore=0 malwarescore=0 mlxlogscore=999 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010240132 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9784 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxscore=0 impostorscore=0 mlxlogscore=999 malwarescore=0 lowpriorityscore=0 bulkscore=0 priorityscore=1501 spamscore=0 phishscore=0 clxscore=1015 suspectscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2010240131 Received-SPF: pass client-ip=141.146.126.79; envelope-from=drew.adams@oracle.com; helo=aserp2130.oracle.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/24 12:50:09 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:124696 Archived-At: > > > You can usually get that information for any prefix key by typing > > > ` C-h'. So for example ` C-h' shows:... > > > > (But , , , , are not, > > by default, prefix keys.) >=20 > Why does that matter, for the issue at hand? This is a kind of rigor > that should have no place in this discussion. Tassilo is factually > correct: the way he pointed out _is_ the way of asking Emacs about key > sequences that start with a given key. (FWIW, your hostility is what "has no place in the discussion." Lighten up a little, please.) I simply pointed out that what the OP asked about isn't completely answered by the (otherwise fine) answer that you can use C-h after a prefix key. If Tassilo hadn't mentioned using C-h after a prefix key, then I would have. That's a general, if partial, answer to the OP's question, and a very good one. My post tried to respond directly to the question about F2, F3, etc.: There are 48 bindings starting with . Is there a list somewhere on Built-In Emacs Keybindings associated with the other functions keys (F2, F3, etc)? > > is bound to `help-command', which is a > > prefix command, and `C-h f help-command' tells > > you its definition is a keymap. But ` C-h' > > doesn't tell you about keys with prefix . > > It does here. I should have said that it doesn't tell you about ALL of the keys with prefix . And it doesn't tell you the same thing that C-h following a prefix key tells you: the _commands_ that are bound to the keys. (That's not its purpose. It tells you what kinds of things you can do with C-h, which is fine.) For example, ` C-h' doesn't tell you about these six keys following : C-h, C-\, ?, , q, and `4 i'. To be clear, I'm not saying it should or needs to. But if someone is asking for a _list of all_ the keys you can use after , ` C-h' doesn't do that. [4 of the 6 unlisted keys are bound to commands that are also bound to other keys that ` C-h' _does_ tell you about. So it tells you how to do those things. But it doesn't tell you all of the keys that let you do them. And it doesn't tell you which commands are involved and provide links to their `C-h f' help. And it misses the keys for `help-quit' and `info-other-window'.] Another difference: The help you see from ` C-h' is hard-coded. If someone or some library adds key bindings to keymap `help-map' then you won't see them listed by ` C-h'. (If the usual behavior of C-h following a prefix key were followed, then you would see them listed.) ___ To add a bit to my answer: if you use library help-fns+.el then you can use `C-h M-k help-map' to see all of that keymap's key bindings (in the same format used by `C-h b', or C-h following a prefix key). https://www.emacswiki.org/emacs/download/help-fns%2b.el