GNU bug report logs -
#20189
25.0.50; Feature request: Alternative split-window-sensibly functions
Previous Next
Full log
View this message in rfc822 format
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.