From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Internal links not working? Date: Wed, 15 Oct 2014 20:16:05 +0200 Message-ID: <8738apjj16.fsf@wmi.amu.edu.pl> References: <8761fljmwc.fsf@wmi.amu.edu.pl> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60116) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeT7W-0003IM-0h for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 14:16:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XeT7P-0000vW-FL for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 14:16:21 -0400 Received: from msg.wmi.amu.edu.pl ([2001:808:114:2::50]:37181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XeT7P-0000vD-3A for emacs-orgmode@gnu.org; Wed, 15 Oct 2014 14:16:15 -0400 Received: from localhost (localhost [127.0.0.1]) by msg.wmi.amu.edu.pl (Postfix) with ESMTP id 03A925B877 for ; Wed, 15 Oct 2014 20:16:12 +0200 (CEST) Received: from msg.wmi.amu.edu.pl ([127.0.0.1]) by localhost (msg.wmi.amu.edu.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eKZ7I3rGz0oe for ; Wed, 15 Oct 2014 20:16:11 +0200 (CEST) Received: from localhost (99-229.echostar.pl [213.156.99.229]) by msg.wmi.amu.edu.pl (Postfix) with ESMTPSA id A78DB5B874 for ; Wed, 15 Oct 2014 20:16:11 +0200 (CEST) In-reply-to: <8761fljmwc.fsf@wmi.amu.edu.pl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode List 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 > <> > * Third heading > * Fourth heading > Testing linking to precise targets, not headings: > <> > * 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