GNU bug report logs - #25708
25.1.91; Allow users to inhibit printing for 'emacsclient -c -t'

Previous Next

Package: emacs;

Reported by: Alex Hutcheson <alexhutcheson <at> google.com>

Date: Mon, 13 Feb 2017 19:47:02 UTC

Severity: wishlist

Tags: patch

Found in version 25.1.91

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 25708 <at> debbugs.gnu.org (full text, mbox):

From: peder <at> klingenberg.no (Peder O. Klingenberg)
To: Alex Hutcheson <alexhutcheson <at> google.com>
Cc: 25708 <at> debbugs.gnu.org
Subject: Re: bug#25708: 25.1.91;
 Allow users to inhibit printing for 'emacsclient -c -t'
Date: Sun, 19 Feb 2017 21:54:22 +0100
[Message part 1 (text/plain, inline)]
Alex Hutcheson <alexhutcheson <at> 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.

[0001-Extend-emacsclient-quiet-to-cover-eval-output.patch (text/x-patch, attachment)]

This bug report was last modified 8 years and 147 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.