From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Bind `q' to `quit-window' or similar in *Messages* Date: Thu, 04 Feb 2010 10:33:22 -0500 Message-ID: References: <874olx8yz7.fsf@regnitz.physics.niu.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1265297693 11216 80.91.229.12 (4 Feb 2010 15:34:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 4 Feb 2010 15:34:53 +0000 (UTC) Cc: Roland Winkler , emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 04 16:34:50 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Nd3jF-0004sZ-OW for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2010 16:34:50 +0100 Original-Received: from localhost ([127.0.0.1]:52080 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd3jF-0002fl-7t for ged-emacs-devel@m.gmane.org; Thu, 04 Feb 2010 10:34:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd3hv-000258-3O for emacs-devel@gnu.org; Thu, 04 Feb 2010 10:33:27 -0500 Original-Received: from [199.232.76.173] (port=60208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd3hu-00024q-H6 for emacs-devel@gnu.org; Thu, 04 Feb 2010 10:33:26 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd3hs-0002ai-1L for emacs-devel@gnu.org; Thu, 04 Feb 2010 10:33:26 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:57384 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nd3hr-0002aR-Nw; Thu, 04 Feb 2010 10:33:23 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ArsEALd3aktFpaN9/2dsb2JhbACBM9YthEwEimY X-IronPort-AV: E=Sophos;i="4.49,405,1262581200"; d="scan'208";a="55314294" Original-Received: from 69-165-163-125.dsl.teksavvy.com (HELO ceviche.home) ([69.165.163.125]) by ironport2-out.pppoe.ca with ESMTP; 04 Feb 2010 10:33:22 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 8B0B2B4270; Thu, 4 Feb 2010 10:33:22 -0500 (EST) In-Reply-To: (Miles Bader's message of "Thu, 04 Feb 2010 13:27:33 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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:120904 Archived-At: >> ...which brings us back to the original request: most often it is >> used for viewing what is happening, so that most people probably >> were happy if `q' had the same quit-window binding it has in other >> buffers that are not intended for editing. > Indeed. Agreed. I think we need: 1- define a major mode for it with `q' bound to quit-window. 2- default it to read-only. The major-mode will make it possible for people to add keybindings and things. Stefan PS: BTW, I've often felt that C-x C-q should turn on the undo-log when making a buffer writeable. It hasn't bothered me enough to actually code it up and try it, but maybe people could try it out and see if it leads to problems.