emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] begin_src problems


From: Tom Tobin
Subject: Re: [Orgmode] begin_src problems
Date: Mon, 18 May 2009 21:32:56 -0500

On Mon, May 18, 2009 at 7:47 PM, Dan Davison <address@hidden> wrote:
> Tom Tobin <address@hidden> 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
>> <p>foobar</p>
>> #+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).




reply via email to

[Prev in Thread] Current Thread [Next in Thread]