[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: window-next-buffers
From: |
martin rudalics |
Subject: |
Re: window-next-buffers |
Date: |
Thu, 24 Nov 2011 10:59:59 +0100 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
> IIUC, the functions window-next-buffers and set-window-next-buffers (and
> the corresponding next_buffers slot) exist for navigating "forward" in
> the window history list, via switch-to-next-buffer, after doing
> switch-to-prev-buffer.
>
> Maintaining separate prev-history and next-history lists is not very
> Emacs-y. Why isn't this a ring?
Because `window-previous-buffers' returns a list of <buffer window-start
pos> triples where the latter two are markers and `window-next-buffers'
a plain list of buffers. Maintaining markers is expensive, so I wanted
to reduce the overhead for the next buffers part of the list.
martin
- window-next-buffers, Chong Yidong, 2011/11/24
- Re: window-next-buffers, Chong Yidong, 2011/11/24
- Re: window-next-buffers,
martin rudalics <=
- Re: window-next-buffers, Juri Linkov, 2011/11/24
- Re: window-next-buffers, martin rudalics, 2011/11/25
- Re: window-next-buffers, Juri Linkov, 2011/11/25
- 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