From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giuseppe Pagnoni Subject: Using double square brackets literally (escaping link conversion) in org-mode Date: Tue, 4 Sep 2012 12:20:38 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:42893) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8qFS-0006YP-EP for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 06:20:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T8qFL-0007Re-Kl for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 06:20:46 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:34910) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T8qFL-0007RW-EL for emacs-orgmode@gnu.org; Tue, 04 Sep 2012 06:20:39 -0400 Received: by eaaf11 with SMTP id f11so2334290eaa.0 for ; Tue, 04 Sep 2012 03:20:38 -0700 (PDT) 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 Hi all, I use org-mode for taking notes and I often need to jot down code examples. In the language R, subscription is often done with double square brackets (for instance, I can extract the 2nd element of a `list' object x with the code: x[[2]]). Now, I haven't been able to write such example code within org-mode, without them turning automatically into hyperlinks (I am talking about the plain emacs interface here, which is what I use most, not about exporting into formats such as latex or HTML). Is there a way to disable automatic link conversion for text enclosed into double square brackets on a case-by-case basis (i.e., use double square brackets as verbatim, non-link, text)? I have found that I can still *see* the brackets if I toggle org-toggle-link-display, but that seems like a poor workaround since the text within the brackets is still considered a hyperlink. I have looked quite a bit into the manual and on the mailing list for an answer, but to no avail... Thanks in advance for any suggestion best giuseppe