From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregor Zattler Newsgroups: gmane.emacs.bugs Subject: bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file Date: Mon, 25 Oct 2021 10:02:16 +0200 Message-ID: <87pmrto7lj.fsf@no.workgroup> References: <871r4bk2le.fsf@no.workgroup> <875ytm8mis.fsf@no.workgroup> <83sfwq2z3p.fsf@gnu.org> <87ee8a2nxm.fsf@no.workgroup> <83bl3d3kkm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26082"; mail-complaints-to="usenet@ciao.gmane.io" To: 51360@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 25 10:03:16 2021 Return-path: Envelope-to: geb-bug-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 1meuwu-0006fj-2L for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 10:03:16 +0200 Original-Received: from localhost ([::1]:42398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1meuws-0003E9-Ib for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Oct 2021 04:03:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1meuwg-0003Du-AL for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 04:03:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58255) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1meuwg-0006FG-1P for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 04:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1meuwf-0004pT-NS for bug-gnu-emacs@gnu.org; Mon, 25 Oct 2021 04:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregor Zattler Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Oct 2021 08:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 51360-submit@debbugs.gnu.org id=B51360.163514894818519 (code B ref 51360); Mon, 25 Oct 2021 08:03:01 +0000 Original-Received: (at 51360) by debbugs.gnu.org; 25 Oct 2021 08:02:28 +0000 Original-Received: from localhost ([127.0.0.1]:41568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meuw8-0004od-Fe for submit@debbugs.gnu.org; Mon, 25 Oct 2021 04:02:28 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:42465) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1meuw7-0004oQ-A6 for 51360@debbugs.gnu.org; Mon, 25 Oct 2021 04:02:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1635148941; bh=umYrAxL0c9xZLhgTk0kkhpJti4tZeAdfhKY1LAtko3Y=; h=X-UI-Sender-Class:From:To:Subject:In-Reply-To:References:Date; b=Gzvmq0nqMUgKzVyEiMz50VZiN1UMfVbT/RL5k/hz/FIRO3PcokGtIliUqBe0JWdR+ fLbDnPskVC8J5srkqw0qLkwv0VTLGQ0A/uPjwa482is8ifofV0CB+4kyYiGj2JyEnf gY1PCR8AGE9Mg/Q2kLjHCwd/xo8cxy34LNUvq8BQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from localhost ([46.94.150.161]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MSKy8-1mGcnE3iS8-00SiJL; Mon, 25 Oct 2021 10:02:20 +0200 In-Reply-To: <83bl3d3kkm.fsf@gnu.org> X-Provags-ID: V03:K1:ywsC5gxubU319VPKN24z9IFIGgrLwsv15+kcPnB1Q8AB93vWuj6 1xqSTmlqMCwZVe8lah41D378ghZRGryS4dX11cOX1T4/2SwZQ6+OZB6VXIBOikhFvrYnB2n d8/Tr/V1OxBjh5Z7M/f6p2sixmCsmIqkPh7IWVc0uwS9vo2oC8IV/V0Y3FkcqvyKmqvHQFZ uBnKkzipaMOKhAtNRz7gQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:Z4DWyXKhH0o=:yuqoLh34BeZNKY/GqqpVgr DEWXzCZQSs/JEKkyMtDIbDMsVMIbJro2xn+szWwCAPzpBWMcFNA6kW24uFY6osP2w0IpnbjZN AoH2+lwSY4iTTpJZkGw9QSCZgFhzmhTxPA7c6MX99Gm3cGG+fDpbyPB/3bsb5mcrTN+oplSEf QnFmz2y0Cil4n4KDCypRXt3xo8NqFjm4r8bA7dK+kxPX9Yue/1wim7/yv553PfFwwomV1kLzu XNDb3vL/u/9y3Wb0A/j3d0oQgFn4NoDHaIV9OiDYAGMoU4sWMKV0/x7oNdGNl7KO6kUgatvv4 mslO5jdL0N1BTyKzv5qbT6GYIvwlVf7Jp7dvupvQjQgF5A+m2i1bI8zlY1dxUUUGU3stsYPKz KjY7TrkVTLXhUbiHzpaat21I8ZPh4yJuhpVc4ZP8ReYACgO/CuVccpvg0gnYjhXLZuP3L5EkJ fmAKoe5Htfwuye+2JyG1629x3xoYcoCRfOGL1S+1FqoKux3QsmPjJP+TR6umUBQv9uY4CVgJS 5+hHw0d4gUF82IW70tlYqXtuG3AHrncjqPyf9bf4vb6htzdcoMHOsUwbpV1cF1ZKpPPtyoqNs f54FoHYbQdNJo9XMBGrG8nqLZrodFptzLRrLu/o3HlE3vdfDAF37wEgzgnQQtgy/HEeWGFPig NxbW8joMdyxhI9AjGwe1MJcvndzzzoCd8V2JlCjXBanm2UsELHplWiOg836XTCtaLxteYXdfo lbaaOKGfZS2AoCedJHJeKxOHjm1Pdzf5mcLtFMNJldMlrEAnWNaxFIfKSipCpXNGfs4HaWoB X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:218251 Archived-At: [sorry for second post, first did not include bug address] Hi Eli, emacs devs, * Eli Zaretskii [2021-10-25; 05:27]: >> From: Gregor Zattler >> Date: Sun, 24 Oct 2021 22:00:21 +0200 >> >> > Whatever you do that you need server-name for, can't you do that in >> > emacs-startup-hook? AFAIR, that gets called after the daemon already >> > finished its initialization and provided its name to Emacs, so >> > server-name should be already populated. >> >> the idea is to initialise the emacs daemon depending on it's >> server-name. Therefore doing it via emacs-startup-hook is >> somewhat counter-intuitive > > Sorry, I don't think I follow: what has intuition got to do with this? > And what do you mean by "initialise the emacs daemon"? -- that happens > out of your control, in the internal Emacs code. > >> But you are right that works. Thanks. > > So does this mean your problem is solved? Yes, thanks. Please close the bug report. Ciao, =2D- Gregor