From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.devel Subject: Re: quit-window Date: Mon, 24 Oct 2011 19:00:01 -0600 Message-ID: <86d3dldgxa.fsf@googlemail.com> References: <86mxcsvjsk.fsf@googlemail.com> <4EA3DC67.8050607@gmx.at> <8639ejhf3b.fsf@googlemail.com> <4EA46455.5060408@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319504422 8646 80.91.229.12 (25 Oct 2011 01:00:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 25 Oct 2011 01:00:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 25 03:00:18 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 1RIVNJ-00047B-AM for ged-emacs-devel@m.gmane.org; Tue, 25 Oct 2011 03:00:17 +0200 Original-Received: from localhost ([::1]:43223 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIVNI-0006c8-Fl for ged-emacs-devel@m.gmane.org; Mon, 24 Oct 2011 21:00:16 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:46639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIVNE-0006bq-Fd for emacs-devel@gnu.org; Mon, 24 Oct 2011 21:00:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIVND-0007hm-7m for emacs-devel@gnu.org; Mon, 24 Oct 2011 21:00:12 -0400 Original-Received: from mail-qw0-f41.google.com ([209.85.216.41]:53788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIVND-0007hg-4w for emacs-devel@gnu.org; Mon, 24 Oct 2011 21:00:11 -0400 Original-Received: by qadc11 with SMTP id c11so3278808qad.0 for ; Mon, 24 Oct 2011 18:00:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; bh=iWS56IMXX/PXG3lEPGIXTKHlrDKPZLatNQYezT0rhh8=; b=vVZZzk/Ids12V0x7TsRum470XRBs/+T4eOxjjUKx5mUc4FDchxMJ9BPXoXddoOBTvj CHmPAl1KtZA46fjaxAI/hpH74SGf7iPePtVjia+IqR5CzpCssDZpIpm/cagYsHiej2pp xp564rrpc7MljnQXK9qDgrLh2om1QaW7eQi24= Original-Received: by 10.224.186.134 with SMTP id cs6mr20679812qab.0.1319504410232; Mon, 24 Oct 2011 18:00:10 -0700 (PDT) Original-Received: from MARVIN (71-208-77-210.hlrn.qwest.net. [71.208.77.210]) by mx.google.com with ESMTPS id eg7sm29472866qab.2.2011.10.24.18.00.07 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Oct 2011 18:00:08 -0700 (PDT) In-Reply-To: <4EA46455.5060408@gmx.at> (martin rudalics's message of "Sun, 23 Oct 2011 21:00:37 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (windows-nt) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.216.41 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:145487 Archived-At: martin rudalics writes: > W'de have to handle this test > > (if Info-standalone > (save-buffers-kill-emacs) > (quit-window))) > > somehow without creating surprises for people using the standalone > version. What surprises are you thinking of? > You might also try patching (some of) them right away so we know whether > there are any pitfalls ;-) Yes, for short term the most annoying instancse can be fixed without a hook. > The problem is that the more hooks we have in one call, the more the > order in which these hooks are executed does matter. For example, I > believe that when I run `kill-buffer', `kill-buffer-hook' is called > before `window-configuration-change-hook'. When I run `quit-window' > with the first argument t, the order seems > `window-configuration-change-hook', `kill-buffer-hook', and possibly > another `window-configuration-change-hook' if the buffer was displayed > in a second window. This is already very confusing for me in current > Emacs. That does seem confusing. I wonder why there are differences.