From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#6945: active-minibuffer-window returns nil when prompt overwritten by message Date: Mon, 30 Aug 2010 12:30:37 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1283168130 30915 80.91.229.12 (30 Aug 2010 11:35:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Aug 2010 11:35:30 +0000 (UTC) To: 6945@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 30 13:35:26 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq2e0-0003CH-4i for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Aug 2010 13:35:25 +0200 Original-Received: from localhost ([127.0.0.1]:49808 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq2PY-0000n9-16 for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Aug 2010 07:20:24 -0400 Original-Received: from [140.186.70.92] (port=59695 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq2FG-0003TM-DI for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 07:09:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oq2FB-00066n-8m for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 07:09:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40346) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq2FB-00066h-3M for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 07:09:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Oq2Cc-0002MN-G6; Mon, 30 Aug 2010 07:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Aug 2010 11:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6945 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: Emacs Bugs Original-Received: via spool by submit@debbugs.gnu.org id=B.12831663809053 (code B ref -1); Mon, 30 Aug 2010 11:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Aug 2010 11:06:20 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq2Bv-0002Ly-WC for submit@debbugs.gnu.org; Mon, 30 Aug 2010 07:06:20 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq2Bs-0002Lh-SF for submit@debbugs.gnu.org; Mon, 30 Aug 2010 07:06:17 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:46750) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Oq2DQ-0002LF-0t for submit@debbugs.gnu.org; Mon, 30 Aug 2010 07:07:52 -0400 Original-Received: from [140.186.70.92] (port=58170 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oq2DN-0002pv-Dx for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 07:07:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oq1di-000618-7H for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 06:30:59 -0400 Original-Received: from mail-qy0-f176.google.com ([209.85.216.176]:64395) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oq1di-00060z-5B for bug-gnu-emacs@gnu.org; Mon, 30 Aug 2010 06:30:58 -0400 Original-Received: by qyk2 with SMTP id 2so5483606qyk.0 for ; Mon, 30 Aug 2010 03:30:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:from:date :message-id:subject:to:content-type; bh=TIoRoz5WGFfgiyrat001EatqLlI9n9Pg2PRdmNQPp5k=; b=Hgxx+r/ch1GgWeJWjJKcByqC3YnkHTHNmtHy44LXcK4EOPvvPUOcTws3zcqMx9f2hM FCu9gbuijSzZyZPLery1DQksFSFGjxHP6mANk80DRdmEOnw/qgNPtr0aDmruLEWxKw/M GO1KtnWMsSYREMFTtgTHPPWxpYLiI0hBxQZu8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=a5oVtWQHprk+YL/cZRmyYIzWQWA37jrSOACNjCB4EvFyREaDg6HXDzRPD4ZocpFcDE Es+IyEEhb064UkG2X4PMNyQSyc2PMzOenzjWnSc9ML+wFhYGTNX+to+5RygFsEyYkMX3 W3ooE/L6wMDVcimCazVhSstCQPMF/Gb7f2mqs= Original-Received: by 10.229.245.75 with SMTP id lt11mr2888433qcb.139.1283164257242; Mon, 30 Aug 2010 03:30:57 -0700 (PDT) Original-Received: by 10.229.20.139 with HTTP; Mon, 30 Aug 2010 03:30:37 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 30 Aug 2010 07:07:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39818 Archived-At: Eval the following (defun temp-active-mb () (message "active-minibuffer-window = %s" (active-minibuffer-window))) (progn (run-with-idle-timer 1 nil 'message "idle message") (run-with-idle-timer 2 nil 'temp-active-mb) (y-or-n-p "Prompt: ") ) This gives me the message "active-minibuffer-window = nil". Is there any way then to discover whether Emacs is displaying a prompt and waiting for input?