bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: View-quit in *Help* restores wrong window when display-buffer-reuse-


From: Glenn Morris
Subject: Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t
Date: Fri, 19 Oct 2007 13:52:54 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

martin rudalics wrote:

>>>>http://lists.gnu.org/archive/html/emacs-devel/2007-07/msg00103.html
[...]
> If, with Emacs -Q, I do
>
> (setq view-remove-frame-by-deleting t)
> (setq pop-up-frames t)
>
> pop up a Help buffer and type `q' the frame gets deleted.  What else
> should I do?

In case there's any confusion, I'm agreeing that your patch seems like
a definite improvement and handles all the cases you listed. But FWIW,
it does not seem to improve the behaviour described in the URL quoted
above (multiple frames created by hand, with pop-up-frames non-nil,
which seems a reasonable thing to do).

To be precise:

emacs -Q -f make-frame
C-h f find-file
C-x 0
q

-> frame gets iconified (or deleted if view-remove-frame-by-deleting
is non-nil). Burying the help buffer and leaving the frame alone
(since it was created manually) would seem like the Right Thing here.

The second problem can basically be summarized as quit only working
once. Eg:

emacs -Q
C-h find-file
C-x 1
C-x b *Help*
q

-> "q" has no effect at all




reply via email to

[Prev in Thread] Current Thread [Next in Thread]