From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tassilo Horn Subject: Re: Re: Is there some kind of verbatim environment for org? Date: Thu, 09 Oct 2008 21:19:30 +0200 Message-ID: <87wsghshj1.fsf@baldur.tsdh.de> References: <87skr6koty.fsf@baldur.tsdh.de> <87wsghj3kh.fsf@kassiopeya.MSHEIMNETZ> <87fxn5n7ki.fsf@baldur.tsdh.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ko1Al-0002g2-Pn for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 15:27:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ko1Ak-0002fq-SQ for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 15:27:43 -0400 Received: from [199.232.76.173] (port=57832 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ko1Ak-0002fk-Oi for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 15:27:42 -0400 Received: from out3.smtp.messagingengine.com ([66.111.4.27]:46538) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ko130-0000n9-Ue for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 15:19:43 -0400 In-Reply-To: (Carsten Dominik's message of "Thu, 9 Oct 2008 18:35:27 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org Carsten Dominik 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