From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: Re: Using org-learn and babel to learn foreign words Date: Fri, 30 Oct 2009 15:32:38 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N3sXM-0002lH-Vb for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 10:33:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N3sXI-0002hz-4i for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 10:33:08 -0400 Received: from [199.232.76.173] (port=53933 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N3sXI-0002ht-0H for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 10:33:04 -0400 Received: from lo.gmane.org ([80.91.229.12]:56768) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N3sXH-0003d9-DA for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 10:33:03 -0400 Received: from list by lo.gmane.org with local (Exim 4.50) id 1N3sXF-0003EZ-7Z for emacs-orgmode@gnu.org; Fri, 30 Oct 2009 15:33:01 +0100 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Oct 2009 15:33:01 +0100 Received: from rileyrgdev by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 30 Oct 2009 15:33:01 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Richard Riley writes: > This little set up uses org-learn in conjunction with babel in emacs to > automatically store all translations looked up from within emacs when > preceded with the prefix key. I'm not much of an elisp programmer but > here is the stuff for anyone interested:- > > 1) The key bindings:- > > Invoke a translation on the word or region at point > > ,---- > | (global-set-key (kbd "") > (lambda()(interactive)(rgr/context-babel))) Correction: ,---- | (global-set-key (kbd "") (lambda()(interactive)(rgr/context-babel t))) `----