From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tobin Subject: Re: begin_src problems Date: Mon, 18 May 2009 23:55:28 -0500 Message-ID: References: <87zld9x6j0.fsf@stats.ox.ac.uk> <87pre5wzo8.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6HMV-0005n3-8h for emacs-orgmode@gnu.org; Tue, 19 May 2009 00:55:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6HMP-0005mr-KK for emacs-orgmode@gnu.org; Tue, 19 May 2009 00:55:33 -0400 Received: from [199.232.76.173] (port=51313 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6HMP-0005mo-Gf for emacs-orgmode@gnu.org; Tue, 19 May 2009 00:55:29 -0400 Received: from mail-ew0-f162.google.com ([209.85.219.162]:59187) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6HMP-000153-42 for emacs-orgmode@gnu.org; Tue, 19 May 2009 00:55:29 -0400 Received: by ewy6 with SMTP id 6so4727696ewy.42 for ; Mon, 18 May 2009 21:55:28 -0700 (PDT) In-Reply-To: <87pre5wzo8.fsf@stats.ox.ac.uk> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org On Mon, May 18, 2009 at 10:15 PM, Dan Davison wrot= e: > Tom Tobin writes: >> Hmm ... C-c ' now works only if the block is flush with the left >> margin. =C2=A0Is this intentional? > > Yes, it's intentional. The # has to be the first character on the > line. It's the same with the other org syntax which starts #+. Ahh, that explains it. It looks kind of odd not indented like the rest of the content under a header, which is probably what threw me off. >> Org-mode tries to align it with the >> header it falls under, which seems "right" to me. =C2=A0The block still >> doesn't get the org-code face either way (although the "#+BEGIN_SRC > > Not quite sure what you mean by 'org-code' face. The source code gets > fontified, in a different buffer, when you hit C-c ' (fontification is > according to the language major mode specified in the header, > i.e. html-mode in your example). Does this happen for you? The code in > the original org buffer never gets fontified according to language. It > used to be the case that nothing much happened to it, but if you are > using bleeding-edge org from today's commits then it is subject to some > different magic. Yes, that happens for me (now that I have it left-flushed); I think my expectation was that the lines between the #+ lines would become light gray, like lines starting with ": " (colon-space) do (by default, anyway). Thanks, though!