emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Displaying or linking to definitions of terms?
Date: Sun, 19 Feb 2012 11:30:02 +0100	[thread overview]
Message-ID: <87boovw1xx.fsf@gmail.com> (raw)
In-Reply-To: <8762f43u63.fsf@gmail.com> (jeremiah dodds's message of "Sat, 18 Feb 2012 12:53:08 -0500")


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

  - <<<elegant>>> :: pleasingly graceful and stylish in appearance or
                     manner; pleasingly ingenious and simple.

Note that you have to activate <<<elegant>>> 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.


Nicolas Goaziou

  reply	other threads:[~2012-02-19 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-18 17:53 Displaying or linking to definitions of terms? jeremiah.dodds
2012-02-19 10:30 ` Nicolas Goaziou [this message]
2012-02-19 21:49   ` jeremiah.dodds
2012-03-02  2:17 ` Samuel Wales

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87boovw1xx.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=emacs-orgmode@gnu.org \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).