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: Wed, 12 Jul 2023 05:28:08 +0300 Message-ID: <838rbl7tjb.fsf@gnu.org> References: <87a5w238kn.fsf@mat.ucm.es> <83o7ki78ue.fsf@gnu.org> <874jma2tz3.fsf@mat.ucm.es> <83cz0y703a.fsf@gnu.org> <87jzv619qv.fsf@mat.ucm.es> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40385"; 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 Wed Jul 12 04:28:32 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 1qJPah-000AIk-D0 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 12 Jul 2023 04:28:31 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qJPaA-0008Q4-A4; Tue, 11 Jul 2023 22:27:58 -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 1qJPa9-0008Pw-9U for help-gnu-emacs@gnu.org; Tue, 11 Jul 2023 22:27:57 -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 1qJPa9-0004to-2M for help-gnu-emacs@gnu.org; Tue, 11 Jul 2023 22:27:57 -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=Qfs8V2P/4UPme7u4wev7jgNXYBEecV1NsMKHudl+qoc=; b=gWSF+k2YMtLz WHG0Q/VAeY7zRUNrQbWrvzzkC0qHQbCo/NEqDjoNFerG8ErGxP40W1hb1HSCgeFq+jPkH3zLqsdxr uykXHp9ZVDVUwj2oG6CV8iaZjNoH2Z794pWx0EEf94hr7cFXvVNgNmdyggBxtQhne8jnqq5PhJ5Ed FtXv60no9af3w5Oc+/pwJPatCRtD9L/XUygOnJoGCMam4637jP7sxm/6vKEO1pROqdQ91JnDc9YJh 854mlC2OKCc2zPMelpO5dMD5qLRKqmqnKq8PM8sG43AbQEiJCSpxeGyOYXR+/ca3DlL1kJcsInN6b zdDQUEsyDIZI1e4GPQDlBw==; 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 1qJPa8-0003dV-CN for help-gnu-emacs@gnu.org; Tue, 11 Jul 2023 22:27:56 -0400 In-Reply-To: <87jzv619qv.fsf@mat.ucm.es> (message from Uwe Brauer on Tue, 11 Jul 2023 22:19:52 +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:144239 Archived-At: > From: Uwe Brauer > Date: Tue, 11 Jul 2023 22:19:52 +0200 > > >> Well but I restarted it, without any success. > > > Restarted what? I didn't say anything about restarting. > > The emacs server. > > So the command list-processes returns > > server -- listen -- -- Main (network server on /var/folders/j1/7bbsk0jj6nxd5yxndqwvb1t00000gn/T/emacs501/server) > > but emacsclient returns > > emacsclient: can't find socket; have you started the server? > > emacsclient: To start the server in Emacs, type "M-x server-start". > > 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) > > So I am really puzzled. Maybe emacsclient looks for the socket in a place different from the place where the server places the socket? Try using --socket-file.