From: Scott Otterson <scotto@sharpleaf.org>
To: "Emacs-orgmode@gnu.org" <Emacs-orgmode@gnu.org>
Subject: org-open-at-point fails on internal links
Date: Sat, 7 Oct 2017 10:44:27 +0200 [thread overview]
Message-ID: <CAPY3P0Tn60QqVQPnoMUub6JmNWZ4hNCyfdi5-qnKXaeq6i+z+A@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 639 bytes --]
When I click on an internal link to an anchor, I get the error message:
"Wrong type argument: number-or-marker-p"
The same happens if I type C-c C-o on the link. This is mapped
to org-open-at-point, which should handle internal links.
However, if I type C-c o on the link, then the cursor goes to the anchor.
This is mapped to org-open-at-point-global, which the org info help says is
undefined on internal links.
This behavior is new, I believe since the last org package update. I'm
currently on org mode version 9.1.2.
------ Example Org File -----------
* headline 1
<<Anchor 1>>
* headline 2
*** [[Anchor 1]] CLICK ON THIS
[-- Attachment #2: Type: text/html, Size: 879 bytes --]
next reply other threads:[~2017-10-07 8:45 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-10-07 8:44 Scott Otterson [this message]
2017-10-07 15:01 ` org-open-at-point fails on internal links Kyle Meyer
2017-10-07 15:04 ` Nicolas Goaziou
2017-10-09 16:08 ` Scott Otterson
-- strict thread matches above, loose matches on Subject: below --
2017-10-09 18:38 Fwd: " Kyle Meyer
2017-10-10 7:04 ` Scott Otterson
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=CAPY3P0Tn60QqVQPnoMUub6JmNWZ4hNCyfdi5-qnKXaeq6i+z+A@mail.gmail.com \
--to=scotto@sharpleaf.org \
--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).