From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Otterson Subject: org-open-at-point fails on internal links Date: Sat, 7 Oct 2017 10:44:27 +0200 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113def6a843ec2055af0f940" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43604) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e0kjT-0001rY-7I for Emacs-orgmode@gnu.org; Sat, 07 Oct 2017 04:45:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e0kjO-00022R-BP for Emacs-orgmode@gnu.org; Sat, 07 Oct 2017 04:45:15 -0400 Received: from mail-oi0-x234.google.com ([2607:f8b0:4003:c06::234]:51398) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e0kjO-000201-5P for Emacs-orgmode@gnu.org; Sat, 07 Oct 2017 04:45:10 -0400 Received: by mail-oi0-x234.google.com with SMTP id j126so9349022oib.8 for ; Sat, 07 Oct 2017 01:45:09 -0700 (PDT) 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" To: "Emacs-orgmode@gnu.org" --001a113def6a843ec2055af0f940 Content-Type: text/plain; charset="UTF-8" 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 <> * headline 2 *** [[Anchor 1]] CLICK ON THIS --001a113def6a843ec2055af0f940 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
When I click on an internal link to an anchor, I get the e= rror message:

"Wrong type argument: number-or-marke= r-p"

The same happens if I type C-c C-o on th= e link.=C2=A0 This is mapped to=C2=A0org-open-at-point, which should handle= internal links.

However, if I type C-c o on the l= ink, then the cursor goes to the anchor.=C2=A0 This is mapped to org-open-a= t-point-global, which the org info help says is undefined on internal links= .

This behavior is new, I believe since the last o= rg package update.=C2=A0 I'm currently on org mode version 9.1.2.
=

------ Example Org File -----------

=
* headline 1
=C2=A0 <<Anchor 1>>
* hea= dline 2
*** [[Anchor 1]]=C2=A0 CLICK ON THIS
--001a113def6a843ec2055af0f940--