From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: bug in server-start Date: Mon, 15 Dec 2008 15:12:05 -0500 Message-ID: References: <18758.7352.558182.931572@kahikatea.snap.net.nz> <18758.14760.572830.277734@kahikatea.snap.net.nz> <200812151724.mBFHOSnS029425@mothra.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229371976 20872 80.91.229.12 (15 Dec 2008 20:12:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2008 20:12:56 +0000 (UTC) Cc: Juanma Barranquero , Nick Roberts , emacs-devel@gnu.org To: Dan Nicolaescu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 15 21:14:00 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCJol-0001Na-Hn for ged-emacs-devel@m.gmane.org; Mon, 15 Dec 2008 21:13:28 +0100 Original-Received: from localhost ([127.0.0.1]:59707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCJnZ-000412-Gq for ged-emacs-devel@m.gmane.org; Mon, 15 Dec 2008 15:12:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCJnU-0003yf-0d for emacs-devel@gnu.org; Mon, 15 Dec 2008 15:12:08 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCJnS-0003xJ-UF for emacs-devel@gnu.org; Mon, 15 Dec 2008 15:12:07 -0500 Original-Received: from [199.232.76.173] (port=33690 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCJnS-0003x9-Lj for emacs-devel@gnu.org; Mon, 15 Dec 2008 15:12:06 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:53939) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCJnS-0005X0-Bv for emacs-devel@gnu.org; Mon, 15 Dec 2008 15:12:06 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AroEALNIRknO+J7J/2dsb2JhbACBbMt1gn6BMYJI X-IronPort-AV: E=Sophos;i="4.36,226,1228107600"; d="scan'208";a="31083910" Original-Received: from 206-248-158-201.dsl.teksavvy.com (HELO pastel.home) ([206.248.158.201]) by ironport2-out.teksavvy.com with ESMTP; 15 Dec 2008 15:12:04 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id AB9A47F41; Mon, 15 Dec 2008 15:12:05 -0500 (EST) In-Reply-To: <200812151724.mBFHOSnS029425@mothra.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 15 Dec 2008 09:24:28 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. 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 Xref: news.gmane.org gmane.emacs.devel:106943 Archived-At: > We could install something by default to restart the server when > receiving an USR1 or USR2 signal. We could, but it wouldn't change much to the underlying problem: the user still needs to somehow figure out (or at least suspect) that there's a dormant server, then use `ps' to find the PID. > Also currently the daemon is broken: > emacs -Q -f server-start& > emacs --daemon > Server "server" is already running > and the daemon is not started... Indeed, there's a bug here: it's correct that the daemon is not started, but the error should cause the daemon to quit. Stefan