From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/13629 Path: main.gmane.org!not-for-mail From: SL Baur Newsgroups: gmane.emacs.gnus.general Subject: Re: XEmacs-20.3/Emacs-20.2 enriched-decode bug [Was: Re: bad article] Date: 13 Jan 1998 16:34:18 -0800 Sender: owner-ding@hpc.uh.edu Message-ID: References: <87wwg6vlqr.qgnus@psyche.hb.north.de> <0f90smhekl.fsf@fenris.mjolner.dk> <87soqutqib.qgnus@psyche.hb.north.de> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1035152959 10228 80.91.224.250 (20 Oct 2002 22:29:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 22:29:19 +0000 (UTC) Return-Path: Original-Received: from xemacs.org (xemacs.cs.uiuc.edu [128.174.252.16]) by altair.xemacs.org (8.8.8/8.8.8) with ESMTP id QAA04468 for ; Tue, 13 Jan 1998 16:35:30 -0800 Original-Received: from gizmo.hpc.uh.edu (gizmo.hpc.uh.edu [129.7.102.31]) by xemacs.org (8.8.5/8.8.5) with ESMTP id SAA27148 for ; Tue, 13 Jan 1998 18:38:10 -0600 (CST) 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 TAN32082; Tue, 13 Jan 1998 19:14:58 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 13 Jan 1998 18:37:29 -0600 (CST) Original-Received: from claymore.vcinet.com (claymore.vcinet.com [208.205.12.23]) by sina.hpc.uh.edu (8.7.3/8.7.3) with SMTP id SAA24863 for ; Tue, 13 Jan 1998 18:37:20 -0600 (CST) Original-Received: (qmail 29225 invoked by uid 504); 14 Jan 1998 00:37:06 -0000 Original-Received: (qmail 29222 invoked from network); 14 Jan 1998 00:37:06 -0000 Original-Received: from xemacs.miranova.com (HELO altair.xemacs.org) (steve@206.190.83.19) by claymore.vcinet.com with SMTP; 14 Jan 1998 00:37:06 -0000 Original-Received: (from steve@localhost) by altair.xemacs.org (8.8.8/8.8.8) id QAA04462; Tue, 13 Jan 1998 16:34:18 -0800 Mail-Copies-To: never Original-To: ding@gnus.org X-Face: (:YAD@JS'&Kz'M}n7eX7gEvPR6U1mJ-kt;asEc2qAv;h{Yw7ckz<7+X_SYeTNAaPui:e~x$ ,A=gkt*>UPL/}\a/#C~v2%ETiAY_sx;xve0yL??JWTtX_-NUzXyP38UdW#cmN1\4(X!c3m#%IbtB-3 Z-!xpZi!`E.s{(;aP=b11"!3wQu]1j@^V|;n=B|{l writes: > Lars Magne Ingebrigtsen writes: Lars> Joerg Plate writes: >>> Signaling: (wrong-type-argument integer-or-marker-p nil) >>> put-text-property(1230 nil unknown ("x-fontsize")) >>> format-deannotate-region( Lars> [...] >>> mime-preview/display-body( Lars> Looks like a SEMI bug. > I don't think so. > I encountered this bug everyday. I guess more people are using mailers that > encode formatted mail using enriched. It's an Emacs/XEmacs bug in format.el and fixed in the latest sources. (digging around ...) Try this and see if it helps (note that format.el is dumped with XEmacs so you have to either redump XEmacs after patching or explicitly load the new version of the file). 1997-12-16 Oscar Figueiredo * format.el (format-deannotate-region): Bug fix. Deannotating a region containing unknown tags would fail (causing decoding of text/enriched to fail at user level) Index: format.el =================================================================== RCS file: /usr/local/xemacs/xemacs-20.0/lisp/format.el,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- format.el 1997/12/14 03:51:44 1.5 +++ format.el 1997/12/17 06:27:13 1.6 @@ -652,9 +652,10 @@ loc (cdr (car extents)))))))) (setq alist (cdr alist)))) (setq aalist (cdr aalist))) - (if (not matched) + (unless matched ;; Didn't find any match for the annotation: ;; Store as value of text-property `unknown'. + (setcdr (car top-extents) loc) (let ((extents top-extents) (start (car (car top-extents))) (loc (cdr (car top-extents))))