From mboxrd@z Thu Jan 1 00:00:00 1970 From: Xiha Subject: Re: How to escape "[" and "]" characters in org-mode links Date: Mon, 27 Jul 2015 15:04:50 +0200 Message-ID: <55B62C72.1060404@laposte.net> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010206090207050500070409" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47897) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJi43-0002Zt-I8 for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 09:03:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZJi40-0007n6-Pv for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 09:03:31 -0400 Received: from smtpoutz29.laposte.net ([194.117.213.104]:44608 helo=smtp.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZJi40-0007mq-6f for emacs-orgmode@gnu.org; Mon, 27 Jul 2015 09:03:28 -0400 Received: from smtp.laposte.net (localhost [127.0.0.1]) by lpn-prd-vrout017 (Postfix) with ESMTP id 56BA59DA1AB for ; Mon, 27 Jul 2015 15:03:27 +0200 (CEST) Received: from lpn-prd-vrin004 (unknown [10.128.63.5]) by lpn-prd-vrout017 (Postfix) with ESMTP id 53A0E9D85A5 for ; Mon, 27 Jul 2015 15:03:27 +0200 (CEST) Received: from lpn-prd-vrin004 (localhost [127.0.0.1]) by lpn-prd-vrin004 (Postfix) with ESMTP id 44F6C70E938 for ; Mon, 27 Jul 2015 15:03:27 +0200 (CEST) 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: usr345@gmail.com This is a multi-part message in MIME format. --------------010206090207050500070409 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi Dmitry, > org-mode has the following format for links: > > [[::][]] > > What should I do, if contains ']' symbol? Like this: > > $form['input'] Not sure it helps in your case, but this * Heading containing [brackets] * Other heading Here is a link to [[Heading containing *%5B*brackets*%5D*][that first heading]]. works for me. --------------010206090207050500070409 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi Dmitry,

org-mode has the following format for links:

[[<file-name>::<text-to-search>][<link text>]]

What should I do, if <text-to-search> contains ']' symbol? Like this:

$form['input']

Not sure it helps in your case, but this

* Heading containing [brackets]
* Other heading

Here is a link to [[Heading containing %5Bbrackets%5D][that first heading]].

works for me.
--------------010206090207050500070409--