From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#11939: 24.1; `save-buffers-kill-emacs' loses minibuffer focus whenit calls `list-processes' Date: Thu, 26 Jul 2012 18:52:25 +0200 Message-ID: <501175C9.3090803@gmx.at> References: <5005354E.6040306@gmx.at><62CF21F0010048E2BC1391192EB943FF@us.oracle.com><5006E14B.3000407@gmx.at><47731CC5C6EC4ED9AB9E9E05E259572C@us.oracle.com><5007E47B.3050907@gmx.at><446B437450EC47968D15C20D7142296B@us.oracle.com><500A8C0E.4040006@gmx.at><96A974694CF64567A3EAB85185AB3A5C@us.oracle.com><500BBE6F.6020007@gmx.at><1403DD3D67534F53BC023CC99A258DF5@us.oracle.com><838veb209m.fsf@gnu.org> <83r4s2zcp9.fsf@gnu.org><81CFBB36FDCB4CD6B3762F9E00AC8290@us.oracle.com><83fw8iz7et.fsf@gnu.org><60948DD3935D452F85F95174474D06E9@us.oracle.com><838veaz34x.fsf@gnu.org> <83629blssa.fsf@gnu.org> ! <5011116B.4010106@gm x.at> <32A934E820BA4853B84229C32F7145A1@us.oracle! ! .com> <50116AD9.706 09@gmx.at> <548032D12CE14E3689257D609E93482F@us.oracle.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1343321607 19884 80.91.229.3 (26 Jul 2012 16:53:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 26 Jul 2012 16:53:27 +0000 (UTC) Cc: 11939@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 26 18:53:27 2012 Return-path: Envelope-to: geb-bug-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 1SuRJX-00052v-4T for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 18:53:27 +0200 Original-Received: from localhost ([::1]:44639 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuRJW-0006tg-J8 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Jul 2012 12:53:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45316) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuRJO-0006tJ-Qf for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 12:53:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SuRJH-0000BV-Cj for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 12:53:18 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60008) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SuRJH-0000BQ-92 for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 12:53:11 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SuRPu-00012r-KD for bug-gnu-emacs@gnu.org; Thu, 26 Jul 2012 13:00:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Jul 2012 17:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11939 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11939-submit@debbugs.gnu.org id=B11939.13433219663948 (code B ref 11939); Thu, 26 Jul 2012 17:00:02 +0000 Original-Received: (at 11939) by debbugs.gnu.org; 26 Jul 2012 16:59:26 +0000 Original-Received: from localhost ([127.0.0.1]:41321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SuRPK-00011c-35 for submit@debbugs.gnu.org; Thu, 26 Jul 2012 12:59:26 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23]:59985) by debbugs.gnu.org with smtp (Exim 4.72) (envelope-from ) id 1SuRPI-00011U-2d for 11939@debbugs.gnu.org; Thu, 26 Jul 2012 12:59:25 -0400 Original-Received: (qmail invoked by alias); 26 Jul 2012 16:52:31 -0000 Original-Received: from 62-47-55-7.adsl.highway.telekom.at (EHLO [62.47.55.7]) [62.47.55.7] by mail.gmx.net (mp071) with SMTP; 26 Jul 2012 18:52:31 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX1/zh+tmOnfzG/3Btqj/k+4Y7YuQ6M+jllcBsrCDuo HDfESX959Emem8 In-Reply-To: <548032D12CE14E3689257D609E93482F@us.oracle.com> X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62423 Archived-At: > Yes, but (I think) I explained that I have a different command bound to `C-x k'. > That command proposes the name of (current-buffer) as the default value. And as > I said, the name of the buffer returned by (current-buffer) here is in fact > " *Minibuf-0*". I see. But then where do you see a problem if your function prompts with the current buffer for killing? Do you ever want to kill the minibuffer's buffer? If not, your function should provide an appropriate workaround default just as `call-interactively' does. >> IIUC it means that the current buffer is the buffer of the >> minibuffer window (how did that happen?) > > Yes, that is what I am seeing, confirmed by evaluating (current-buffer) > there/then. > >> but the minibuffer window is not selected. > > Are you sure? How to know? I assumed that you used `kill-buffer' with the standard prompt. If you use your own function, my conclusion is void. martin