[Top][All Lists]

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

Re: infinite loop on frame resize

From: Jan D.
Subject: Re: infinite loop on frame resize
Date: Sun, 14 Nov 2004 12:58:29 +0100
User-agent: Mozilla Thunderbird 0.9 (X11/20041103)

YAMAMOTO Mitsuharu wrote:

If Emacs is invoked as

 emacs -Q --eval "(progn (split-window) (set-frame-parameter nil 'height 1))"

then it falls into infinite loop in xdisp.c:

2682      while (total_shrink > total_removed)
2683        {
2684          for (i = 0; i < nchildren; ++i)
2685            if (new_sizes[i] > min_size)
2686              {
2687                --new_sizes[i];
2688                ++total_removed;
2689 2690 /* Out of for, just shrink one window at the time and
2691                   check again if we have enough space.  */
2692                break;
2693              }
2694        }
Thanks for the report. I was confused at first, this code is now in window.c. It should be fixed now.

   Jan D.

reply via email to

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