From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: org links do not work in some latex files [8.3.4 (8.3.4-34-gacfd41-elpaplus @ /home/oub/.emacs.d/elpa/org-plus-contrib-20160411/)] Date: Fri, 20 May 2016 22:16:37 +0200 Message-ID: <87shxcbi3e.fsf@saiph.selenimh> References: <874m9u58b5.fsf@mat.ucm.es> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44895) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3qrR-000064-A2 for emacs-orgmode@gnu.org; Fri, 20 May 2016 16:18:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b3qqk-0004cS-Fc for emacs-orgmode@gnu.org; Fri, 20 May 2016 16:17:28 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:47210) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b3qqk-0004bx-9P for emacs-orgmode@gnu.org; Fri, 20 May 2016 16:16:46 -0400 In-Reply-To: <874m9u58b5.fsf@mat.ucm.es> (Uwe Brauer's message of "Thu, 19 May 2016 16:19:58 +0000") 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: Uwe Brauer Cc: emacs-orgmode@gnu.org Hello, Uwe Brauer writes: > Please look at the following example > > \documentclass[addpoints,12pt]{exam} > \begin{document} > % [[file:~/ALLES/tex/vorlesungen/HGBioQuim/Examen+geogebra/Examen2/README.org::*Overview][Overview]] > \begin{questions} > % [[file:~/ALLES/tex/vorlesungen/HGBioQuim/Examen+geogebra/Examen2/README.org::*Overview][Overview]] > > \end{questions} > > `org-open-at-point' opens the first link, but not the one in the > environment questions. `org-open-at-point' in an Org function, which is meant to be called in an Org buffer. IIUC, you are calling it from a LaTeX buffer. `org-open-at-point-global' provides sloppy Org link (and time-stamp) following in any buffer. You should use it in this case. Note that however `org-open-at-point-global' was bugged, so I just fixed it in master. Thank you for the report. Regards, -- Nicolas Goaziou