From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.help Subject: Re: emacsclientw not working Date: Fri, 21 Sep 2007 09:54:54 +0200 Message-ID: References: <1190303499.470035.279850@k79g2000hse.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1190361320 9700 80.91.229.12 (21 Sep 2007 07:55:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2007 07:55:20 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Ted Dennison" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 09:55:17 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IYdM4-0000zQ-GD for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Sep 2007 09:55:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYdM2-00031Z-8j for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Sep 2007 03:55:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IYdLm-0002z1-72 for help-gnu-emacs@gnu.org; Fri, 21 Sep 2007 03:54:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IYdLk-0002wW-C2 for help-gnu-emacs@gnu.org; Fri, 21 Sep 2007 03:54:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYdLk-0002wT-9b for help-gnu-emacs@gnu.org; Fri, 21 Sep 2007 03:54:56 -0400 Original-Received: from wx-out-0506.google.com ([66.249.82.230]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IYdLj-0000ct-QU for help-gnu-emacs@gnu.org; Fri, 21 Sep 2007 03:54:55 -0400 Original-Received: by wx-out-0506.google.com with SMTP id s7so587598wxc for ; Fri, 21 Sep 2007 00:54:54 -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=lXSe1SoRrmLG85xjoW1YXGxNkZK0GHz6Ee/Gs/ab/bQ=; b=IzJl3IX1OakqgiMZVmPBFi07p1R3n+g5ZRQ2bTMOFN9A1X5BV0ONaQoH+qQY0Q/2lG14NtdnpkLB4jNy6nLJs2uhnQQcDTox+Xs2NkTA1UY+WhIX5ADjmeLiIjnrYlzbp6HsbQZZvcHL1u9LjjexqLzUGtVZZpmG/cNXknRmUaw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=IumTndWYXYJ3FZvJAdx1HebAgMo4YahqTFOv6nt7PA8Qoqs3tB4y0z7eVqg+MRsBIz/6yHGS8G+69iNTXIHIoMGvQTtGi2LHlvvviHl7f81Fi/Dx8D/mfAJ8hPQxOw8qSjcU+IM5ZHADlq8zXVrt2DMqLp+d7bixABG1WDnuHYo= Original-Received: by 10.90.25.3 with SMTP id 3mr2402001agy.1190361294320; Fri, 21 Sep 2007 00:54:54 -0700 (PDT) Original-Received: by 10.90.103.8 with HTTP; Fri, 21 Sep 2007 00:54:54 -0700 (PDT) In-Reply-To: <1190303499.470035.279850@k79g2000hse.googlegroups.com> Content-Disposition: inline X-Detected-Kernel: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:47714 Archived-At: On 9/20/07, Ted Dennison wrote: > However, when I run emacsclientw on a file, I get the following: > --------- > emacsclient: No socket or alternate editor. Please use: > > --server-file (or environment variable EMACS_SERVER_FILE) > --alternate-editor (or environment variable ALTERNATE_EDITOR) > --------- server.el creates a file with information that emacsclient needs. By default that place is ~/.emacs.d/server and the file name is "server" (both can be modified). Try doing: C:\> SET EMACS_SERVER_FILE=%HOME%\.emacs.d\server\server C:\> emacsclient MY_FILE or C:\> emacsclient --server-file=%HOME%\.emacs.d\server\server MY_FILE (with %HOME% pointing to Emacs' home dir, of course). Juanma