From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: Re: Is there some kind of verbatim environment for org? Date: Thu, 09 Oct 2008 17:51:01 +0200 Message-ID: <87k5chlqca.fsf@kassiopeya.MSHEIMNETZ> 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 1Knxkx-0004bb-AU for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:48:51 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Knxkv-0004b9-TR for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:48:51 -0400 Received: from [199.232.76.173] (port=40394 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Knxkv-0004b6-Ja for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:48:49 -0400 Received: from mail.gmx.net ([213.165.64.20]:54809) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Knxkv-000595-08 for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:48:49 -0400 In-Reply-To: <87fxn5n7ki.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Thu, 09 Oct 2008 16:53:33 +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: emacs-orgmode Mailinglist Hi Tassilo, is this true for regions created using C-c ' ??? There is no #+BEGIN_SRC then and it works perfectly fine here. Just create the region using C-c ' artist-mode is on automatically in the indirect buffer for editing the region. Regards, Sebastian Tassilo Horn writes: > Sebastian Rose writes: > > Hi Sebastian, > >> with a current version of Org-mode you may press C-c ' to create such >> a region or edit an existing one. Not shure when this feature made it >> into org. But 6.09 has this feature. > > Here it is: > > ,----[ C-h k C-c ' ] > | C-c ' runs the command org-edit-special, which is an interactive compiled Lisp > | function in `org.el'. > | > | It is bound to C-c ', , > | . > | > | (org-edit-special) > | > | Call a special editor for the stuff at point. > | When at a table, call the formula editor with `org-table-edit-formulas'. > | When at the first line of an src example, call `org-edit-src-code'. > | When in an #+include line, visit the include file. Otherwise call > | `ffap' to visit the file at point. > `---- > > 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 > +-----+ (Abb. 23b) > ENABLE------------------| & | > +-----+ | | > | >=1 | +-----| |---RUN > | | | | | > X-----| |-----+ +-----+ > Y-----| | > RUN---| | > +-----+ > #+END_SRC > > If I hit `C-c '' in that block, it'll open the graphic in artist mode. > That's great, but still the graphic is font-locked like in the > screenshot of my previous posting, because org thinks it's a table. > > And TAB in the first line moves point one line up and messages "Should > not happen...". On other positions in the block, it indents like in > text-mode, and on even other positions it acts like in org tables (Jump > to the next "cell"). > > 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? > > Bye, > Tassilo > > > > _______________________________________________ > 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 > -- Sebastian Rose, EMMA STIL - mediendesign, Niemeyerstr.6, 30449 Hannover Tel.: +49 (0)511 - 36 58 472 Fax: +49 (0)1805 - 233633 - 11044 mobil: +49 (0)173 - 83 93 417 Email: s.rose@emma-stil.de, sebastian_rose@gmx.de Http: www.emma-stil.de