From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Schulte Subject: Re: [bug] Asterisks in source and example blocks interpreted as headings Date: Fri, 19 Aug 2011 06:19:43 -0600 Message-ID: <871uwhphv0.fsf@gmail.com> References: <87zkj9w6tm.fsf@riotblast.dunsmor.com> <201108171305.20244.DanielBausch@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuQXr-0007Ct-MW for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 10:59:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QuQXq-0005wr-Am for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 10:59:39 -0400 Received: from mail-gx0-f169.google.com ([209.85.161.169]:58333) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QuQXq-0005wa-8G for emacs-orgmode@gnu.org; Fri, 19 Aug 2011 10:59:38 -0400 Received: by gxk23 with SMTP id 23so2457264gxk.0 for ; Fri, 19 Aug 2011 07:59:36 -0700 (PDT) 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: Daniel Bausch Cc: emacs-orgmode@gnu.org Using org-edit-special bound to C-c ' to edit the contents of source or example blocks will inserted the leading ","s automatically when they are required. Best -- Eric Daniel Bausch writes: > Hi, > > AFAIK that is exactly the case, for which the "," rule is for. > Just put a "," in front of the offending line and everything will be fine. > On export the "," is removed. > > best regards, > Daniel > > Am Dienstag 16 August 2011, 20:27:01 schrieb Jason Dunsmore: >> Hello, >> >> I noticed that lines with leading asterisks inside of source and example >> blocks are interpreted as headings: >> >> --8<---------------cut here---------------start------------->8--- >> * Heading 1 >> >> #+begin_example >> foo >> * bar >> blah >> #+end_example >> >> * Heading 2 >> --8<---------------cut here---------------end--------------->8--- >> >> If you put the point on "Heading 1" and hit TAB, you'll see the >> following: >> >> --8<---------------cut here---------------start------------->8--- >> * Heading 1... >> * bar >> blah >> #+end_example >> >> * Heading 2 >> --8<---------------cut here---------------end--------------->8--- >> >> I'm using GNU Emacs 23.2.1 and Org-mode version 7.7 >> (release_7.7.97.g9d5c5) >> >> Regards, >> Jason > > > -- Eric Schulte http://cs.unm.edu/~eschulte/