From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?Q?Elias_M=C3=A5rtenson?= Newsgroups: gmane.emacs.devel Subject: Re: put input focus on active minibuffer Date: Wed, 24 Feb 2016 10:22:21 +0800 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11416d4063eb50052c7abc4d X-Trace: ger.gmane.org 1456280563 18448 80.91.229.3 (24 Feb 2016 02:22:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 24 Feb 2016 02:22:43 +0000 (UTC) To: John Wiegley , Katsumi Yamaoka , emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Feb 24 03:22:42 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aYP68-000100-FB for ged-emacs-devel@m.gmane.org; Wed, 24 Feb 2016 03:22:40 +0100 Original-Received: from localhost ([::1]:32905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYP67-0002KJ-RU for ged-emacs-devel@m.gmane.org; Tue, 23 Feb 2016 21:22:39 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40294) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYP5r-0002Jv-RR for emacs-devel@gnu.org; Tue, 23 Feb 2016 21:22:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aYP5q-0000w3-Se for emacs-devel@gnu.org; Tue, 23 Feb 2016 21:22:23 -0500 Original-Received: from mail-vk0-x230.google.com ([2607:f8b0:400c:c05::230]:35559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aYP5q-0000vz-Mf; Tue, 23 Feb 2016 21:22:22 -0500 Original-Received: by mail-vk0-x230.google.com with SMTP id e6so4370911vkh.2; Tue, 23 Feb 2016 18:22:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tj6Re7sGIt8hESloqreHkQXFAlgVHnU36OtCmA4jm8s=; b=Pqd8KxUAxRAGpIcXMEclss9ILjOiJQPVHDhHtd2aUWVCQ9PttCmNyflGI2EhafS2sJ IEOwAHnARxPmrEZECosTniDbL1/1j89GwZJmQrcKw4eu4VL6AW69KU82knthWNFfLdIV 4MXMLa6F+YekYX5egLj65cIHYZQ0Jb/oY3dBqs4Q5QYb3uT2WBwfRUVKQOMRanb2Jwvt HMKHaKx7X6yiv15pb6zd0Q9VXUnOuovQeYJGDbmR/V7n7Qa4xLyrKkQGgl41wukKfxPN s64KMU55gIZCbiDdUZ56Ay1NdHN+czvb9GgS6oHwSv8hj9cFfy7zNdMwN95JLzJfG+YZ iElQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=tj6Re7sGIt8hESloqreHkQXFAlgVHnU36OtCmA4jm8s=; b=mVWtvStL9aewZY5BO4nm6x2hvS1z6LvzryQojHjtA13nfBLXtpcaBvsP5WM7JE3TYh rDSKc/vjbViW6ima47ImIu66zeHYNeVpkGr8OgYhbsz++zxJbw4GdldM5hExFLVkBXCw 66k/A7Ml1ziuXZyWD0wnjfbuiU+t5ItYgJhxXDoJs5Cyf7tL5l606g9iXNd/LBwtuB1Y gKq2hNfJW7GQ0H+SPCE0vsOGMzuRm6s9Qn/MVyTCy5hmtaykGK99YmfxUkfgN0wq54ea zODwbM6sZFkVOq9SnZOxt/hH0aALYS15PcczFnDg8n3EtKI2Cz/uZsSiebqBMgZgWSWG jqHQ== X-Gm-Message-State: AG10YOQGTl3knx+8q2t/m46hapOyGeZyGaDzuIUhM89qdAozyziGMl5V+d40JGXnZ9Af5ABz3sNyQ7VIByAyGg== X-Received: by 10.31.42.198 with SMTP id q189mr19587312vkq.60.1456280541848; Tue, 23 Feb 2016 18:22:21 -0800 (PST) Original-Received: by 10.176.3.146 with HTTP; Tue, 23 Feb 2016 18:22:21 -0800 (PST) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400c:c05::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:200584 Archived-At: --001a11416d4063eb50052c7abc4d Content-Type: text/plain; charset=UTF-8 On 20 February 2016 at 10:26, John Wiegley wrote: > >>>>> Katsumi Yamaoka writes: > > Since Emacs allows the use of other buffers while the minibuffer is waiting > for input, it's not uncommon to click on the window you want to interact > with, > regardless of whether a question is being asked. So I don't think we can > change the default behavior to switch window focus based on such a > question in > the minibuffer. Just an idea: What if the "focus to minibuffer on frame activation" is only enabled when the focus was already in the minibuffer then the window lost focus? Regards, Elias --001a11416d4063eb50052c7abc4d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 2= 0 February 2016 at 10:26, John Wiegley <jwiegley@gmail.com>= wrote:
>>>>= > Katsumi Yamaoka <yamaoka@jpl.org= > writes:

Since Emacs allows the use of other buffers while the minibuffer= is waiting
for input, it's not uncommon to click on the window you want to interac= t with,
regardless of whether a question is being asked. So I don't think we ca= n
change the default behavior to switch window focus based on such a question= in
the minibuffer.

Just an idea:
What if the "focus to minibuffer on frame activation"= is only enabled when the focus was already in the minibuffer then the wind= ow lost focus?

Regards,
Elias=C2=A0
=
--001a11416d4063eb50052c7abc4d--