Fwd: display-buffer-reuse-frames makes View-quit abnormal
From:
an0
Subject:
Fwd: display-buffer-reuse-frames makes View-quit abnormal
Date:
Sun, 29 Jul 2007 11:46:06 +0800
---------- Forwarded message ---------- From: an0 <address@hidden> Date: Jul 28, 2007 10:38 PM Subject: Re: display-buffer-reuse-frames makes View-quit abnormal
To: martin rudalics <address@hidden>
Thank you for your patient explanation.
I am not clear about the all the innards of the process of view quit, but what about:
just let > `help-mode' after (C-h f ...) has done
> (setq view-exit-action (lambda (buffer)
> (or (window-minibuffer-p (selected-window)) > (one-window-p t) > (delete-window)))) but let `quit-window'
invoked by `view-mode-exit' go without
> (switch-to-buffer (other-buffer)))), and let view-mode-exit' go without
> (if (window-live-p old-window) ; still existing window
> (select-window old-window)). Following this line, the effective (delete-window) will be done in the help window, with the original buffer in the other window, and then all is restored.
--
Ling Wang Work at: ICScape(Beijing) Technology Ltd. Graduate from: Department of Electrical Engineering, Tsinghua University Email:
address@hidden
-- Ling Wang Work at: ICScape(Beijing) Technology Ltd. Graduate from: Department of Electrical Engineering, Tsinghua University Email: address@hidden