bug-gnu-emacs archive search

Search String: Display: Description: Sort:

Results:

References: [ server-name: 125 ]

Total 125 documents matching your query.

1. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 48)
Author: HIDDEN
Date: Thu, 25 Jan 2018 19:34:03 +0000
Sure, please see the attached patch series. Thanks, -- Matt * lisp/server.el: (server-external-socket-initialised): New (server-name): Compute server name from `get-external-sockname'. (server-socket
/archive/html/bug-gnu-emacs/2018-01/msg00845.html (32,692 bytes)

2. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 39)
Author: HIDDEN
Date: Tue, 09 Jan 2018 19:53:03 +0000
Thanks for the cleanup patch Paul! Please see the attached patch that should address these points. May I suggest `internal--daemon-sockname'? Thanks, -- Matt * lisp/server.el: (server-name): Update :
/archive/html/bug-gnu-emacs/2018-01/msg00272.html (10,300 bytes)

3. bug#23576: [documentation] ‘Using Emacs as a Server’: ‘M-x set-variable RET server-name RET foo RET’ (score: 38)
Author: HIDDEN
Date: Wed, 18 May 2016 22:53:33 +0300
Fixed on the release branch. Fixed on master branch. But it affects the next one. I added this, but I don't think it should replace what's in the manual: not all the uses of the server are in daemon
/archive/html/bug-gnu-emacs/2016-05/msg00928.html (6,409 bytes)

4. bug#23576: [documentation] ‘Using Emacs as a Server’: ‘M-x set-variable RET server-name RET foo RET’ (score: 38)
Author: HIDDEN
Date: Wed, 18 May 2016 22:25:38 +0300
Chapter 38 ‘Using Emacs as a Server’ in ‘GNU Emacs Manual’ says [0] the following: You can run multiple Emacs servers on the same machine by giving each one a unique “server name”, using
/archive/html/bug-gnu-emacs/2016-05/msg00923.html (6,295 bytes)

5. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 37)
Author: HIDDEN
Date: Sun, 24 Oct 2021 22:00:21 +0200
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 But you are right that works. Thanks. Ciao, -- Gregor
/archive/html/bug-gnu-emacs/2021-10/msg02192.html (7,348 bytes)

6. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 37)
Author: HIDDEN
Date: Sun, 24 Oct 2021 21:42:57 +0200
thanks. Requiring server prevents this error, but `server-name' is not set to the command line value, though: ~$ cat ~/.emacs (require 'server) (when (equal server-name "foo") (setq greeting "My name
/archive/html/bug-gnu-emacs/2021-10/msg02186.html (7,255 bytes)

7. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 36)
Author: HIDDEN
Date: Mon, 25 Oct 2021 10:02:16 +0200
Yes, thanks. Please close the bug report. Ciao, -- Gregor
/archive/html/bug-gnu-emacs/2021-10/msg02248.html (7,464 bytes)

8. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 36)
Author: HIDDEN
Date: Mon, 25 Oct 2021 05:27:37 +0300
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. So does
/archive/html/bug-gnu-emacs/2021-10/msg02241.html (7,063 bytes)

9. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 36)
Author: HIDDEN
Date: Sun, 24 Oct 2021 18:59:06 +0300
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, s
/archive/html/bug-gnu-emacs/2021-10/msg02142.html (6,907 bytes)

10. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 36)
Author: HIDDEN
Date: Sun, 24 Oct 2021 17:34:19 +0200
When emacs is started with emacs --daemon=foo (or emacsclinet -a "" -s foo [...]) one does not use `server-start'. Have (when (equal server-name "foo") (message "My name is foo!")) in .emacs and star
/archive/html/bug-gnu-emacs/2021-10/msg02140.html (7,058 bytes)

11. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 36)
Author: HIDDEN
Date: Sat, 23 Oct 2021 20:39:25 +0200
Dear emacs developers, if emacs is started as a named daemon like this: `emacs --damon=foo' or like this: `emacsclient -a "" -s foo [...]' the variable `server-name' is initialized with the name "foo
/archive/html/bug-gnu-emacs/2021-10/msg02026.html (6,440 bytes)

12. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through systemd socket (score: 36)
Author: HIDDEN
Date: Sun, 14 Aug 2016 00:35:57 +0800
Hello, first of all I not sure if this is a bug report or more likely it is a feature request. Recently Emacs got code to start daemon by means of systemd. For this one needs to create two files: `em
/archive/html/bug-gnu-emacs/2016-08/msg00424.html (22,308 bytes)

13. bug#1999: no emacs server variable `server-name' (score: 36)
Author: HIDDEN
Date: Fri, 23 Jan 2009 02:56:04 -0500
We could add a * indeed, although I'm not convinced it's very useful to set it interactively. No idea what this does. That's another option. Stefan
/archive/html/bug-gnu-emacs/2009-01/msg00767.html (5,804 bytes)

14. bug#1995: no emacs server variable `server-name' (score: 36)
Author: HIDDEN
Date: Fri, 23 Jan 2009 01:03:03 +0100
Package: emacs Version: 23.0.60 There are several ways to set it (with --daemon=myname, or --eval, or M-: (setq ...)), but you're right: the documentation states that it is settable with set-variable
/archive/html/bug-gnu-emacs/2009-01/msg00759.html (5,298 bytes)

15. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 35)
Author: HIDDEN
Date: Sun, 24 Oct 2021 15:45:21 +0000
Warning (initialization): An error occurred while loading ´/home/grfz/.config/emacs/init.el´: Symbol's value as variable is void: server-name You should (require 'server) before referring to server
/archive/html/bug-gnu-emacs/2021-10/msg02141.html (6,649 bytes)

16. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 35)
Author: HIDDEN
Date: Sun, 24 Oct 2021 05:46:36 -0700
Doesn't this just depend on when you call `server-start'? Do you have a recipe for reproducing this?
/archive/html/bug-gnu-emacs/2021-10/msg02101.html (6,705 bytes)

17. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 35)
Author: HIDDEN
Date: Mon, 08 Jan 2018 05:50:25 +0200
Thanks. I'm not an expert on this stuff, so I have only minor comments: . Please update the :version tag of server-name, to reflect the fact that its default value changes . This needs a NEWS entry,
/archive/html/bug-gnu-emacs/2018-01/msg00215.html (7,418 bytes)

18. bug#9909: emacsclient -a "" -s server-name does not start/connect to named server (score: 34)
Author: HIDDEN
Date: Sat, 03 Nov 2012 17:01:01 +0800
I could not reproduce this bug with the latest bzr checkout, nor with Emacs 24.1 and 24.2. I think it's been fixed in the meantime; could you check it it still fails with you?
/archive/html/bug-gnu-emacs/2012-11/msg00071.html (5,251 bytes)

19. bug#9909: emacsclient -a "" -s server-name does not start/connect to named server (score: 34)
Author: HIDDEN
Date: Sun, 30 Oct 2011 18:35:49 -0400
This regressions seems to have been introduced by change 105655. In set_local_socket the value of socket_name is destroyed in case of failing to connect to the server. That value is needed for starti
/archive/html/bug-gnu-emacs/2011-10/msg01311.html (6,375 bytes)

20. bug#9909: emacsclient -a "" -s server-name does not start/connect to named server (score: 34)
Author: HIDDEN
Date: Sun, 30 Oct 2011 14:57:57 +0100
Hi emacs developers, emacsclient -a "" starts a new server if there is none before and connects to it. I would expect that emacsclient -a "" -s my-server-name behaves the same but starts a server wit
/archive/html/bug-gnu-emacs/2011-10/msg01307.html (5,682 bytes)

21. bug#51360: 29.0.50; variable `server-name' initialized too late for use in init file (score: 33)
Author: HIDDEN
Date: Mon, 25 Oct 2021 15:41:55 +0300
Thanks, closing.
/archive/html/bug-gnu-emacs/2021-10/msg02262.html (6,436 bytes)

22. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Mon, 12 Feb 2018 12:58:33 -0800
Thanks for checking; I installed the patches into 'master' and am marking this bug as done.
/archive/html/bug-gnu-emacs/2018-02/msg00466.html (5,700 bytes)

23. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Mon, 12 Feb 2018 14:24:06 +0000
Oops - I missed an additional `-' on the variable name. That sounds fine; I wasn't aware that internal variables shouldn't be documented in the Emacs List Reference Manual. This last patch looks good
/archive/html/bug-gnu-emacs/2018-02/msg00439.html (6,342 bytes)

24. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Sat, 10 Feb 2018 08:07:47 -0800
Yes, that sounds good. Can you prepare a patch along those lines? Sure, please see the attached patch series. Thanks, but aren't there some more places where the variable needs to be renamed to inter
/archive/html/bug-gnu-emacs/2018-02/msg00340.html (7,945 bytes)

25. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Wed, 24 Jan 2018 15:00:13 -0800
Yes, that sounds good. Can you prepare a patch along those lines? Sorry, I lost track of this bug report. It'd be nice if you could re-propose a self-contained set of patches that address all the iss
/archive/html/bug-gnu-emacs/2018-01/msg00815.html (7,052 bytes)

26. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Mon, 8 Jan 2018 11:23:32 -0800
I don't think they'll need to use the variable, which is why I suggested that it be labeled as internal.
/archive/html/bug-gnu-emacs/2018-01/msg00233.html (7,208 bytes)

27. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Mon, 08 Jan 2018 21:14:53 +0200
How many seconds do you think it will take Emacs hackers (in the good meaning of the word) to discover this variable and start (ab)using it?
/archive/html/bug-gnu-emacs/2018-01/msg00232.html (7,042 bytes)

28. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Mon, 8 Jan 2018 10:42:28 -0800
What purpose do you see for the variable, other than its use in Emacs's own Lisp code?
/archive/html/bug-gnu-emacs/2018-01/msg00228.html (7,002 bytes)

29. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Mon, 08 Jan 2018 20:33:04 +0200
That's exactly why I made the comment about the name: IMO, this variable's purpose is inconsistent with its being for internal use only.
/archive/html/bug-gnu-emacs/2018-01/msg00227.html (6,976 bytes)

30. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Sun, 7 Jan 2018 20:24:57 -0800
The "internal--" prefix is intended to mean "for Emacs internal use only", i.e., that it should not be documented in the manual.
/archive/html/bug-gnu-emacs/2018-01/msg00218.html (6,962 bytes)

31. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through, systemd socket (score: 33)
Author: HIDDEN
Date: Sun, 7 Jan 2018 13:55:04 -0800
Matthew proposed a patch for this here: https://lists.gnu.org/r/emacs-devel/2017-12/msg00903.html which I am attaching in git form (see first attached patch). I also propose the second attached patch
/archive/html/bug-gnu-emacs/2018-01/msg00208.html (7,523 bytes)

32. bug#24218: 25.1.50; server-name, server-socket-dir and daemon start through systemd socket (score: 33)
Author: HIDDEN
Date: Sun, 14 Aug 2016 19:25:49 -0700
Matthew, can you please look at: http://bugs.gnu.org/24218 and follow up as seems appropriate? You can reply to this email to add to the bug-report log. Thanks.
/archive/html/bug-gnu-emacs/2016-08/msg00476.html (4,899 bytes)

33. bug#29070: 26.0.90; emacs-26.0.90 pretest (score: 12)
Author: HIDDEN
Date: Mon, 30 Oct 2017 17:36:13 -0600
Noam above was wrong: what I got was nil (tried it on another emacs, sorry) btw: I have done also (setq server-name "pe") --8<--cut here--start-->8-- Debugger entered--Lisp error: (error "‘/tmp/ema
/archive/html/bug-gnu-emacs/2017-10/msg01498.html (21,344 bytes)

34. bug#29290: 25.3; bug-gnu-emacs archive web search fails to find matching bugs (score: 11)
Author: HIDDEN
Date: Tue, 14 Nov 2017 15:41:02 -0500
Using Safari on Macos on https://debbugs.gnu.org/cgi/search.cgi, when I enter "server-name AND set-variable" and look in the results for 23576, I find ... as a Package: emacs Severity: minor; Sent by
/archive/html/bug-gnu-emacs/2017-11/msg00610.html (14,087 bytes)

35. bug#29289: 25.3; doc errors for ‘M-x set-variable’ doc (score: 11)
Author: HIDDEN
Date: Mon, 13 Nov 2017 16:17:55 -0500
"Using Emacs as a Server" says ... You can run multiple Emacs servers on the same machine by giving each one a unique “server name”, using the variable ‘server-name’. For example, ‘M-x set-
/archive/html/bug-gnu-emacs/2017-11/msg00568.html (26,568 bytes)

36. bug#1995: marked as done (no emacs server variable `server-name') (score: 11)
Author: HIDDEN
Date: Fri, 23 Jan 2009 05:00:03 +0000
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If
/archive/html/bug-gnu-emacs/2009-01/msg00761.html (7,821 bytes)

37. bug#36598: 26.1; (error "‘/tmp/emacs1000’ is not a safe directory because it is a symlink") (score: 10)
Author: HIDDEN
Date: Sat, 13 Jul 2019 16:56:19 +0100
Launch emacs-27, start the server. Now launch emacs-26 and start the server with a different. The problem is that emacs-27 creates the file /tmp/emacs($PID) as a symlink, while emacs-26 doesn't like
/archive/html/bug-gnu-emacs/2019-07/msg00999.html (19,687 bytes)

38. bug#20675: 24.3; emacsclient cannot talk to emacs (score: 8)
Author: HIDDEN
Date: Tue, 01 Oct 2019 22:13:06 +0300
The FAQ has a problem, yes. Why you looked there instead of the manual is another question ;-) The FAQ is wrong and should be fixed. server-socket-dir is a defvar, whereas server-name is a defcustom
/archive/html/bug-gnu-emacs/2019-10/msg00104.html (8,110 bytes)

39. bug#20675: 24.3; emacsclient cannot talk to emacs (score: 7)
Author: HIDDEN
Date: Tue, 1 Oct 2019 20:54:31 +0200
Right, but then it still seems like the documentation has a problem. For starters, server-socket-dir is extensively documented in the FAQ, while server-name is not at all mentioned. Does that really
/archive/html/bug-gnu-emacs/2019-10/msg00100.html (7,144 bytes)

40. bug#1058: 23.0.60; emacs --daemon should not return until socket is ready (score: 7)
Author: HIDDEN
Date: Tue, 14 Oct 2008 00:26:17 -0700 (PDT)
Ah, OK. I had the impression that server-name was needed for other functions to work correctly, but that is not the case. Updated patch follows. Now it's your choice if you want this patch now or lat
/archive/html/bug-gnu-emacs/2008-10/msg00521.html (15,527 bytes)

41. bug#59575: 29.0.50; add-log-current-defun-header-regexp matches Windows drive letter (score: 6)
Author: HIDDEN
Date: Sat, 26 Nov 2022 15:03:55 +0200
xref.el doesn't know anything about add-log, and AFAICT doesn't customize it in any way, shape, or form. So I think this should be fixed in add-log.el. Its regexp is too naïve, and should be beefed
/archive/html/bug-gnu-emacs/2022-11/msg02341.html (6,721 bytes)

