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#966: keybinding involving Ctrl and Shift and letter Date: Thu, 11 Sep 2008 20:46:22 -0700 Message-ID: <6194437C-110E-411F-8CC0-E9FF529C5C6D@xahlee.org> Reply-To: xah lee , 966@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 1221192470 32729 80.91.229.12 (12 Sep 2008 04:07:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Sep 2008 04:07:50 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 12 06:08:45 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 1Kdzxb-00062y-UJ for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 06:08:44 +0200 Original-Received: from localhost ([127.0.0.1]:47168 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kdzwb-0005Tt-CN for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Sep 2008 00:07:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KdzwW-0005R1-DK for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 00:07:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KdzwV-0005Pr-NY for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 00:07:36 -0400 Original-Received: from [199.232.76.173] (port=39265 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KdzwV-0005PZ-K0 for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 00:07:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:52784) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KdzwV-0003QT-Mg for bug-gnu-emacs@gnu.org; Fri, 12 Sep 2008 00:07:36 -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 m8C47X9k003996; Thu, 11 Sep 2008 21:07:33 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8C3t5KY030997; Thu, 11 Sep 2008 20:55:05 -0700 X-Loop: don@donarmstrong.com Resent-From: xah lee Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 12 Sep 2008 03:55:05 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 966 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122119118928753 (code B ref -1); Fri, 12 Sep 2008 03:55:05 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 12 Sep 2008 03:46:29 +0000 Original-Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m8C3kO2i028747 for ; Thu, 11 Sep 2008 20:46:26 -0700 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kdzc0-00021D-Hf for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 23:46:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kdzby-000211-Dd for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 23:46:23 -0400 Original-Received: from [199.232.76.173] (port=60545 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kdzby-00020y-AH for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 23:46:22 -0400 Original-Received: from mout.perfora.net ([74.208.4.196]:57548) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kdzby-00009b-Il for bug-gnu-emacs@gnu.org; Thu, 11 Sep 2008 23:46:22 -0400 Original-Received: from [192.168.1.4] (c-24-6-185-159.hsd1.ca.comcast.net [24.6.185.159]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0MKpCa-1Kdzbv0Nuu-0005ZY; Thu, 11 Sep 2008 23:46:21 -0400 X-Mailer: Apple Mail (2.753.1) X-Provags-ID: V01U2FsdGVkX1+YCoyxS35O3FMfY3KysM5wD8X3QgsbNx8zqyd NajPo5E+iyIckUye5E7s/FpLQSlQtchVRU7TiQa2FKK6jbuAq8 p0fqZ+bFko0lMWz/LaSGw== X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 12 Sep 2008 00:07:36 -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:20499 Archived-At: This seems to be a bug. i'm trying to set keybindings for both Ctrl+n and Ctrl+Shift+n, by: (global-set-key (kbd "C-N") 'f1) (global-set-key (kbd "C-n") 'f2) however, that doesn't work. Emacs will take both Ctrl+Shift+n and Ctrl+Shift+n to be whichever is =20= evaluated last. In this case, f2. But the following works: (global-set-key (kbd "C-S-n") 'f1) (global-set-key (kbd "C-n") 'f2) This seems to contradict with Meta's ways. That is (kbd "M-N") works =20 but not (kbd "M-S-n"). Xah =E2=88=91 http://xahlee.org/ =E2=98=84 In GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0) of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp Windowing system distributor `Apple Inc.', version 10.4.11 configured using `configure '--prefix=3D/Applications/Emacs.app/=20 Contents/Resources' '--with-carbon' '--without-x' '--libexecdir=3D/=20 Volumes/Emacs/Emacs.app/Contents/MacOS/libexec' 'CFLAGS=3D-Os -arch =20 i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk -DUSE_ATSUI -=20= DUSE_MAC_TSM'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil locale-coding-system: iso-8859-1 default-enable-multibyte-characters: t =E2=98=84