From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Bug: link beginning with parenthesis doesn't work [9.0.5 (release_9.0.5-474-g942b62 @ /home/joe/org-mode/lisp/)] Date: Thu, 20 Apr 2017 21:35:51 +0200 Message-ID: <878tmu6fe0.fsf@nicolasgoaziou.fr> References: <871ssnqjh6.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60048) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1Hrv-0002ZB-Ec for emacs-orgmode@gnu.org; Thu, 20 Apr 2017 15:35:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1Hru-0003w4-8b for emacs-orgmode@gnu.org; Thu, 20 Apr 2017 15:35:55 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:59479) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1Hru-0003vc-2V for emacs-orgmode@gnu.org; Thu, 20 Apr 2017 15:35:54 -0400 In-Reply-To: <871ssnqjh6.fsf@gmail.com> (Joe Corneli's message of "Thu, 20 Apr 2017 14:53:49 +0100") 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: Joe Corneli Cc: emacs-orgmode@gnu.org Hello, Joe Corneli writes: > I've noticed a problem with the link system. > > Reproduction steps. > > 1. Find any text in a file, surrounded by parentheses (like this). > > 2. org-capture the region in parentheses to come up with, e.g., > > ** TODO This is a problem > (like this) > [[file:~/test.tex::(like%20this)]] > > 3. Now try to follow the file:... link with org-open-at-point. > > This triggers an error, with a backtrace as follows (between ~~~'s). > > If you remove the leading parenthesis so that the link looks like this instead: > > [[file:~/test.tex::like%20this)]] > > you can then jump to the captured text in the file, as expected. > > ~~~ > Debugger entered--Lisp error: (error "No match for coderef: like this") The error message should give you the answer. Links within parenthesis denote "coderefs". See (info "(org) Literal examples"). [[file:~/test.tex::(like%20this)]] means to refer to a coderef (like this) in the file "test.tex". Regards, -- Nicolas Goaziou