unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Gábor <hajovonta@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michael Heerdegen <michael_heerdegen@web.de>,
	Lars Ingebrigtsen <larsi@gnus.org>,
	Noam Postavsky <npostavs@gmail.com>,
	43888@debbugs.gnu.org
Subject: bug#43888: 28.0.50; emacsclient not working properly
Date: Tue, 13 Oct 2020 09:30:57 +0200	[thread overview]
Message-ID: <CAM-OF_HOkHS=0FEU9a82kxX0PafZ=EWkWqXxAiSKekFqKZ+BmA@mail.gmail.com> (raw)
In-Reply-To: <CAM-OF_GXUm3Eacd5fKXkv=CRwds5GE0eT3JA_-xStKPkjodMAg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4575 bytes --]

I moved it to the top of my config, then I get the following error on
startup:

Debugger entered--Lisp error: (void-variable server-use-tcp)
  default-toplevel-value(server-use-tcp)
  custom-initialize-reset(server-use-tcp (funcall #'#f(compiled-function ()
#<bytecode 0x1e0000171e91>)))
  custom-declare-variable(server-use-tcp (funcall #'#f(compiled-function ()
#<bytecode 0x1e0000171e91>)) "If non-nil, use TCP sockets instead of local
socke..." :set #f(compiled-function (sym val) #<bytecode
0xecd269cdbfc6f97>) :type boolean :version "22.1")

byte-code("\300\301\302\303\304\305%\210\306\307\310\311\312DD\313\314\315\316\317\320\321&\11\210\306\322\310\311\323DD\324\316\325\320\321&\7\210\326\322\327\330#\210\306\331\310\311..."
[custom-declare-group server nil "Emacs running as a server process."
:group external custom-declare-variable server-use-tcp funcall function
#f(compiled-function () #<bytecode 0x1e0000171e91>) "If non-nil, use TCP
sockets instead of local socke..." :set #f(compiled-function (sym val)
#<bytecode 0xecd269cdbfc6f97>) :type boolean :version "22.1" server-host
#f(compiled-function () #<bytecode 0x1e0000171e91>) "The name or IP address
to use as host address of t..." (choice (string :tag "Name or IP address")
(const :tag "Local" nil)) put risky-local-variable t server-port
#f(compiled-function () #<bytecode 0x1e0000171e91>) "The port number that
the server process should lis..." (choice (string :tag "Port number")
(const :tag "Random" nil)) "24.1" server-auth-dir #f(compiled-function ()
#<bytecode 0xae5c6d90276fe>) "Directory for server authentication
files.\nWe only..." directory server-auth-key #f(compiled-function ()
#<bytecode 0x1e0000171e91>) "Server authentication key.\nThis is only used
if `s..." (choice (const :tag "Random" nil) (string :tag "Password"))
"24.3" server-raise-frame #f(compiled-function () #<bytecode
0x1e0000171e5d>) "If non-nil, raise frame when switching to a buffer..."
server-visit-hook #f(compiled-function () #<bytecode 0x1e0000171e91>) "Hook
run when visiting a file for the Emacs server..." hook server-switch-hook
#f(compiled-function () #<bytecode 0x1e0000171e91>) "Hook run when
switching to a buffer for the Emacs ..." server-after-make-frame-hook ...]
10)
  (server-start)
  eval-buffer(#<buffer  *load*> nil "/home/username/.emacs" nil t)  ;
Reading at buffer position 216
  load-with-code-conversion("/home/username/.emacs" "/home/username/.emacs"
t t)
  load("~/.emacs" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode
0xcee8b0bce81ba0f>) #f(compiled-function () #<bytecode 0x81a386fa1b1b513>)
t)
  command-line()
  normal-top-level()

Gábor <hajovonta@gmail.com> ezt írta (időpont: 2020. okt. 13., K, 9:17):

> I set them both to t, now I have the following error on startup:
>
> Debugger entered--Lisp error: (file-missing "make client process failed"
> "No such file or directory" :name "server-client-test" :family local
> :server nil :noquery t :service "/run/user/1000/emacs/server")
>   make-network-process(:name "server-client-test" :family local :server
> nil :noquery t :service "/run/user/1000/emacs/server")
>   server-running-p("server")
>   server-start()
>   eval-buffer(#<buffer  *load*> nil "/home/username/.emacs" nil t)  ;
> Reading at buffer position 27778
>   load-with-code-conversion("/home/username/.emacs"
> "/home/username/.emacs" t t)
>   load("~/.emacs" noerror nomessage)
>   startup--load-user-init-file(#f(compiled-function () #<bytecode
> 0xed8d667e6160a0f>) #f(compiled-function () #<bytecode 0x81a386fa1b1b513>)
> t)
>   command-line()
>   normal-top-level()
>
>
>
> Eli Zaretskii <eliz@gnu.org> ezt írta (időpont: 2020. okt. 12., H, 16:50):
>
>> > From: Michael Heerdegen <michael_heerdegen@web.de>
>> > Cc: Gábor <hajovonta@gmail.com>,  larsi@gnus.org,
>> >   npostavs@gmail.com,
>> >   43888@debbugs.gnu.org
>> > Date: Mon, 12 Oct 2020 07:58:27 +0200
>> >
>> > Eli Zaretskii <eliz@gnu.org> writes:
>> >
>> > > > *ERROR*: Wrong number of arguments: (1 . 4), 5
>> >
>> > > But since with "emacs -Q" it does work, it is still some of your
>> > > customizations that are the prime suspect.
>> >
>> > Is there a way for the user to get an error message more verbose than
>> > above?
>>
>> Yes, make sure debug-on-signal and debug-on-error are both non-nil in
>> the Emacs that runs the server, then you will have the backtrace pop
>> up in Emacs.  Assuming there's some frame visible for the server, that
>> is.
>>
>

[-- Attachment #2: Type: text/html, Size: 6146 bytes --]

  reply	other threads:[~2020-10-13  7:30 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-09 18:25 bug#43888: 28.0.50; emacsclient not working properly Gábor
2020-10-09 19:35 ` Eli Zaretskii
2020-10-09 20:13   ` Lars Ingebrigtsen
2020-10-10 20:51 ` Lars Ingebrigtsen
2020-10-11 12:23   ` Noam Postavsky
2020-10-11 15:09     ` Gábor
2020-10-11 15:13       ` Gábor
2020-10-11 16:16       ` Eli Zaretskii
2020-10-11 19:44         ` Gábor
2020-10-12  5:58         ` Michael Heerdegen
2020-10-12 14:50           ` Eli Zaretskii
2020-10-13  7:17             ` Gábor
2020-10-13  7:30               ` Gábor [this message]
2020-10-13  7:36                 ` Gábor
2020-10-28 13:11                   ` Gábor
2020-10-28 13:52                     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAM-OF_HOkHS=0FEU9a82kxX0PafZ=EWkWqXxAiSKekFqKZ+BmA@mail.gmail.com' \
    --to=hajovonta@gmail.com \
    --cc=43888@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --cc=larsi@gnus.org \
    --cc=michael_heerdegen@web.de \
    --cc=npostavs@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).