[Top][All Lists]

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

Re: `split-window-preferred-horizontally'

From: martin rudalics
Subject: Re: `split-window-preferred-horizontally'
Date: Tue, 10 Jun 2008 09:54:57 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> One annoyance left:  when I have one frame split horizontally, then enter
> the minibuffer and something triggers display of completions, the
> completions are displayed in the window that was active before i entered
> the minibuffer.

Thanks for spotting.  The bug occurs because I've been using
`with-selected-window' when trying to split the least recently used
window (the right window in your case) thus messing up that window's
use_time.  As a consequence the other window (the left window in your
case) becomes the least recently used one and gets selected for
displaying the completions.  I've checked in a fix, please try again.

I think `select-window' should avoid changing window_select_count when
norecord is non-nil but maybe this could have unwanted side-effects.

reply via email to

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