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: quit-window Date: Sun, 23 Oct 2011 03:23:31 -0400 Message-ID: References: <86mxcsvjsk.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 1319354619 6841 80.91.229.12 (23 Oct 2011 07:23:39 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 Oct 2011 07:23:39 +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:23:36 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 1RHsP9-0007BL-J0 for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2011 09:23:35 +0200 Original-Received: from localhost ([::1]:46460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHsP9-0004qE-2D for ged-emacs-devel@m.gmane.org; Sun, 23 Oct 2011 03:23:35 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHsP6-0004py-9s for emacs-devel@gnu.org; Sun, 23 Oct 2011 03:23:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RHsP5-0003mp-H7 for emacs-devel@gnu.org; Sun, 23 Oct 2011 03:23:32 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:38441) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RHsP5-0003ml-EP for emacs-devel@gnu.org; Sun, 23 Oct 2011 03:23:31 -0400 Original-Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1RHsP5-0007AT-9w; Sun, 23 Oct 2011 03:23:31 -0400 In-Reply-To: <86mxcsvjsk.fsf@googlemail.com> (Christoph Scholtes's message of "Sat, 22 Oct 2011 14:43:55 -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:145428 Archived-At: Christoph Scholtes writes: > some modes are inhibiting consistency by wrapping quit-window in a > function, which in most cases performs some kind of cleanup. This > creates inconsistency in the interface since, for example, `C-u q' to > kill the buffer is not available anymore unless the wrapper passes on > the argument to quit-window. > > Finally, if there is mode-specific cleanup to be done, could we provide > a quit-window-hook to connect to so we can eliminate the need for > wrappers? Yes, good idea. I don't think it's that urgent, though; it can wait for post 24.1.