[Top][All Lists]
[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 10:28:03 -0500 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
>> (progn
>> (split-window-horizontally)
>> (let ((window-min-width 1))
>> (shrink-window (1- (window-width)) t)))
>>
>> removes scrollbars from both emanating windows and makes the left window
>> inaccessible. For some strange reason `check_min_window_sizes' seems to
>> fail here.
>
> This patch removes the bug.
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).
*** emacs/src/window.c.~1.534.~ 2006-02-18 10:15:46.000000000 -0500
--- emacs/src/window.c 2006-02-18 10:23:42.000000000 -0500
***************
*** 2568,2574 ****
else
{
if (width_p)
! size = window_min_width;
else
{
if (MINI_WINDOW_P (w)
--- 2568,2577 ----
else
{
if (width_p)
! size = max (window_min_width,
! (MIN_SAFE_WINDOW_WIDTH
! + WINDOW_FRINGE_COLS (w)
! + WINDOW_SCROLL_BAR_COLS (w)));
else
{
if (MINI_WINDOW_P (w)
- address@hidden: check_min_window_sizes], Richard M. Stallman, 2006/02/12
- Re: address@hidden: check_min_window_sizes], Chong Yidong, 2006/02/17
- Re: address@hidden: check_min_window_sizes],
Chong Yidong <=
- Re: address@hidden: check_min_window_sizes], martin rudalics, 2006/02/18
- Re: address@hidden: check_min_window_sizes], Chong Yidong, 2006/02/18
- Re: address@hidden: check_min_window_sizes], martin rudalics, 2006/02/19
- Re: address@hidden: check_min_window_sizes], martin rudalics, 2006/02/20
- Re: address@hidden: check_min_window_sizes], Richard Stallman, 2006/02/27
- Re: address@hidden: check_min_window_sizes], Kim F. Storm, 2006/02/19
- Re: address@hidden: check_min_window_sizes], Richard M. Stallman, 2006/02/19
- Re: address@hidden: check_min_window_sizes], Richard M. Stallman, 2006/02/19
Re: address@hidden: check_min_window_sizes], Richard M. Stallman, 2006/02/19