Subject: bug#24157: Acknowledgement (25.1.50; (princ "..." t) does not go to stderr in batch mode)

From: Clément Pit--Claudel <[email-masked]>
Date: Fri, 5 Aug 2016 01:37:31 -0400

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):
>  [email-masked]
> 
> If you wish to submit further information on this problem, please
> send it to [email-masked].
> 
> Please do not send mail to [email-masked] unless you wish
> to report a problem with the Bug-tracking system.
>