From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#11039: 24.0.94; Window incorrectly getting selected Date: Tue, 20 Mar 2012 17:05:11 +0800 Message-ID: <87haxjfxrs.fsf@gnu.org> References: <87wr6i2ezh.fsf@gnu.org> <4F662E00.5080309@gmx.at> <87ipi1gm6y.fsf@gnu.org> <4F66E6C7.7060708@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1332234365 16372 80.91.229.3 (20 Mar 2012 09:06:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 20 Mar 2012 09:06:05 +0000 (UTC) Cc: 11039@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Mar 20 10:06:04 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1S9v11-0000nt-Jo for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 10:06:03 +0100 Original-Received: from localhost ([::1]:50877 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9v0y-0008QY-GL for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Mar 2012 05:06:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59726) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9v0s-0008OJ-Hq for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 05:05:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S9v0R-0000Nx-JC for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 05:05:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S9v0R-0000Ns-FE for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 05:05:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S9vU2-0002Hl-3N for bug-gnu-emacs@gnu.org; Tue, 20 Mar 2012 05:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Mar 2012 09:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 11039-submit@debbugs.gnu.org id=B11039.13322361598777 (code B ref 11039); Tue, 20 Mar 2012 09:36:02 +0000 Original-Received: (at 11039) by debbugs.gnu.org; 20 Mar 2012 09:35:59 +0000 Original-Received: from localhost ([127.0.0.1]:57740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S9vTz-0002HW-05 for submit@debbugs.gnu.org; Tue, 20 Mar 2012 05:35:59 -0400 Original-Received: from fencepost.gnu.org ([208.118.235.10]:34676) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S9vTw-0002HP-JJ for 11039@debbugs.gnu.org; Tue, 20 Mar 2012 05:35:58 -0400 Original-Received: from [155.69.17.182] (port=41980 helo=ulysses) by fencepost.gnu.org with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1S9v0K-0007ru-0H; Tue, 20 Mar 2012 05:05:20 -0400 In-Reply-To: <4F66E6C7.7060708@gmx.at> (martin rudalics's message of "Mon, 19 Mar 2012 08:56:55 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57892 Archived-At: martin rudalics writes: > When the help window is one out of three windows on a frame and you do > _not_ select it, it's quite difficult to restore the state of the frame > before showing help. You would have to (1) manually switch to the help > window, (2) type "q" in it, and maybe (3) switch back to the previously > selected window. If, however, you _do_ select the help window, you can > simply type "q" in it and get back the old state of affairs. > > The more problematic case occurs rather when there are only two windows > and help reuses the other window. In this case the default value of > `help-window-select' means you have to manually switch to that other > window and type "q" there. IMO, this is a very inconsistent interface. Help windows ought to stick closely to the default `display-buffer' behavior. I don't see why they should be treated so differently from other "display XYZ in another window" commands. In fact, the default `other' value seems like the worst of all worlds. You seem to be assuming that the user wants to dismiss the help window immediately, but I don't think that that's a justified assumption. When writing Emacs Lisp code, for instance, I like to leave one window open for the *Help* buffer, and this behavior keeps switching me out of the code buffer.