From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Mathias Dahl" Newsgroups: gmane.emacs.devel Subject: Re: How to get "emacsclient --eval x" to DWIM when Emacs is not started Date: Mon, 31 Mar 2008 09:44:14 +0200 Message-ID: <7dbe73ed0803310044h9fcec7bw729dda4a15cc2fd6@mail.gmail.com> References: <7dbe73ed0803301309t3de07534w9b86159192214e07@mail.gmail.com> <47EFF64F.7080408@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1206949478 11308 80.91.229.12 (31 Mar 2008 07:44:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 31 Mar 2008 07:44:38 +0000 (UTC) Cc: "Lennart Borgman \(gmail\)" , emacs-devel@gnu.org To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 31 09:45:09 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 1JgEhV-0004jG-Mn for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 09:45:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgEgt-0006lX-Um for ged-emacs-devel@m.gmane.org; Mon, 31 Mar 2008 03:44:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JgEgl-0006dz-8J for emacs-devel@gnu.org; Mon, 31 Mar 2008 03:44:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JgEgi-0006aq-Kt for emacs-devel@gnu.org; Mon, 31 Mar 2008 03:44:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JgEgi-0006aP-7L for emacs-devel@gnu.org; Mon, 31 Mar 2008 03:44:16 -0400 Original-Received: from wa-out-1112.google.com ([209.85.146.177]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JgEgh-0002gW-RT for emacs-devel@gnu.org; Mon, 31 Mar 2008 03:44:16 -0400 Original-Received: by wa-out-1112.google.com with SMTP id k34so1884766wah.10 for ; Mon, 31 Mar 2008 00:44:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; 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=fd/NNZDvEl+/iu3m1bR2vbS2x897zZg6l94hY0RymEc=; b=DZppPybsHFcqW3QaCT/ShAkDj3dz2TliFtIvMG8jw2I/sOt9D3eaClzLqlbN4cxAZbIUJa8NR/R4doepFdRIoLSbP+/ejva0kY/JGufTc/U8ndJ90i+CJ+2eul6HVhvoXmlSgT8JQeaXk51b6MHN+zTIrx5UndE/f0Wxb4n2sUE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=RBrvJo2cx1A+P6WnvWRe6O2vh/bMUENjRLB8omGmHOzjNLDdlLAhcOseJpTVuiHoHKPY5bCazEpUTuSM2nCYDXCbGpV9BYFv5jFDh8PIKU9nRwT5Nmv0jLQXExHEmSQrRxjpY7xHFymAjOhM9DboSdEKMtnniLHOePTlaxuMPMc= Original-Received: by 10.115.75.1 with SMTP id c1mr9383248wal.114.1206949454415; Mon, 31 Mar 2008 00:44:14 -0700 (PDT) Original-Received: by 10.114.146.9 with HTTP; Mon, 31 Mar 2008 00:44:14 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: by monty-python.gnu.org: 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:94018 Archived-At: > I think it would be a good change for emacsclient to auto-start an Emacs > server if the server is not running yet. When Emacs is used as alternate editor, why can't emacsclient simply wait until it is started and then try doing the eval the user requested with --eval? I already have (server-start) in my .emacs so there is no need for emacsclient to start it.