unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#9557: 24.0.50; "y-or-n-p" does not clear the echo area
@ 2011-09-20  9:19 Dani Moncayo
  2011-09-20  9:38 ` Andreas Schwab
  2011-09-20 10:00 ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Dani Moncayo @ 2011-09-20  9:19 UTC (permalink / raw)
  To: 9557

Hi,

In my init file, I have `(fset 'yes-or-no-p 'y-or-n-p)' in order to
speed up the "yes/no" answers.  But I've just seen a minor problem
associated to it.

From "emacs -Q":
1. Eval: (fset 'yes-or-no-p 'y-or-n-p)
2. Visit some file.
3. M-x revert-buffer <RET> y
--> (Expected) The echo area ends up empty (as happens if you omit step #1).
--> (Observed) The echo area remains with a residual text "Revert
buffer from file <your-file>? (y or n)  y".


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-09-12 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.5) --no-opt'

-- 
Dani Moncayo





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

end of thread, other threads:[~2011-09-20 18:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-20  9:19 bug#9557: 24.0.50; "y-or-n-p" does not clear the echo area Dani Moncayo
2011-09-20  9:38 ` Andreas Schwab
2011-09-20  9:43   ` Dani Moncayo
2011-09-20 10:02     ` Eli Zaretskii
2011-09-20 10:00 ` Eli Zaretskii
2011-09-20 10:27   ` Dani Moncayo
2011-09-20 16:54     ` Juri Linkov
2011-09-20 17:47       ` Dani Moncayo
2011-09-20 18:16         ` Juri Linkov

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).