[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: window-next-buffers

From: Chong Yidong
Subject: Re: window-next-buffers
Date: Sat, 26 Nov 2011 00:05:11 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.91 (gnu/linux)

"Stephen J. Turnbull" <address@hidden> writes:

> Juri Linkov writes:
>  > IIUC this means that a set of next-buffers is a subset of
>  > prev-buffers.
> Actually, I suspect it means that Yidong was right when he suggested a
> ring.  Butnevermind....

No, I was wrong: a ring isn't a good fit for the design, in which
`switch-to-prev-buffer' (i) switches to the previous buffers displayed
in the buffer, and (ii) after successive `switch-to-prev-buffer's reach
the end of that list, the command moves on to other buffers in the
buffer list which the window hadn't visited before.  If we used a ring,
we'd never hit the end, so we'd never move on to (ii).

But I think the next-buffers list should be considered an internal
detail (i.e. internal to the workings of next-buffer/previous-buffer),
and shouldn't be documented in the Lisp manual.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]