emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient startup messages


From: Eli Zaretskii
Subject: Re: emacsclient startup messages
Date: Tue, 26 Oct 2021 15:18:12 +0300

> From: Pedro Andres Aranda Gutierrez <paaguti@gmail.com>
> Date: Tue, 26 Oct 2021 07:26:35 +0200
> 
> I was used to the 
> emacsclient: can't find socket; have you started the server?
> emacsclient: To start the server in Emacs, type "M-x server-start".
> messages and, despite finding them somehow annoying, well I could live with 
> them :-)
> 
> Lately, this has grown to
> emacsclient: Should XDG_RUNTIME_DIR='/run/user/1000' be in the environment?
> emacsclient: (Be careful: XDG_RUNTIME_DIR is security-related.)
> emacsclient: can't find socket; have you started the server?
> emacsclient: To start the server in Emacs, type "M-x server-start".
> in my Linux system and, well, it starts being too much...
> 
> even with a emacsclient -q there is no way to silence
> emacsclient: Should XDG_RUNTIME_DIR='/run/user/1000' be in the environment?
> emacsclient: (Be careful: XDG_RUNTIME_DIR is security-related.)
> 
> If I say quiet, I mean quiet and that should include this message... more so 
> if they ask me maybe do
> something that maybe I shouldn't because it is security related... 

That's not what -q is meant to do.  From the --help display:

  -q, --quiet        Don't display messages on success

IOW, it isn't supposed to suppress warning, only verbose messages
about _successful_ actions.

> Isn't there any other way of saying this in a more positive way so that I 
> either decide to take action or not?
> Could'nt we also silence this warning in -q?

How about redirecting stderr to /dev/null?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]