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: Fri, 21 Apr 2017 00:12:34 +0200 Message-ID: <87zifa4tkd.fsf@nicolasgoaziou.fr> References: <871ssnqjh6.fsf@gmail.com> <878tmu6fe0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:43059) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d1KJd-0002UU-Uq for emacs-orgmode@gnu.org; Thu, 20 Apr 2017 18:12:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d1KJa-0007Kr-00 for emacs-orgmode@gnu.org; Thu, 20 Apr 2017 18:12:41 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:35941) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1d1KJZ-0007KG-QM for emacs-orgmode@gnu.org; Thu, 20 Apr 2017 18:12:37 -0400 Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by relay7-d.mail.gandi.net (Postfix) with ESMTPS id AC099BA3 for ; Fri, 21 Apr 2017 00:12:35 +0200 (CEST) In-Reply-To: (Joe Corneli's message of "Thu, 20 Apr 2017 22:46:29 +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: Org-mode mailing list Joe Corneli writes: > In my opinion, capture and/or search should do something different for > text beginning "(" and ending with ")", when this text is a link > target that is not within a code block. See below. > The docs say: > > "In literal examples, Org will interpret strings like =E2=80=98(ref:name)= =E2=80=99 as > labels" > > But the text (like this) in my example wasn't inside of a code block, > nor was it presented as (ref:like this). There are two syntaxs: the one within the code block, which is (ref:xxx) by default and can be changed, and the one outside the block, which is (xxx), and cannot be changed. See the following example from the manual: #+BEGIN_SRC emacs-lisp -n -r (save-excursion (ref:sc) (goto-char (point-min))) (ref:jump) #+END_SRC In line [[(sc)]] we remember the current position. [[(jump)][Line (ju= mp)]] jumps to point-min. Regards,