emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Is there some kind of verbatim environment for org?
Date: Thu, 09 Oct 2008 17:41:57 +0200	[thread overview]
Message-ID: <87bpxtn5bu.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <87zlldztwf.fsf@gmail.com> (Eric Schulte's message of "Thu, 09 Oct 2008 08:10:24 -0700")

"Eric Schulte" <schulte.eric@gmail.com> writes:

Hi Eric,

>> While I can live with TAB freaking out (Hey, `C-c '' switches to
>> artist mode. Yay!), the broken font-locking is disturbing me.  Is it
>> possible to fontify everything in #+BEGIN...#+END blocks with some
>> special face which takes precedence over the usual org font-locking?
>
> Are you aware of the other option for verbatim escapes? (every line
> starts with a ":")

No, thanks for mentioning that.

> I does do a minor font locking,

Nice.  That's `org-code' face.  So why not use that face for things in
#+BEGIN...#+END blocks, too?

> and (I believe) should fix your tab woes.

No, but that's no problem if `C-c '' does the right thing.

> Also, you can use C-c' in this area, and it will take you to special
> edit buffer.

Here, it prompts me for a file.  That's because `org-edit-special' calls
`ffap' if it doesn't know what to do.  Is that different in your
version?

Anyway, I thinks the #+BEGIN_SRC constructs are better, because then the
correct mode is switched on automatically.

> :                          +-----+             (Abb. 23b)
> :  ENABLE------------------|  &  |
> :        +-----+           |     |
> :        | >=1 |     +-----|     |---RUN
> :        |     |     |     |     |
> :  X-----|     |-----+     +-----+
> :  Y-----|     |
> :  RUN---|     |
> :        +-----+

So in summary I think I would be completely happy if #+BEGIN_SRC
constructs (or maybe all #+BEGIN_FOO constructs) would fontify their
contents with the `org-code' face.

Bye,
Tassilo

  reply	other threads:[~2008-10-09 15:42 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-09 11:08 Is there some kind of verbatim environment for org? Tassilo Horn
2008-10-09 13:33 ` Sebastian Rose
2008-10-09 14:53   ` Tassilo Horn
2008-10-09 15:10     ` Eric Schulte
2008-10-09 15:41       ` Tassilo Horn [this message]
2008-10-09 16:21         ` Eric Schulte
2008-10-09 19:22           ` Tassilo Horn
2008-10-09 20:08             ` Eric Schulte
2008-10-09 22:15               ` Sebastian Rose
2008-10-10  6:57               ` Tassilo Horn
2008-10-09 15:51     ` Sebastian Rose
2008-10-09 16:35     ` Carsten Dominik
2008-10-09 19:19       ` Tassilo Horn

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=87bpxtn5bu.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \
    /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).