emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@altern.org>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: store-link behavior
Date: Sat, 22 Dec 2012 23:21:51 +0100	[thread overview]
Message-ID: <87ip7tu0ci.fsf@bzg.ath.cx> (raw)
In-Reply-To: <m18vakj6ca.fsf@poto.myhome.westell.com> (Thomas S. Dye's message of "Fri, 02 Nov 2012 06:51:49 -1000")

Hi Thomas,

tsd@tsdye.com (Thomas S. Dye) writes:

> A pleasant feature of AucTeX is the context sensitive facility for
> inserting cross references. So, having the cursor at the end of this
> text, "(fig.", and pressing shortcut sequence gets a list of labeled
> figure environments in a document, from which the correct one can be
> chosen. 
>
> Is there something similar in Org?
>
> I looked at store-link, with the hope that it would store a link to the
> nearest link candidate, but with the cursor in the table-link table
> below, store-link returns a link to the headline, test store-link, and
> not a link to the table name, table-link.
>
> * test store-link
> Some text.
>
> #+name: table-link
> | a | 1 |
> | b | 2 |
>
> I'm likely missing something obvious.  Any help much appreciated.

I fixed `org-store-link' so that it stores the value of a keyword
as the search string.  Try M-x org-store-link RET on #+name: and let
me know if it works (from master).

Thanks!

-- 
 Bastien

  reply	other threads:[~2012-12-22 23:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-02 16:51 store-link behavior Thomas S. Dye
2012-12-22 22:21 ` Bastien [this message]
2012-12-23  0:49   ` Thomas S. Dye
2012-12-29  5:31     ` Bastien

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=87ip7tu0ci.fsf@bzg.ath.cx \
    --to=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=tsd@tsdye.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).