From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Tobin Subject: Re: begin_src problems Date: Mon, 18 May 2009 21:32:56 -0500 Message-ID: References: <87zld9x6j0.fsf@stats.ox.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M6F8W-0002mZ-RI for emacs-orgmode@gnu.org; Mon, 18 May 2009 22:33:00 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M6F8V-0002mL-C9 for emacs-orgmode@gnu.org; Mon, 18 May 2009 22:33:00 -0400 Received: from [199.232.76.173] (port=59416 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M6F8V-0002mI-66 for emacs-orgmode@gnu.org; Mon, 18 May 2009 22:32:59 -0400 Received: from ey-out-1920.google.com ([74.125.78.147]:57684) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M6F8U-0001Lq-Cw for emacs-orgmode@gnu.org; Mon, 18 May 2009 22:32:58 -0400 Received: by ey-out-1920.google.com with SMTP id 13so847922eye.24 for ; Mon, 18 May 2009 19:32:56 -0700 (PDT) In-Reply-To: <87zld9x6j0.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 7:47 PM, Dan Davison wrote: > Tom Tobin writes: >> I'm having some issues using #+BEGIN_SRC; doing the following doesn't >> seem to use the org-code face, and doesn't seem to work correctly with >> "C-c i": > > C-c i is undefined with my setup. Did you mean C-c '? Yeah, sorry; I meant C-c '. >> #+BEGIN_SRC html-mode >>

foobar

>> #+END_SRC > > I think you want #+BEGIN_SRC html. Then it works for me. Hmm ... C-c ' now works only if the block is flush with the left margin. Is this intentional? Org-mode tries to align it with the header it falls under, which seems "right" to me. The block still doesn't get the org-code face either way (although the "#+BEGIN_SRC html" and "#+END_SRC" gets their own face if the block is against the left margin).