[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: |
martin rudalics |
Subject: |
Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t |
Date: |
Sat, 20 Oct 2007 11:45:37 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> As I said, I do *not* switch to another buffer in the same window as *Help*
> (which is dedicated). I don't think that's even possible, but I could be
> mistaken.
It's possible.
> What is definitely not useful is to put some other buffer in the window,
> which was never shown in that window before. When a view-mode window pops up
> (new frame), quitting the mode should not stick some unrelated buffer in
> that window. In this use case, think of a window such as *Help* as a
> (non-modal) dialog box. When you quit that dialog box, you don't want its
> window to remain, filled with some extraneous buffer that you happened to
> access half an hour ago or 3 days ago. That just doesn't make sense.
I fully agree with you. But `quit-window' does exactly that when the
window is not dedicated:
(switch-to-buffer (other-buffer))))
This is the painful default behavior of `Info-exit' when you do not use
a separate frame (try with Emacs -Q, split the *scratch* window, invoke
Info, and quit - you won't get the "previously selected buffer" as
promised by the doc-string of `Info-mode').
- View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, David Reitter, 2007/10/13
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, martin rudalics, 2007/10/14
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, Glenn Morris, 2007/10/17
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, martin rudalics, 2007/10/18
- RE: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, Drew Adams, 2007/10/18
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, martin rudalics, 2007/10/18
- RE: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, Drew Adams, 2007/10/18
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, martin rudalics, 2007/10/19
- RE: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, Drew Adams, 2007/10/19
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t,
martin rudalics <=
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, Glenn Morris, 2007/10/18
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, martin rudalics, 2007/10/18
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, Glenn Morris, 2007/10/18
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, martin rudalics, 2007/10/19
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, Glenn Morris, 2007/10/19
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, martin rudalics, 2007/10/20
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, Glenn Morris, 2007/10/23
- Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, martin rudalics, 2007/10/24
Re: View-quit in *Help* restores wrong window when display-buffer-reuse-frames is t, David Reitter, 2007/10/22