Hi Thomas, t...@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