all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* read-char bug
@ 2018-10-20  1:30 Davin Pearson
  2018-10-20  6:31 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Davin Pearson @ 2018-10-20  1:30 UTC (permalink / raw)
  To: help-gnu-emacs

When I run the following code and then press the left mouse button and it goes into an infinite loop.  I have also tried the alternative to read-char, methinks it is something like read-char-exclusive and that fails too.

(let (done ch)
  (setq done nil)
  (when (not done)
  (condition-case err
     (setq ch (read-char "Enter y, n, ! or q"))'
     (error 
        (message "Wrong char")))
        ))
   ch)


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

end of thread, other threads:[~2018-10-20  6:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-20  1:30 read-char bug Davin Pearson
2018-10-20  6:31 ` Eli Zaretskii

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.