From: Sebastian Rose <sebastian_rose@gmx.de>
To: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Re: Is there some kind of verbatim environment for org?
Date: Thu, 09 Oct 2008 17:51:01 +0200 [thread overview]
Message-ID: <87k5chlqca.fsf@kassiopeya.MSHEIMNETZ> (raw)
In-Reply-To: <87fxn5n7ki.fsf@baldur.tsdh.de> (Tassilo Horn's message of "Thu, 09 Oct 2008 16:53:33 +0200")
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 <tassilo@member.fsf.org> writes:
> Sebastian Rose <sebastian_rose@gmx.de> 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.
> 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
next prev parent reply other threads:[~2008-10-09 15:48 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 [this message]
2008-10-09 16:35 ` Carsten Dominik
2008-10-09 19:19 ` Tassilo Horn
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=87k5chlqca.fsf@kassiopeya.MSHEIMNETZ \
--to=sebastian_rose@gmx.de \
--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).