all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Hansen <lists@soem.dk>
Cc: David Reitter <david.reitter@gmail.com>,
	Emacs-Devel ' <emacs-devel@gnu.org>
Subject: Re: pop-to-buffer does not change input focus
Date: Sun, 23 Apr 2006 21:31:38 +0200	[thread overview]
Message-ID: <444BD61A.6020607@soem.dk> (raw)
In-Reply-To: <jwvhd4miqwh.fsf-monnier+emacs@gnu.org>

Stefan Monnier wrote:

>But in Fpop_to_buffer, we call Fselect_window on the window just displayed
>by Fdisplay_buffer and *that* should cause the input focus to be set.
>  
>
I don't think Fselect_window is supposed to set the input focus. AFAICS
from reading section 29.9 in the Emacs Lisp Manual (Input Focus), the
only lisp function that changes input focus is select-frame-set-input-focus.
The reason why the frame selected by pop-to-buffer gets input focus when
it is newly created but not when it existed already, is because newly
created frames get input focus (at least under my test test conditions
(GNU/Linux with Gnome)), whereas frames just raised don't.

IHMO this is confusing. Why don't select-frame set the input focus?

  parent reply	other threads:[~2006-04-23 19:31 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-21 16:59 pop-to-buffer does not change input focus David Reitter
2006-04-21 17:44 ` Stefan Monnier
2006-04-21 20:01   ` Lennart Borgman
2006-04-21 20:23     ` David Reitter
2006-04-21 20:57 ` Lars Hansen
2006-04-21 21:06   ` Stefan Monnier
2006-04-21 22:51     ` Lars Hansen
2006-04-23 19:31     ` Lars Hansen [this message]
2006-04-24 17:52       ` Richard Stallman
2006-04-24 21:27         ` Stefan Monnier

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

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

  git send-email \
    --in-reply-to=444BD61A.6020607@soem.dk \
    --to=lists@soem.dk \
    --cc=david.reitter@gmail.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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.