From: martin rudalics <rudalics@gmx.at>
To: bob@rattlesnake.com
Cc: emacs-devel@gnu.org
Subject: Re: no other window
Date: Mon, 16 Jul 2007 15:03:10 +0200 [thread overview]
Message-ID: <469B6C8E.6020707@gmx.at> (raw)
In-Reply-To: <m1IAOQD-002KQfC@rattlesnake.com>
[-- Attachment #1: Type: text/plain, Size: 696 bytes --]
> 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?
[-- Attachment #2: window.c.patch --]
[-- Type: text/plain, Size: 1758 bytes --]
*** 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);
[-- Attachment #3: Type: text/plain, Size: 142 bytes --]
_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel
next prev parent reply other threads:[~2007-07-16 13:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-16 11:07 no other window Robert J. Chassell
2007-07-16 13:03 ` martin rudalics [this message]
2007-07-16 18:37 ` Robert J. Chassell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=469B6C8E.6020707@gmx.at \
--to=rudalics@gmx.at \
--cc=bob@rattlesnake.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).