From: Tom Tobin <korpios@korpios.com>
To: emacs-orgmode@gnu.org
Subject: Re: begin_src problems
Date: Mon, 18 May 2009 21:32:56 -0500 [thread overview]
Message-ID: <bf0b20a90905181932l56c479c8i9d6d47d4cd2d64fb@mail.gmail.com> (raw)
In-Reply-To: <87zld9x6j0.fsf@stats.ox.ac.uk>
On Mon, May 18, 2009 at 7:47 PM, Dan Davison <davison@stats.ox.ac.uk> wrote:
> Tom Tobin <korpios@korpios.com> 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).
next prev parent reply other threads:[~2009-05-19 2:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-19 0:23 begin_src problems Tom Tobin
2009-05-19 0:47 ` Dan Davison
2009-05-19 2:32 ` Tom Tobin [this message]
2009-05-19 3:15 ` Dan Davison
2009-05-19 4:55 ` Tom Tobin
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bf0b20a90905181932l56c479c8i9d6d47d4cd2d64fb@mail.gmail.com \
--to=korpios@korpios.com \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.