emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-orgmode@gnu.org
Subject: Re: How to disable description lists?
Date: Sun, 29 May 2011 10:31:44 -0400	[thread overview]
Message-ID: <87zkm5pohb.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 20110529133530.GA9007@gmail.com

Markus Berlin <ecce.berlin@googlemail.com> writes:

> * Jambunathan K <kjambunathan@gmail.com> [29.05.2011 15:20]:
>> >
>> > is there a simple way to disable the description list syntax in a
>> > document?  That is, how can I prevent emacs from interpreting '::' as
>> > a description list separator (in a given document)?
>> >
>> 
>> Put your code within babel block. I believe it shouldn't happen
>> then. Are just turn off orgmode.
>> 
>> #+begin_src <whatever>
>>             <text goes here> 
>> #+end_src
>> 
>
> Yes, I do that whenever I have block-level code. But often I want to
> use inline '::' notation in normal org-mode lists, something like:
>
> ,----
> ! - a type is a collection of related values
> ! - notation: ~v :: T~, "v is a value in the type T", "v has type T"
> `----

If you use the code markup (which might be desirable anyway, if you're
mixing code and regular text), org mode should not interpret anything
inside that markup as org text. So:

- notation: =~v :: T~=, "v is a value........

Ought to work.

Eric

  reply	other threads:[~2011-05-29 14:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-29 12:39 How to disable description lists? Markus Berlin
2011-05-29 13:20 ` Jambunathan K
2011-05-29 13:35   ` Markus Berlin
2011-05-29 14:31     ` Eric Abrahamsen [this message]
2011-05-29 18:44       ` Markus Berlin
2011-05-29 19:31 ` Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkm5pohb.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).