emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@wmi.amu.edu.pl>
To: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: Internal links not working?
Date: Wed, 15 Oct 2014 20:16:05 +0200	[thread overview]
Message-ID: <8738apjj16.fsf@wmi.amu.edu.pl> (raw)
In-Reply-To: <8761fljmwc.fsf@wmi.amu.edu.pl>


On 2014-10-15, at 18:52, Marcin Borkowski wrote:

> I have this test file:
>
> ========================
> #+TITLE: Link testing
>
> * Heading
> :PROPERTIES:
> :CUSTOM_ID: link-target
> :END:
>
> * Second heading
> <<target>>
> * Third heading
> * Fourth heading
> Testing linking to precise targets, not headings:
> <<Third heading>>
> * Links
> [[#link-target]]
> [[target]]
> [[Second heading]]
> [[Third heading]]
> ========================
>
> When I C-c C-o (or mouse-1) on any of the links under the last heading,
> I am being asked for a TAGS table.
>
> What am I doing wrong?
>
> TIA,

I instrumented for Edebug the org-open-at-point function, and I found
the culprit: the value of org-open-link-functions is

(org-ctags-find-tag org-ctags-ask-rebuild-tags-file-then-find-tag
org-ctags-ask-append-topic)

here.  I don't need to add that I never customized that variable...

What is even more strange, when I try to M-x set-variable, it somehow
gets changed to org-ctags-open-link-functions (i.e., I want to change
org-open-link-functions, so I enter this at the prompt, and the next
prompt - the one for the value - displays the name of the other
variable...).

Really strange.  Any ideas what might have happened?

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Adam Mickiewicz University

  parent reply	other threads:[~2014-10-15 18:16 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-15 16:52 Internal links not working? Marcin Borkowski
2014-10-15 17:34 ` Marco Wahl
2014-10-15 18:03   ` Marcin Borkowski
2014-10-15 18:16 ` Marcin Borkowski [this message]
2014-10-15 21:27   ` Marco Wahl
2014-10-15 21:43     ` Marcin Borkowski
2014-10-20 13:29       ` 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=8738apjj16.fsf@wmi.amu.edu.pl \
    --to=mbork@wmi.amu.edu.pl \
    --cc=emacs-orgmode@gnu.org \
    /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).