From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/8242 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: How *not* to highlight Date: 09 Oct 1996 00:23:05 +0200 Organization: The Church of Emacs Sender: abraham@dina.kvl.dk Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1035148435 10940 80.91.224.250 (20 Oct 2002 21:13:55 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 21:13:55 +0000 (UTC) Return-Path: Original-Received: (qmail 2207 invoked from smtpd); 8 Oct 1996 22:36:44 -0000 Original-Received: from ifi.uio.no (0@129.240.64.2) by deanna.miranova.com with SMTP; 8 Oct 1996 22:36:42 -0000 Original-Received: from elc1.dina.kvl.dk (elc1.dina.kvl.dk [130.225.40.228]) by ifi.uio.no with ESMTP (8.6.11/ifi2.4) id for ; Wed, 9 Oct 1996 00:23:09 +0200 Original-Received: from kolmogorov.dina.kvl.dk (kolmogorov.dina.kvl.dk [130.225.40.209]) by elc1.dina.kvl.dk (8.6.12/8.6.4) with ESMTP id XAA05924; Tue, 8 Oct 1996 23:17:33 +0100 Original-Received: (abraham@localhost) by kolmogorov.dina.kvl.dk (8.6.12/8.6.4) id AAA08788; Wed, 9 Oct 1996 00:23:05 +0200 Original-To: ding@ifi.uio.no X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: Juliusz Chroboczek's message of 08 Oct 1996 20:51:47 +0100 Original-Lines: 14 X-Mailer: Red Gnus v0.49/Emacs 19.34 Xref: main.gmane.org gmane.emacs.gnus.general:8242 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:8242 You could use overlays instead of text properties. That way, you could have both highlighting and native characters simultaneously. It would probably be cleaner to do it the other way around, change Gnus to use overlays for highlighting. You'd need some kind of emulation library, as Emacs and XEmacs use different APIs for overlayes. XEmacs use a more general and powerful abstraction called `extents'. It looks like it would be simple to build the overlay API on top of the extent API, but I haven't tried. The other way around would be impossible. No Emacs vs. XEmacs flames, please!