Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 1D32D431FD0 for ; Fri, 16 Dec 2011 17:19:43 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: -2.3 X-Spam-Level: X-Spam-Status: No, score=-2.3 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eRVEI4V6sr+G for ; Fri, 16 Dec 2011 17:19:42 -0800 (PST) Received: from tempo.its.unb.ca (tempo.its.unb.ca [131.202.1.21]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id 6E5E2431FB6 for ; Fri, 16 Dec 2011 17:19:42 -0800 (PST) Received: from zancas.localnet (fctnnbsc36w-156034079193.pppoe-dynamic.High-Speed.nb.bellaliant.net [156.34.79.193]) (authenticated bits=0) by tempo.its.unb.ca (8.13.8/8.13.8) with ESMTP id pBH1Jc5A029429 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 16 Dec 2011 21:19:38 -0400 Received: from bremner by zancas.localnet with local (Exim 4.77) (envelope-from ) id 1Rbiw5-0006JA-L3; Fri, 16 Dec 2011 21:19:37 -0400 From: David Bremner To: Jameson Graef Rollins , Thomas Jost , notmuch@notmuchmail.org Subject: Re: [PATCH v3 1/4] emacs: Let the user choose where to compose new mails In-Reply-To: <878vmcgjxl.fsf@servo.finestructure.net> References: <87d3cx2t38.fsf@rocinante.cs.unb.ca> <1323797532-597-1-git-send-email-schnouki@schnouki.net> <1323797532-597-2-git-send-email-schnouki@schnouki.net> <877h1y13dv.fsf@zancas.localnet> <87sjklzrcn.fsf@servo.finestructure.net> <87r505iecz.fsf@zancas.localnet> <878vmcgjxl.fsf@servo.finestructure.net> User-Agent: Notmuch/0.10.2+100~g430fb27 (http://notmuchmail.org) Emacs/23.3.1 (x86_64-pc-linux-gnu) Date: Fri, 16 Dec 2011 21:19:37 -0400 Message-ID: <87d3boc7va.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2011 01:19:43 -0000 On Fri, 16 Dec 2011 15:45:26 -0800, Jameson Graef Rollins wrote: > Hey, David. What exactly is the problem here? These seems like it's > actually reasonable behavior when you're using emacs in daemon mode, > yes? I don't actually use notmuch with emacs daemon/client, so I'm not > sure what behavior is expected. The frame started by "emacsclient -c" is no different than a frame started with "emacs". It closes when you type C-x C-c. In particular killing an emacs window should not kill the frame. With this patch, and notmuch-mua-compose-in set to new-window, notmuch does this. > If this is an emacsclient issue, should that prevent the patch from > going through? It is pretty disruptive to have a frame closed unexpectedly, and I think enough people use 'emacsclient -c' that this is not a use case we can dismiss. In any event, I just checked with 'emacs -q', no emacsclient, and the behaviour of 'new-window is strange there too, since it buries the notmuch window, and leaves the window containing the sent message displayed. d