From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: xah lee Newsgroups: gmane.emacs.bugs Subject: bug#631: the M- notation suggestion Date: Mon, 4 Aug 2008 04:33:01 -0700 Message-ID: <93F0C12E-EA6F-49A6-AE86-4E49313345F6@xahlee.org> References: <4891F6BC.8010505@gmail.com> <871w19utma.GNU's_Not_Unix!%yavor@gnu.org> <86ej55ujaf.fsf@macs.hw.ac.uk> Reply-To: xah lee , 631@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1217850524 16553 80.91.229.12 (4 Aug 2008 11:48:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 4 Aug 2008 11:48:44 +0000 (UTC) Cc: Yavor Doganov , 631@emacsbugs.donarmstrong.com To: Joe Wells Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 04 13:49:34 2008 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 1KPyZA-0003uW-UI for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2008 13:49:33 +0200 Original-Received: from localhost ([127.0.0.1]:44336 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPyYG-0001mw-30 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Aug 2008 07:48:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KPyXC-0001Dp-3o for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 07:47:30 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KPyXA-0001Cr-F8 for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 07:47:28 -0400 Original-Received: from [199.232.76.173] (port=35188 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KPyX9-0001CK-Vn for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 07:47:28 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55774) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KPyX7-0002jD-FG for bug-gnu-emacs@gnu.org; Mon, 04 Aug 2008 07:47:27 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m74BlMEH003371; Mon, 4 Aug 2008 04:47:23 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m74Be4bY000781; Mon, 4 Aug 2008 04:40:04 -0700 X-Loop: don@donarmstrong.com Resent-From: xah lee Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 04 Aug 2008 11:40:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 631 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 631-submit@emacsbugs.donarmstrong.com id=B631.121784959331565 (code B ref 631); Mon, 04 Aug 2008 11:40:04 +0000 Original-Received: (at 631) by emacsbugs.donarmstrong.com; 4 Aug 2008 11:33:13 +0000 Original-Received: from mout.perfora.net (mout.perfora.net [74.208.4.197]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m74BX9V6031559 for <631@emacsbugs.donarmstrong.com>; Mon, 4 Aug 2008 04:33:10 -0700 Original-Received: from [192.168.1.4] (c-24-6-97-120.hsd1.ca.comcast.net [24.6.97.120]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1KPyJD3qHM-0004WS; Mon, 04 Aug 2008 07:33:07 -0400 In-Reply-To: <86ej55ujaf.fsf@macs.hw.ac.uk> X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX19251ztiaNhmNSVH+qTMLGpO515A/32FS1X6lv L6bEu2cQ5cnqQaFp2lYUXi3FHk34KHz9hRfFkNfszO4Sj2G+JK 2Od1omsCh3m+xPMwKHSTw== X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Mon, 04 Aug 2008 07:47:28 -0400 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:19006 Archived-At: The change suggested is only about in emacs manual, emacs tutorial, =20 and in menus. There is no proposal to change emacs lisp's keyboard macro or elisp =20 functions. Xah =E2=88=91 http://xahlee.org/ =E2=98=84 On Aug 4, 2008, at 4:11 AM, Joe Wells wrote: xah lee writes: > The proposed change doesn't actually effect elisp code. It is primarly > esthetic in nature. This is not true. There are many places in the Emacs Lisp code which recognize the M- and C- notation. First, there is the read syntax (I'm using Emacs 22.1): ?\M-A =E2=87=92 134217793 ?\M-\C-b =E2=87=92 134217730 "\M-A" =E2=87=92 "\301" (yes, this is a bit different behavior for = M-A) Then, there is the convention of making symbol names with prefixes for use in key bindings: M-f3 M-mouse-1 M-drag-mouse-2 M-double-mouse-2 Then, there is the lovely kbd macro for use in key bindings: (kbd "C-M-") =E2=87=92 [C-M-down] Then, there is the use of the M- and C- notation by edit-kbd-macro. Then, there are the key-description, single-key-description, and read-kbd-macro functions: (key-description [?\M-3 delete]) =E2=87=92 "M-3 " There is also the text-char-description function. --=20 Joe --=20 Heriot-Watt University is a Scottish charity registered under charity number SC000278. =E2=98=84