emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Masterson <dsmasterson@outlook.com>
To: "Berry, Charles" <ccberry@ucsd.edu>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-open-at-point calls visit-tags-table ?!? org-ctags module bug?
Date: Sun, 20 Jan 2019 19:31:19 +0000	[thread overview]
Message-ID: <DM6PR07MB55324F61E2D21934832E6F94A59E0@DM6PR07MB5532.namprd07.prod.outlook.com> (raw)
In-Reply-To: <6F398036-4F22-4C71-A898-FC10A8F7F04D@ucsd.edu> (Charles Berry's message of "Sat, 19 Jan 2019 18:21:54 +0000")

"Berry, Charles" <ccberry@ucsd.edu> writes:

>> On Jan 18, 2019, at 9:01 PM, David Masterson <dsmasterson@outlook.com> wrote:
>> 
>> David Masterson <dsmasterson@outlook.com> writes:
>> 
>>> I have various Org files with internal hyperlinks of the form
>>> [[#mylink][My Link]] that should point to a header with the appropriate
>>> CUSTOM_ID property that I've setup.  For some reason that I can't figure
>>> out, when I call org-open-at-point (C-c C-o) on the link, it tries to
>>> open a tags table (visit-tags-table) which is not what I expected.  Does
>>> anyone know why?  I'm suspicious that I have a conflicting MELPA package
>>> for Org of some sort, but I don't know where to start to debug this.
>>> What's the safest way of turning off the packages in .emacs.d/elpa?  Can
>>> I just move the elpa directory for testing purposes and then move it
>>> back later?
>> 
>> After some testing, I find that the problem is when I turn on the
>> org-ctags module in the Org customization, but I'm not sure what to do
>> about it.
>
> Customize  `org-ctags-open-link-functions' ?
>
>
> Have a look at the commentary in `org-ctags.el'. There are some
> options for you.

Hmm.  Interesting. I was wondering where that was.  There should be a
little more information about the modules in the Org customization to
give more clues on where to look for documentation on the modules.

>>  Is this a bug or a documentation problem?
>
> Not sure if it is fair to call this a bug, although being aware of
> `[[#' seems a reasonable expectation.

Yes, it does seem that activating this module takes over the definition
of what a "link" is to be "<<link>>" and that's unexpected.  Perhaps
I'll email Paul Sexton about this.

Thanks
--
David

      reply	other threads:[~2019-01-20 19:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-18  2:59 org-open-at-point calls visit-tags-table ?!? David Masterson
2019-01-18 18:28 ` Berry, Charles
2019-01-18 19:36   ` David Masterson
2019-01-19  5:01 ` org-open-at-point calls visit-tags-table ?!? org-ctags module bug? David Masterson
2019-01-19 18:21   ` Berry, Charles
2019-01-20 19:31     ` David Masterson [this message]

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=DM6PR07MB55324F61E2D21934832E6F94A59E0@DM6PR07MB5532.namprd07.prod.outlook.com \
    --to=dsmasterson@outlook.com \
    --cc=ccberry@ucsd.edu \
    --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).