From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Local key binding gone wrong! Date: Mon, 06 Jan 2014 10:38:35 -0500 Message-ID: <87txdhce84.fsf@alphaville.bos.redhat.com> References: <20140105033510.7e86f5e9@london> <8738l26wsp.fsf@gmail.com> <97765e41-d916-4a7a-a573-b476375018e8@email.android.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0CGf-0005Hn-8N for emacs-orgmode@gnu.org; Mon, 06 Jan 2014 10:39:11 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W0CGY-00025w-QU for emacs-orgmode@gnu.org; Mon, 06 Jan 2014 10:39:05 -0500 Received: from plane.gmane.org ([80.91.229.3]:54113) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W0CGY-00025l-K2 for emacs-orgmode@gnu.org; Mon, 06 Jan 2014 10:38:58 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1W0CGQ-0003ti-EB for emacs-orgmode@gnu.org; Mon, 06 Jan 2014 16:38:50 +0100 Received: from nat-pool-bos-t.redhat.com ([66.187.233.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jan 2014 16:38:50 +0100 Received: from ndokos by nat-pool-bos-t.redhat.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 06 Jan 2014 16:38:50 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Sharon Kimble writes: > Nick Dokos wrote: > > Sharon Kimble writes: > Whilst trying to set a key binding to archive 'DONE' todo items, by > trying to bind F13 [aka CapsLock] to '2', so the finished intended > result would have been - F13 + 2 = DONE & ARCHIVED. This is a global > key binding, although I was trying for a local one. How do I know its > 'global'? Because CapsLock now does not work for me to use in this > email! > > So, how do I revert CapsLock to being its intended F13 please? > > If you have not added anything to .emacs (or whatever init file(s) you > use), just restart emacs. If you have, delete it and rest > art emacs. > > Thanks for this, I'll try it tomorrow when I'm back on the computer. > However, I noticed that you called xmodmap from emacs to modify the X keymap - restarting emacs will not undo that side effect, but restarting X as well should undo it. Nick