From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: error in server-running-p on M$ Date: Mon, 24 Nov 2008 16:45:26 +0100 Message-ID: References: <18730.50150.926915.791272@a1i15.kph.uni-mainz.de> <18730.51604.796378.597910@a1i15.kph.uni-mainz.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1227541919 21625 80.91.229.12 (24 Nov 2008 15:51:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 24 Nov 2008 15:51:59 +0000 (UTC) Cc: Eli Zaretskii , Stefan Monnier , emacs-devel@gnu.org To: "Ulrich Mueller" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 24 16:53:01 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 1L4dk2-0006UG-VW for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2008 16:52:51 +0100 Original-Received: from localhost ([127.0.0.1]:36011 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4diq-0001Wl-4f for ged-emacs-devel@m.gmane.org; Mon, 24 Nov 2008 10:51:36 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L4dic-0001Vw-QC for emacs-devel@gnu.org; Mon, 24 Nov 2008 10:51:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L4dib-0001V0-BQ for emacs-devel@gnu.org; Mon, 24 Nov 2008 10:51:22 -0500 Original-Received: from [199.232.76.173] (port=50544 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L4dib-0001Ux-5O for emacs-devel@gnu.org; Mon, 24 Nov 2008 10:51:21 -0500 Original-Received: from an-out-0708.google.com ([209.85.132.251]:41891) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L4dcu-0006Aq-Bd for emacs-devel@gnu.org; Mon, 24 Nov 2008 10:45:28 -0500 Original-Received: by an-out-0708.google.com with SMTP id c38so866630ana.21 for ; Mon, 24 Nov 2008 07:45:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=3UWCCLv6wk7Nw0XyZ6vWjhSJEndgtBrK6rNDLnB2+i0=; b=f/7nK83rG/vygIgS52LCCdCAwHnfJ4TvPnM5oNhxDmmHjBq9r0Ot052N9FXfmsSB2Q iyAQaU2rfc/j7W79W+M2Y7bl0XRfHQu6gsOQUZauAiBmnA52X4HluxMUa7WTmBeufgDE B/TUrqv01pIiZtTp46uU2I4o5+t/HoC9KthZ4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=La5Pzeq3pvWQP/+ubhwUx0XrUY9XxZPjhSrCnCSCkcF4fGx1FaNwwIioCH4i0sVpHo ILVLTOV8oocZRKxrtOmiTC995ZppY99ubs+fJcEDeBpueXLR8QEm6q/vAwUNUcF3CkzW ZSXyOL95b6NqcmetZbnoQwq4lQIWUkLyzrThg= Original-Received: by 10.100.209.5 with SMTP id h5mr1563494ang.79.1227541527093; Mon, 24 Nov 2008 07:45:27 -0800 (PST) Original-Received: by 10.100.13.13 with HTTP; Mon, 24 Nov 2008 07:45:26 -0800 (PST) In-Reply-To: <18730.51604.796378.597910@a1i15.kph.uni-mainz.de> Content-Disposition: inline X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:106071 Archived-At: On Mon, Nov 24, 2008 at 16:34, Ulrich Mueller wrote: > Yes. My thought was that in daemon mode server-start is called > non-interactively, so an interactive confirmation is useless there. That's not a prefix argument, then. You're not going to call `server-start' or `server-mode' interactively from a daemonized Emacs; the call happens in startup.el. Perhaps a variable (or defcustom)? > So another optional argument might be needed, with three possible > values for "override", "don't override", "ask for confirmation". I think that's a bit messy. Juanma