From: Carsten Dominik <carsten.dominik@gmail.com>
To: Phil Jackson <phil@shellarchive.co.uk>
Cc: emacs-orgmode@gnu.org
Subject: Re: FR: source code
Date: Fri, 18 Jan 2008 09:20:59 +0100 [thread overview]
Message-ID: <5476A1F0-C9C7-480B-A5B3-441CFA9DAF39@gmail.com> (raw)
In-Reply-To: <87tzldh9zs.fsf@shellarchive.co.uk>
On Jan 16, 2008, at 7:59 PM, Phil Jackson wrote:
> Carsten Dominik <carsten.dominik@gmail.com> writes:
>
>> On Jan 8, 2008, at 12:22 PM, Phil Jackson wrote:
>
> [...]
>
>>> is the lack of a method to 'embed' source code into a document ala:
>>>
>>> <src lang="shell-script">
>>> ...
>>> </src>
>
> [...]
>
>> It seems to me that there are really two issues here:
>>
>> 1. Font-locking in the buffer
>> 2. Export
>>
>> I guess one problem is that the stuff in BEGIN_EXAMPLE and similar
>> structures is not protected from font-lock a la org-mode.
>> Maybe this is the main issue you are having Phil?
>>
>> How does Muse behave in your examlple? I don't know Muse too well.
>
> The code isn't actually font-locked in the buffer itself but is syntax
> highlighted upon export (in (x)html anyway). Without actually reading
> the code, I think it just takes the region applies the mode
> specified by
> the 'lang' attribute and then uses htmlize.el on it.
>
> I *personally* still can't decide if this is within org's scope
> though,
> not to say I wouldn't find it very handy.
So then am confused what you initial message was about. The feature
your are asking for is then an exporting feature, right? Maybe you
need to restate what exactly you would like to see.
- Carsten
>
>
> Cheers,
> Phil
> --
> Phil Jackson
> http://www.shellarchive.co.uk
>
>
> _______________________________________________
> 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
next prev parent reply other threads:[~2008-01-18 9:17 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-08 11:22 FR: source code Phil Jackson
2008-01-08 14:03 ` Bastien
[not found] ` <b71b18520801082003h7baccfa9t3a0cf936c07c086a@mail.gmail.com>
2008-01-09 4:04 ` Eddward DeVilla
2008-01-09 17:33 ` Ed Hirgelt
2008-01-09 17:50 ` Russell Adams
2008-01-09 22:21 ` Adam Spiers
2008-01-16 0:36 ` Bastien
2008-01-16 1:21 ` Eddward DeVilla
2008-01-16 1:55 ` Bastien
2008-01-16 2:33 ` Tim Stewart
2008-01-16 12:05 ` Bastien
2008-01-16 16:03 ` Tim Stewart
2008-01-16 16:21 ` Carsten Dominik
2008-01-16 18:59 ` Phil Jackson
2008-01-18 8:20 ` Carsten Dominik [this message]
2008-01-18 9:59 ` Phil Jackson
2008-01-29 16:04 ` Phil Jackson
2008-01-29 18:20 ` Rick Moynihan
2008-01-29 18:32 ` Russell Adams
2008-01-29 18:49 ` Phil Jackson
2008-01-30 7:02 ` Bastien Guerry
2008-01-30 7:17 ` Bastien Guerry
2008-02-05 16:51 ` Carsten Dominik
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=5476A1F0-C9C7-480B-A5B3-441CFA9DAF39@gmail.com \
--to=carsten.dominik@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=phil@shellarchive.co.uk \
/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).