From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: annoying behavior of emacs --daemon Date: Tue, 04 Nov 2008 14:48:43 +0900 Message-ID: Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225778924 10450 80.91.229.12 (4 Nov 2008 06:08:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 06:08:44 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 04 07:09:45 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward2.uio.no ([129.240.10.71]) by lo.gmane.org with esmtp (Exim 4.50) id 1KxF6l-0003b3-80 for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 07:09:43 +0100 Original-Received: from exim by mail-out2.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1KxF5e-0004rH-OV for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 07:08:34 +0100 Original-Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1KxF5e-0004rE-NS for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 07:08:34 +0100 Original-Received: from lists.gnu.org ([199.232.76.165]) by mail-mx1.uio.no with esmtps (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1KxF5e-0004dX-2m for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 07:08:34 +0100 Original-Received: from localhost ([127.0.0.1]:41070 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxEmi-00027G-KE for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 00:49:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxEmc-00025F-8z for emacs-devel@gnu.org; Tue, 04 Nov 2008 00:48:54 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxEma-00024u-GO for emacs-devel@gnu.org; Tue, 04 Nov 2008 00:48:53 -0500 Original-Received: from [199.232.76.173] (port=51780 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxEma-00024r-9f for emacs-devel@gnu.org; Tue, 04 Nov 2008 00:48:52 -0500 Original-Received: from tyo202.gate.nec.co.jp ([202.32.8.206]:51823) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KxEmY-0006Zy-Fe; Tue, 04 Nov 2008 00:48:51 -0500 Original-Received: from relay31.aps.necel.com ([10.29.19.54]) by tyo202.gate.nec.co.jp (8.13.8/8.13.4) with ESMTP id mA45mcWH013069; Tue, 4 Nov 2008 14:48:44 +0900 (JST) Original-Received: from relay31.aps.necel.com ([10.29.19.20] [10.29.19.20]) by relay31.aps.necel.com with ESMTP; Tue, 4 Nov 2008 14:48:44 +0900 Original-Received: from dhapc248.dev.necel.com ([10.114.112.215] [10.114.112.215]) by relay31.aps.necel.com with ESMTP; Tue, 4 Nov 2008 14:48:44 +0900 Original-Received: by dhapc248.dev.necel.com (Postfix, from userid 31295) id DA2453BD; Tue, 4 Nov 2008 14:48:43 +0900 (JST) System-Type: i686-pc-linux-gnu Blat: Foop Original-Lines: 15 X-detected-operating-system: by monty-python.gnu.org: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-UiO-SPF-Received: Received-SPF: pass (mail-mx1.uio.no: domain of gnu.org designates 199.232.76.165 as permitted sender) client-ip=199.232.76.165; envelope-from=emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org; helo=lists.gnu.org; X-UiO-Spam-info: not spam, SpamAssassin (score=-4.0, required=5.0, autolearn=disabled, MISSING_SUBJECT=0.001,NO_RECEIVED=-0.001,RCVD_IN_DNSWL_MED=-4, uiobl=NO, uiouri=NO) X-UiO-Scanned: 292AE1FDD7343C262CCDEC8D8B9905314B4F4805 X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 200 minaction 2 bait 0 mail/h: 3 total 75631 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:105323 Archived-At: When using --daemon, you initially have no frames. You can then make new frames with emacsclient -c or emacsclient -t, but if they're X frames, closing the last such created frame (with C-x # or C-x C-c) kills the emacs process! This _doesn't_ happen if you use emacsclient -t, because it specifically overrides those commands to do something reasonable. It seems like all emacsclient -c created frames should use some similar magic to what emacsclient -t uses, to prevent this annoying behavior. -Miles -- White, adj. and n. Black.