From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Charles C. Berry" Subject: Re: [PATCH} Re: inline code block problem; first attempt Date: Thu, 9 Jun 2016 09:04:41 -0700 Message-ID: References: <87y46fy1d1.fsf@ucl.ac.uk> <87y46efv2l.fsf@saiph.selenimh> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37229) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB2Rt-0008Od-C4 for emacs-orgmode@gnu.org; Thu, 09 Jun 2016 12:04:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB2Ro-0006oc-Ao for emacs-orgmode@gnu.org; Thu, 09 Jun 2016 12:04:49 -0400 Received: from iport-bcv3-out.ucsd.edu ([132.239.0.89]:32502) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB2Ro-0006no-2C for emacs-orgmode@gnu.org; Thu, 09 Jun 2016 12:04:44 -0400 In-Reply-To: <87y46efv2l.fsf@saiph.selenimh> 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" To: Nicolas Goaziou Cc: Charles Millar , "emacs-orgmode@gnu.org" On Thu, 9 Jun 2016, Nicolas Goaziou wrote: > Hello, > > "Charles C. Berry" writes: > >> Patch atteched. >> >> Replaced ']' with '{' in the regex `header' group. >> >> Comments? > > Thank you for the patch. This is better than what we have now. However, > I don't think this is the way to go. > > Forbidding "{" is already a minor annoyance, but porting the same logic > to `org-element-inline-babel-call-parser', which suffers from the same > bug, means forbidding "(" ; this is a major one. > > I'd rather do the same as the body part and allow "[" (and "{" > obviously), as long as they are paired. This is less restrictive, IMO, > even acceptable in the case of "(". > Agreed. > I also started a fix along those lines yesterday but didn't get time to > finish it yet. > > WDYT? Sounds good. Chuck