all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server"
@ 2022-09-07 17:22 Jacob Faibussowitsch
  2022-09-07 18:25 ` Eli Zaretskii
  2022-09-07 21:50 ` Stefan Kangas
  0 siblings, 2 replies; 6+ messages in thread
From: Jacob Faibussowitsch @ 2022-09-07 17:22 UTC (permalink / raw)
  To: 57650

To reproduce:

1. $ emacs -Q --daemon
2. $ emacsclient --tty --quiet
3. C-x C-c
4. Behold:

Got response from server

Note that if you do the above *without* --quiet, then no message is printed. It appears the message is printed from lib-src/emacsclient.c:2174.

Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server"
  2022-09-07 17:22 bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server" Jacob Faibussowitsch
@ 2022-09-07 18:25 ` Eli Zaretskii
  2022-09-07 18:31   ` Jacob Faibussowitsch
  2022-09-07 21:50 ` Stefan Kangas
  1 sibling, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-09-07 18:25 UTC (permalink / raw)
  To: Jacob Faibussowitsch; +Cc: 57650

> From: Jacob Faibussowitsch <jacob.fai@gmail.com>
> Date: Wed, 7 Sep 2022 13:22:20 -0400
> 
> To reproduce:
> 
> 1. $ emacs -Q --daemon
> 2. $ emacsclient --tty --quiet
> 3. C-x C-c
> 4. Behold:
> 
> Got response from server
> 
> Note that if you do the above *without* --quiet, then no message is printed. It appears the message is printed from lib-src/emacsclient.c:2174.

Then I don't understand the complaint: you _asked_ for more chatter by
specifying --quiet.  Right?





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server"
  2022-09-07 18:25 ` Eli Zaretskii
@ 2022-09-07 18:31   ` Jacob Faibussowitsch
  2022-09-07 18:47     ` Eli Zaretskii
  0 siblings, 1 reply; 6+ messages in thread
From: Jacob Faibussowitsch @ 2022-09-07 18:31 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 57650

> you _asked_ for more chatter by
> specifying --quiet.  Right?

… I had to read that twice, but just so I understand the --quiet flag makes emacsclient display more to screen? Perhaps it should be renamed to --louder. Going from the help tooltip:

$ emacsclient --help
…
-q, --quiet		Don't display messages on success

I was under the distinct impression this flag would make emacsclient well, quieter.

Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)

> On Sep 7, 2022, at 14:25, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Jacob Faibussowitsch <jacob.fai@gmail.com>
>> Date: Wed, 7 Sep 2022 13:22:20 -0400
>> 
>> To reproduce:
>> 
>> 1. $ emacs -Q --daemon
>> 2. $ emacsclient --tty --quiet
>> 3. C-x C-c
>> 4. Behold:
>> 
>> Got response from server
>> 
>> Note that if you do the above *without* --quiet, then no message is printed. It appears the message is printed from lib-src/emacsclient.c:2174.
> 
> Then I don't understand the complaint: you _asked_ for more chatter by
> specifying --quiet.  Right?






^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server"
  2022-09-07 18:31   ` Jacob Faibussowitsch
@ 2022-09-07 18:47     ` Eli Zaretskii
  2022-09-07 19:26       ` Jim Porter
  0 siblings, 1 reply; 6+ messages in thread
From: Eli Zaretskii @ 2022-09-07 18:47 UTC (permalink / raw)
  To: Jacob Faibussowitsch; +Cc: 57650

> From: Jacob Faibussowitsch <jacob.fai@gmail.com>
> Date: Wed, 7 Sep 2022 14:31:28 -0400
> Cc: 57650@debbugs.gnu.org
> 
> > you _asked_ for more chatter by
> > specifying --quiet.  Right?
> 
> … I had to read that twice, but just so I understand the --quiet flag makes emacsclient display more to screen? Perhaps it should be renamed to --louder.

Yes, I think --louder is a better name for the option, now that it
behaves like that.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server"
  2022-09-07 18:47     ` Eli Zaretskii
@ 2022-09-07 19:26       ` Jim Porter
  0 siblings, 0 replies; 6+ messages in thread
From: Jim Porter @ 2022-09-07 19:26 UTC (permalink / raw)
  To: Eli Zaretskii, Jacob Faibussowitsch; +Cc: 57650

On 9/7/2022 11:47 AM, Eli Zaretskii wrote:
>> From: Jacob Faibussowitsch <jacob.fai@gmail.com>
>> Date: Wed, 7 Sep 2022 14:31:28 -0400
>> Cc: 57650@debbugs.gnu.org
>>
>>> you _asked_ for more chatter by
>>> specifying --quiet.  Right?
>>
>> … I had to read that twice, but just so I understand the --quiet flag makes emacsclient display more to screen? Perhaps it should be renamed to --louder.
> 
> Yes, I think --louder is a better name for the option, now that it
> behaves like that.

Looking at emacsclient.c, I think this is just a bug in the new timeout 
handling. Everywhere else that --quiet is used, it means what 
"emacsclient --help" says: "Don't display messages on success".

For example, 'set_local_socket' has this bit, which makes it pretty 
explicit:

       /* If there's an alternate editor and the user has requested
	 --quiet, don't output the warning. */
       if (!quiet || !alternate_editor)
	{
	  message (true,
		   ("%s: can't find socket; have you started the server?\n"
		    "%s: To start the server in Emacs,"
		    " type \"M-x server-start\".\n"),
		   progname, progname);
	}





^ permalink raw reply	[flat|nested] 6+ messages in thread

* bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server"
  2022-09-07 17:22 bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server" Jacob Faibussowitsch
  2022-09-07 18:25 ` Eli Zaretskii
@ 2022-09-07 21:50 ` Stefan Kangas
  1 sibling, 0 replies; 6+ messages in thread
From: Stefan Kangas @ 2022-09-07 21:50 UTC (permalink / raw)
  To: Jacob Faibussowitsch, 57650

close 57650 29.1
thanks

Jacob Faibussowitsch <jacob.fai@gmail.com> writes:

> 1. $ emacs -Q --daemon
> 2. $ emacsclient --tty --quiet
> 3. C-x C-c
> 4. Behold:
>
> Got response from server

Fixed on master (commit 901d3a2b5d).  Thanks for the bug report.





^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2022-09-07 21:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-07 17:22 bug#57650: [29.0.50] Chatty Emacsclient: "Got response from server" Jacob Faibussowitsch
2022-09-07 18:25 ` Eli Zaretskii
2022-09-07 18:31   ` Jacob Faibussowitsch
2022-09-07 18:47     ` Eli Zaretskii
2022-09-07 19:26       ` Jim Porter
2022-09-07 21:50 ` Stefan Kangas

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.