From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Fundamental mode vs. special mode Date: Sun, 23 Oct 2011 03:21:27 -0400 Message-ID: References: <86sjmkvl80.fsf@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1319354503 6175 80.91.229.12 (23 Oct 2011 07:21:43 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 Oct 2011 07:21:43 +0000 (UTC) Cc: emacs-devel@gnu.org To: Christoph Scholtes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 23 09:21:38 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RHsNG-0006l1-0q for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2011 09:21:38 +0200 Original-Received: from localhost ([::1]:54812 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHsN9-0004Ox-NP for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2011 03:21:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:53945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHsN7-0004Os-BE for emacs-devel@gnu.org; Sun, 23 Oct 2011 03:21:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHsN5-0003XR-US for emacs-devel@gnu.org; Sun, 23 Oct 2011 03:21:29 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:38394) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHsN5-0003XN-Sr for emacs-devel@gnu.org; Sun, 23 Oct 2011 03:21:27 -0400 Original-Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RHsN5-0006yA-M1; Sun, 23 Oct 2011 03:21:27 -0400 In-Reply-To: <86sjmkvl80.fsf@googlemail.com> (Christoph Scholtes's message of "Sat, 22 Oct 2011 14:13:03 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 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:145427 Archived-At: Christoph Scholtes writes: > I come across a few instances where buffers are created in Fundamental > mode, for example *Shell Mode Output*. It would be convenient if those > were created in special mode, since then `q' (or `C-u q') would invoke > quit-window and bury (or kill) the buffer. > > Or could we add a Fundamental mode map with a few basic commands, like > `q' (quit-window)? Special-mode could inherit from it. It's not a good idea to add anything to Fundamental mode. The point of it is to be fundamental. Anyway, binding "q" to `quit-window' is no good; I imagine some users expect want to be able to edit the buffer. Same with other cases like the *Messages* buffer.