Re: [PATCH] Make RC_OTHER always choose some other

Jeroen Roovers <[email protected]> Sun, 21 Sep 2008 21:34:35 +0200
Newsgroups gmane.comp.gnu.screen
Message-ID <20080921213435.0f0ccf41__28161.7837529213$1238089069$gmane$org@epia.jer-c2.orkz.net>
On Fri, 19 Sep 2008 03:48:08 -0400
Sadrul Habib Chowdhury <[email protected]> wrote:

> But, perhaps a more appropriate fix would be to make sure that
> display->d_other is updated appropriately?

I agree. It's hard to track, though. I'm setting myself up to
investigate that now I'm getting more familiar with screen's code.

> Do you have a screenrc file that can be used to easily reproduce the
> bug?

No. It occurs when I use a split screen into two or more frames, and
switch between them a lot. What I think now goes wrong is that the
"other" window for one of the frames is removed while working in
another frame. When I then return to the frame and do "other", it
complains that "fore" is the same as "other", which is the bug I seek
to fix. It doesn't always happen like this, so tracking it down has
been very hard and the extra check was the easy workaround (although
not a perfect one, I admit, especially when it replaces a good
assertion instead of adding to it).


Kind regards,
     JeR