List Info

Thread: RE: q in *Help* buffer deletes another window




RE: q in *Help* buffer deletes another window
country flaguser name
Finland
2007-07-28 10:03:24
>  > emacs -Q
>  > C-x d RET
>  > C-x 3
>  > C-x C-f <some file>
>  > M-x set-variable pop-up-frames t
>  > C-h f forward-char
>  > q (in *Help* buffer)
>  >
>  > The *Help* buffer is iconified, and the window of
the buffer visiting
>  > file <some-file> is deleted. The window of
<some-file> should not be
>  > deleted.

> A partial remedy would be using
>
>    (setq view-exit-action (lambda (buffer)
> 	 (or (window-minibuffer-p (selected-window))
> 		(one-window-p t)
> 		(not (eq (window-buffer) buffer))
> 		(delete-window))))

Thanks for looking into this, Martin. Setting that (in the
*Help* buffer)
seems to work, at least in this case.

> Setting `view-remove-frame-by-deleting' to non-nil
should solve this.

Yes, I forgot that I already had that in my code - I forgot
to do it also
for the emacs -Q bug report.




_______________________________________________
Emacs-devel mailing list
Emacs-develgnu.org
htt
p://lists.gnu.org/mailman/listinfo/emacs-devel

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )