unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: MON KEY <monkey@sandpframing.com>
To: Kenichi Handa <handa@m17n.org>
Cc: 7244@debbugs.gnu.org
Subject: bug#7244: `characterp' signals overflow-error
Date: Wed, 20 Oct 2010 11:15:45 -0400	[thread overview]
Message-ID: <AANLkTikH0Uv3R1W4BmDzPtS-3EaKtCjHPpK2nvP8wrcM@mail.gmail.com> (raw)
In-Reply-To: <tl7tykihpap.fsf@m17n.org>

On Mon, Oct 18, 2010 at 10:47 PM, Kenichi Handa <handa@m17n.org> wrote:
> In article <AANLkTinNtQyW9XQrC56RE0ZqKEsC2B=SQDZT=QX2mLoD@mail.gmail.com>, MON KEY <monkey@sandpframing.com> writes:
>
>> (characterp 2536870911) signals overflow-error "2536870911")
>> ;=> Debugger entered--Lisp error: (overflow-error "2536870911")
>
>> Why should this happen esp. when `max-char' sits just below the definition in
>> src/character.c ??
>
> The error is signaled by Lisp reader; i.e. before characterp
> is executed.

OK. I didn't realize this.
This said,  I am not understanding _where_ the overflow boundary is,
e.g. following doesn't signal:

most-positive-fixnum
;=> 536870911 (#o3777777777, #x1fffffff)

(characterp 536870913)
;=> nil

> Kenichi Handa

--
/s_P\





  reply	other threads:[~2010-10-20 15:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-19  0:23 bug#7244: `characterp' signals overflow-error MON KEY
2010-10-19  2:47 ` Kenichi Handa
2010-10-20 15:15   ` MON KEY [this message]
2010-10-20 16:56     ` Lawrence Mitchell
2010-10-21  2:26     ` Kenichi Handa

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=AANLkTikH0Uv3R1W4BmDzPtS-3EaKtCjHPpK2nvP8wrcM@mail.gmail.com \
    --to=monkey@sandpframing.com \
    --cc=7244@debbugs.gnu.org \
    --cc=handa@m17n.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.
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).