From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Alekseyev Subject: Re: org-mode code / verbatim delimiters don't work with quotation marks Date: Mon, 20 Feb 2012 13:47:19 -0500 Message-ID: References: <1329760064.41667.YahooMailNeo@web161903.mail.bf1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43065) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzYGf-0005zE-Ly for emacs-orgmode@gnu.org; Mon, 20 Feb 2012 13:47:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzYGe-00065F-IY for emacs-orgmode@gnu.org; Mon, 20 Feb 2012 13:47:21 -0500 Received: from mail-pz0-f41.google.com ([209.85.210.41]:41078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzYGe-000657-9x for emacs-orgmode@gnu.org; Mon, 20 Feb 2012 13:47:20 -0500 Received: by dadv6 with SMTP id v6so6320460dad.0 for ; Mon, 20 Feb 2012 10:47:19 -0800 (PST) In-Reply-To: <1329760064.41667.YahooMailNeo@web161903.mail.bf1.yahoo.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Michael Hannon Cc: Emacs orgmode 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 =3D[[foo]]=3D should _not_ undergo further parsing / be interpreted as links. Same goes for quotes, or virtually anything. =3D signs should be allowed provided they are escaped in the usual manner (=3D\=3D=3D). The current behavior is very unsatisfactory. On Mon, Feb 20, 2012 at 12:47 PM, Michael Hannon wrot= e: >> I noticed that strings like =3D'foo'=3D or =3Ddi"=3D don't get recognize= d by org as >> code, which is somewhat unfortunate because it forces me to edit exporte= d >> HTML by hand.=A0 Are there any workarounds for this behavior? > > Hi, Leo.=A0 You might try inserting a null character before and after the > quotation marks, as: > > =A0=A0=A0=A0=A0=A0=A0 =3D^@'foo'^@=3D > > where: > > =A0=A0=A0=A0=A0=A0=A0 ^@ > > means CTRL-@, in the usual, text-based notation. > > -- Mike