From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14661: 24.3.50; `C-' is seen as `C-' Date: Wed, 19 Jun 2013 17:34:19 +0300 Message-ID: <83bo72qidw.fsf@gnu.org> References: <5f79449d-3811-463f-88db-377fee797807@default> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1371652517 31579 80.91.229.3 (19 Jun 2013 14:35:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 14:35:17 +0000 (UTC) Cc: 14661@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 19 16:35:16 2013 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 1UpJTf-0002AU-Oy for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2013 16:35:15 +0200 Original-Received: from localhost ([::1]:54300 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpJTf-0002xS-D8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Jun 2013 10:35:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpJTX-0002jT-PT for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2013 10:35:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpJTT-0007w4-42 for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2013 10:35:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33183) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpJTT-0007vs-1C for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2013 10:35:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UpJTS-0007si-7V for bug-gnu-emacs@gnu.org; Wed, 19 Jun 2013 10:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Jun 2013 14:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14661 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14661-submit@debbugs.gnu.org id=B14661.137165249230279 (code B ref 14661); Wed, 19 Jun 2013 14:35:02 +0000 Original-Received: (at 14661) by debbugs.gnu.org; 19 Jun 2013 14:34:52 +0000 Original-Received: from localhost ([127.0.0.1]:55732 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UpJTI-0007sG-1X for submit@debbugs.gnu.org; Wed, 19 Jun 2013 10:34:52 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:61290) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UpJTF-0007rR-5C for 14661@debbugs.gnu.org; Wed, 19 Jun 2013 10:34:50 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MON001009KNMF00@a-mtaout23.012.net.il> for 14661@debbugs.gnu.org; Wed, 19 Jun 2013 17:34:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MON0012H9SZNC10@a-mtaout23.012.net.il>; Wed, 19 Jun 2013 17:34:12 +0300 (IDT) In-reply-to: <5f79449d-3811-463f-88db-377fee797807@default> X-012-Sender: halo1@inter.net.il 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:75340 Archived-At: > Date: Tue, 18 Jun 2013 19:53:02 -0700 (PDT) > From: Drew Adams > > Dunno whether this is an Emacs bug or a keyboard problem. Neither. > When I use `C-h k' and then press Control and hit the Scroll Lock key, > Emacs takes that as `C-', not `C-'. However, every other > combination of a modifier with the Scroll Lock key, and use of no > modifier with it, acts as I would expect: Emacs sees > `',`M-', `C-M-', `C-S-', `S-', > `M-S-', and `C-M-S-'. This is a conundrum whose way out I don't know, nor whether it at all exists. Windows gives us the same virtual key code VK_CANCEL for both C- and C- (for reasons of backward compatibility). We want to produce a "normal" Ctrl-modified key from this, but we don't know which one of the two was pressed. So we arbitrarily choose to produce C-. If someone has a way out of this that doesn't require a complete rewrite of the keyboard reading code, please speak up. Otherwise, this will remain a very distant wishlist.