From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kenichi Handa Newsgroups: gmane.emacs.devel Subject: Re: printing most-negative-fixnum fails Date: Wed, 12 May 2004 10:41:33 +0900 (JST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <200405120141.KAA09453@etlken.m17n.org> References: <200405062008.i46K8x4R015248@brains.moreideas.ca> <87vfj3g1kv.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1084326558 15394 80.91.224.253 (12 May 2004 01:49:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 12 May 2004 01:49:18 +0000 (UTC) Cc: juri@jurta.org, emacs@whaite.ca, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Wed May 12 03:49:07 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNirr-0001h2-00 for ; Wed, 12 May 2004 03:49:07 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BNirr-0002GN-00 for ; Wed, 12 May 2004 03:49:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNioM-0005YU-Bh for emacs-devel@quimby.gnus.org; Tue, 11 May 2004 21:45:30 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BNinP-0005Ti-4S for emacs-devel@gnu.org; Tue, 11 May 2004 21:44:31 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BNilp-0004Jy-5W for emacs-devel@gnu.org; Tue, 11 May 2004 21:43:29 -0400 Original-Received: from [192.47.44.130] (helo=tsukuba.m17n.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BNikb-0002yE-Fr; Tue, 11 May 2004 21:41:38 -0400 Original-Received: from fs.m17n.org (fs.m17n.org [192.47.44.2]) by tsukuba.m17n.org (8.11.6p2/8.11.6) with ESMTP id i4C1fYP00436; Wed, 12 May 2004 10:41:34 +0900 (JST) Original-Received: from etlken.m17n.org (etlken.m17n.org [192.47.44.125]) by fs.m17n.org (8.11.6p2/8.11.6) with ESMTP id i4C1fX915212; Wed, 12 May 2004 10:41:34 +0900 (JST) Original-Received: (from handa@localhost) by etlken.m17n.org (8.8.8+Sun/3.7W-2001040620) id KAA09453; Wed, 12 May 2004 10:41:33 +0900 (JST) Original-To: rms@gnu.org In-reply-to: (message from Richard Stallman on Tue, 11 May 2004 08:23:31 -0400) User-Agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:23206 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:23206 In article , Richard Stallman writes: >> Minor annoyance is that evaluating most-negative-fixnum in *scratch* >> (Lisp Interaction mode) fails... > This bug is caused by calling `(downcase most-negative-fixnum)' > in `event-modifiers' called from `prin1-char'. > The bug exists because the range of integers is greater > and there are bits above the character flags. So I put the > change below into casefiddle.c. I think downcase, etc should signal an error if an argument is not character nor string. This problem should be fixed in prin1-char as I wrote in the previous mail. --- Ken'ichi HANDA handa@m17n.org