emacs-devel
[Top][All Lists]
Advanced

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

Re: Buffer listing in multiple frames/ttys


From: Juri Linkov
Subject: Re: Buffer listing in multiple frames/ttys
Date: Sun, 04 Dec 2005 23:56:34 +0200
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>       So a buried buffer is
>     no longer available from (frame-parameter nil 'buffer-list) for
>     `prev-buffer' called in the same frame after changing the order of
>     buried buffers in another frame.
>
> Why is that a problem?

I often use `next-buffer' to switch to the next buffer in the buffer list,
and I expect that `prev-buffer' restores exactly the same buffers as left
with `next-buffer'.  However, after switching to another frame, and using
`next-buffer' in another frame and switching back to the original frame,
`prev-buffer' no more restores the same buffer as left with `next-buffer'
in the same frame.

(Actually I use only one Emacs frame and I switch window configurations
inside one frame.  Before switching a window configuration I set
the frame parameter `buffer-list' to the value saved in a special list.
Maybe `current-window-configuration' should store the frame's buffer list
in the window configuration, and `set-window-configuration' should restore
it automatically.  But anyway this is irrelevant to the problem that the
frame's buffer list doesn't maintain a list of frame-local buffers buried
with `prev-buffer'.  The same problem exists on multiple frames too).

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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