From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kyle Meyer Subject: Fwd: Re: org-open-at-point fails on internal links Date: Mon, 09 Oct 2017 14:38:21 -0400 Message-ID: <87efqc415u.fsf@kyleam.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1cwc-0006Cf-TT for emacs-orgmode@gnu.org; Mon, 09 Oct 2017 14:38:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1cwZ-0007ft-Qw for emacs-orgmode@gnu.org; Mon, 09 Oct 2017 14:38:26 -0400 Received: from pb-smtp1.pobox.com ([64.147.108.70]:62665 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e1cwZ-0007fQ-Kg for emacs-orgmode@gnu.org; Mon, 09 Oct 2017 14:38:23 -0400 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 Cc: Scott Otterson --=-=-= Content-Type: text/plain [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.] --=-=-= Content-Type: message/rfc822 Content-Disposition: inline From: Kyle Meyer To: Scott Otterson , Nicolas Goaziou Subject: Re: org-open-at-point fails on internal links In-Reply-To: References: <87infrovdc.fsf@kyleam.com> <87r2ufgftk.fsf@nicolasgoaziou.fr> <87vajpgbxu.fsf@nicolasgoaziou.fr> Date: Mon, 09 Oct 2017 14:32:00 -0400 Message-ID: <87info41gf.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain 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 --=-=-=--