[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-buffer-alist simplifications
From: |
Stefan Monnier |
Subject: |
Re: display-buffer-alist simplifications |
Date: |
Sat, 13 Aug 2011 10:30:10 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> You're referring to the following point, I think:
>> - the display method has to handle everything, there's no common/shared
>> postprocessing.
>> The way I think we would handle it is by making most/all
>> display-buffer-<foo> function finish by calling
>> a display-buffer-post-process function, passing it the ALIST.
>> So the ALIST may include something like (even-window . height) to
>> specify whether and how to even windows.
> Now this makes sense. We would have to decide whether we provide one
> such function or more (depending on the functionality of the service or
> the method used). And probably, if there's no suitable ALIST entry,
> such a function would respect the old options where applicable.
That's the idea, yes. I'm not completely satisfied with this, tho.
I'd rather have a way to specify a list of post-processing functions,
but I can't think of an elegant way to do that right now.
>> Admittedly, you won't be able to do the equivalent of
>> ((reuse-window foo bar) (reuse-window titi toto)) because the args
>> passed to FUNCTIONs are the same for each FUNCTION, so if a FUNCTION
>> appears twice both occurrences will behave identically.
> I should be able to live with that. But how do we express that
> splitting a window should try the largest window first and the lru
> afterwards?
You don't express it in display-buffer-alist but in Elisp code instead.
Stefan
- Re: display-buffer-alist simplifications, (continued)
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/12
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/13
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/13
- Re: display-buffer-alist simplifications, Juri Linkov, 2011/08/16
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/16
- Re: display-buffer-alist simplifications, Juri Linkov, 2011/08/17
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/18
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/13
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/12
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/13
- Re: display-buffer-alist simplifications,
Stefan Monnier <=
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/28
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/29
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/29
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/29
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/29
- Re: display-buffer-alist simplifications, Juri Linkov, 2011/08/29
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/30
- Re: display-buffer-alist simplifications, Chong Yidong, 2011/08/30
- RE: display-buffer-alist simplifications, Drew Adams, 2011/08/30
- Re: display-buffer-alist simplifications, Chong Yidong, 2011/08/30