From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4472: marked as done (23.1; Emacs manual not too helpful about binding keys) Date: Sat, 19 Sep 2009 21:35:03 +0000 Message-ID: References: <87ws3ur5d5.fsf@cyd.mit.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1253396104-17071-0" X-Trace: ger.gmane.org 1253396844 23982 80.91.229.12 (19 Sep 2009 21:47:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Sep 2009 21:47:24 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 19 23:47:17 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Mp7ly-0005sl-W7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 23:47:16 +0200 Original-Received: from localhost ([127.0.0.1]:36522 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mp7ly-00053B-9w for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Sep 2009 17:47:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mp7lu-000532-4l for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 17:47:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mp7lp-000517-E2 for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 17:47:09 -0400 Original-Received: from [199.232.76.173] (port=41947 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mp7lp-00050l-5z for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 17:47:05 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58906) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mp7lo-0005YK-Fj for bug-gnu-emacs@gnu.org; Sat, 19 Sep 2009 17:47:04 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8JLl2nd018983; Sat, 19 Sep 2009 14:47:02 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8JLZ4nB017102; Sat, 19 Sep 2009 14:35:04 -0700 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4472 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:31297 Archived-At: This is a multi-part message in MIME format... ------------=_1253396104-17071-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sat, 19 Sep 2009 17:28:54 -0400 with message-id <87ws3ur5d5.fsf@cyd.mit.edu> and subject line Re: 23.1; Emacs manual not too helpful about binding keys has caused the Emacs bug report #4472, regarding 23.1; Emacs manual not too helpful about binding keys to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4472: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4472 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1253396104-17071-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 17 Sep 2009 22:51:49 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.5 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8HMpmYE016707 for ; Thu, 17 Sep 2009 15:51:49 -0700 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MoPpM-0007s1-1b for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 18:51:48 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MoPpG-0007rX-De for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 18:51:46 -0400 Received: from [199.232.76.173] (port=33094 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MoPpG-0007rU-Av for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 18:51:42 -0400 Received: from acsinet11.oracle.com ([141.146.126.233]:33623) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MoPpF-000632-RU for bug-gnu-emacs@gnu.org; Thu, 17 Sep 2009 18:51:42 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by acsinet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n8HMqn6N032730 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 17 Sep 2009 22:52:50 GMT Received: from abhmt014.oracle.com (abhmt014.oracle.com [141.146.116.23]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n8HMq0MB002225 for ; Thu, 17 Sep 2009 22:52:00 GMT Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 17 Sep 2009 15:51:36 -0700 From: "Drew Adams" To: Subject: 23.1; Emacs manual not too helpful about binding keys Date: Thu, 17 Sep 2009 15:51:39 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Aco36Wsc+Q8uiYB0R0WHZJwv/3TYiA== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Source-IP: abhmt014.oracle.com [141.146.116.23] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090206.4AB2BD79.005F:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) I find the Emacs manual not to be very helpful about how to bind key sequences. I couldn't even find the form (kbd...) in the manual, and I thought that was what we are now recommending in general (no?). I tried using `i' in the manual to find information about how to bind keys, but it wasn't very helpful. I looked for `binding', and the only index entry was for node Commands. I tried `i key TAB' and saw lots that looks similar (rebinding, binding,...). Not too clear to me. I finally found node Init Rebinding (weird name, BTW). It had examples of using strings such as "\C-z" and vectors such as [?\C-=] and [C-mouse-1], but it had nothing about `kbd' or the form [(control mouse-1)]. I didn't find a node that explained the various formats and their different uses and limitations. I didn't find any general format recommendations. I didn't find any link in Init Rebinding to another node that might explain such things - the only link there sends you to a node explaining details about keyboard encodings and binding non-ASCII keys. Where is the introductory, top-level explanation about recommended ways to bind keys? Surely that's something that even lots of non-expert users do. The Key Bindings node (from node Customization) sends you immediately into the depths of understanding keymaps - no introduction there about binding keys AFAICT. I did find information about `kbd' in the Elisp manual, and even some text that stresses its convenience and portability. But that information is missing from the Emacs manual AFAICT. IIUC, this is info that is quite important for most users. There are often questions at help-gnu-emacs about how to bind keys, and the answer there is typically: "Use kbd". If this is a FAQ, then the answer belongs in the Emacs manual, no? I this kind of info belongs in the Emacs manual and I hope that someone can find the time to add it (or move it) there. In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600) of 2009-07-29 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.4)' ------------=_1253396104-17071-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 4472-done) by emacsbugs.donarmstrong.com; 19 Sep 2009 21:27:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.6 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8JLRLfe016186 for <4472-done@emacsbugs.donarmstrong.com>; Sat, 19 Sep 2009 14:27:22 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 16E7057E21C; Sat, 19 Sep 2009 17:28:54 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Cc: <4472-done@emacsbugs.donarmstrong.com> Subject: Re: 23.1; Emacs manual not too helpful about binding keys References: <87zl8ronld.fsf@stupidchicken.com> Date: Sat, 19 Sep 2009 17:28:54 -0400 In-Reply-To: (Drew Adams's message of "Fri, 18 Sep 2009 16:27:44 -0700") Message-ID: <87ws3ur5d5.fsf@cyd.mit.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii "Drew Adams" writes: > Please read the whole bug report, and filter out whatever has been fixed since > then. I've checked in some changes which should clarify things. ------------=_1253396104-17071-0--