From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [new exporter] 2 questions Date: Sun, 24 Feb 2013 10:09:39 +0100 Message-ID: <87vc9iyt64.fsf@gmail.com> References: <87sj4ogr4b.fsf@bye.fritz.box> <87liagjhlm.fsf@gmail.com> <87fw0oxhon.fsf@bye.fritz.box> <87hal4jfuf.fsf@gmail.com> <87a9qwni43.fsf@Rainer.invalid> <87ppzr5ms9.fsf@bzg.ath.cx> <877glzi9or.fsf@gmail.com> <87obfbw7kj.fsf@Rainer.invalid> <874nh3jjg4.fsf@gmail.com> <87fw0nw597.fsf@Rainer.invalid> <87vc9ji24x.fsf@gmail.com> <87txp3ugxt.fsf@Rainer.invalid> <8738wnhqug.fsf@gmail.com> <87ppzqvpq5.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:60071) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Xan-0001Ta-Bm for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 04:09:58 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U9Xak-0001NE-1k for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 04:09:57 -0500 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:47570) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U9Xaj-0001N7-Qt for emacs-orgmode@gnu.org; Sun, 24 Feb 2013 04:09:53 -0500 Received: by mail-wg0-f42.google.com with SMTP id 12so2549749wgh.3 for ; Sun, 24 Feb 2013 01:09:53 -0800 (PST) In-Reply-To: <87ppzqvpq5.fsf@Rainer.invalid> (Achim Gratz's message of "Sat, 23 Feb 2013 19:40:02 +0100") 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: Achim Gratz Cc: emacs-orgmode@gnu.org Achim Gratz writes: > Nicolas Goaziou writes: >> True, that's why there's also inline \[...\]. But you have to accept >> paragraph limitations (no empty line, do not start a line with list >> markers...). > > Now, given that difference and the fact that these things can span > over multiple lines and thus include the beginning of line (which > creates the contention between different tiers of org-element's > parsing hierarchy), Note that filling/auto-filling will never put you in this situation, since Org has a protection mechanism. IOW, if you end up with a list marker at the beginning of a line, it's your fault. > let me ask one more time if it would be possible to escape the beginning > of line (most likely and the obvious choices given Org's history would > be ":" or ",") in a general fashion Be careful here. ": " at a beginning of a line defines a fixed-width area. It is an element and, therefore, would have precedence over your math snippet. In this case, fontification will warn you. Adding comma escaping in an object would be complicated because of filling. It would also add even more problems. So, no, there needn't be a protection mechanism in inline math snippets. Also, let me remind you that, LaTeX-wise, "-2" is equivalent to "- 2". So, you can avoid that list marker problem pretty easily. Regards, -- Nicolas Goaziou