unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nicolas Richard <youngfrog@members.fsf.org>
To: Andreas Schwab <schwab@suse.de>
Cc: 21633@debbugs.gnu.org
Subject: bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument
Date: Tue, 06 Oct 2015 14:26:32 +0200	[thread overview]
Message-ID: <878u7g2nev.fsf@members.fsf.org> (raw)
In-Reply-To: <87k2r0cqe9.fsf@members.fsf.org>

Andreas Schwab <schwab@suse.de> writes:
> XFASTINT unboxes the Lisp_Object.  The value is a plain number.

So XFASTINT (n) in this case should be -1 instead of
4611686018427387903. Thanks for the information and for fixing the bug.

As an additionnal information, please note that this seems related to
--with-wide-int (at least I get proper error reporting when not using
this option). Shouldn't XFASTINT be made to work in that case instead of
using XINT ?

-- 
Nico





  reply	other threads:[~2015-10-06 12:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-06  9:11 bug#21633: 25.0.50; assertion failure, self-insert-command with negative argument Nicolas Richard
2015-10-06  9:42 ` Andreas Schwab
2015-10-06 12:26   ` Nicolas Richard [this message]
2015-10-06 12:44     ` Andreas Schwab
2015-10-06 15:07     ` Eli Zaretskii
2015-10-06 15:48       ` Nicolas Richard
2015-10-06 16:01         ` Eli Zaretskii
2015-10-06  9:54 ` Andreas Schwab

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878u7g2nev.fsf@members.fsf.org \
    --to=youngfrog@members.fsf.org \
    --cc=21633@debbugs.gnu.org \
    --cc=schwab@suse.de \
    /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 public inbox

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

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 read-only IMAP folder(s) and NNTP newsgroup(s).