* Controlling where `message' outputs data in batch mode
@ 2019-06-23 11:42 Lars Ingebrigtsen
0 siblings, 0 replies; only message in thread
From: Lars Ingebrigtsen @ 2019-06-23 11:42 UTC (permalink / raw)
To: emacs-devel
As the doc string says:
---
(message FORMAT-STRING &rest ARGS)
[...]
In batch mode, the message is printed to the standard error stream,
followed by a newline.
---
I think that's a good default, but it would be nice if it could be
controlled.
While I was looking at all the compilation warnings, I would often do
"make 2> /tmp/warn" and look at that file, which does contain all the
warnings. However, it also contains the bits where we output
informational progress messages from Emacs, and that seems sub-optimal.
Would it be a good idea to have some way of specifying whether `message'
should output on stdout instead of stderr?
Like
(let ((standard-error 'stdout))
(message "This is not an error message"))
or... something.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2019-06-23 11:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-06-23 11:42 Controlling where `message' outputs data in batch mode Lars Ingebrigtsen
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.