emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Eric Schulte" <schulte.eric@gmail.com>
To: Deric Bytes <dericbytes@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: font-lock form BEGIN_SRC
Date: Thu, 26 Mar 2009 12:03:26 -0700	[thread overview]
Message-ID: <87ocvof6o1.fsf@gmail.com> (raw)
In-Reply-To: <59b700510903261158p17afe119ie83b78916bd92be2@mail.gmail.com> (Deric Bytes's message of "Thu, 26 Mar 2009 18:58:34 +0000")

Hi Deric,

This is possible with MuMAMo, see the following link for Details.
Unfortunately it is not very stable, and in my experience leads to
problems with folding/unfolding of outline levels.

http://www.mail-archive.com/emacs-orgmode@gnu.org/msg08069.html

The Author/Maintainer of MuMaMo is reworking some of the core buffer
subdivision stuff, so it is possible that this could improve in the near
future.

As an interim solution you can also try \C-c' from inside the src block.

Best -- Eric

Deric Bytes <dericbytes@gmail.com> writes:

> Hi I would like the text in BEGIN_SRC to display the colour and
> tab-indentation of the appropriate emacs-mode whilst viewing the org
> file. I would also like to be able to hide the markup tag BEGIN_SRC.
>
>
>   #+BEGIN_SRC emacs-lisp
>      (defun org-xor (a b)
>         "Exclusive or."
>         (if a (not b) b))
>      #+END_SRC
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the list.
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode

      reply	other threads:[~2009-03-26 19:03 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-26 18:58 font-lock form BEGIN_SRC Deric Bytes
2009-03-26 19:03 ` Eric Schulte [this message]

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=87ocvof6o1.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --cc=dericbytes@gmail.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 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).