From xemacs-m  Wed Jan 29 18:39:44 1997
Received: from atreides.mindspring.com (atreides.mindspring.com [204.180.142.236])
          by xemacs.org (8.8.4/8.8.4) with SMTP
	  id SAA07391 for <xemacs-beta@xemacs.org>; Wed, 29 Jan 1997 18:39:44 -0600 (CST)
Received: (qmail 29615 invoked by uid 52477); 30 Jan 1997 00:39:40 -0000
Sender: sj@atreides.mindspring.com
To: Mark Borges <mdb@cdc.noaa.gov>
Cc: XEmacs beta-list <xemacs-beta@xemacs.org>,
        gnus-bug@ifi.uio.no (Lars Magne Ingebrigtsen)
Subject: Re: [PATCH!] Re: [rgnus-0.83] mark behavior change?
References: <vkg1zqzx9u.fsf@cdc.noaa.gov> <m2n2tyt96a.fsf@proletcult.slip.ifi.uio.no> <vkn2tvf07k.fsf@cdc.noaa.gov> <m2zpxvklkq.fsf@proletcult.slip.ifi.uio.no> <vkafpu52qn.fsf@cdc.noaa.gov> <m2k9oylqub.fsf@proletcult.slip.ifi.uio.no> <vk20b5ad9x.fsf@cdc.noaa.gov> <m2ohe9y6pg.fsf@proletcult.slip.ifi.uio.no> <vkwwswkzd7.fsf_-_@cdc.noaa.gov> <yviaenf4m9mq.fsf@atreides.mindspring.com> <vkd8uow0sv.fsf@cdc.noaa.gov>
Mime-Version: 1.0 (generated by tm-edit 7.100)
Content-Type: text/plain; charset=US-ASCII
From: Sudish Joseph <sudish@mindspring.com>
Date: 29 Jan 1997 19:39:40 -0500
In-Reply-To: Mark Borges's message of 29 Jan 1997 15:53:36 -0700
Message-ID: <yvia915cm1wz.fsf@atreides.mindspring.com>
Lines: 44
X-Mailer: Red Gnus v0.82/XEmacs 20.0

Mark Borges writes:
> actually it uses numberp in GNU Emacs:
>   $ grep gnus-characterp *.el
>   gnus.el:  (defalias 'gnus-characterp 'numberp)

Well, it should be integerp, I think--floats aren't valid marks.

SJ> in XEmacs 19.x, but that broke the marking of articles in
>                         ^^^^
> what that?

Sorry, I was unclear.  I had exactly the same problem as you describe
below when I switched from 19.15 to 20.0: articles would get marked
with ?R instead of ?E in auto-expirable groups.  The reason being that
characters no longer satisfy integerp under 20.0.

> Yes, I agree auto-expirable groups under 20.x do not get properly
> marked (see below).

They do for me. :-)

SJ> (characterp ?E) => t

> (characterp gnus-read-mark) => nil

(characterp gnus-read-mark) => t		:-) 

I'm using rgnus-0.82 and it defcustom's gnus-read-mark to ?E, which 
satisfies characterp.  Has this changed in 0.83 or 5.4?

By any chance, are you might be setting the various gnus-.*-mark
variables in your .gnus to the integer equivalents of the characters
involved?  This would work during summary generation coz 
(insert (char-int ?E)) will insert `E', even though 
(characterp (char-int ?E)) evaluates to nil.

> I suppose I could be hitting a "two wrongs make a right" sort of
> thing, but I'd truly like to know the proper fix.

I guess the correct thing to do is to do what Martin suggested and use
char-or-char-int-p instead of characterp, that'll allow both flavors
of mark.

-Sudish

