From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: `q' in `C-h C-h' does not act like `View-quit' Date: Fri, 15 Sep 2006 16:26:53 -0700 Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1158362846 3361 80.91.229.2 (15 Sep 2006 23:27:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Sep 2006 23:27:26 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 16 01:27:24 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GON5c-0008Nj-K6 for ged-emacs-devel@m.gmane.org; Sat, 16 Sep 2006 01:27:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GON5b-0007Ml-IF for ged-emacs-devel@m.gmane.org; Fri, 15 Sep 2006 19:27:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GON5K-0007KW-S6 for emacs-devel@gnu.org; Fri, 15 Sep 2006 19:27:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GON5I-0007Hl-PG for emacs-devel@gnu.org; Fri, 15 Sep 2006 19:27:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GON5I-0007HM-C3 for emacs-devel@gnu.org; Fri, 15 Sep 2006 19:27:00 -0400 Original-Received: from [141.146.126.228] (helo=agminet01.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.52) id 1GON7Y-0002TH-UF for emacs-devel@gnu.org; Fri, 15 Sep 2006 19:29:21 -0400 Original-Received: from rgmsgw01.us.oracle.com (rgmsgw01.us.oracle.com [138.1.186.51]) by agminet01.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id k8FNQwHf023047 for ; Fri, 15 Sep 2006 18:26:58 -0500 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-83-5.vpn.oracle.com [141.144.83.5]) by rgmsgw01.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id k8FNQvtm026360 for ; Fri, 15 Sep 2006 17:26:57 -0600 Original-To: "Emacs-Devel" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1807 X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59899 Archived-At: I use one buffer per frame, by default, so *Help* appears in its own frame. I have `view-remove-frame-by-deleting' = t, so when I hit `q', the *Help* frame is deleted; gone. Just what I want: a pop-up window (frame) that disappears upon `q'. However, `C-h C-h' acts differently, and I apparently have no such control in that case (let me know if I'm missing something). `q' in *Help* is bound to `help-quit', not to `View-quit', after `C-h C-h'. Result? The frame is always iconified by `q' after `C-h C-h'. On MS Windows, this means that it zooms across the dislay into the task bar - very annoying. `C-g' does the same thing as `q' after `C-h C-h', for some reason. It is apparently not bound at that time to `keyboard-quit'. [Worse: in my setup, I capture iconification, to position the frame on the desktop as a thumbnail-frame "icon", instead of using task-bar iconification. I don't want a tiny icon of the *Help* frame. Worse: after this "iconification", `q' is once bound again to `View-quit', but it then does _nothing_, presumably because the window config has changed, so `View-quit' gets confused. Just a guess - I've given up trying to understand the intricacies of `View-quit'...] Can't `C-h C-h' just use View mode normally? If not, is there some easy way to make `q' delete the frame after `C-h C-h', as it does normally for *Help* with `view-remove-frame-by-deleting' = t? I suppose I can rebind `q' to `delete-frame' (or to my `kill-buffer' version that deletes the window, or frame if one-window-p), but it seems like this should be a general problem: Why doesn't `q' do the same thing at all times in *Help*? Why isn't it always bound to `View-quit'? [GNU Emacs 22.0.50.1 (i386-msvc-nt5.1.2600) of 2006-07-19 on BOS-CTHEWLAP2 X server distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-msvc (12.00)']