42. bug#59575: 29.0.50; add-log-current-defun-header-regexp matches Windows drive letter (score: 6)
Author: HIDDEN
Date: Fri, 25 Nov 2022 16:53:51 +0100
If you have an *xref* buffer with absolute Windows filenames, like ~/.emacs.d/init.el   93:             server-name    (replace-regexp-in-string "\\\\+" "\\" serv t t) 1102:   (let ((s (whe
/archive/html/bug-gnu-emacs/2022-11/msg02272.html (5,517 bytes)

43. Re: How to run server-start only if not already running? (score: 6)
Author: HIDDEN
Date: Tue, 6 Nov 2007 23:46:01 +0000 (GMT)
(when (and (file-exists-p (expand-file-name server-name server-socket-dir)) (let ((status (call-process "/usr/bin/lsof" nil nil nil (expand-file-name server-name server-socket-dir)))) (or (not (numb
/archive/html/bug-gnu-emacs/2007-11/msg00044.html (6,828 bytes)

44. Re: How to run server-start only if not already running? (score: 6)
Author: HIDDEN
Date: Wed, 07 Nov 2007 00:35:47 +0100
I'm using this: (when (and (file-exists-p (expand-file-name server-name server-socket-dir)) (let ((status (call-process "/usr/bin/lsof" nil nil nil (expand-file-name server-name server-socket-dir))))
/archive/html/bug-gnu-emacs/2007-11/msg00041.html (7,373 bytes)

45. bug#1058: 23.0.60; emacs --daemon should not return until socket is ready (score: 5)
Author: HIDDEN
Date: Sun, 12 Oct 2008 19:03:40 -0700 (PDT)
Here's a patch that adds support for --daemon=SERVER_NAME Using --daemon=SERVER_NAME for scripts is much nicer than: --daemon --eval '(setq server-name "SERVER_NAME")' So IMVHO something like this co
/archive/html/bug-gnu-emacs/2008-10/msg00491.html (12,678 bytes)

46. bug#58877: 29.0.50; [PATCH] When killing Emacs from a client frame with no other frames, Emacs shows a useless error prompt (score: 4)
Author: HIDDEN
Date: Sun, 30 Oct 2022 14:14:59 -0700
Attached is a patch to do this. Note that I named the new argument "noframe" because that matches the existing code in server.el (see 'server-delete-client'). It's a bit of a misnomer though, and may
/archive/html/bug-gnu-emacs/2022-10/msg02580.html (7,925 bytes)

47. bug#36648: emacs signals under gdb - [Re: connecting to a lost server process (score: 4)
Author: HIDDEN
Date: Sun, 14 Jul 2019 17:30:52 +0530
[sorry if this is not the correct bug format, I'm replying to a message on gnu.emacs.help] I noticed a couple of different failure modes but this problem seems to be related to pselect. I'm appending
/archive/html/bug-gnu-emacs/2019-07/msg01063.html (17,378 bytes)

48. bug#33934: 26.1; server.el/emacsclient mismatch regarding socket... (score: 4)
Author: HIDDEN
Date: Mon, 31 Dec 2018 16:59:21 +0200
Can you explain how you arrived at the conclusion that -s names the directory of the socket file? My reading of the code is that it's indeed the name of the socket file, either with or without the l
/archive/html/bug-gnu-emacs/2018-12/msg01107.html (6,115 bytes)

49. bug#13319: 24.2.91; emacsclient doesn't find server with nonstandard name (score: 4)
Author: HIDDEN
Date: Mon, 31 Dec 2012 18:11:18 +0100
Hi, In emacs -Q, do this: (progn (require 'server) (let ((server-name (concat "server_" (format-time-string "%H:%M:%S")))) (server-start))) Then I try to connect to this server, but it fails: When I
/archive/html/bug-gnu-emacs/2012-12/msg01531.html (7,126 bytes)

50. bug#11091: 24.0.94; emacsclient -t (score: 4)
Author: HIDDEN
Date: Mon, 26 Mar 2012 11:25:45 +0200
Why not? The manual currently has many of such explanations, e.g., in that same info node "(emacs)emacsclient Options": `-s SERVER-NAME' `--socket-name=SERVER-NAME' Connect to the Emacs server named
/archive/html/bug-gnu-emacs/2012-03/msg00751.html (7,164 bytes)

51. bug#1058: 23.0.60; emacs --daemon should not return until socket is ready (score: 4)
Author: HIDDEN
Date: Thu, 2 Oct 2008 10:50:21 +1000
It's vaguely relevant that I have this in my .emacs: (progn (unless (< emacs-major-version 22) ;; Support multiple, concurrent Emacs servers. (setq server-name (format "server%d" (emacs-pid))) ;; All
/archive/html/bug-gnu-emacs/2008-10/msg00041.html (7,971 bytes)

52. bug#68255: 28.2; Can't connect to emacs daemon after logging out and back in. (score: 3)
Author: HIDDEN
Date: Sat, 17 Feb 2024 10:34:25 +0200
Ping! Could you please try the suggestion below, so we could make some progress in handling this bug? TIA.
/archive/html/bug-gnu-emacs/2024-02/msg00858.html (6,385 bytes)

53. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 3)
Author: HIDDEN
Date: Tue, 13 Feb 2024 15:02:00 -0500
Yes. With my patch, those messages will still show in exactly the same cases. No regression. Yes. Nope, it won't prevent us from doing that. My patch affects only *uncaught* errors, and improves beha
/archive/html/bug-gnu-emacs/2024-02/msg00717.html (9,679 bytes)

54. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 3)
Author: HIDDEN
Date: Tue, 13 Feb 2024 21:46:02 +0200
I mean this error message: (let ((dn (daemonp))) (when dn (when (stringp dn) (setq server-name dn)) (server-start) (if server-process (daemon-initialized) (if (stringp dn) (message "Unable to start
/archive/html/bug-gnu-emacs/2024-02/msg00714.html (8,154 bytes)

55. bug#68255: 28.2; Can't connect to emacs daemon after logging out and back in. (score: 3)
Author: HIDDEN
Date: Sun, 11 Feb 2024 10:50:27 +0200
Any progress with this? Thanks.
/archive/html/bug-gnu-emacs/2024-02/msg00567.html (5,634 bytes)

56. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 3)
Author: HIDDEN
Date: Mon, 29 Jan 2024 12:32:00 -0500
Yes, that's exactly what happens. So should we wrap a condition-case around server-start, I suppose?
/archive/html/bug-gnu-emacs/2024-01/msg01962.html (6,784 bytes)

57. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 3)
Author: HIDDEN
Date: Mon, 29 Jan 2024 19:18:22 +0200
Or maybe server-start signals an error, and then the code which shows an error message and shuts down Emacs doesn't get run?
/archive/html/bug-gnu-emacs/2024-01/msg01961.html (5,584 bytes)

58. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 3)
Author: HIDDEN
Date: Mon, 29 Jan 2024 19:11:36 +0200
Have some faith in Emacs: we already do that. From startup.el: (let ((dn (daemonp))) (when dn (when (stringp dn) (setq server-name dn)) (server-start) (if server-process (daemon-initialized) (if (st
/archive/html/bug-gnu-emacs/2024-01/msg01960.html (6,175 bytes)

59. bug#68255: 28.2; Can't connect to emacs daemon after logging out and back in. (score: 3)
Author: HIDDEN
Date: Sat, 06 Jan 2024 08:54:24 +0200
[Please use Reply All to reply, to keep the bug tracker CC'ed.] Well, I'd encourage you to try this, because if it works, then there is a solution to this situation, and if it doesn't work, we need t
/archive/html/bug-gnu-emacs/2024-01/msg00260.html (6,154 bytes)

60. bug#68255: 28.2; Can't connect to emacs daemon after logging out and back in. (score: 3)
Author: HIDDEN
Date: Fri, 05 Jan 2024 13:47:46 +0200
I'm not sure I understand why you cannot successfully use the daemon in the situation you described. Basically, what your scenario means is that XDG_RUNTIME_DIR cannot be trusted because it is ephem
/archive/html/bug-gnu-emacs/2024-01/msg00212.html (6,454 bytes)

61. bug#56829: Unable to build Emacs with native compilation (score: 3)
Author: HIDDEN
Date: Fri, 29 Jul 2022 10:34:39 -0300
Since commit c6029ed34ea83c7c0adbd723d63bd78ff0ec0796 I am unable to build Emacs: make[4]: Leaving directory '/home/german/repos/emacs/admin/grammars'   ELC+ELN  ../lisp/custom.elc   ELC+ELN  ../
/archive/html/bug-gnu-emacs/2022-07/msg02424.html (82,130 bytes)

62. bug#20675: 24.3; emacsclient cannot talk to emacs (score: 3)
Author: HIDDEN
Date: Tue, 01 Oct 2019 21:39:54 +0300
That's because the right way of controlling this is by customizing server-name, not server-socket-dir. See the user manual about server-name.
/archive/html/bug-gnu-emacs/2019-10/msg00097.html (5,687 bytes)

63. bug#36648: emacs signals under gdb - [Re: connecting to a lost server process (score: 3)
Author: HIDDEN
Date: Fri, 19 Jul 2019 07:23:39 +0530 (IST)
The Lisp Language specifies how conditions are to be handled. The Lisp machine can only be a virtual machine on which that lisp code runs. If the behaviour of a piece of lisp code (however it is invo
/archive/html/bug-gnu-emacs/2019-07/msg01445.html (7,858 bytes)

64. bug#36648: emacs signals under gdb - [Re: connecting to a lost server process (score: 3)
Author: HIDDEN
Date: Thu, 18 Jul 2019 18:24:54 +0300
You called those functions directly, from outside of the Lisp machine, so the condition-case machinery is not working. There are inherent difficulties that require this behavior, sorry. I suggest to
/archive/html/bug-gnu-emacs/2019-07/msg01399.html (6,780 bytes)

65. bug#36648: emacs signals under gdb - [Re: connecting to a lost server process (score: 3)
Author: HIDDEN
Date: Thu, 18 Jul 2019 20:28:21 +0530 (IST)
server-running-p tries to start a server, and if it fails with a file error, then the condition-case is expected to catch it and the function is supposed to return nil. If I modify this function (see
/archive/html/bug-gnu-emacs/2019-07/msg01394.html (11,740 bytes)

66. bug#33934: 26.1; server.el/emacsclient mismatch regarding socket... (score: 3)
Author: HIDDEN
Date: Mon, 31 Dec 2018 17:05:37 +0200
You could simply customize server-name to an absolute file name. server.el runs that through expand-file-name with server-socket-dir as the default directory, which will leave an absolute file name
/archive/html/bug-gnu-emacs/2018-12/msg01108.html (5,278 bytes)

67. bug#33934: 26.1; server.el/emacsclient mismatch regarding socket... (score: 3)
Author: HIDDEN
Date: Mon, 31 Dec 2018 18:25:13 +1300
You can override it just as easily as with any defvar: (require 'server) (setq server-socket-dir "/path/to/dir") (setq server-name "myserver") (server-start) $ emacsclient -c -s /path/to/dir/myserver
/archive/html/bug-gnu-emacs/2018-12/msg01100.html (5,467 bytes)

68. bug#32921: emacsclient obeys Xresources even when launched with -nw (score: 3)
Author: HIDDEN
Date: Wed, 3 Oct 2018 19:49:31 +0200 (CEST)
GNU Emacs 26.1 (build 1, x86_64-redhat-linux-gnu, GTK+ Version 3.22.30) of 2018-06-26 I have set the Xresource *reverseVideo to true, and as expected emacs reverses the colours when launched under X,
/archive/html/bug-gnu-emacs/2018-10/msg00066.html (6,185 bytes)

69. bug#29290: 25.3; bug-gnu-emacs archive web search fails to find matching bugs (score: 3)
Author: HIDDEN
Date: Tue, 14 Nov 2017 14:15:13 -0700
Let me refine the report a little bit. Here is the search: http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=server-name&submit=Search%21&idxname=bug-gnu-emacs&max=1000&result=normal&sort=score B
/archive/html/bug-gnu-emacs/2017-11/msg00612.html (8,732 bytes)

70. bug#1058: 23.0.60; emacs --daemon should not return until socket is ready (score: 3)
Author: HIDDEN
Date: Mon, 27 Oct 2008 00:04:07 -0700 (PDT)
I checked in a version of this changed as requested by Stefan.
/archive/html/bug-gnu-emacs/2008-10/msg00996.html (10,865 bytes)

71. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 2)
Author: HIDDEN
Date: Wed, 14 Feb 2024 11:11:10 -0500
Can do. Here's the patch, which should be applied in addition to the DAEMON_RUNNING patch I posted earlier. When server-start errors during startup, the error is printed to the terminal without conte
/archive/html/bug-gnu-emacs/2024-02/msg00756.html (10,152 bytes)

72. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 2)
Author: HIDDEN
Date: Tue, 13 Feb 2024 15:20:21 -0500
To be clear, the patch I posted which checks DAEMON_RUNNING *does* solve that. $ ./src/emacs -Q --fg-daemon=/tmp/foo Starting Emacs daemon. ‘/tmp’ is not a safe directory because it is not owned
/archive/html/bug-gnu-emacs/2024-02/msg00721.html (9,230 bytes)

73. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 2)
Author: HIDDEN
Date: Sat, 10 Feb 2024 19:50:20 +0000 (UTC)
To be clear, right now any error anywhere in command-line causes "emacs --fg-daemon" and "emacs --bg-daemon" to hang indefinitely, without printing an error, with no way to ever interact with the Ema
/archive/html/bug-gnu-emacs/2024-02/msg00534.html (7,566 bytes)

74. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 2)
Author: HIDDEN
Date: Tue, 30 Jan 2024 14:08:28 +0200
I'd prefer to handle each specific problem specially, to make sure the error message is self-explanatory. Also, if the error happens after the server has been started, there's no reason to forcibly
/archive/html/bug-gnu-emacs/2024-01/msg01991.html (7,480 bytes)

75. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 2)
Author: HIDDEN
Date: Mon, 29 Jan 2024 15:28:47 -0500
Actually, on second thought, we could fail anywhere in startup.el, not just in server-start. So should we actually have a wrapper around all of normal-top-level which detects an error at startup in a
/archive/html/bug-gnu-emacs/2024-01/msg01969.html (7,216 bytes)

76. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 2)
Author: HIDDEN
Date: Mon, 29 Jan 2024 21:12:40 +0200
Thanks, this needs a comment explaining why we need condition-case and where does error-message-string come from.
/archive/html/bug-gnu-emacs/2024-01/msg01968.html (6,123 bytes)

77. bug#68799: 30.0.50; emacs --fg-daemon fails silently if server-start fails (score: 2)
Author: HIDDEN
Date: Mon, 29 Jan 2024 13:13:42 -0500
Actually, it seems that main() already does a fputs ("Error: server did not start correctly\n", stderr); if the server process exits non-zero. So we already get a nice: Starting Emacs daemon. Creatin
/archive/html/bug-gnu-emacs/2024-01/msg01965.html (8,047 bytes)

78. bug#58877: 29.0.50; [PATCH] When killing Emacs from a client frame with no other frames, Emacs shows a useless error prompt (score: 2)
Author: HIDDEN
Date: Sat, 26 Nov 2022 12:17:59 -0800
I think you need to modify the tests to ensure the server file is created in a temporary directory. And keep in mind that the variable which affects that is different depending on whether server-use
/archive/html/bug-gnu-emacs/2022-11/msg02401.html (11,208 bytes)

79. bug#58877: 29.0.50; [PATCH] When killing Emacs from a client frame with no other frames, Emacs shows a useless error prompt (score: 2)
Author: HIDDEN
Date: Sat, 26 Nov 2022 21:45:19 +0200
Still fails, and here's why: Client output: d:\gnu\git\emacs\trunk\lib-src\emacsclient.exe: unrecognized option '--socket-name' Try 'd:\gnu\git\emacs\trunk\lib-src\emacsclient.exe --help' for more i
/archive/html/bug-gnu-emacs/2022-11/msg02394.html (9,389 bytes)

80. bug#58877: 29.0.50; [PATCH] When killing Emacs from a client frame with no other frames, Emacs shows a useless error prompt (score: 2)
Author: HIDDEN
Date: Sat, 26 Nov 2022 11:04:48 -0800
I think you need to modify the tests to ensure the server file is created in a temporary directory. And keep in mind that the variable which affects that is different depending on whether server-use-
/archive/html/bug-gnu-emacs/2022-11/msg02388.html (8,500 bytes)

81. bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly (score: 2)
Author: HIDDEN
Date: Wed, 29 Apr 2020 16:23:42 +0200
Philipp> This is unfortunately a bit hard to reproduce and probably depends on Philipp> details of the system. However, the following steps work for me: Philipp> 1. emacs -Q -l server -eval '(setq s
/archive/html/bug-gnu-emacs/2020-04/msg01376.html (5,446 bytes)

82. bug#40831: 28.0.50; Remote Emacsclient with --create-frame doesn't seem to work correctly (score: 2)
Author: HIDDEN
Date: Fri, 24 Apr 2020 22:48:17 +0200
This is unfortunately a bit hard to reproduce and probably depends on details of the system. However, the following steps work for me: 1. emacs -Q -l server -eval '(setq server-name "/tmp/emacs.sock"
/archive/html/bug-gnu-emacs/2020-04/msg01024.html (8,586 bytes)

83. bug#20675: 24.3; emacsclient cannot talk to emacs (score: 2)
Author: HIDDEN
Date: Wed, 02 Oct 2019 18:29:03 +0300
Fine with me, thanks.
/archive/html/bug-gnu-emacs/2019-10/msg00191.html (6,319 bytes)

84. bug#20675: 24.3; emacsclient cannot talk to emacs (score: 2)
Author: HIDDEN
Date: Wed, 2 Oct 2019 15:37:15 +0200
In my defense, I actually looked at both. :-) For now, maybe it's enough to just remove the details on server-socket-dir from the FAQ, and add a reference to the manual where users can find the docum
/archive/html/bug-gnu-emacs/2019-10/msg00178.html (6,708 bytes)

85. bug#29289: 25.3; doc errors for ‘M-x set-variable’ doc (score: 2)
Author: HIDDEN
Date: Sun, 29 Sep 2019 02:27:48 +0200
It seems like this was fixed in Emacs 26.1. I'm therefore closing this bug. If anyone is still seeing these problems on that version or later, please report back so we can reopen it. Best regards, St
/archive/html/bug-gnu-emacs/2019-09/msg01423.html (5,326 bytes)

86. bug#36648: emacs signals under gdb - [Re: connecting to a lost server process (score: 2)
Author: HIDDEN
Date: Thu, 18 Jul 2019 08:35:04 +0300
The data you collected shows that your attempt to restart the server signals an error: See the call to report_file_errno in frame #5? Signaling an error while waiting for input is fatal in Emacs, so
/archive/html/bug-gnu-emacs/2019-07/msg01366.html (10,998 bytes)

87. bug#35726: Further information of line number bug. (score: 2)
Author: HIDDEN
Date: Wed, 15 May 2019 13:35:46 -0400
Did you typo the bug number? I don't see how "server-name, server-socket-dir and daemon start through systemd socket" relates to aesthetics.
/archive/html/bug-gnu-emacs/2019-05/msg00782.html (5,517 bytes)

88. bug#32504: [PATCH] syntax-is-{comment|string}-p (score: 2)
Author: HIDDEN
Date: Wed, 22 Aug 2018 15:05:35 -0500
Hello - I got tired of checking/remembering whether (nth 3 (syntax-ppss)) was a string or a comment, so I've created two simple functions that wrap that in a more descriptive name. I've noticed that
/archive/html/bug-gnu-emacs/2018-08/msg00533.html (9,366 bytes)

89. bug#31709: 27.0.50; Wishlist: Perhaps Emacs should load a file when getting a particular signal? (score: 2)
Author: HIDDEN
Date: Tue, 05 Jun 2018 18:20:49 +0200
I believe said gdb magic requires you to have ptrace capabilities on the process in question, which is a stronger requirement than being able to send a signal (unless youʼre root, of course). A slig
/archive/html/bug-gnu-emacs/2018-06/msg00238.html (9,289 bytes)

90. bug#30769: 25.3; server-delete-client:X protocol error using Lucid (score: 2)
Author: HIDDEN
Date: Wed, 14 Mar 2018 06:54:11 -0400
close 30769 26.0.91 quit Nice, that's good news. It doesn't give any indication, but if you check with M-: (server-running-p) you should get `t'.
/archive/html/bug-gnu-emacs/2018-03/msg00437.html (6,130 bytes)

91. bug#30769: 25.3; server-delete-client:X protocol error using Lucid (score: 2)
Author: HIDDEN
Date: Wed, 14 Mar 2018 04:33:41 -0600
The problem does NOT occur in pretest 26.0.91-1 This does not start a server on my box Can't execute this one if no server started with above command.
/archive/html/bug-gnu-emacs/2018-03/msg00436.html (6,092 bytes)

92. bug#30769: 25.3; server-delete-client:X protocol error using Lucid (score: 2)
Author: HIDDEN
Date: Mon, 12 Mar 2018 21:10:09 -0400
Chould you check if it still occurs with an Emacs 26 pretest? I think there were some fixes around terminal deletion that *may* be relevant. Also, just to rule things things out, check if it happens
/archive/html/bug-gnu-emacs/2018-03/msg00356.html (5,860 bytes)

93. bug#29290: 25.3; bug-gnu-emacs archive web search fails to find matching bugs (score: 2)
Author: HIDDEN
Date: Tue, 14 Nov 2017 20:53:22 +0200
"Garbled"? What do you see there, exactly, and what browser did you use to do that? I see nothing garbled, everything is perfectly legible and clear. I wonder what did you do differently and what di
/archive/html/bug-gnu-emacs/2017-11/msg00604.html (10,215 bytes)

94. bug#29290: 25.3; bug-gnu-emacs archive web search fails to find matching bugs (score: 2)
Author: HIDDEN
Date: Tue, 14 Nov 2017 12:42:36 -0500
I tried the link above. It takes an unnatural amount of effort to find the bug between the garbled titles and summary lines. But aren't you alarmed it works so poorly? Sorry, I didn't see that. Where
/archive/html/bug-gnu-emacs/2017-11/msg00600.html (9,689 bytes)

95. bug#29289: 25.3; doc errors for ‘M-x set-variable’ doc (score: 2)
Author: HIDDEN
Date: Tue, 14 Nov 2017 10:56:46 -0500
Hi Eli, Thank you for clarifying, I didn't read the bug carefully. ;-)
/archive/html/bug-gnu-emacs/2017-11/msg00598.html (5,897 bytes)

96. bug#29289: 25.3; doc errors for ‘M-x set-variable’ doc (score: 2)
Author: HIDDEN
Date: Tue, 14 Nov 2017 17:22:38 +0200
No, the bugs in the documentation were fixed. It's just that they were fixed for the upcoming Emacs 26.1, and you are using 25.3. You are welcome to try the pretest of Emacs 26.1, which is available
/archive/html/bug-gnu-emacs/2017-11/msg00591.html (5,560 bytes)

97. bug#29290: 25.3; bug-gnu-emacs archive web search fails to find matching bugs (score: 2)
Author: HIDDEN
Date: Tue, 14 Nov 2017 17:18:39 +0200
My suggestion is to use the search engine of the bug tracker, at https://debbugs.gnu.org/cgi/search.cgi It is more sophisticated and does find the above bug report. The reasons why the mailman searc
/archive/html/bug-gnu-emacs/2017-11/msg00590.html (8,022 bytes)

98. bug#29290: 25.3; bug-gnu-emacs archive web search fails to find matching bugs (score: 2)
Author: HIDDEN
Date: Mon, 13 Nov 2017 19:12:36 -0500
It seems like the bug-gnu-emacs archive is not being properly indexed/searched. Please see forwarded emacs bug#29290 below ...
/archive/html/bug-gnu-emacs/2017-11/msg00578.html (7,690 bytes)

99. bug#29290: 25.3; bug-gnu-emacs archive web search fails to find matching bugs (score: 2)
Author: HIDDEN
Date: Mon, 13 Nov 2017 18:45:10 -0500
lists.gnu.org is general GNU infrastructure not maintained by anyone here at Emacs. I'm not sure what the right contact address is; perhaps mailman at gnu.org.
/archive/html/bug-gnu-emacs/2017-11/msg00575.html (7,247 bytes)

100. bug#29290: 25.3; bug-gnu-emacs archive web search fails to find matching bugs (score: 2)
Author: HIDDEN
Date: Mon, 13 Nov 2017 18:17:28 -0500
To see an example, search bug-gnu-emacs for 'server-name', e.g., http://lists.gnu.org/archive/cgi-bin/namazu.cgi?query=server-name&submit=Search%21&idxname=bug-gnu-emacs&max=20&result=normal&sort=sco
/archive/html/bug-gnu-emacs/2017-11/msg00572.html (26,995 bytes)


This search system is powered by Namazu