emacs-orgmode
[Top][All Lists]
Advanced

[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: Sebastian Rose
Subject: Re: [Orgmode] Re: Is there some kind of verbatim environment for org?
Date: Thu, 09 Oct 2008 17:51:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

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 <address@hidden> writes:
> Sebastian Rose <address@hidden> 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 ', <menu-bar> <Org> <Editing> <Edit Source Example>,
> | <menu-bar> <Tbl> <Calculate> <Edit Formulas>.
> | 
> | (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.
> address@hidden
> 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: address@hidden, address@hidden
Http:  www.emma-stil.de




reply via email to

[Prev in Thread] Current Thread [Next in Thread]