From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: annoying behavior of emacs --daemon Date: Mon, 3 Nov 2008 22:34:16 -0800 (PST) Message-ID: <200811040634.mA46YGHE015780@mothra.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1225780491 13293 80.91.229.12 (4 Nov 2008 06:34:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Nov 2008 06:34:51 +0000 (UTC) Cc: emacs-devel@gnu.org To: Miles Bader Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 04 07:35:51 2008 connect(): Connection refused Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from mail-forward1.uio.no ([129.240.10.70]) by lo.gmane.org with esmtp (Exim 4.50) id 1KxFW1-0008Rh-Vt for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 07:35:49 +0100 Original-Received: from exim by mail-out1.uio.no with local-bsmtp (Exim 4.69) (envelope-from ) id 1KxFUv-0006AI-CU for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 07:34:41 +0100 Original-Received: from mail-mx1.uio.no ([129.240.10.29]) by mail-out1.uio.no with esmtp (Exim 4.69) (envelope-from ) id 1KxFUv-0006AF-BK for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 07:34:41 +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 1KxFUu-00030r-O2 for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 07:34:41 +0100 Original-Received: from localhost ([127.0.0.1]:34794 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxFUo-0006Ix-C1 for ged-emacs-devel@m.gmane.org; Tue, 04 Nov 2008 01:34:34 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KxFUh-0006IW-5k for emacs-devel@gnu.org; Tue, 04 Nov 2008 01:34:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KxFUg-0006Hv-8J for emacs-devel@gnu.org; Tue, 04 Nov 2008 01:34:26 -0500 Original-Received: from [199.232.76.173] (port=43133 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KxFUf-0006Hi-RV for emacs-devel@gnu.org; Tue, 04 Nov 2008 01:34:25 -0500 Original-Received: from sallyv2.ics.uci.edu ([128.195.1.120]:55240) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1KxFUe-0002CU-8C; Tue, 04 Nov 2008 01:34:24 -0500 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv2.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id mA46YGUX017904; Mon, 3 Nov 2008 22:34:16 -0800 (PST) Original-Received: (from dann@localhost) by mothra.ics.uci.edu (8.13.8+Sun/8.13.6/Submit) id mA46YGHE015780; Mon, 3 Nov 2008 22:34:16 -0800 (PST) In-Reply-To: (Miles Bader's message of "Tue, 04 Nov 2008 14:48:43 +0900") Original-Lines: 18 X-ICS-MailScanner-Information: Please contact the ISP for more information X-ICS-MailScanner-ID: mA46YGUX017904 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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: 70A735F33511D8D63F5A5DA3B6932B20E328F01D X-UiO-SPAM-Test: remote_host: 199.232.76.165 spam_score: -39 maxlevel 200 minaction 2 bait 0 mail/h: 8 total 75636 max/h 424 blacklist 0 greylist 0 ratelimit 0 Xref: news.gmane.org gmane.emacs.devel:105324 Archived-At: Miles Bader writes: > 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. I can't reproduce this... Can you reproduce this with emacs -Q --daemon ?