From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Advising quit-window Date: Thu, 27 Oct 2011 09:43:11 +0300 Organization: JURTA Message-ID: <87d3dj3pfk.fsf@mail.jurta.org> References: <8639eg8qm6.fsf@googlemail.com> <86aa8n6qbb.fsf@googlemail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319697870 5460 80.91.229.12 (27 Oct 2011 06:44:30 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 27 Oct 2011 06:44:30 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Christoph Scholtes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 27 08:44:26 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 1RJJhS-000706-3H for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2011 08:44:26 +0200 Original-Received: from localhost ([::1]:42559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJJhR-0000io-5u for ged-emacs-devel@m.gmane.org; Thu, 27 Oct 2011 02:44:25 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:43638) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJJhO-0000ij-E5 for emacs-devel@gnu.org; Thu, 27 Oct 2011 02:44:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RJJhN-0001K0-60 for emacs-devel@gnu.org; Thu, 27 Oct 2011 02:44:22 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]:39500) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RJJhN-0001Jt-0K for emacs-devel@gnu.org; Thu, 27 Oct 2011 02:44:21 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 86C056E8079; Wed, 26 Oct 2011 23:44:20 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 64769451C585; Wed, 26 Oct 2011 23:44:18 -0700 (PDT) In-Reply-To: <86aa8n6qbb.fsf@googlemail.com> (Christoph Scholtes's message of "Wed, 26 Oct 2011 21:55:52 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.113.175.8 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:145632 Archived-At: > Thanks. I didn't know that you could remap command like that. However, > this fixes quit-window to always kill. I like to be able to bury it with > `C-u q'. Yes, `C-u q' is an important requirement. And no advice, no remapping, no hook can do that. So we need a new customizable variable `quit-window-kill-buffer'. Then users could either customize it globally to t, or bind it buffer-locally in mode hooks. And `C-u q' will inverse its current behavior.