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 17:41:57 +0200 Message-ID: <87bpxtn5bu.fsf@baldur.tsdh.de> References: <87skr6koty.fsf@baldur.tsdh.de> <87wsghj3kh.fsf@kassiopeya.MSHEIMNETZ> <87fxn5n7ki.fsf@baldur.tsdh.de> <87zlldztwf.fsf@gmail.com> 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 1KnxeM-0001gA-T2 for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:42:02 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KnxeM-0001fl-98 for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:42:02 -0400 Received: from [199.232.76.173] (port=56788 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KnxeL-0001fg-Ui for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:42:01 -0400 Received: from deliver.uni-koblenz.de ([141.26.64.15]:12707) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KnxeL-0003YC-BP for emacs-orgmode@gnu.org; Thu, 09 Oct 2008 11:42:01 -0400 In-Reply-To: <87zlldztwf.fsf@gmail.com> (Eric Schulte's message of "Thu, 09 Oct 2008 08:10:24 -0700") 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: Eric Schulte Cc: emacs-orgmode@gnu.org "Eric Schulte" 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