From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: org link to OCaml comment Date: Thu, 06 Feb 2020 15:47:27 +0100 Message-ID: <87a75vu60w.fsf@polytechnique.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36753) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iziRJ-0004Hm-AT for emacs-orgmode@gnu.org; Thu, 06 Feb 2020 09:47:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iziRH-0003kU-Py for emacs-orgmode@gnu.org; Thu, 06 Feb 2020 09:47:32 -0500 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:14408) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iziRH-0003U7-Fv for emacs-orgmode@gnu.org; Thu, 06 Feb 2020 09:47:31 -0500 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-mx.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode Hello, I'm trying to create an org link to a specific place in an OCaml file. I thought I would use some specific target in an OCaml comment, but it does not work. Here is an OCaml comment: (* Object projection functions *) Here is the link create by `org-store-link` (I put it here with no description) [[file:~/work/jsexplain/jsexplain/jsref/JsSyntax.ml::(* Object projection functions *)]] When I try to follow this link, I get the following error (note the missing parentheses): org-open-file: No match for coderef: * Object projection functions * and I am moved to the top of the file (instead of where I stored the link). Is there an escape problem here? And if so, is it a bug of `org-store-link` of not doing the escaping? Thanks, Alan