emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: check_min_window_sizes]


From: martin rudalics
Subject: Re: address@hidden: check_min_window_sizes]
Date: Sat, 18 Feb 2006 12:10:19 +0100
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> This patch removes the bug.  But I am not very familiar with the
> window code, so if someone could check that this is correct, it'd be
> great.

Thanks for fixing this.  A minor issue: When I now split a window with

(progn
  (split-window-horizontally)
  (let ((window-min-width 1))
    (shrink-window (1- (window-width)) t)))

I get two windows where the left one has width 1 - I'm not sure whether
windows with width 1 are valid as such.  Evaluating

(with-selected-window (split-window-horizontally)
  (let ((window-min-width 1))
    (shrink-window (1- (window-width)) t)))

the new window is deleted immediately.  Hence the behavior has become
asymmetric.  Since you didn't change line 4091 of window.c the way you
changed line 4067 that case is apparently handled in a different manner.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]