From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#12535: 24.2.50; [PATCH] `edmacro-parse-keys' is incorrect for M- Date: Sun, 09 Feb 2014 20:52:38 -0800 Message-ID: <87eh3ba7s9.fsf@building.gnus.org> References: <584510D2C7DE47CBAE19B5058B21B51C@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392008114 11976 80.91.229.3 (10 Feb 2014 04:55:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 10 Feb 2014 04:55:14 +0000 (UTC) Cc: 12535@debbugs.gnu.org To: "Drew Adams" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 10 05:55:21 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WCitt-0005EJ-0G for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 Feb 2014 05:55:21 +0100 Original-Received: from localhost ([::1]:53381 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCits-0007Fe-Mm for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 Feb 2014 23:55:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCitk-0007FW-QI for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 23:55:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WCita-0002hV-Oq for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 23:55:12 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WCita-0002hE-Lc for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 23:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WCitZ-0006Rd-To for bug-gnu-emacs@gnu.org; Sun, 09 Feb 2014 23:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 10 Feb 2014 04:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12535 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 12535-submit@debbugs.gnu.org id=B12535.139200804824688 (code B ref 12535); Mon, 10 Feb 2014 04:55:01 +0000 Original-Received: (at 12535) by debbugs.gnu.org; 10 Feb 2014 04:54:08 +0000 Original-Received: from localhost ([127.0.0.1]:33495 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCish-0006Q5-Hy for submit@debbugs.gnu.org; Sun, 09 Feb 2014 23:54:07 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:56472) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WCisf-0006Pv-Fj for 12535@debbugs.gnu.org; Sun, 09 Feb 2014 23:54:05 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WCisR-0006FV-Bx; Mon, 10 Feb 2014 05:53:51 +0100 In-Reply-To: <584510D2C7DE47CBAE19B5058B21B51C@us.oracle.com> (Drew Adams's message of "Fri, 28 Sep 2012 14:37:30 -0700") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WCisR-0006FV-Bx MailScanner-NULL-Check: 1392612831.95989@5E/qE+rqRToR5CIij/O59w X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85194 Archived-At: "Drew Adams" writes: > (kbd "M-") incorrectly returns [M-TAB]. IMHO, it should return > [134217737], the same thing that (kbd "M-TAB") returns. > > IOW, for consistency, TAB should be treated specially here, in the > same way that NUL, RET, LFD, ESC, SPC, and DEL are treated specially. Makes sense, I guess, but I'm not familiar with the `kbd' use cases. [...] > ! "\\<\\(NUL\\|RET\\|LFD\\|ESC\\|SPC\\|DEL\\)$" > word)))) > (setq key (list (intern word)))) > ((or (equal word "REM") (string-match "^;;" word)) > --- 708,714 ---- > (substring word (match-beginning 3) > (match-end 3)))) > (not (string-match > ! "\\<\\(NUL\\|RET\\|LFD\\|ESC\\|SPC\\|DEL\\TAB\\)$" There's probably a missing | in the patch... -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/