Subject: bug#28242: Batch mode compiling: Error messages are displayed with "invalid character" glyph bounding symbols.

From: Eli Zaretskii <[email-masked]>
Date: Sun, 27 Aug 2017 20:53:32 +0300

> Cc: [email-masked]
> From: Paul Eggert <[email-masked]>
> Date: Sun, 27 Aug 2017 09:46:32 -0700
> 
> The ioctl needs a file descriptor, and which file 
> descriptor should Emacs try? Stdout? Stderr?

We are talking about messages in -batch, so stderr.

> What if the output of Emacs is 
> being sent to a file or pipe, and some other program later displays the text?

I don't think we should care.  The primary goal is to have batch-mode
messages to the screen display legibly.  If another program later
examines the results, it's a problem for that other program.  In
particular, if that other program is Emacs, we already have the
solution for displaying these quotes in interactive sessions.