emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Leo Alekseyev <dnquark@gmail.com>
To: Michael Hannon <jm_hannon@yahoo.com>
Cc: Emacs orgmode <emacs-orgmode@gnu.org>
Subject: Re: org-mode code / verbatim delimiters don't work with quotation marks
Date: Mon, 20 Feb 2012 13:47:19 -0500	[thread overview]
Message-ID: <CADzxs1=c2MM8bpfTgJsDs5CoD4YgL_yZM7Vsc7PAFC0qeQo_GA@mail.gmail.com> (raw)
In-Reply-To: <1329760064.41667.YahooMailNeo@web161903.mail.bf1.yahoo.com>

Null character /sort of/ works: it makes org-mode insert the code
delimiters on export, but the presence of null characters breaks
export down the road, at least in my case.  This time, I could
intercept the exported text and remove the null characters by hand,
but it might not always be the case.

What org really needs is a stronger verbatim quoting construct.  In a
lot of cases, you just want your text to be displayed verbatim, with
no interpretation, period.  Near as I can see, there's nothing in org
that can currently do this -- please correct me if I'm wrong.  For
instance, things like =[[foo]]= should _not_ undergo further parsing /
be interpreted as links.  Same goes for quotes, or virtually anything.
 = signs should be allowed provided they are escaped in the usual
manner (=\==).  The current behavior is very unsatisfactory.

On Mon, Feb 20, 2012 at 12:47 PM, Michael Hannon <jm_hannon@yahoo.com> wrote:
>> I noticed that strings like ='foo'= or =di"= don't get recognized by org as
>> code, which is somewhat unfortunate because it forces me to edit exported
>> HTML by hand.  Are there any workarounds for this behavior?
>
> Hi, Leo.  You might try inserting a null character before and after the
> quotation marks, as:
>
>         =^@'foo'^@=
>
> where:
>
>         ^@
>
> means CTRL-@, in the usual, text-based notation.
>
> -- Mike

  reply	other threads:[~2012-02-20 18:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-20 13:30 org-mode code / verbatim delimiters don't work with quotation marks Leo Alekseyev
2012-02-20 17:47 ` Michael Hannon
2012-02-20 18:47   ` Leo Alekseyev [this message]
2012-02-20 17:54 ` Viktor Rosenfeld

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='CADzxs1=c2MM8bpfTgJsDs5CoD4YgL_yZM7Vsc7PAFC0qeQo_GA@mail.gmail.com' \
    --to=dnquark@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=jm_hannon@yahoo.com \
    /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).