[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
Re: window-next-buffers
From:
Juri Linkov
Subject:
Re: window-next-buffers
Date:
2011年11月25日 12:33:46 +0200
User-agent:
Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (x86_64-pc-linux-gnu)
>> This sounds like an overly optimization. But actually I can't find
>> a case where `next-buffer' would fail to get information about markers.
>> Is this because information about markers of next buffers is retrieved
>> from `window-prev-buffers'?
>
> Yes. In `switch-to-next-buffer'
>
> (assq buffer (window-prev-buffers window))
>
> provides this information. `window-next-buffers' is exclusively used
> for buffer navigation within a window. `window-prev-buffers' is used in
> other occasions like `quit-window' where I don't care about a window's
> next buffers.
IIUC this means that a set of next-buffers is a subset of prev-buffers.
>> Isn't better to push a new window to the top of the list of next buffers
>> to not lose information about the rest of next buffers?
>
> Can you elaborate what you mean here? A new window has neither previous
> nor next buffers.
Sorry, I meant "a new buffer" (displayed in the selected window
by `set-window-buffer').
- window-next-buffers , Chong Yidong, 2011年11月24日
- Re: window-next-buffers , Chong Yidong, 2011年11月24日
- Re: window-next-buffers , martin rudalics, 2011年11月24日
- Re: window-next-buffers , Juri Linkov, 2011年11月24日
- Re: window-next-buffers , martin rudalics, 2011年11月25日
- Re: window-next-buffers,
Juri Linkov <=
- Re: window-next-buffers , martin rudalics, 2011年11月25日
- Re: window-next-buffers , Stephen J. Turnbull, 2011年11月25日
- Re: window-next-buffers , Chong Yidong, 2011年11月25日
- Re: window-next-buffers , Juri Linkov, 2011年11月25日
- Re: window-next-buffers , Chong Yidong, 2011年11月26日
- Re: window-next-buffers , martin rudalics, 2011年11月26日