unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit--Claudel" <clement.pitclaudel@live.com>
To: 24157@debbugs.gnu.org
Subject: bug#24157: Acknowledgement (25.1.50; (princ "..." t) does not go to stderr in batch mode)
Date: Fri, 5 Aug 2016 01:37:31 -0400	[thread overview]
Message-ID: <d0577f08-10d6-3705-1c70-3268608b4ecc@live.com> (raw)
In-Reply-To: <handler.24157.B.147037498113506.ack@debbugs.gnu.org>


[-- Attachment #1.1: Type: text/plain, Size: 1252 bytes --]

Also:

  $ emacs --batch --eval '(progn (message "to stderr.") (princ "to stderr?" t))' > /dev/null
  to stderr.
  $ emacs --batch --eval '(progn (princ "to stderr?" t) (message "to stderr."))' > /dev/null

  to stderr.

And worse:

  $ emacs --batch --eval '(progn (princ "to stdout!") (message "to stderr."))' > /dev/null

  to stderr.
  $ emacs --batch --eval '(progn (princ "to stdout!") (message "to stderr."))' 2> /dev/null
  to stdout!

(which I guess suggests that 'message' is the one adding the newline, not princ)

Clément.

On 2016-08-05 01:30, GNU bug Tracking System wrote:
> Thank you for filing a new bug report with debbugs.gnu.org.
> 
> This is an automatically generated reply to let you know your message
> has been received.
> 
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
> 
> Your message has been sent to the package maintainer(s):
>  bug-gnu-emacs@gnu.org
> 
> If you wish to submit further information on this problem, please
> send it to 24157@debbugs.gnu.org.
> 
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
> 


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  parent reply	other threads:[~2016-08-05  5:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-05  5:29 bug#24157: 25.1.50; (princ "..." t) does not go to stderr in batch mode Clément Pit--Claudel
     [not found] ` <handler.24157.B.147037498113506.ack@debbugs.gnu.org>
2016-08-05  5:37   ` Clément Pit--Claudel [this message]
2016-08-05  6:03 ` Eli Zaretskii
2016-08-05  7:11   ` Clément Pit--Claudel
2016-08-05  8:20     ` Andreas Schwab
2016-08-05 13:52     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=d0577f08-10d6-3705-1c70-3268608b4ecc@live.com \
    --to=clement.pitclaudel@live.com \
    --cc=24157@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).