help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: rendering a string as a new line?


From: Oliver Scholz
Subject: Re: rendering a string as a new line?
Date: Sat, 20 Sep 2003 17:21:22 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (windows-nt)

"Stefan Monnier" <address@hidden> writes:

>> It's more or less a guess. It depends on the actual tag. If it is
>> indeed an XML tag among other XML tags, then it could be hairy to
>> write a CCL program. I believe that you could always--as a last
>> resort--implement a state machine to decode arbitrary tags, using the
>> `branch' statement from CCL, but it would still be hairy. As I said,
>> depending on the actual tag.
>
> You can always use post-conversion functions to use regexps.

Sure, but then why bother to use a coding-system at all?

>> This is all very hypothetical. Now I am curious how those tags
>> actually look like and what the file format in question is.
>
> Given what he said, I'd say that a few good font-lock patterns
> adding a display property should do the trick.
[...]

I agree.

    Oliver
-- 
Jour de la Raison de l'Année 211 de la Révolution
Liberté, Egalité, Fraternité!


reply via email to

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