[Top][All Lists]

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

Re: BUG: which-func-mode

From: Robert J. Chassell
Subject: Re: BUG: which-func-mode
Date: Mon, 17 Mar 2003 12:51:07 +0000 (UTC)

You are right, there is a confusion regarding `select-window'.

As you point out

    select-window does not "display the buffer"

and as is said in

    (elisp)The Buffer List 

    .... The order of the buffers in the list is based primarily on
    how recently each buffer has been displayed in the selected
    window.  Buffers move to the front of the list when they are

Put another way, to be on the buffer list, a buffer must have been:

  * displayed in a window

  * that window selected

But according to its documentation, `select-window' only does the
latter.  It does not do both.

I think the confusion arises because a window always displays
something -- after all that is what a window is.  And in Emacs what a
window displays is a buffer.

Hence, `select-window' must display a buffer of some sort, although
nothing specifies which buffer is displayed.

Consequently, the two criteria for going onto the buffer list are met:
`select-window' must display some buffer in the window, and it also
selects the window.  Unfortunately, the documentation does not make
this clear.

    Robert J. Chassell                         Rattlesnake Enterprises
    http://www.rattlesnake.com                  GnuPG Key ID: 004B4AC8
    http://www.teak.cc                             address@hidden

reply via email to

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