[Top][All Lists]

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

Re: rendering a string as a new line?

From: Stefan Monnier
Subject: Re: rendering a string as a new line?
Date: Fri, 19 Sep 2003 16:32:56 GMT
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> 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.

> 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.


reply via email to

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