GNU bug report logs - #20189
25.0.50; Feature request: Alternative split-window-sensibly functions

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tsdh <at> gnu.org>

Date: Tue, 24 Mar 2015 09:19:01 UTC

Severity: wishlist

Found in version 25.0.50

Full log


Message #68 received at 20189 <at> debbugs.gnu.org (full text, mbox):

From: Tassilo Horn <tsdh <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 20189 <at> debbugs.gnu.org
Subject: Re: bug#20189: 25.0.50;
 Feature request: Alternative split-window-sensibly functions
Date: Thu, 26 Mar 2015 16:15:32 +0100
martin rudalics <rudalics <at> gmx.at> writes:

>> With your suggestions, I finally came up with this which seems to
>> work exactly as I like it:
> [...]
>> (defun th/split-window-sensibly (window)
> [...]
>>        ;; Reuse the LRU window
>>        (get-lru-window)))))
>
> If the last form gets executed, you reuse a window.  Suppose it's
> reused for showing completions.  Then selecting a completion will, as
> a side-effect, delete that window instead of showing the previously
> shown buffer in it.  You probably won't like that.

Yes, I probably don't.  But I like reusing the current window even
lesser which would happen when returning just nil.  I also don't want
another split which would happen when I defer to
`split-window-sensibly'.  So what else can I do?

Bye,
Tassilo




This bug report was last modified 10 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.