From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: verbatim and apostrophes Date: Tue, 04 Mar 2014 12:07:17 +0100 Message-ID: References: <874n43gpu3.fsf@gmail.com> <87zjlvfao6.fsf@gmail.com> <87fvmy44wt.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60478) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WKnC4-0003Fj-Ib for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 06:07:34 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WKnBy-0002z0-Ns for emacs-orgmode@gnu.org; Tue, 04 Mar 2014 06:07:28 -0500 In-Reply-To: <87fvmy44wt.fsf@bzg.ath.cx> (Bastien's message of "Tue, 04 Mar 2014 10:53:35 +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: Bastien Cc: Nick Dokos , emacs-orgmode@gnu.org Hi Bastien, Bastien writes: > Hi Alan, > > Well, preventing users from shooting them in the foot is part of why > `org-emphasis-regexp-components' is not a custom variable (it used to > be, but that led to lots of confusion.) > > I hope we can get rid of this variable one day or another. I don't see how to do it cleanly without some form of escaping (to allow anything to be quoted), which goes against the "verbatim" idea. A suggestion could be to allow any text inside the markers, except for the marker itself which would need to be escaped. Escaping could take the form of doubling the marker: ~"foo bar"~ --> "foo bar" ~"foo ~~ bar"~ --> "foo ~ bar" As I've not thought this through, I'm pretty sure someone will find a huge flaw in this suggestion. Best, Alan