Herbert Sitz <hes...@gmail.com> wrote: > I'm running --eval commands from the shell using emacsclient (and on windows > emacsclientw). > > The --batch option does not seem to be an option with emacsclient, although it > works fine with plain emacs. However, I would still like to print output to > the > shell that I'm issuing the emacsclient command in. Is there some way to do > this? >
The message function will cause output to the echo area of emacs as well as to the standard output of the emacsclient command: ,---- | $ emacsclient --eval '(message "Hi there")' | "Hi there" `---- Nick