[O] inserting a path string fires the italic formatting

2013-02-06 Thread Luca Ferrari
Hi all,
this could be trivial, but if I have to place a unix path name into my
org text, without having a link, how can I prevent the mode to assume
I'm doing italic formatiing?
For instance in the text:
   - check /usr/bin/chmod
   - check /usr/lib/bla

I got italic from the first slash to the last slash in the second line.
Suggestions?

Thanks,
Luca



Re: [O] inserting a path string fires the italic formatting

2013-02-06 Thread Sebastien Vauban
Hi Luca,

Luca Ferrari wrote:
 this could be trivial, but if I have to place a unix path name into my
 org text, without having a link, how can I prevent the mode to assume
 I'm doing italic formatiing?
 For instance in the text:
- check /usr/bin/chmod
- check /usr/lib/bla

 Suggestions?

For example, by protecting those paths, declaring them as `org-code' or
`org-verbatim', that is using the markers `=' or `~'; for example:

- check ~/usr/bin/chmod~
- check ~/usr/bin/bla~

Best regards,
  Seb

-- 
Sebastien Vauban




Re: [O] inserting a path string fires the italic formatting

2013-02-06 Thread Olaf Meeuwissen

Sebastien Vauban writes:

 Hi Luca,

 Luca Ferrari wrote:
 this could be trivial, but if I have to place a unix path name into my
 org text, without having a link, how can I prevent the mode to assume
 I'm doing italic formatiing?
 For instance in the text:
- check /usr/bin/chmod
- check /usr/lib/bla

 Suggestions?

 For example, by protecting those paths, declaring them as `org-code' or
 `org-verbatim', that is using the markers `=' or `~'; for example:

 - check ~/usr/bin/chmod~
 - check ~/usr/bin/bla~

Looks like Emacs backup files somewhere in a user's home directory ;-)
-- 
Olaf Meeuwissen, LPIC-2   FLOSS Engineer -- AVASYS CORPORATION
FSF Associate Member #1962   Help support software freedom
 http://www.fsf.org/jf?referrer=1962



Re: [O] inserting a path string fires the italic formatting

2013-02-06 Thread Luca Ferrari
Thanks,
using the = symbol makes it looking less strange that a ~ (for the
backup, home directory, and so on).

Luca

On Wed, Feb 6, 2013 at 2:22 PM, Sebastien Vauban
wxhgmqzgw...@spammotel.com wrote:
 Hi Luca,

 Luca Ferrari wrote:
 this could be trivial, but if I have to place a unix path name into my
 org text, without having a link, how can I prevent the mode to assume
 I'm doing italic formatiing?
 For instance in the text:
- check /usr/bin/chmod
- check /usr/lib/bla

 Suggestions?

 For example, by protecting those paths, declaring them as `org-code' or
 `org-verbatim', that is using the markers `=' or `~'; for example:

 - check ~/usr/bin/chmod~
 - check ~/usr/bin/bla~

 Best regards,
   Seb

 --
 Sebastien Vauban