From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jason Dunsmore Subject: Re: [bug] Asterisks in source and example blocks interpreted as headings Date: Wed, 31 Aug 2011 14:52:06 -0500 Message-ID: <87zkip2wbd.fsf@riotblast.dunsmor.com> References: <87zkj9w6tm.fsf@riotblast.dunsmor.com> <87k4adi17s.fsf@gnu.org> <87sjp1w1hv.fsf@riotblast.dunsmor.com> <87zkix62pj.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyqpU-0006Wz-U8 for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 15:52:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QyqpT-0000me-Hj for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 15:52:08 -0400 Received: from deathroller.dunsmor.com ([98.129.169.48]:35238) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QyqpT-0000ma-DX for emacs-orgmode@gnu.org; Wed, 31 Aug 2011 15:52:07 -0400 In-Reply-To: <87zkix62pj.fsf@gnu.org> (Bastien's message of "Thu, 25 Aug 2011 15:27:36 +0200") 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: Org-mode mailing list Bastien writes: > Hi Jason, > > Jason Dunsmore writes: > >> Bastien writes: >> >>> Hi Jason, >>> >>> Jason Dunsmore writes: >>> >>>> I noticed that lines with leading asterisks inside of source and examp= le >>>> blocks are interpreted as headings: >>> >>> The attached patch should fix this -- please confirm. >> >> Hm, I'm still seeing the same issue with both source and example >> blocks. > > Yes -- my patch only took care of not allowing *manually* folding > headlines in selected environments. But those headlines were still > folded when finding an org file with "#+STARTUP: fold" in it. > > In the meantime, is it okay for you to TAB and have the commas > automatically added, as S=C3=A9bastien suggested? Sure, that works. I've turned on `org-src-tab-acts-natively' as Carsten suggested. I also re-enabled `org-edit-src-content-indentation', which was previously set to 0.