[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: split-window-preferred-function
From: |
martin rudalics |
Subject: |
Re: split-window-preferred-function |
Date: |
Fri, 28 Mar 2008 20:50:15 +0100 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
Wouldn't it be nicer to use something like
(or (get-lru-window nil nil)
;; Try visible frames first.
(get-buffer-window (current-buffer) 'visible)
(get-largest-window 'visible)
;; If that didn't work, try iconified frames.
(get-buffer-window (current-buffer) 0)
(get-largest-window 0)
;; As a last resort, make a new frame.
(frame-selected-window (funcall pop-up-frame-function)))
at the end of `split-window-preferred-horizontally'?
- split-window-preferred-function, martin rudalics, 2008/03/19
- Re: split-window-preferred-function, Juri Linkov, 2008/03/20
- Re: split-window-preferred-function, Stefan Monnier, 2008/03/20
- Re: split-window-preferred-function, Juri Linkov, 2008/03/21
- Re: split-window-preferred-function, Stefan Monnier, 2008/03/22
- Re: split-window-preferred-function, Juri Linkov, 2008/03/22
- Re: split-window-preferred-function, Juri Linkov, 2008/03/27
- Re: split-window-preferred-function,
martin rudalics <=
- Re: split-window-preferred-function, Juri Linkov, 2008/03/28
- Re: split-window-preferred-function, martin rudalics, 2008/03/29
- Re: split-window-preferred-function, Juri Linkov, 2008/03/29
- Re: split-window-preferred-function, martin rudalics, 2008/03/29
- Re: split-window-preferred-function, Stefan Monnier, 2008/03/29
- Re: split-window-preferred-function, Richard Stallman, 2008/03/30
Re: split-window-preferred-function, martin rudalics, 2008/03/21