From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sharon Kimble Subject: Re: Local key binding gone wrong! Date: Sun, 5 Jan 2014 19:59:51 +0000 Message-ID: <20140105195951.5bad7c76@london> References: <20140105033510.7e86f5e9@london> <52C9B434.7040704@ihm.name> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/4OEualc7AvCQxqSN/ib=_5z"; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49451) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzts8-0008Ub-VQ for emacs-orgmode@gnu.org; Sun, 05 Jan 2014 15:00:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vzts3-00011N-Dz for emacs-orgmode@gnu.org; Sun, 05 Jan 2014 15:00:32 -0500 Received: from out1.ip01ir2.opaltelecom.net ([62.24.128.237]:59896) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vzts3-00011F-5w for emacs-orgmode@gnu.org; Sun, 05 Jan 2014 15:00:27 -0500 In-Reply-To: <52C9B434.7040704@ihm.name> 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: Marc-Oliver Ihm Cc: emacs-orgmode Mailinglist --Sig_/4OEualc7AvCQxqSN/ib=_5z Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks Marc. Here it is -=20 (if (eq window-system 'x) (shell-command "xmodmap -e 'clear Lock' -e 'keycode 66 =3D F13'")) (global-set-key [f13] 'execute-extended-command) ;;sets caps-lock as meta-= key Sharon. On Sun, 05 Jan 2014 20:36:20 +0100 Marc-Oliver Ihm wrote: > Hi Sharon, >=20 > not sure, what happened in your setup. Maybe things can get clearer, > if you would supply the line of lisp that you employed to bind F13. > Was it something like >=20 > (global-set-key [(f13)] 'org-archive-subtree) >=20 > ? >=20 > regards > Marc >=20 >=20 > Am 05.01.2014 04:35, schrieb Sharon Kimble: > > 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 =3D 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? And > > how do I set up a local key binding to avoid this situation in the > > future please? > > > > Thanks > > Sharon. > > >=20 --=20 =EF=BB=BFA taste of linux =3D http://www.sharons.org.uk efever =3D http://www.efever.blogspot.com/ efever =3D http://sharon04.livejournal.com/ my git repo =3D https://bitbucket.org/boudiccas/dots Debian testing, Fluxbox 1.3.5, LibreOffice 4.1.4.2 Registered Linux user 561944 --Sig_/4OEualc7AvCQxqSN/ib=_5z Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBAgAGBQJSybnBAAoJEDaBgBkK+INb1CwQAIZubtC3/3WqX6RObATlDHZz CzpqapG70ZPGwfkkh3HaYN31Dp8k3RdRVAd+ZrZnnW8ZqnjJ8zYvxTFPC+/Apjl1 pVSiAX8aCDkZoxD20a/DWZiX8lMcPlY0gQJaVJH5ZKUxDZqKOVVfEF870gVtzU/Q BPJclQ3+VfZriIW5Pxdaf9OCSSCVENw6bE8xEY7M0NIilDEorW04Awml9Mlf3hjx Q7G8molveJ+fPqVOKJBpoWxrvFHx83CkalRYyTlVmF0XmcGx2804wmSRmoxiPthO 5r9EmF6crGJcUqOiITP832ciqo0issMkE+M1JzpvzEX3MLnvDg3DjTSYfELuYntY 8CyG87Xv9ThgOSP71X1o2GZbvEOsCBakE9nrocZgfflTkihOqgwiNvgHKqieldbO MpC45hqdSeEpk4dfhhyRoaGt3rbdYV0kISeH9DzeYJWiRlXnH1IG3sWyU/SUMG1h G0P8vPqx9AZAKrw79coJR7IlX4uTXpf96IcLPyafybkgJbCOGhcpk6ZmsXGCz/L7 n2RIzJGrmLUTNYLPWUyQ1ZENjP3Ijgf3mqODxdTag3OTQEhmk+jvu21QyQP+jpuu +ogvjF1IA7JP3feAIQqN2vCrA9jTNmLoF5+aO0PU/waJdKeWKfgVFX+Qx67XEtxb xWx4Y5y8bIm6mldmL4br =3QNT -----END PGP SIGNATURE----- --Sig_/4OEualc7AvCQxqSN/ib=_5z--