* font locking messages
@ 2005-08-05 16:06 Sebastian Luque
2006-04-14 6:56 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Sebastian Luque @ 2005-08-05 16:06 UTC (permalink / raw)
Hello,
Messages in some groups I read contain lots of code in a language typical
of that group. Searching for a way to font-lock messages in these groups
according to a designated mode, I only found one reference from two years
ago where it was concluded such functionality was not available. Have
there been any changes since then?
Thanks in advance,
--
Sebastian P. Luque
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: font locking messages
2005-08-05 16:06 font locking messages Sebastian Luque
@ 2006-04-14 6:56 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 2006-04-14 6:56 UTC (permalink / raw)
Sebastian Luque <spluque@gmail.com> writes:
> Messages in some groups I read contain lots of code in a language typical
> of that group. Searching for a way to font-lock messages in these groups
> according to a designated mode, I only found one reference from two years
> ago where it was concluded such functionality was not available. Have
> there been any changes since then?
Not that I know of, but I don't know of much.
Someone would have to write a computer language guessing library that
could be applied to arbitrary text that would say "this section is
language X and this section is language Y". It doesn't sound trivial
to make. I mean, guessing that a buffer contains, say, PHP isn't very
difficult, but saying that "the PHP begins here and stops here, and
this isn't code" might be more difficult.
Perhaps.
I think it sounds like an interesting problem, though.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-14 6:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-08-05 16:06 font locking messages Sebastian Luque
2006-04-14 6:56 ` Lars Magne Ingebrigtsen
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 NNTP newsgroup(s).