From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Otterson Subject: Re: org-open-at-point fails on internal links Date: Tue, 10 Oct 2017 09:04:13 +0200 Message-ID: References: <87efqc415u.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1141bb0891bb16055b2becc9" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34658) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1ob4-0003e5-N6 for emacs-orgmode@gnu.org; Tue, 10 Oct 2017 03:05:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1ob1-0005cX-GI for emacs-orgmode@gnu.org; Tue, 10 Oct 2017 03:04:58 -0400 Received: from mail-oi0-x22c.google.com ([2607:f8b0:4003:c06::22c]:52178) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1ob1-0005b2-96 for emacs-orgmode@gnu.org; Tue, 10 Oct 2017 03:04:55 -0400 Received: by mail-oi0-x22c.google.com with SMTP id j126so19975500oib.8 for ; Tue, 10 Oct 2017 00:04:54 -0700 (PDT) In-Reply-To: <87efqc415u.fsf@kyleam.com> 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: Kyle Meyer Cc: "Emacs-orgmode@gnu.org" --001a1141bb0891bb16055b2becc9 Content-Type: text/plain; charset="UTF-8" This morning, I updated my packages (Options -> Manage Emacs Packages -> U ->X) and now, internal links work perfectly. For the record, the updated packages were: dash-20171009.105 flycheck-20171009-1145 helm-20171009.221 kaolin-theme-20171009.1130 org-20171009 org-plus-contrib-20171009 org-ref-20171009.2019 python mode-20171005.1620 I'll let you know if the error returns. Scott On Mon, Oct 9, 2017 at 8:38 PM, Kyle Meyer wrote: > [Forwarding because the list was dropped earlier in the thread but I > didn't notice. Scott, please don't drop the list in your replies.] > > > > ---------- Forwarded message ---------- > From: Kyle Meyer > To: Scott Otterson , Nicolas Goaziou < > mail@nicolasgoaziou.fr> > Cc: > Bcc: > Date: Mon, 09 Oct 2017 14:32:00 -0400 > Subject: Re: org-open-at-point fails on internal links > Scott Otterson writes: > > > org-backward-paragraph() > > org-inside-LaTeX-fragment-p() > > org-footnote-in-valid-context-p() > > org-footnote-at-reference-p() > > ad-Advice-org-open-at-point > > [...] > > > org-mouse.el (line 907) adds code to org-mode-hook, and that code adds > > advice to org-open-at-point, and that advice calls > > org-footnote-at-reference-p > > Thanks for digging further. Indeed org-mouse.el's advice would result > in the org-footnote-at-reference-p path being executed. > > After loading org-mouse and using your example, I'm still not able to > trigger the error. Could you debug org-backward-paragraph to find out > where the error is occurring? You can do that by calling C-u C-M-x on > org-backward-paragraph or by evaluating > > (edebug-instrument-function 'org-backward-paragraph) > > -- > Kyle > > --001a1141bb0891bb16055b2becc9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
This morning, I updated my packages (Options -> Manage = Emacs Packages -> U ->X) and now, internal links work perfectly.
=
For the record, the updated packages were:

das= h-20171009.105
flycheck-20171009-1145
helm-20171009.221=
kaolin-theme-20171009.1130
org-20171009
org-= plus-contrib-20171009
org-ref-20171009.2019
python mode= -20171005.1620

I'll let you know if th= e error returns.

Scott


=


On Mon, Oct 9, 2017 at 8:38 PM, Kyle Meyer <= kyle@kyleam.com>= ; wrote:
[Forwarding because the l= ist was dropped earlier in the thread but I
=C2=A0didn't notice.=C2=A0 Scott, please don't drop the list in you= r replies.]



---------- Forwarded message ----------
From:=C2=A0Kyle Meyer &l= t;kyle@kyleam.com>
To:=C2=A0Sc= ott Otterson <scotto@sharpleaf.o= rg>, Nicolas Goaziou <m= ail@nicolasgoaziou.fr>
Cc:=C2=A0
Bcc:=C2=A0
Date:=C2=A0Mon,= 09 Oct 2017 14:32:00 -0400
Subject:=C2=A0Re: org-open-at-point fails on= internal links
Scott Otterson <scotto@sharpleaf.org> writes:

>=C2=A0 =C2=A0org-backward-paragraph()
>=C2=A0 =C2=A0org-inside-LaTeX-fragment-p()
>=C2=A0 =C2=A0org-footnote-in-valid-context-p()
>=C2=A0 =C2=A0org-footnote-at-reference-p()
>=C2=A0 =C2=A0ad-Advice-org-open-at-point

[...]

> org-mouse.el=C2=A0 (line 907) adds code to org-mode-hook, and that cod= e adds
> advice to org-open-at-point, and that advice calls
> org-footnote-at-reference-p

Thanks for digging further.=C2=A0 Indeed org-mouse.el's advice would re= sult
in the org-footnote-at-reference-p path being executed.

After loading org-mouse and using your example, I'm still not able to trigger the error.=C2=A0 Could you debug org-backward-paragraph to find out=
where the error is occurring?=C2=A0 You can do that by calling C-u C-M-x on=
org-backward-paragraph or by evaluating

=C2=A0 =C2=A0 (edebug-instrument-function 'org-backward-paragraph)

--
Kyle


--001a1141bb0891bb16055b2becc9--