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: Chong Yidong
Subject: Re: address@hidden: check_min_window_sizes]
Date: Sat, 18 Feb 2006 17:14:27 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

martin rudalics <address@hidden> writes:

>  > On second thought, the patch I posted was the wrong fix.  I believe
>  > this one is correct (basically, size_window was checking for a
>  > safe_min_size that included the width of window fringes and
>  > scrollbars, but window_min_size_1 did not check for it).
>
> Excellent, both problems disappeared.  Thanks again.

Good, I checked in the patch.

> I know I'm getting bothersome, but maybe you could also look at the
> following.  First remove all fringes.  Now do
>
> (with-selected-window (split-window-horizontally)
>    (let ((window-min-width 2))
>      (shrink-window (- (window-width) 2) t)))
>
> This should get you a right window with two columns only.  Now add the
> fringes again.  This makes the right window display fringes only and no
> text.

That's to be expected, no?  Or do you think that turning on the fringe
is supposed to increase the size of the window (I don't)?




reply via email to

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