From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Any way to make minibuffer questions more obvious? Date: Thu, 18 Apr 2013 15:00:34 -0700 Message-ID: <2B014952EB7D4AA6B8B47F83BEF26C64@us.oracle.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1366322461 6456 80.91.229.3 (18 Apr 2013 22:01:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Apr 2013 22:01:01 +0000 (UTC) To: "'Steven Degutis'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 19 00:01:05 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1USwt5-0004ie-Ma for geh-help-gnu-emacs@m.gmane.org; Fri, 19 Apr 2013 00:01:03 +0200 Original-Received: from localhost ([::1]:38648 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USwt5-0001Qd-DN for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Apr 2013 18:01:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36367) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USwsj-0001QT-Gs for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 18:00:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1USwsh-0001bQ-RV for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 18:00:41 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:22320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1USwsh-0001bE-KO for help-gnu-emacs@gnu.org; Thu, 18 Apr 2013 18:00:39 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r3IM0bF0013568 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Apr 2013 22:00:38 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r3IM0aqm005617 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 18 Apr 2013 22:00:36 GMT Original-Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r3IM0aXW013805; Thu, 18 Apr 2013 22:00:36 GMT Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 18 Apr 2013 15:00:35 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: Thread-Index: Ac48fbVDk7vQ3VvWRzqF2SXGDITg2AAAfLQg X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90241 Archived-At: > 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.