From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Caps Lock affects Ctrl+keys Date: Tue, 21 Jan 2014 03:10:56 +0100 Organization: Aioe.org NNTP Server Message-ID: <87ppnmulrq.fsf@nl106-137-194.student.uu.se> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1390270513 12487 80.91.229.3 (21 Jan 2014 02:15:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Jan 2014 02:15:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 21 03:15:21 2014 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 1W5Qs4-00039H-1s for geh-help-gnu-emacs@m.gmane.org; Tue, 21 Jan 2014 03:15:20 +0100 Original-Received: from localhost ([::1]:55318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W5Qs3-0000Vt-F0 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Jan 2014 21:15:19 -0500 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!rt.uk.eu.org!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 Original-NNTP-Posting-Host: /ZLK7EtDT1dvbkmVtWlLYw.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:wZoHQGTFCTgHp6xFAjprN9U7X2I= Mail-Copies-To: never Original-Xref: usenet.stanford.edu gnu.emacs.help:203254 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:95522 Archived-At: Yuri Khan writes: > This is unfortunate because, as a user, I expect Caps > Lock to only affect character input, not command > bindings. As it is, turning on Caps Lock upsets any > key bindings that involve Shift. This includes > cua-mode’s C-x and C-c, and any user-defined bindings > (in my case, C-S-z = redo and C-S-u = insert-char). Just thought of one thing, there is a caps-mode.el, written by a man on this list, which is great, because it gives you caps lock functionality, but *buffer local* (and thus obviously contained to Emacs). All mistakes with caps is when you set it, type (in caps), then move to somewhere else, and type something else, and for some reason you always think it won't stick, but it does. So it is great to have that mode and I think it won't influence shift, because what it does is substitute-key-definition on the self-insert-command chars, so shift should float a parallel current. Because I see you are a C programmer, you might even want to check out a post on that I wrote some time ago, with some modifications to caps-mode, where it auto-disables after one word, so you can write a #define MONEY 0 with just one press of the caps key (preferably bounded to invoke caps-mode, not bothering with the physical keyboard state). -- underground experts united: http://user.it.uu.se/~embe8573