From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16623 Path: main.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: article highlighting in pgnus-0.13 Date: 02 Sep 1998 18:21:11 +0200 Sender: owner-ding@hpc.uh.edu 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 1035155466 28967 80.91.224.250 (20 Oct 2002 23:11:06 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:11:06 +0000 (UTC) Return-Path: Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA12393 for ; Wed, 2 Sep 1998 12:46:47 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (sina.hpc.uh.edu [129.7.3.5]) by gizmo.hpc.uh.edu (8.7.6/8.7.3) with ESMTP id LAF01509; Wed, 2 Sep 1998 11:16:13 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Sep 1998 11:43:38 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id LAA03591 for ; Wed, 2 Sep 1998 11:43:27 -0500 (CDT) Original-Received: from sparky.gnus.org (ppp092.uio.no [129.240.240.97]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id MAA12316 for ; Wed, 2 Sep 1998 12:42:40 -0400 (EDT) Original-Received: (from larsi@localhost) by sparky.gnus.org (8.8.5/8.8.5) id SAA04525; Wed, 2 Sep 1998 18:45:08 +0200 Mail-Copies-To: never X-Now-Reading: Jack Dann (ed.)'s _Nova Awards 32_ Original-To: ding@gnus.org In-Reply-To: Michael Welsh Duggan's message of "Wed, 02 Sep 1998 15:52:11 GMT" X-Mailer: Pterodactyl Gnus v0.14/Emacs 20.3 X-Face: &w!^oO~dS|}-P0~ge{$c!h\ writes: > Maybe. You would have to use markers, since you don't know how many > characters the text is going to expand into. I can have a go at > writing something. (It will be a good opportunity to see if markers > survive `decode-coding-region', since text properties don't.) I would be surprised if markers survived. If they are, that could be exploited. A different approach would be to save all the text in the region (in a string or a temp buffer), encode the region, and then compare the saved region with what you have, and copy the text props over where matches are made. Or something. Do you want to take a whack at either approaches? I'd be muchu grateful. In fact, if something like this were available, I'd submit it to RMS for inclusion in Emacs 20.4. `save-text-properties-encode-coding-region'? :-) -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen