[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: no other window
From: |
martin rudalics |
Subject: |
Re: no other window |
Date: |
Mon, 16 Jul 2007 15:03:10 +0200 |
User-agent: |
Mozilla Thunderbird 1.0 (Windows/20041206) |
> Today's GNU Emacs CVS snapshot, Mon, 2007 Jul 16 10:38 UTC
> GNU Emacs 22.1.50.73 (i686-pc-linux-gnu, GTK+ Version 2.10.13)
> started with
> /usr/local/src/emacs/src/emacs -Q -D
> and with
> /usr/local/src/emacs/src/emacs -Q -D -nw
>
> Starting yesterday and today's snapshots of Emacs, I could not get
> other windows, just the one.
>
> That is to say,
>
> `C-x 4 C-f' (find-file-other-window)
>
> acts like
>
> `C-x C-f' (find-file)
>
> Saturday's snapshot works fine.
>
> I could not see anything wrong with the recent changes to src/window.c
>
> This first occured yesterday, 15 July 2007.
>
Thanks for reporting. Would the attached patch fix it?
*** window.c Mon Jul 16 14:58:10 2007
--- window.c Mon Jul 16 14:59:28 2007
***************
*** 3743,3749 ****
if (!NILP (window)
&& ! FRAME_NO_SPLIT_P (XFRAME (XWINDOW (window)->frame))
&& WINDOW_FULL_WIDTH_P (XWINDOW (window))
! && window_height (window) >= split_height_threshold
&& (window_height (window)
>= (2 * window_min_size_2 (XWINDOW (window), 0))))
window = Fsplit_window (window, Qnil, Qnil);
--- 3743,3750 ----
if (!NILP (window)
&& ! FRAME_NO_SPLIT_P (XFRAME (XWINDOW (window)->frame))
&& WINDOW_FULL_WIDTH_P (XWINDOW (window))
! && ((window_height (window) >= split_height_threshold)
! || (EQ (XWINDOW (window)->parent, Qnil)))
&& (window_height (window)
>= (2 * window_min_size_2 (XWINDOW (window), 0))))
window = Fsplit_window (window, Qnil, Qnil);
***************
*** 3756,3764 ****
and can be split, split it. */
if (!NILP (window)
&& ! FRAME_NO_SPLIT_P (XFRAME (XWINDOW (window)->frame))
! && (EQ (window, selected_window)
! || EQ (XWINDOW (window)->parent, Qnil))
! && window_height (window) >= split_height_threshold
&& (window_height (window)
>= (2 * window_min_size_2 (XWINDOW (window), 0))))
window = Fsplit_window (window, Qnil, Qnil);
--- 3757,3765 ----
and can be split, split it. */
if (!NILP (window)
&& ! FRAME_NO_SPLIT_P (XFRAME (XWINDOW (window)->frame))
! && (((EQ (window, selected_window))
! && (window_height (window) >= split_height_threshold))
! || (EQ (XWINDOW (window)->parent, Qnil)))
&& (window_height (window)
>= (2 * window_min_size_2 (XWINDOW (window), 0))))
window = Fsplit_window (window, Qnil, Qnil);
- no other window, Robert J. Chassell, 2007/07/16
- Re: no other window,
martin rudalics <=