From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer M Krug Subject: Re: Keybinding in org-mode Date: Fri, 24 Aug 2012 13:57:22 +0200 Message-ID: <50376C22.5010300@gmail.com> References: <5037691B.9040400@gmail.com> <87ipc85x4b.fsf@altern.org> Reply-To: Rainer@krugs.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:34662) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4sWA-0008As-6m for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 07:57:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T4sW2-0005wP-Dz for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 07:57:38 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:46487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4sW2-0005wJ-6W for emacs-orgmode@gnu.org; Fri, 24 Aug 2012 07:57:30 -0400 Received: by eaaf11 with SMTP id f11so541508eaa.0 for ; Fri, 24 Aug 2012 04:57:29 -0700 (PDT) In-Reply-To: <87ipc85x4b.fsf@altern.org> 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: Bastien Cc: Rainer@krugs.de, emacs-orgmode -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/08/12 13:48, Bastien wrote: > Rainer M Krug writes: > >> Following an earlier discussion, I would like to bind org-babel-remove-result to a key in >> org-mode to C-c x - but what is the best way to do this? > > Once Org is loaded (so that `org-mode-map' is defined): > > (define-key org-mode-map "\C-cx-" 'org-babel-remove-result) OK - this defines the key Cc-x to execute org-babel-remove-result for the org-mode keymap - nice. I am now using (define-key org-mode-map "\C-cx" 'org-babel-remove-result) > > HTH, most definitely, Thanks, Rainer > - -- Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation Biology, UCT), Dipl. Phys. (Germany) Centre of Excellence for Invasion Biology Stellenbosch University South Africa Tel : +33 - (0)9 53 10 27 44 Cell: +33 - (0)6 85 62 59 98 Fax : +33 - (0)9 58 10 27 44 Fax (D): +49 - (0)3 21 21 25 22 44 email: Rainer@krugs.de Skype: RMkrug -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iEYEARECAAYFAlA3bCIACgkQoYgNqgF2egoxtgCfTXlcJDNKatPT413MGJgKLWS2 oRQAn0mwu/USWX1I9q3ta9HdX5AW6VUB =Uuji -----END PGP SIGNATURE-----