[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] Re: The mode-line doesn't update properly
From: |
Shawn Betts |
Subject: |
Re: [STUMP] Re: The mode-line doesn't update properly |
Date: |
Tue, 12 Dec 2006 19:13:16 -0800 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) |
Jay Belanger <address@hidden> writes:
> Jay Belanger <address@hidden> writes:
> ...
>> I just noticed that when the screen is split and unsplit, there is
>> still room left for the mode-line, but it is at the top rather than
>> the bottom. If this still happens when I get some free time, I'll
>> poke around in the source to see why this happens.
>
> I guess when "only" is called and there is a mode-line, the creation
> of the initial frame doesn't take into account where the mode-line
> is. I've included a patch that takes care of this, but the patch also
> makes clear I don't know what I'm doing.
The problem was in screen-y. I've fixed this is CVS.
> On an unrelated note, core.lisp contains the `update-window-border'
> function, which includes the comment
> ;; give it a colored border but only if there are more than 1 frames.
> However, what happens is that when there is only 1 frame, it gets the
> unfocused color. If coloring the border can't be avoided, wouldn't it
> make more sense to give it the focus color in the 1 frame case?
The idea is there's no need to give it a bright color (presumably what
the focused color is) when there's only one frame since you know what
window is focused.
-Shawn