all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#6448: `event-apply-modifier' EVENT arg accepts float then bails
@ 2010-06-17 20:25 MON KEY
  2010-06-19 17:38 ` Chong Yidong
  0 siblings, 1 reply; 5+ messages in thread
From: MON KEY @ 2010-06-17 20:25 UTC (permalink / raw)
  To: 6448

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\





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-06-20 20:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-17 20:25 bug#6448: `event-apply-modifier' EVENT arg accepts float then bails MON KEY
2010-06-19 17:38 ` Chong Yidong
2010-06-20  5:20   ` MON KEY
2010-06-20  8:01     ` Andreas Schwab
2010-06-20 20:08       ` MON KEY

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.