[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Window configurations
From: |
martin rudalics |
Subject: |
Re: Window configurations |
Date: |
Mon, 07 Jun 2010 15:40:59 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
>> One of my favorite mysteries is why, when WINDOW is already selected,
>> `select-window' should not set the current buffer.
>
> I think the answer is simply "because it's not needed". In contrast,
> when we do have to change the selected window, we have to pay attention
> to the point/window-point correspondence which makes it necessary to set
> the buffer. Of course, this necessity could be made just internal.
>
> IOW, it's mostly accidental.
What I meant was that the current implementation gives very contrived
semantics. The test in
(with-current-buffer buffer
(with-selected-window window
(eq (current-buffer) buffer)
succeeds unless `window' was not selected and did not display `buffer'
at the time `with-selected-window' was entered.
martin
- Re: Window configurations, (continued)
- Re: Window configurations, Juri Linkov, 2010/06/03
- Re: Window configurations, martin rudalics, 2010/06/04
- Re: Window configurations, Juri Linkov, 2010/06/04
- Re: Window configurations, martin rudalics, 2010/06/05
- Re: Window configurations, Juri Linkov, 2010/06/05
- Re: Window configurations, Stefan Monnier, 2010/06/05
- Re: Window configurations, Juri Linkov, 2010/06/07
- Re: Window configurations, martin rudalics, 2010/06/06
- Re: Window configurations, Stefan Monnier, 2010/06/06
- Re: Window configurations,
martin rudalics <=
- Re: Window configurations, Stefan Monnier, 2010/06/07
- Re: Window configurations, Lennart Borgman, 2010/06/07
- Re: Window configurations, martin rudalics, 2010/06/08
- Re: Window configurations, Stefan Monnier, 2010/06/08
- Re: Window configurations, martin rudalics, 2010/06/11
- Re: Window configurations, Stefan Monnier, 2010/06/11
- Re: Window configurations, martin rudalics, 2010/06/11
Re: Window configurations, martin rudalics, 2010/06/29