From: Danny Siu <dsiu@Adobe.COM>
Subject: XEmacs-20.3/Emacs-20.2 enriched-decode bug [Was: Re: bad article]
Date: 13 Jan 1998 15:55:23 -0800 [thread overview]
Message-ID: <yj9en2clyj8.fsf_-_@adobe.com> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of "12 Jan 1998 23:37:08 +0100"
Lars Magne Ingebrigtsen writes:
Lars> Joerg Plate <Plate@Psyche.HB.North.de> 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.
Anyways, the problem happens whenever a "Content-type: text/enriched;
charset=us-ascii" mail is read. format-deannotate-region (in
listp/prim/format.el) calls put-text-property with a nil as 2nd argument.
format-deannotate-region is called by enriched-decode (in
lisp/modes/enriched.el).
To reproduce, highlight the following line
<x-fontsize><param>13</param>Enriched is broken!!</x-fontsize>
and do
(enriched-decode (region-beginning) (region-end))
Any x-* tags will fail in enriched-mode.
I am using XEmacs-20.3 but FSF Emacs-20.2 fails the same way.
Lars> -- (domestic pets only, the antidote for overdose, milk.)
Lars> larsi@gnus.org * Lars Magne Ingebrigtsen
--
=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Danny Dick-Fung Siu mailto:dsiu@adobe.com
WebReady Printing Group mailto:dsiu@alumni.eecs.berkeley.edu
Adobe Systems Incorporated http://www.csua.berkeley.edu/~dsiu
=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
next prev parent reply other threads:[~1998-01-13 23:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-11 19:44 bad article Joerg Plate
1998-01-11 21:43 ` Lars Balker Rasmussen
1998-01-12 1:44 ` Joerg Plate
1998-01-12 22:37 ` Lars Magne Ingebrigtsen
1998-01-13 23:55 ` Danny Siu [this message]
1998-01-14 0:34 ` XEmacs-20.3/Emacs-20.2 enriched-decode bug [Was: Re: bad article] SL Baur
1998-01-14 4:01 Shep Proudfoot
1998-01-14 5:47 ` SL Baur
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yj9en2clyj8.fsf_-_@adobe.com \
--to=dsiu@adobe.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).