GNU bug report logs - #11939
24.1; `save-buffers-kill-emacs' loses minibuffer focus when it calls `list-processes'

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Fri, 13 Jul 2012 18:07:01 UTC

Severity: normal

Found in version 24.1

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #236 received at 11939 <at> debbugs.gnu.org (full text, mbox):

From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'martin rudalics'" <rudalics <at> gmx.at>
Cc: 11939 <at> debbugs.gnu.org
Subject: RE: bug#11939: 24.1; `save-buffers-kill-emacs' loses minibuffer
	focuswhenit	calls	`list-processes'
Date: Thu, 26 Jul 2012 10:41:40 -0700
> > Do you ever want to kill the minibuffer's buffer?
> 
> No, never.
> 
> > If not, your function should provide an
> > appropriate workaround default just as `call-interactively' does.
> 
> Well OK, I suppose - I can certainly try to do that.
> 
> But I have never had to do it before.  Obviously, if the 
> right thing to do is to work around this hiccup then I can and
> might try to do that.  

But I would add that I prefer not to do that, for a couple of reasons.  One is
that the same general list of buffer candidates and default value are used for
multiple commands, not just the command bound to `C-x k'.  And while it is true
that I never want to kill the minibuffer buffer, that does not mean that I never
want to do some other operation using it.

Anyway, I'm sure you get the point: the buffer that I would expect to be
(current-buffer) here is the buffer in which I invoked `C-x k' (or whatever) -
not " *Minibuf-0*.  The latter does not make much sense to me.

And I think (still, so far) that that is the case because (somehow) the
minibuffer frame got _selected_, and did not just have its input focus
redirected to it.  And I think, a priori, that is not TRT.





This bug report was last modified 12 years and 288 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.