[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to restore the layout?
From: |
Juanma Barranquero |
Subject: |
Re: How to restore the layout? |
Date: |
Mon, 8 Jul 2013 19:29:17 +0200 |
On Tue, Jul 2, 2013 at 12:38 PM, martin rudalics <address@hidden> wrote:
> In that case we'd have to delete the initial frame :-(
There are some cases where we need to delete the initial frame, so
that shouldn't be a problem.
I'm now writing the restore function and also fixing the parameter
filtering. I hope to install some changes tonight.
A couple of comments about your function:
(let ((minibuffer-frame (window-frame (minibuffer-window frame))))
(cond
;; Process minibuffer-window frame parameter if present.
((and (setq minibuffer-window
(frame-parameter frame 'minibuffer-window))
(window-minibuffer-p minibuffer-window))
There's no frame parameter minibuffer-window. I have changed that to
(let ((minibuffer-frame (window-frame (minibuffer-window frame)))
(minibuffer-window (frame-parameter frame 'minibuffer)))
(cond
((and (windowp minibuffer-window)
(window-minibuffer-p minibuffer-window))
(setq minibuffer-frame (window-frame minibuffer-window))
Also,
> (let ((default (eq minibuffer-frame default-minibuffer-frame))
> (this-count
> (cdr (frame-parameter minibuffer-frame 'desktop-mini))))
AFAICS, default is not used anywhere.
J
- Re: How to restore the layout?, (continued)
- Re: How to restore the layout?, Angelo Graziosi, 2013/07/06
- RE: How to restore the layout?, Drew Adams, 2013/07/06
- Re: How to restore the layout?, martin rudalics, 2013/07/07
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/07
- Re: How to restore the layout?, martin rudalics, 2013/07/07
- RE: How to restore the layout?, Drew Adams, 2013/07/07
- Re: How to restore the layout?, martin rudalics, 2013/07/08
- RE: How to restore the layout?, Drew Adams, 2013/07/08
- Re: How to restore the layout?,
Juanma Barranquero <=
- Re: How to restore the layout?, martin rudalics, 2013/07/09
- Re: How to restore the layout?, martin rudalics, 2013/07/09
- RE: How to restore the layout?, Drew Adams, 2013/07/09
- Re: How to restore the layout?, martin rudalics, 2013/07/10
- RE: How to restore the layout?, Drew Adams, 2013/07/10
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/06
- Re: How to restore the layout?, martin rudalics, 2013/07/06
- Re: How to restore the layout?, Juanma Barranquero, 2013/07/06
- Re: How to restore the layout?, martin rudalics, 2013/07/05