emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Tassilo Horn <tassilo@member.fsf.org>
To: Carsten Dominik <dominik@uva.nl>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Is there some kind of verbatim environment for org?
Date: Thu, 09 Oct 2008 21:19:30 +0200	[thread overview]
Message-ID: <87wsghshj1.fsf@baldur.tsdh.de> (raw)
In-Reply-To: <AD122466-56FA-4BB9-BB26-05F5F2A23492@uva.nl> (Carsten Dominik's message of "Thu, 9 Oct 2008 18:35:27 +0200")

Carsten Dominik <dominik@uva.nl> 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

      reply	other threads:[~2008-10-09 19:27 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
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 [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=87wsghshj1.fsf@baldur.tsdh.de \
    --to=tassilo@member.fsf.org \
    --cc=dominik@uva.nl \
    --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).