emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jason Dunsmore <jasondunsmore@gmail.com>
To: Bastien <bzg@altern.org>
Cc: Org-mode mailing list <emacs-orgmode@gnu.org>
Subject: Re: [bug] Asterisks in source and example blocks interpreted as headings
Date: Wed, 31 Aug 2011 14:52:06 -0500	[thread overview]
Message-ID: <87zkip2wbd.fsf@riotblast.dunsmor.com> (raw)
In-Reply-To: <87zkix62pj.fsf@gnu.org> (Bastien's message of "Thu, 25 Aug 2011 15:27:36 +0200")

Bastien <bzg@altern.org> writes:

> Hi Jason,
>
> Jason Dunsmore <emacs-orgmode@dunsmor.com> writes:
>
>> Bastien <bzg@altern.org> writes:
>>
>>> Hi Jason,
>>>
>>> Jason Dunsmore <emacs-orgmode@dunsmor.com> writes:
>>>
>>>> I noticed that lines with leading asterisks inside of source and example
>>>> 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ébastien 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.

  parent reply	other threads:[~2011-08-31 19:52 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 18:27 [bug] Asterisks in source and example blocks interpreted as headings Jason Dunsmore
2011-08-16 19:51 ` Bastien
2011-08-16 20:22   ` Jason Dunsmore
2011-08-25 13:27     ` Bastien
2011-08-25 13:31       ` Carsten Dominik
2011-08-31 19:52       ` Jason Dunsmore [this message]
2011-08-17 11:05 ` Daniel Bausch
2011-08-19 12:19   ` Eric Schulte
2011-08-19 19:53     ` Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zkip2wbd.fsf@riotblast.dunsmor.com \
    --to=jasondunsmore@gmail.com \
    --cc=bzg@altern.org \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).