[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Re: Is there some kind of verbatim environment for org?
From: |
Tassilo Horn |
Subject: |
Re: [Orgmode] Re: Is there some kind of verbatim environment for org? |
Date: |
Thu, 09 Oct 2008 21:19:30 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
Carsten Dominik <address@hidden> writes:
Hi Carsten,
> On Oct 9, 2008, at 4:53 PM, Tassilo Horn wrote:
>> I guess, that's what you mean. But at least in my version, that's no
>> too big improvement. Let's say I have this:
>>
>> #+BEGIN_SRC artist
>
> artist-mode is a minor mode, the BEGIN_SRC construct is meant for
> major modes.
Ah, right. Artist-mode is indeed a minor mode, but as soon as you
toggle it on, the current major mode will be switched to picture-mode as
well. So "#+BEGIN_SRC artist" enables picture-mode with artist-mode as
minor mode, which works just beautiful.
> The right solution for drawings like this is, as many people pointed
> out, a section of lines starting with ":".
I still get some font-locking weirdnesses. Here's an example:
: +-----+ (Abb. 23a)
: ENABLE------------------| & |
: +-----+ | |
: | >=1 | +-----| |---RUN-+
: | | | | | |
: X-----| |-----+ +-----+ |
: Y-----| | |
: +---| | |
: | +-----+ |
: | |
: +-----------------------------------+
The empty char (the linebreak char) behind the last | in line 8 is
striked through, and everything in line 9 up to the second + is striked
through. The last line has the same problem.
I can reproduce that with:
1. Put the graphic into foo.org as posted above
2. emacs -Q
3. C-x C-f foo.org
Bye,
Tassilo
- [Orgmode] Re: Is there some kind of verbatim environment for org?, (continued)
- [Orgmode] Re: Is there some kind of verbatim environment for org?, Tassilo Horn, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Eric Schulte, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Tassilo Horn, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Eric Schulte, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Tassilo Horn, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Eric Schulte, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Sebastian Rose, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Tassilo Horn, 2008/10/10
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Sebastian Rose, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?, Carsten Dominik, 2008/10/09
- Re: [Orgmode] Re: Is there some kind of verbatim environment for org?,
Tassilo Horn <=