From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#6448: `event-apply-modifier' EVENT arg accepts float then bails Date: Sat, 19 Jun 2010 13:38:37 -0400 Message-ID: <871vc2kjmq.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1276970359 17142 80.91.229.12 (19 Jun 2010 17:59:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Jun 2010 17:59:19 +0000 (UTC) Cc: 6448@debbugs.gnu.org To: MON KEY Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 19 19:59:18 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OQ2Jw-000881-4d for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Jun 2010 19:59:16 +0200 Original-Received: from localhost ([127.0.0.1]:34307 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ2Jr-0003mk-SQ for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Jun 2010 13:59:03 -0400 Original-Received: from [140.186.70.92] (port=47107 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OQ2Jl-0003kT-06 for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2010 13:58:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OQ2Jf-0006QW-36 for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2010 13:58:52 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48993) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQ2Jf-0006QQ-1U for bug-gnu-emacs@gnu.org; Sat, 19 Jun 2010 13:58:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OQ20T-0007d6-W9; Sat, 19 Jun 2010 13:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Jun 2010 17:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6448 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6448-submit@debbugs.gnu.org id=B6448.127696912529309 (code B ref 6448); Sat, 19 Jun 2010 17:39:01 +0000 Original-Received: (at 6448) by debbugs.gnu.org; 19 Jun 2010 17:38:45 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQ20C-0007cg-De for submit@debbugs.gnu.org; Sat, 19 Jun 2010 13:38:44 -0400 Original-Received: from pantheon-po23.its.yale.edu ([130.132.50.117]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQ20A-0007cb-Fb for 6448@debbugs.gnu.org; Sat, 19 Jun 2010 13:38:42 -0400 Original-Received: from furry (173-14-147-246-NewEngland.hfc.comcastbusiness.net [173.14.147.246]) (authenticated bits=0) by pantheon-po23.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o5JHcbS1021008 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 19 Jun 2010 13:38:38 -0400 Original-Received: by furry (Postfix, from userid 1000) id 5176AC013; Sat, 19 Jun 2010 19:38:37 +0200 (CEST) In-Reply-To: (MON KEY's message of "Thu, 17 Jun 2010 16:25:36 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 19 Jun 2010 13:39:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37872 Archived-At: MON KEY writes: > Can `read-event' return a float? > > If not, why does `event-apply-modifier' invoke the `numberp' predicate instead > of `integerp'? > > e.g. these signals an error: > > (event-apply-modifier 32.3 'shift 25 " (event-apply-modifier (float (string-to-char "\C-s")) 'shift 25 " > This is kosher: > > (event-apply-modifier 19 'shift 25 "