🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.gnus
Article #623

Re: Wrong type argument error

#623
From: Tom Horsley
Date: Mon, 25 Jan 1993 16:03
40 lines
2143 bytes
>>>>> Regarding Wrong type argument error; todd@kastle.com (Todd A. Scalzott) adds:

todd> When attempting to enter a new newsgroup with gnus, I get the following
todd> error:

todd>     Wrong type argument:  integerp, nil

todd> Using the latest gnus and nntp.  

todd> Anyone else?

Yep. I just tracked this down. Someone (or ones) has started posting
articles with a date in a format timezone.el cannot understand. Instead of
just having "Jan" in the date, it has "January".

I did a quick kludge to fix this in my copy of timezone.el by changing the
code which extracts the month to only extract 3 characters.

There was a line in the function timezone-parse-date which contained the
expressions as arguments to a substring extraction:

(match-beginning month) (match-end month)

I changed it to read:

(match-beginning month) (+ 3 (match-beginning month))

This may not be the best possible fix, but it was quick and easy and seems to
work for me.

I think you probably won't see this bug unless you are sorting articles by
time.
--
======================================================================
domain: tahorsley@csd.harris.com       USMail: Tom Horsley
  uucp: ...!uunet!hcx1!tahorsley               511 Kingbird Circle
                                               Delray Beach, FL  33444
+==== Censorship is the only form of Obscenity ======================+
|     (Wait, I forgot government tobacco subsidies...)               |
+====================================================================+
Technical Details
Message-ID: <TOM.93Jan25110307@amber.ssd.csd.harris.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!mlb.semi.harris.com!travis.csd.harris.com!grouper!amber!tom
References: <TODD.93Jan25092059@todd.kastle.com>

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.gnus
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!darwin.sura.net!mlb.semi.harris.com!travis.csd.harris.com!grouper!amber!tom
From: tom@ssd.csd.harris.com (Tom Horsley)
Subject: Re: Wrong type argument error
Organization: Harris Computer Systems Division
Distribution: gnu
Date: Mon, 25 Jan 1993 16:03:07 GMT
Message-ID: <TOM.93Jan25110307@amber.ssd.csd.harris.com>
Lines: 49
In-Reply-To: todd@kastle.com's message of Mon, 25 Jan 1993 09:20:59 GMT
References: <TODD.93Jan25092059@todd.kastle.com>
Sender: news@grouper.mkt.csd.harris.com (Network News)