From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Davin Pearson Newsgroups: gmane.emacs.help Subject: Re: Trouble getting the daemon thread online. Date: Sun, 7 Aug 2022 13:35:58 +1200 Message-ID: References: <87ilnbhw1c.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16037"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Robert Pluim Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 07 03:37:10 2022 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 1oKVE6-00042h-6v for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 03:37:10 +0200 Original-Received: from localhost ([::1]:49204 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKVE4-0002eY-A9 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 06 Aug 2022 21:37:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32954) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKVDG-0002eQ-MV for help-gnu-emacs@gnu.org; Sat, 06 Aug 2022 21:36:18 -0400 Original-Received: from mail-yb1-xb32.google.com ([2607:f8b0:4864:20::b32]:35658) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKVDD-0004Fe-O6 for help-gnu-emacs@gnu.org; Sat, 06 Aug 2022 21:36:17 -0400 Original-Received: by mail-yb1-xb32.google.com with SMTP id n8so9031172yba.2 for ; Sat, 06 Aug 2022 18:36:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc; bh=66dHJned8dd8rgiFjfCHLftdSehYwNt3luyhhZa8+3o=; b=bJArPZyFWwAnqpks0s9NetzXcQWSQ1wESEW49CFgKRwmz3w1vHuz0Dfo2zngbP8WsG TXQdx5pYxpJ7EtjKOS+7RYtPhU67emmwtEP+0cZRnSe6swVgQD8mdlTLOlqQc6eO5SR5 4SW42r8z0sKBF05YSyOZeTUOC44Fob+oeoG6DId83bGiHv4/1q81NycdPOOVd9Me1q0c nKXYDpnb5iPkpI5UXMT/Yuu9M/VKi6MeIFil4mnyI+pJzpMdVg3AHsTASsBKyq/wGCBj S7Mll29sMThBezpeJp70NSp3eBUGbZH7NbpzgPWleiJsAlsVWJq8kVwc6liCfa/Iui36 /qFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc; bh=66dHJned8dd8rgiFjfCHLftdSehYwNt3luyhhZa8+3o=; b=RKKJP+ZOO1edlGlMaoB+WIsQGfFGDTMBgQM5iqLwypIKuRF+PyzdgnuIZy41rM3tHR MqHFdU+SCNH3NuvG97gNjOdalk3Wl1yim8C6fXPpN9sGpe8t0R/G8UWQkSuJDDxJNUDn seKuDWCt7bf17rtz0gywGe7cqx3KT+7O1Ivt8d/xIHOVqID9uXJ3CtOIjrFcIFKHeoqh yZKLK/s3kYf5H77U6eG4ewPjUnCB5IW1oWeFnVtUsQtin3uKVrifpwtL3EEBkqDLynLN 5Ik01lY6PdwOIbyCX/u3ajScnF4nhxiNu80ZSp+GLu411pU4Qgshvm3UnjAKBX3RKMAa gGCg== X-Gm-Message-State: ACgBeo2r5UIBQiKaJdgIdhIU8zULobT/yN5m18W6D9eHUcz4YU8Uv4ez ZzpENYlYhB3YdWt+inPUlVOKRKsR7cNlRGql9ExE02eDTyc= X-Google-Smtp-Source: AA6agR6irs9wmL3hmmsK4LWqEPg5tpvXNoTbjVRw+zpULeC9sKupJbjArcpsnLjxoL2/q5C/Flps162gAwrfsjblX7A= X-Received: by 2002:a25:604:0:b0:676:c237:ddf0 with SMTP id 4-20020a250604000000b00676c237ddf0mr11567341ybg.71.1659836169845; Sat, 06 Aug 2022 18:36:09 -0700 (PDT) In-Reply-To: <87ilnbhw1c.fsf@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::b32; envelope-from=davin.pearson@gmail.com; helo=mail-yb1-xb32.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.29 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" Xref: news.gmane.io gmane.emacs.help:138756 Archived-At: I have written the following batch file: runmacs.bat cd ~ && emacs --geometry 1024x768 --debug-init $1 & and placed it in the directory ~/Binaries Then executing the command runmacs.bat starts emacs every time (but not in daemon mode which is my personal preference) On Tue, 2 Aug 2022 at 20:47, Robert Pluim wrote: > >>>>> On Tue, 2 Aug 2022 10:36:14 +1200, Davin Pearson < > davin.pearson@gmail.com> said: > > Davin> It seems that I was correct in assuming Emacs 28.1 > Davin> is running a daemon thread. With the new GNU Version I am > having trouble > Davin> loading > Davin> emacs. > > Only if you start it with --daemon or run '(server-start)' from your > init file. Unless you mean the desktop environment run files that ship > with emacs, which can start emacs in daemon mode. > > Davin> When I type > > Davin> $emacs > > Davin> at the command prompt, it starts up Emacs but then after 6 > Davin> seconds of loading it terminates itsel f. > > Davin> When I type emacsclient -c it says the following message. > > Davin> /snap/emacs/1609/usr/bin/emacsclient: can't find socket; have > you started > Davin> the server? > Davin> /snap/emacs/1609/usr/bin/emacsclient: To start the server in > Emacs, type > Davin> "M-x server-start". > Davin> /snap/emacs/1609/usr/bin/emacsclient: No socket or alternate > editor. > Davin> Please use: > > Davin> --socket-name > Davin> --server-file (or environment variable EMACS_SERVER_FILE) > Davin> --alternate-editor (or environment variable ALTERNATE_EDITOR) > > Well, it Emacs isn=CA=BCt running, then emacsclient won=CA=BCt be able to > connect to it. You need to figure out why emacs is exiting. 'emacs -Q' > is normally a good start. > > Robert > -- >