From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Movement commands and caps lock Date: Tue, 14 Aug 2012 23:27:20 -0400 Message-ID: References: <20120812172424.GB9357@shike2.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1345001247 16371 80.91.229.3 (15 Aug 2012 03:27:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Aug 2012 03:27:27 +0000 (UTC) Cc: emacs-devel@gnu.org To: k0ga@shike2.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 15 05:27:28 2012 Return-path: Envelope-to: ged-emacs-devel@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 1T1UGU-0001T9-QG for ged-emacs-devel@m.gmane.org; Wed, 15 Aug 2012 05:27:26 +0200 Original-Received: from localhost ([::1]:44045 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1UGT-0004Xf-Qe for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2012 23:27:25 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51087) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1UGR-0004Xa-DU for emacs-devel@gnu.org; Tue, 14 Aug 2012 23:27:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1UGQ-0007h0-He for emacs-devel@gnu.org; Tue, 14 Aug 2012 23:27:23 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:48071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1UGQ-0007gw-DO for emacs-devel@gnu.org; Tue, 14 Aug 2012 23:27:22 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCqqR/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA2IQAW6CY0mgx4DozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="195711373" Original-Received: from 76-10-170-145.dsl.teksavvy.com (HELO fmsmemgm.homelinux.net) ([76.10.170.145]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 14 Aug 2012 23:27:20 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 7AD66AE2F6; Tue, 14 Aug 2012 23:27:20 -0400 (EDT) In-Reply-To: <20120812172424.GB9357@shike2.com> (Roberto E. Vargas Caballero's message of "Sun, 12 Aug 2012 19:24:24 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.182 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:152533 Archived-At: > But if I do this same test in text mode I don't get any behaviour related to > the selection and the result of C-h k C-b is: > C-b runs the command backward-char > Without the '(translated from C-S-b)' message that it shows in graphical > mode. IIUC, by "text mode" you don't mean M-x text-mode RET ubt you mean that Emacs is running in a something like a Linux console or an xterm, right? Then the difference is simply that the processing of caps-lock is done by xterm so Emacs never gets to know that caps-lock is enabled. > This behaviour does almost impossible any editing with caps lock enabled, > and it is not coherent different behaviours in graphical or text modes. IIRC the processing of caps lock is OS dependent, but assuming you're running with an X11 display, then it might even depend on the exact kind of "lock" you're using (I seem to remember that the behavior might depend on things such as whether the key is a shift-lock or caps-lock). Stefan