emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* inserting a path string fires the italic formatting
@ 2013-02-06 12:19 Luca Ferrari
  2013-02-06 13:22 ` Sebastien Vauban
  0 siblings, 1 reply; 4+ messages in thread
From: Luca Ferrari @ 2013-02-06 12:19 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: inserting a path string fires the italic formatting
  2013-02-06 12:19 inserting a path string fires the italic formatting Luca Ferrari
@ 2013-02-06 13:22 ` Sebastien Vauban
  2013-02-06 22:56   ` Olaf Meeuwissen
  2013-02-07  7:25   ` Luca Ferrari
  0 siblings, 2 replies; 4+ messages in thread
From: Sebastien Vauban @ 2013-02-06 13:22 UTC (permalink / raw)
  To: emacs-orgmode-mXXj517/zsQ

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: inserting a path string fires the italic formatting
  2013-02-06 13:22 ` Sebastien Vauban
@ 2013-02-06 22:56   ` Olaf Meeuwissen
  2013-02-07  7:25   ` Luca Ferrari
  1 sibling, 0 replies; 4+ messages in thread
From: Olaf Meeuwissen @ 2013-02-06 22:56 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: emacs-orgmode


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: inserting a path string fires the italic formatting
  2013-02-06 13:22 ` Sebastien Vauban
  2013-02-06 22:56   ` Olaf Meeuwissen
@ 2013-02-07  7:25   ` Luca Ferrari
  1 sibling, 0 replies; 4+ messages in thread
From: Luca Ferrari @ 2013-02-07  7:25 UTC (permalink / raw)
  To: Sebastien Vauban; +Cc: emacs-orgmode

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
<wxhgmqzgwmuf@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
>
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-02-07  7:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-02-06 12:19 inserting a path string fires the italic formatting Luca Ferrari
2013-02-06 13:22 ` Sebastien Vauban
2013-02-06 22:56   ` Olaf Meeuwissen
2013-02-07  7:25   ` Luca Ferrari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).