emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-open-at-point calls visit-tags-table ?!?
@ 2019-01-18  2:59 David Masterson
  2019-01-18 18:28 ` Berry, Charles
  2019-01-19  5:01 ` org-open-at-point calls visit-tags-table ?!? org-ctags module bug? David Masterson
  0 siblings, 2 replies; 6+ messages in thread
From: David Masterson @ 2019-01-18  2:59 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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?

--
David

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-open-at-point calls visit-tags-table ?!?
  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
  1 sibling, 1 reply; 6+ messages in thread
From: Berry, Charles @ 2019-01-18 18:28 UTC (permalink / raw)
  To: David Masterson; +Cc: emacs-orgmode@gnu.org



> On Jan 17, 2019, at 6:59 PM, David Masterson <dsmasterson@outlook.com> wrote:
> 
> 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.

With org 9.2, this does not occur.

>  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?

I hope someone who uses MELPA will correct me if needed, but I'd start with `emacs -Q' and try out your link to be sure it is not something in your installation. If it works OK start bisecting from there.

Alternatively, you could instrument[1] `org-open-at-point', try the link and see where it goes awry.

HTH,

Chuck

[1] (info "(elisp) Instrumenting")

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-open-at-point calls visit-tags-table ?!?
  2019-01-18 18:28 ` Berry, Charles
@ 2019-01-18 19:36   ` David Masterson
  0 siblings, 0 replies; 6+ messages in thread
From: David Masterson @ 2019-01-18 19:36 UTC (permalink / raw)
  To: Berry, Charles; +Cc: emacs-orgmode@gnu.org

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

>> On Jan 17, 2019, at 6:59 PM, David Masterson <dsmasterson@outlook.com> wrote:
>> 
>> 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.
>
> With org 9.2, this does not occur.

I'm using org 9.2.

>> 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?
>
> I hope someone who uses MELPA will correct me if needed, but I'd start
> with `emacs -Q' and try out your link to be sure it is not something
> in your installation. If it works OK start bisecting from there.

Ah, "-Q" instead of "-q".  I'll have to see if that inhibits package
initialization.

> Alternatively, you could instrument[1] `org-open-at-point', try the link and see where it goes awry.

> [1] (info "(elisp) Instrumenting")

Hmm.  Thanks.
--
David

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-open-at-point calls visit-tags-table ?!? org-ctags module bug?
  2019-01-18  2:59 org-open-at-point calls visit-tags-table ?!? David Masterson
  2019-01-18 18:28 ` Berry, Charles
@ 2019-01-19  5:01 ` David Masterson
  2019-01-19 18:21   ` Berry, Charles
  1 sibling, 1 reply; 6+ messages in thread
From: David Masterson @ 2019-01-19  5:01 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

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.  Is this a bug or a documentation problem?

--
David

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-open-at-point calls visit-tags-table ?!? org-ctags module bug?
  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
  0 siblings, 1 reply; 6+ messages in thread
From: Berry, Charles @ 2019-01-19 18:21 UTC (permalink / raw)
  To: David Masterson; +Cc: emacs-orgmode@gnu.org



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


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

HTH,

Chuck

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-open-at-point calls visit-tags-table ?!? org-ctags module bug?
  2019-01-19 18:21   ` Berry, Charles
@ 2019-01-20 19:31     ` David Masterson
  0 siblings, 0 replies; 6+ messages in thread
From: David Masterson @ 2019-01-20 19:31 UTC (permalink / raw)
  To: Berry, Charles; +Cc: emacs-orgmode@gnu.org

"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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-01-20 19:31 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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