From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.help Subject: Re: Mark Date: Mon, 12 Jan 2015 00:22:02 +0700 Message-ID: References: <54A6CD81.60109@opengroupware.ch> <87iognhg8s.fsf@duenenhof-wilhelm.de> <83d26vae0d.fsf@gnu.org> <54A84DC8.2010904@verizon.net> <54A9174D.8060101@opengroupware.ch> <54B2A307.5070204@opengroupware.ch> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1420996941 6014 80.91.229.3 (11 Jan 2015 17:22:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 11 Jan 2015 17:22:21 +0000 (UTC) Cc: "help-gnu-emacs@gnu.org" To: Hugh Mayfield Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jan 11 18:22:17 2015 Return-path: Envelope-to: geh-help-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 1YAMDQ-0000eh-0m for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Jan 2015 18:22:16 +0100 Original-Received: from localhost ([::1]:58959 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAMDP-0003qF-E7 for geh-help-gnu-emacs@m.gmane.org; Sun, 11 Jan 2015 12:22:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41719) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAMDE-0003pv-N4 for help-gnu-emacs@gnu.org; Sun, 11 Jan 2015 12:22:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YAMDD-0000gh-Op for help-gnu-emacs@gnu.org; Sun, 11 Jan 2015 12:22:04 -0500 Original-Received: from mail-ig0-x22a.google.com ([2607:f8b0:4001:c05::22a]:63200) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YAMDD-0000gb-J2 for help-gnu-emacs@gnu.org; Sun, 11 Jan 2015 12:22:03 -0500 Original-Received: by mail-ig0-f170.google.com with SMTP id r2so8423128igi.1 for ; Sun, 11 Jan 2015 09:22:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=g3/Q/97umLgp3GaPJeTlJJEuqaJpevJKx3CwEWCKcYc=; b=THOaWvkK0edwH0sOfQE1JtPZZLsvbZE3fMqJD0ejeBQ7Mb0begOC+i4OPWMBaObex5 HmuOvy0AHvAV4xpRrjUzCEGXpRCGIwrwXOiZ4lpcuoKQBV0t93PnDpY9CO9Y25iHEer9 acYg5z2jisW2WMea18J4fYhbe9kmRAbii5c67IeRblSz4B/dkS/npNOUktkWgcSP6QTk T4QQrYpWX+CrnZUu3q6e0Qm/fkRqoM2+2KhtX0g/wqCjWTzoGq7z1oSVzDbOBZ7R06U7 EP9jCpgM0+zTKvbxSOD62N75iO37nwWWhQmdXnWnXi5y5OKdC8+DrTtmJBlRjX6SbtkG kEGA== X-Received: by 10.50.35.195 with SMTP id k3mr11766673igj.11.1420996922793; Sun, 11 Jan 2015 09:22:02 -0800 (PST) Original-Received: by 10.107.48.82 with HTTP; Sun, 11 Jan 2015 09:22:02 -0800 (PST) In-Reply-To: <54B2A307.5070204@opengroupware.ch> X-Google-Sender-Auth: 2FR0QirXygXZCDrpcQ94Vkrpcro X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4001:c05::22a X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101998 Archived-At: On Sun, Jan 11, 2015 at 10:21 PM, Hugh Mayfield wrote: >>>>>> Sorry for newbie question. After a while, Emacs starts behaving all >>>>>> the time as if I have typed C-SPC. That is, whenever I move point, = the >>>>>> text between point and the previous location of point is highlighted= . > Turning off CAPS LOCK does indeed seem to be the answer. I wonder why > that should be the case, though? Because Caps Lock is very similar to holding down Shift, and holding down Shift while moving point is a CUA gesture for extending the region. I posted about another instance of the same problem a year ago[1]. At that time, I was pointed at =E2=80=9Ccaps-mode.el=E2=80=9D, which emulates = the Caps Lock functionality but only within =E2=80=9Cself-insert-command=E2=80=9D; k= ey bindings remain unaffected. [1]: http://lists.gnu.org/archive/html/help-gnu-emacs/2014-01/msg00286.html I have not filed a bug because fixing it would mean a tremendous breakage of backward compatibility. (Firstly, Emacs would need to know about physical key codes, modifier bits, and, independently, about characters which are produced by these keys with these modifiers under the currently active keyboard layout or input method =E2=80=94 which is a b= ig change in the codebase. Secondly, a careless implementation based only on physical key codes would break non-QWERTY layouts such as Dvorak and Colemak. Thirdly, multilingual and multi-layout users=E2=80=99 needs wo= uld have to be considered.)