From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph LANGE Subject: Bug: can't use square brackets in link descriptions; Date: Tue, 31 Jan 2012 17:20:20 +0100 Message-ID: <4F2814C4.8050201@googlemail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:50068) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsGRZ-0002Pz-9e for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 11:20:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsGRQ-0003j5-Gq for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 11:20:29 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:44306) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsGRQ-0003j1-Bw for emacs-orgmode@gnu.org; Tue, 31 Jan 2012 11:20:20 -0500 Received: by bkbzs2 with SMTP id zs2so148612bkb.0 for ; Tue, 31 Jan 2012 08:20:19 -0800 (PST) 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: Orgmode Mailing List Dear org-mode developers, I am desperately trying to get a square bracket into the description of a link. That is, in an org file that I want to export to HTML, I would like to have the source foo [bar] and of course I would like to avoid using XML character entities such as b; for [, for two reasons: 1. It is painful. 2. I might eventually want to export my org file to some other format than HTML. I noticed this post on escaping in org links (http://article.gmane.org/gmane.emacs.orgmode/37888), but apparently I didn't understand it. I thought that escaping as %5B might work – not only in the "link" component of a link, where it works due to the specification of URIs, but also in the "description" component, but in the description it doesn't work. Quite generally, I wonder whether there is (or, why there is not) a generic escape character (e.g. the backslash), which would also allow for escaping other characters of the org markup syntax, such as * or /. So far this was something like a feature request, but there is also one actual bug: When I insert or edit a link with org-insert-link (C-c C-l) and insert square brackets into the link description, they are rewritten to {...}, which I do not consider acceptable. If there is any escape syntax, they should rather be rewritten using that escape syntax. Thanks in advance for any pointers, Christoph -- Christoph Lange, http://www.facebook.com/ch.lange, Skype duke4701