all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: Andy Moreton <andrewjmoreton@gmail.com>, 32485@debbugs.gnu.org
Subject: bug#32485: 27.0.50; Problem with zerop on 32-bit platforms
Date: Mon, 20 Aug 2018 15:54:46 -0400	[thread overview]
Message-ID: <2458bfdf-33f7-ab56-011f-9c6a48e80cae@cornell.edu> (raw)
In-Reply-To: <vz1a7pgc1v4.fsf@gmail.com>

On 8/20/2018 2:46 PM, Andy Moreton wrote:
> On Mon 20 Aug 2018, Ken Brown wrote:
> 
>> Evaluating (zerop (lsh -1 32)) on 32-bit Cygwin yields
>>
>> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p
>> -4294967296)
>>
>> I realize that the fate of lsh is still being debated, but I think
>> there's a problem with zerop anyway, because directly evaluating (zerop
>> -4294967296) leads to the same error.
> 
> Could this be bug#32477 ? Please try the patch I posted in:
> http://lists.gnu.org/archive/html/bug-gnu-emacs/2018-08/msg00467.html

Yes, that does fix the error.  Thanks.

But let's leave the bug open, because vc-hg-state-fast might still need 
attention.  Currently (zerop (lsh -1 32)) returns nil on all platforms, 
so it's useless; but that might change.

Ken





  reply	other threads:[~2018-08-20 19:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-20 18:12 bug#32485: 27.0.50; Problem with zerop on 32-bit platforms Ken Brown
2018-08-20 18:46 ` Andy Moreton
2018-08-20 19:54   ` Ken Brown [this message]
2018-08-20 21:28     ` Andy Moreton
2018-08-21 20:54 ` Paul Eggert

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=2458bfdf-33f7-ab56-011f-9c6a48e80cae@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=32485@debbugs.gnu.org \
    --cc=andrewjmoreton@gmail.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.