emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leu Zhe <lzhes43@gmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: ·Open footnote link definition from reference directly
Date: Mon, 28 Jul 2014 09:11:53 +0900	[thread overview]
Message-ID: <CALjq+LZmb+fxtMKAEnW_gf2OT2c2p6WZB+viwwu1ouFZF0=9AA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

Hi orgers,

I wrote a little snippet below to open footnote link definition directly
with a single call.
I think it will be very useful when you have a lot of link footnote
definitions in you documents.
Since I am a newbie to lisp, any advice of improvement will be really

(defun open-footnote-link ()
  "Open footnote link directly without going to definition"
    (if (org-footnote-at-reference-p)
    (message "Must be in footnotes with link definition"))))

(global-set-key (kbd "C-c C-x l") 'open-footnote-link)

[-- Attachment #2: Type: text/html, Size: 1195 bytes --]

                 reply	other threads:[~2014-07-28  0:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CALjq+LZmb+fxtMKAEnW_gf2OT2c2p6WZB+viwwu1ouFZF0=9AA@mail.gmail.com' \
    --to=lzhes43@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).