bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#25708: 25.1.91; Allow users to inhibit printing for 'emacsclient -c


From: Peder O. Klingenberg
Subject: bug#25708: 25.1.91; Allow users to inhibit printing for 'emacsclient -c -t'
Date: Sun, 19 Feb 2017 21:54:22 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (darwin)

Alex Hutcheson <alexhutcheson@google.com> writes:

> It would be great if emacsclient had a way to inhibit printing the
> result, for cases where the user is only eval'ing the expressions for
> their side effects.

Emacsclient claims to have that functionality already.  From the
usage-message:

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

This should, in my opinion, cover the case of successfully eval-ing
forms.  However, -q currently has no effect on output from emacs, it
only inhibits messages about connecting to emacs.

The attached patch should prevent emacsclient from printing non-error
output from emacs to the terminal.

With this the terminal stays quiet after exiting the client frame when I
do "emacsclient -q -c -e '(+ 2 3)'".  Without the -q, the terminal
prints 5 as before.

Attachment: 0001-Extend-emacsclient-quiet-to-cover-eval-output.patch
Description: Text Data


reply via email to

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