From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/16633 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: Thu, 03 Sep 1998 05:29:58 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 1035155474 29018 80.91.224.250 (20 Oct 2002 23:11:14 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:11:14 +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 BAA23313 for ; Thu, 3 Sep 1998 01:33:40 -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 AAF03984; Thu, 3 Sep 1998 00:03:18 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 03 Sep 1998 00:30:29 -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 AAA17115 for ; Thu, 3 Sep 1998 00:30:10 -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 BAA23246 for ; Thu, 3 Sep 1998 01:30:02 -0400 (EDT) Original-Received: (qmail 2794 invoked by uid 509); 3 Sep 1998 05:30:00 -0000 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: emacs.ding Original-Lines: 33 X-Newsreader: Pterodactyl Gnus v0.13/Emacs 20.3 Original-NNTP-Posting-Host: 128.2.110.42 Original-X-Trace: sunsite.auc.dk 904800598 128.2.110.42 (Thu, 03 Sep 1998 07:29:58 MET DST) Original-NNTP-Posting-Date: Thu, 03 Sep 1998 07:29:58 MET DST Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:16633 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:16633 Lars Magne Ingebrigtsen writes: > Hrvoje Niksic writes: > > > I ask this because I notice no code in that function to attempt to > > preserve the extents. Does the function get called under XEmacs? > > Yup. > > > > The text that changes from un-encoded to encoded doesn't inherit the > > > text props from the un-encoded text, though. > > > > Can you be more specific? > > If you have some unencoded text that's nicely highlighted, and then > you run encode-coding-region on the buffer, the text that replaces the > unencoded text is not highlighted. > > Uhm. There may be some terminology problems in the previous > paragraphs. What is "encoded" and what is "unencoded" in a MULE > context? Yeah, you got it a little backwards. In MULE-speak, as far as I can tell, encoded text is text encoded using a certain coding system. Decoded (or unencoded) text is in MULE's native format (and hence can be displayed in the correct font, etc.). In general, when reading a file, Emacs decodes into a native format, and then encodes back into a coding system when writing back. -- Michael Duggan (md5i@cs.cmu.edu) .