From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16617 Path: main.gmane.org!not-for-mail From: Michael Welsh Duggan Newsgroups: gmane.emacs.gnus.general Subject: Re: article highlighting in pgnus-0.13 Date: Wed, 02 Sep 1998 15:52:11 GMT Organization: Carnegie Mellon University : KANTOO Project 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 1035155461 28914 80.91.224.250 (20 Oct 2002 23:11:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:11:01 +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 LAA11281 for ; Wed, 2 Sep 1998 11:55:44 -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 KAF01363; Wed, 2 Sep 1998 10:25:19 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 02 Sep 1998 10:52:34 -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 KAA02568 for ; Wed, 2 Sep 1998 10:52:22 -0500 (CDT) Original-Received: from sunsite.auc.dk (sunsite.auc.dk [130.225.51.30]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id LAA11248 for ; Wed, 2 Sep 1998 11:52:15 -0400 (EDT) Original-Received: (qmail 5185 invoked by uid 509); 2 Sep 1998 15:52:12 -0000 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: emacs.ding Original-Lines: 20 X-Newsreader: Pterodactyl Gnus v0.13/Emacs 20.3 Original-NNTP-Posting-Host: 128.2.110.42 Original-X-Trace: sunsite.auc.dk 904751531 128.2.110.42 (Wed, 02 Sep 1998 17:52:11 MET DST) Original-NNTP-Posting-Date: Wed, 02 Sep 1998 17:52:11 MET DST Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16617 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16617 Lars Magne Ingebrigtsen writes: > Michael Welsh Duggan writes: > > > The only really good solutions at this point (until they fix > > decode-coding-region') are to either remove the text properties, or > > re-highlight the buffer after decoding. > > Ick. Would it be possible to write some sort of function that would > note all the text props on all the characters, and then be able to > restore the props after en/decoding? Hm. 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.) -- Michael Duggan (md5i@cs.cmu.edu) .