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: quitting help buffer Date: Thu, 8 Sep 2005 20:56:55 -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 1126239196 6233 80.91.229.2 (9 Sep 2005 04:13:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Sep 2005 04:13:16 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 09 06:13:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EDaFp-0007pJ-Ci for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2005 06:12:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDaFo-00006K-LA for ged-emacs-devel@m.gmane.org; Fri, 09 Sep 2005 00:12:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EDaEI-0008EK-9D for emacs-devel@gnu.org; Fri, 09 Sep 2005 00:11:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EDaED-0008CD-Mt for emacs-devel@gnu.org; Fri, 09 Sep 2005 00:11:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EDaEB-00084g-Iy for emacs-devel@gnu.org; Fri, 09 Sep 2005 00:11:03 -0400 Original-Received: from [141.146.126.231] (helo=agminet04.oracle.com) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1EDa57-0005Wc-9X for emacs-devel@gnu.org; Fri, 09 Sep 2005 00:01:41 -0400 Original-Received: from rgmsgw300.us.oracle.com (rgmsgw300.us.oracle.com [138.1.186.49]) by agminet04.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j893uv6i028642 for ; Thu, 8 Sep 2005 22:56:57 -0500 Original-Received: from rgmsgw300.us.oracle.com (localhost [127.0.0.1]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with ESMTP id j893uuOK031857 for ; Thu, 8 Sep 2005 21:56:56 -0600 Original-Received: from dradamslap (dhcp-amer-whq-csvpn-gw3-141-144-82-86.vpn.oracle.com [141.144.82.86]) by rgmsgw300.us.oracle.com (Switch-3.1.7/Switch-3.1.7) with SMTP id j893ut29031850 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO) for ; Thu, 8 Sep 2005 21:56:56 -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.1506 X-Brightmail-Tracker: AAAAAQAAAAI= 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:42766 Archived-At: I cannot figure out how to make `q' do what it used to do in Emacs 20, to quit the *Help* buffer. I use non-nil `pop-up-frames'. I want `q' to do the equivalent of `quit-window'. In my context, that will kill the buffer and delete its frame (thanks to my redefining `delete-window' to DTRT for one-window pop-up-frames). Bye; good riddance. I don't want `q' to iconify the frame, slip it in my back pocket, mail it to me, or do any of the other strange and wonderful things I see advertised in the doc for `view-mode'. How can I get `q' to do something as simple as kill the buffer and delete its window (frame)? BTW, I find the doc string for view-mode difficult to understand wrt the various quitting scenarios. It doesn't help that there are multiple similarly named commands that use synonyms for "quit" as their only distinction: View-quit View-exit View-exit-and-edit View-quit-all View-leave View-kill-and-leave What is this? The variations don't tell us anything in particular about what the functions do - there is no significant difference between the words "quit", "exit", and "leave". Why not also View-split, -give-up, -depart, -drop-out, -relinguish, -throw-in-the-towel, -take-leave, -go-away, -go-out, -get-out, -pull-up-stakes, and -escape? Or are those variants being saved for Emacs 23? Not to mention combinations of these with possible subsequent actions: -and-kill, -and-pass-out, -and-hang-around, -and-go-down-to-the-poo l-hall,... Could this be a sign that something is wrong in the design? Isn't it a bit bizarre for a command to spend so much effort trying to deal with all of the possible ways and contexts in which it might be called (used)? Shouldn't such concerns be for the callers and not the callee? This seems bass ackwards, to me.