From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: MacOs emacsclient does not start Date: Tue, 11 Jul 2023 18:42:49 +0300 Message-ID: <83o7ki78ue.fsf@gnu.org> References: <87a5w238kn.fsf@mat.ucm.es> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17165"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jul 11 17:43:24 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qJFWN-0004CH-JA for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 11 Jul 2023 17:43:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJFVf-0007WP-2s; Tue, 11 Jul 2023 11:42:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJFVd-0007WH-SK for help-gnu-emacs@gnu.org; Tue, 11 Jul 2023 11:42:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJFVd-0007yb-KZ for help-gnu-emacs@gnu.org; Tue, 11 Jul 2023 11:42:37 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=JOKcc+fyMgBBLYtXr74M+K6u1ZC3tBieeXCpSQ64Juw=; b=ApdkHC8q+yIT jM3xB44np3TZMAuPCbbg0cJdFW754X6ax77jXeS6x+ka/2mr0aeJLboYdRMgSZ4yoDwGmm6GJIUIG Ty/m2OGgx197RipTTv5NCdO/G39exi/diNebSuVBeeF1EE1f4onqn+PTwVIr48WOKWJ9O6rubRnGs DhDy9eq4QqTFlp+/HuEeni6zn8gih3bQTn0cA1MgXwsFtjVc2woL5F6H4TnQJUU2KKRq0B5afEMob N+yjhUQR03HSUlrC3/M2hOrCudQTI9R7V86wDelIupu4g6PgpYJ9Uhbry5IeyFOC7joZN//U5RlOe X+CXRZrkODg7t+c9CNwv0Q==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qJFVd-0003yi-4Z for help-gnu-emacs@gnu.org; Tue, 11 Jul 2023 11:42:37 -0400 In-Reply-To: <87a5w238kn.fsf@mat.ucm.es> (message from Uwe Brauer on Tue, 11 Jul 2023 15:02:16 +0200) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:144234 Archived-At: > From: Uwe Brauer > Date: Tue, 11 Jul 2023 15:02:16 +0200 > > I just tried > git revert e96d3c71bdc > > And I obtained > hint: Waiting for your editor to close the file... > /Applications/Emacs29.app/Contents/MacOS/bin/emacsclient: can't find > socket; have you started the server? > > /Applications/Emacs29.app/Contents/MacOS/bin/emacsclient: To start the > server in Emacs, type "M-x server-start". > > /Applications/Emacs29.app/Contents/MacOS/bin/emacsclient: No socket or > alternate editor. Please use: > > > --socket-name > > --server-file (or environment variable EMACS_SERVER_FILE) > > --alternate-editor (or environment variable ALTERNATE_EDITOR) > > error: There was a problem with the editor > '/Applications/Emacs29.app/Contents/MacOS/bin/emacsclient'. > > Please supply the message using either -m or -F option. > > Indeed in my .login > I have (tcsh) > > setenv EDITOR /Applications/Emacs29.app/Contents/MacOS/bin/emacsclient > > > But I don't understand what's wrong with this setting. In Linux I have > > setenv EDITOR /opt/emacs29/bin/emacsclient > > And it works fine, I tried to add some parameters to emacsclient in the > above line but I obtained to many parameters when running source ~/.login > > > Any idea? Looks like emacsclient on macOS cannot start the daemon, if there's no Emacs server already running?