From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcin Borkowski Subject: Re: Some projects Date: Sun, 25 Oct 2015 19:13:14 +0100 Message-ID: <87a8r6zuit.fsf@mbork.pl> References: <87wpub9jts.fsf@nicolasgoaziou.fr> <87eggjar5u.fsf@ucl.ac.uk> <87io5uzzv6.fsf@mbork.pl> <87io5uewfm.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38832) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqPnP-0006Md-D3 for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 14:13:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqPnL-0006Sk-Bu for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 14:13:31 -0400 Received: from mail.mojserwer.eu ([2a01:5e00:2:52::8]:39303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqPnL-0006Rv-5K for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 14:13:27 -0400 In-reply-to: <87io5uewfm.fsf@nicolasgoaziou.fr> 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: Nicolas Goaziou Cc: Org Mode List On 2015-10-25, at 17:37, Nicolas Goaziou wrote: > Marcin Borkowski writes: > >> Since your point is quite valid - and OTOH, I would like to put anything >> (or almost anything) in =code= markup, for instance (my use case: Emacs >> keybindings, try =C-x ,= - Org won't recognize it as code!). I could >> mess up with org-emphasis-regexp-components in e.g. file local >> variables, but this is far from clean. > > I cannot think of any bad consequence if we tailor "border" in > `org-emphasis-regexp-components' to allow everything but white spaces. I don't know, I guess I would welcome such change! >> Maybe a good solution would be to allow two syntaxes for markup: >> "short", like *bold* or =code=, and "long", like \textbf{bold} and >> \verb|code|. If it is decided that such LaTeX-like syntax is fine, we >> could only introduce escaping of backslash and curly braces, which seems >> a decent compromise. > > I don't think LaTeX-like syntax is good. It doesn't belong to > lightweight markup. Besides, Org already supports LaTeX macros so it > would probably be ambiguous. I see. It was only a proposal. Another possibility could be XML's ... . Or maybe the whole idea of short and long syntax is bad. But I'm afraid that if we want "lightweight markup", we might get "impossible to mark up certain strings" (like Emacs keystrokes, which are sometimes rather weird, like =C-x ,= - which is unbound by default, but possible to use). > I suggest to keep as close as possible to the existing markup. > > Regards, Best, -- Marcin Borkowski http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski Faculty of Mathematics and Computer Science Adam Mickiewicz University