[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Any way to make minibuffer questions more obvious?
From: |
Drew Adams |
Subject: |
RE: Any way to make minibuffer questions more obvious? |
Date: |
Thu, 18 Apr 2013 15:00:34 -0700 |
> I was in dired, and I deleted a dir using D, then I hit "y"
> to confirm I want to delete it. Next I try to go copy another
> with C, but nothing happens. I look in the minibuffer and it
> says "Please answer y or n. Kill dired buffer of foo, too?
> (y or n)".
>
> I had no idea it was asking me this second question. I
> completely forgot that it would. And the minibuffer where it
> asks it is the bottom left of my screen, while the dired
> buffer is in the top-right, this being a 27" Apple display
> at highest possible resolution, so there's no way I would
> have noticed it.
>
> Is there a way to make this kind of question pop-up a new
> frame or some other more visual way of asking this?
I think we've all been bitten by that more than once. ;-)
Dunno whether someone else will have a brilliant suggestion. (I don't.)
There are ways to make Emacs flash, burp, and wave its arms wildly, and you
could always attach those to (your version of) `y-or-n-p'. But soon you might
find that annoying.
FWIW, `y-or-n-p' does not use the minibuffer. It simply reads a user-initiated
event, which is typically hitting a key (e.g. `y' or `n'). If it doesn't like
the event it reads then it asks you again. and again.