From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: rustom Newsgroups: gmane.emacs.help Subject: Re: Change modifier keys Date: Sat, 30 Jan 2010 02:50:58 -0800 (PST) Organization: http://groups.google.com Message-ID: <38f69d55-0101-470e-9ff2-4f61efd8914e@k6g2000prg.googlegroups.com> References: <4b11f88f-e603-4af8-8dc1-9d14e699d0ab@b36g2000pri.googlegroups.com> <0ca84dc4-1cc8-4e68-863b-3ecbdabb18e6@l11g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1264851651 5204 80.91.229.12 (30 Jan 2010 11:40:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Jan 2010 11:40:51 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jan 30 12:40:48 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1NbBh0-0000D4-5J for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jan 2010 12:40:46 +0100 Original-Received: from localhost ([127.0.0.1]:42993 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NbBgz-0004bS-IM for geh-help-gnu-emacs@m.gmane.org; Sat, 30 Jan 2010 06:40:45 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!news.glorb.com!news2.glorb.com!postnews.google.com!k6g2000prg.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 36 Original-NNTP-Posting-Host: 59.95.17.54 Original-X-Trace: posting.google.com 1264848659 22392 127.0.0.1 (30 Jan 2010 10:50:59 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 30 Jan 2010 10:50:59 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k6g2000prg.googlegroups.com; posting-host=59.95.17.54; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:176511 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:71581 Archived-At: On Jan 29, 2:51=A0pm, Jos=E9 A. Romero L. wrote: > On 29 Sty, 05:15, rustom wrote: > (...) > > > I also have a similar question: > > I would like to swap control and capslock > > I can do this and it works, however the keyboard capslock light > > behaves as though this change is not made and is therefore misleading > > I use the following in my Xmodmap configuration for swapping capslock > and escape (I'm a viper user): > > remove Lock =3D Caps_Lock > keycode 66 =A0=3D Escape > keycode 9 =A0 =3D Caps_Lock > add Lock =A0 =A0=3D Caps_Lock > > with this the capslock LED works as intended (ie. when pressing esc). > > Hope it helps, > -- > Jos=E9 A. Romero L. > escherdragon at gmail.com > "We who cut mere stones must always be envisioning cathedrals." > (Quarry worker's creed) Thanks. Since I prefer to use capslock as a second control and leave control alone Ive got (from http://www.paganini.net/index.cgi/linux/nocaps.html ) remove Lock =3D Caps_Lock keysym Caps_Lock =3D Control_L add Control =3D Control_L [I'll add this to the wiki if it seems right]