From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Displaying or linking to definitions of terms? Date: Sun, 19 Feb 2012 11:30:02 +0100 Message-ID: <87boovw1xx.fsf@gmail.com> References: <8762f43u63.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:51038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rz43R-0004Mz-Iu for emacs-orgmode@gnu.org; Sun, 19 Feb 2012 05:31:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rz43Q-0007hH-3B for emacs-orgmode@gnu.org; Sun, 19 Feb 2012 05:31:41 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:34162) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rz43P-0007h9-Ut for emacs-orgmode@gnu.org; Sun, 19 Feb 2012 05:31:40 -0500 Received: by wibhj13 with SMTP id hj13so3148957wib.0 for ; Sun, 19 Feb 2012 02:31:38 -0800 (PST) In-Reply-To: <8762f43u63.fsf@gmail.com> (jeremiah dodds's message of "Sat, 18 Feb 2012 12:53:08 -0500") 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 Hello, jeremiah.dodds@gmail.com writes: > I've done a fair amount of reading (and-rereading) the manual, and > searching around, but my search skills are failing me and org-mode is > flexible enough that I figure that someone has either done this, or > there's something that makes it unnecessary that I don't know of. > > I'd like to be able to write a definition of a term, and then be able to > jump to that definition, or see that definition in some way in buffers > where the term occurs. Preferably on a "file can specify a file with > term definitions" or a global scale, but even per-file period would be > awesome. > > I imagine something like a block. In pseudo-org-code: > > #+begin_definition :term elegant > pleasingly graceful and stylish in appearance or manner; pleasingly > ingenious and simple. > #+end_definition > > If there's a way for me to acheive the goal of "find the definition for > this term" in a "this is already idiomatic-org" type of way, I'd love to > hear it. > > If anyone has done something similar, I'd love to hear about it. There are probably a lot of ways to achieve this with included tools. For example, on a per file basis, you may use radio targets: #+begin_src org Contempt for happiness is usually contempt for other people's happiness, and is an elegant hatred for the human race. * Definitions - <<>> :: pleasingly graceful and stylish in appearance or manner; pleasingly ingenious and simple. #+end_src Note that you have to activate <<>> radio target the first time you introduce it (with C-c C-c), but present and future radio targets will be liked to it automatically. Regards, -- Nicolas Goaziou