[Top][All Lists]

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

Re: enriched-mode and switching major modes.

From: Kim F. Storm
Subject: Re: enriched-mode and switching major modes.
Date: Mon, 20 Sep 2004 13:47:23 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Oliver Scholz <address@hidden> writes:

> Consider this HTML fragment:
> <h1>Some <i>meaningless</i> heading</h1>
> When encoding a buffer, I need to identify the whole paragraph as
> being of the type "h1".  I.e. I have to distinguish it from:

Maybe we can get some of the way with Emacs' category text properties?!

In this case, you could put a 'category 'H1 text property on the heading.

Kim F. Storm <address@hidden> http://www.cua.dk

reply via email to

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