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 #59 received at 20189 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Tassilo Horn <tsdh <at> gnu.org>
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 14:47:28 +0100
> 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.

martin




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

Previous Next


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