Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Aidan Kehoe <kehoea@parhasard.net>
Cc: ding@gnus.org, bugs@gnus.org, xemacs-patches@xemacs.org
Subject: Re: [PATCH] Fix a bug with XEmacs and bignum support.
Date: Sun, 11 Jan 2009 16:20:39 +0100	[thread overview]
Message-ID: <87sknpq37c.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <18793.58572.280122.113699@parhasard.net> (Aidan Kehoe's message of "Sun, 11 Jan 2009 12:23:40 +0000")

On Sun, Jan 11 2009, Aidan Kehoe wrote:

> 2009-01-11  Aidan Kehoe  <kehoea@parhasard.net>
>
> 	* lisp/nnfolder.el (nnfolder-read-folder): 
> 	The (lsh -1 -1) trick to generate the greatest positive fixnum
> 	value doesn't work under an XEmacs with bignum support; use the
> 	most-positive-fixnum constant instead, available since GNU Emacs
> 	21.1 and XEmacs 21.1. 

most-positive-fixnum is only available in Emacs 21 when requiring CL.
But as CL is required (for ignore-errors), I think this change is
fine, so I have installed it.

> --- xemacs-packages/gnus/lisp/nnfolder.el	2006/03/16 04:18:02	1.7
> +++ xemacs-packages/gnus/lisp/nnfolder.el	2009/01/11 12:19:26
> @@ -899,7 +899,7 @@
>  	      (active (or (cadr (assoc group nnfolder-group-alist))
>  			  (cons 1 0)))
>  	      (scantime (assoc group nnfolder-scantime-alist))
> -	      (minid (lsh -1 -1))
> +	      (minid most-positive-fixnum)
>  	      maxid start end newscantime
>  	      novbuf articles newnum
>  	      buffer-read-only)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/



       reply	other threads:[~2009-01-11 15:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <18793.58572.280122.113699@parhasard.net>
2009-01-11 15:20 ` Reiner Steib [this message]
2009-01-11 15:55   ` Aidan Kehoe
2009-01-11 17:16     ` Reiner Steib
2009-01-11 21:57       ` Aidan Kehoe
2009-01-12 22:45       ` Katsumi Yamaoka

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=87sknpq37c.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=bugs@gnus.org \
    --cc=ding@gnus.org \
    --cc=kehoea@parhasard.net \
    --cc=xemacs-patches@xemacs.org \
    /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).