From: Herbert Sitz <hesitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Output to shell when calling emacsclient?
Date: Sat, 22 Oct 2011 20:37:17 +0000 (UTC) [thread overview]
Message-ID: <loom.20111022T222701-138@post.gmane.org> (raw)
In-Reply-To: 26304.1319311350@alphaville.dokosmarshall.org
Nick Dokos <nicholas.dokos <at> hp.com> writes:
> 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 -- Thanks, it does indeed work for me in Linux.
Can't get it to work in Windows, though. In Windows it runs in the gui server
with correct output in Emacs server in the Messages buf and on the minibuf
command line. But not output in the terminal.
Strange because I can get the shell to redirect the output to a file:
> emacsclientw --eval ^"(message \^"Hi there\^")^" > output.txt
But if I don't enter the redirect to a file the output never shows up in the
terminal.
Maybe someone knows the explanation for this?
-- Herb
next prev parent reply other threads:[~2011-10-22 20:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-22 18:42 Output to shell when calling emacsclient? Herbert Sitz
2011-10-22 19:22 ` Nick Dokos
2011-10-22 20:37 ` Herbert Sitz [this message]
2011-10-23 16:47 ` Herbert Sitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=loom.20111022T222701-138@post.gmane.org \
--to=hesitz@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).