From: MON KEY <monkey@sandpframing.com>
To: 6448@debbugs.gnu.org
Subject: bug#6448: `event-apply-modifier' EVENT arg accepts float then bails
Date: Thu, 17 Jun 2010 16:25:36 -0400 [thread overview]
Message-ID: <AANLkTimzpdigelN5WfxGbq_0TnxaKqbwvl5-v-APiZyJ@mail.gmail.com> (raw)
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 "<S-")
(event-apply-modifier (float (string-to-char "\C-s")) 'shift 25 "<S-")
This is kosher:
(event-apply-modifier 19 'shift 25 "<S-")
--
/s_P\
next reply other threads:[~2010-06-17 20:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-17 20:25 MON KEY [this message]
2010-06-19 17:38 ` bug#6448: `event-apply-modifier' EVENT arg accepts float then bails Chong Yidong
2010-06-20 5:20 ` MON KEY
2010-06-20 8:01 ` Andreas Schwab
2010-06-20 20:08 ` MON KEY
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=AANLkTimzpdigelN5WfxGbq_0TnxaKqbwvl5-v-APiZyJ@mail.gmail.com \
--to=monkey@sandpframing.com \
--cc=6448@debbugs.gnu.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).