[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Output to shell when calling emacsclient?
From: |
Nick Dokos |
Subject: |
Re: [O] Output to shell when calling emacsclient? |
Date: |
Sat, 22 Oct 2011 15:22:30 -0400 |
Herbert Sitz <address@hidden> 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