bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#9818: y-or-n-p prints nothing in batch mode


From: Glenn Morris
Subject: bug#9818: y-or-n-p prints nothing in batch mode
Date: Thu, 20 Oct 2011 18:39:40 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Package: emacs
Version: 24.0.90
Severity: minor

emacs -Q -batch --eval '(yes-or-no-p "foo? ")'

prints "foo? (yes or no)" and waits for input. If you type something
other than yes or no it prints "Please answer yes or no." and repeats
the prompt.

emacs -Q -batch --eval '(y-or-n-p "foo? ")'")'

does not print anything, it just sits there waiting for "y RET" or "n RET".
Entering something other than y or n prints nothing.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]