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


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Alex Hutcheson <alexhutcheson <at> google.com>
Subject: bug#25708: closed (Re: bug#25708: 25.1.91; Allow users to inhibit
 printing for 'emacsclient -c -t')
Date: Sat, 25 Feb 2017 08:34:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

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

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 25708 <at> debbugs.gnu.org.

-- 
25708: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=25708
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Eli Zaretskii <eliz <at> gnu.org>
To: peder <at> klingenberg.no (Peder O. Klingenberg)
Cc: 25708-done <at> debbugs.gnu.org, schwab <at> linux-m68k.org, alexhutcheson <at> google.com
Subject: Re: bug#25708: 25.1.91;
 Allow users to inhibit printing for 'emacsclient -c -t'
Date: Sat, 25 Feb 2017 10:33:12 +0200
> From: peder <at> klingenberg.no (Peder O. Klingenberg)
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  25708 <at> debbugs.gnu.org,  alexhutcheson <at> google.com
> Date: Mon, 20 Feb 2017 21:55:15 +0100
> 
> Andreas Schwab <schwab <at> linux-m68k.org> writes:
> 
> > Then it's not a good word to describe the option.  Better would be
> > --suppress-output.
> 
> I thought it succinctly expressed what the flag did, but I have no
> objection to --suppress-output.
> 
> Attached is the latest version of the patch, with all objections raised
> so far addressed.

Thanks, pushed to the master branch.

[Message part 3 (message/rfc822, inline)]
From: Alex Hutcheson <alexhutcheson <at> google.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 25.1.91; Allow users to inhibit printing for 'emacsclient -c -t'
Date: Mon, 13 Feb 2017 14:46:34 -0500
Sometimes I want to eval some elisp at the command line exclusively to
set up some buffers for me to work with in a new frame. For example, to
diff two files, I often do:
  emacsclient -c -e '(ediff "fileA" "fileB")

This works, but emacsclient annoyingly prints the result of the eval'ed
expression to stdout. In this case, I'll get:
  #<buffer *Ediff Control Panel*>

This output is annoying, and it can't be redirected (`emacsclient -c' on a
terminal fail to launch if stdout is redirected, for obvious reasons).

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.



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

Previous Next


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