Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-05 Thread Giuseppe Pagnoni
good tip, thanks! giuseppe

[O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Giuseppe Pagnoni
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

Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes: Hi Giuseppe: 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:

Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Giuseppe Pagnoni
Hello Charles, thank you for the fast reply. I had actually tried to use the SRC block, but the bracket-enclosed text is still converted to hyperlink format in the Emacs GUI, with the consequent vanishing of the brackets. My understanding is that by using the SRC blocks, the brackets are

Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes: Hi Giuseppe: thank you for the fast reply. I had actually tried to use the SRC block, but the bracket-enclosed text is still converted to hyperlink format in the Emacs GUI, with the consequent vanishing of the brackets. Works fine for me- they do

Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Giuseppe Pagnoni
Hello Charles, I upgraded to the latest Emacs and org-mode versions, but then I found out that the text does reformat correctly if I position the cursor at the beginning of the SRC block (that is, on the first `#') and enter a newline (or, alternatively, if I close and reopen the file). I have

Re: [O] Using double square brackets literally (escaping link conversion) in org-mode

2012-09-04 Thread Charles Philip Chan
Giuseppe Pagnoni gpagn...@gmail.com writes: Hi Giuseppe: I upgraded to the latest Emacs and org-mode versions, but then I found out that the text does reformat correctly if I position the cursor at the beginning of the SRC block (that is, on the first `#') and enter a newline (or,