emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Alekseyev <dnquark@gmail.com>
To: Emacs orgmode <emacs-orgmode@gnu.org>
Subject: Semantics of the colon (can it be considered a general markup element?)
Date: Wed, 8 Feb 2012 17:11:02 -0600	[thread overview]
Message-ID: <CADzxs1nDend+j0F3oimHJjg0zXgvx0q4jzqdNT0RvOoZqykTvQ@mail.gmail.com> (raw)

I started prefixing certain lines with the colon (:) in my org-files,
because it is a convenient way to get "verbatim" behavior.  It has
advantages over markup such as =code= or ~verbatim~ in that it looks
better, can be used with text that spans multiple lines, and actually
ignores org-markup (for instance ~[[foo]]~ in org-mode will still turn
foo into a link, whereas : [[foo]] will render verbatim).

The question that I have is this: is that a legitimate / intended use
of the ":" markup?  I haven't seen it discussed in the docs, and only
found its existence when org-babel results blocks started returning
lines prefixed with ":".  I think having a general lightweight syntax
for verbatim lines is very desirable, and if ":" indeed fits this
role, it should be mentioned in the manual under "markup" (since it is
a logical place to turn to when looking for verbatim/comment
constructs).

--Leo

                 reply	other threads:[~2012-02-08 23:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CADzxs1nDend+j0F3oimHJjg0zXgvx0q4jzqdNT0RvOoZqykTvQ@mail.gmail.com \
    --to=dnquark@gmail.com \
    --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).