unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Robert J. Chassell" <bob@rattlesnake.com>
Cc: emacs-devel@gnu.org
Subject: Re: BUG: which-func-mode
Date: Mon, 17 Mar 2003 12:51:07 +0000 (UTC)	[thread overview]
Message-ID: <m18uu55-000IeIC@rattlesnake.com> (raw)
In-Reply-To: <200303162237.h2GMbgEq010788@rum.cs.yale.edu> (monnier+gnu/emacs@rum.cs.yale.edu)

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
    selected....

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                             bob@rattlesnake.com

  reply	other threads:[~2003-03-17 12:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05  0:36 BUG: which-func-mode Le Wang
2003-03-10 18:28 ` Stefan Monnier
2003-03-11 18:36   ` Richard Stallman
2003-03-11 19:07     ` Stefan Monnier
2003-03-13  7:48       ` Richard Stallman
2003-03-14 23:46         ` Stefan Monnier
2003-03-16  7:47           ` Richard Stallman
2003-03-16  8:02             ` Stefan Monnier
2003-03-16 12:48               ` Robert J. Chassell
2003-03-16 22:37                 ` Stefan Monnier
2003-03-17 12:51                   ` Robert J. Chassell [this message]
2003-03-18 13:22                     ` Richard Stallman
2003-03-17  4:51               ` Richard Stallman
2003-03-17 15:30                 ` Stefan Monnier
2003-03-17 23:24                   ` Richard Stallman
2003-03-18  0:53                     ` Stefan Monnier
2003-03-19  8:49                       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m18uu55-000IeIC@rattlesnake.com \
    --to=bob@rattlesnake.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).