emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Herbert Sitz <hesitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Output to shell when calling emacsclient?
Date: Sun, 23 Oct 2011 16:47:29 +0000 (UTC)	[thread overview]
Message-ID: <loom.20111023T184428-713@post.gmane.org> (raw)
In-Reply-To: loom.20111022T222701-138@post.gmane.org

Herbert Sitz <hesitz <at> gmail.com> writes:

> 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.
> 

In case anyone cares -- I know the number of people using emacsclientw is
probably tiny -- the workaround I'm using in Windows is just to 
pipe it to 'cat'.  So this does work to output on the terminal:

> emacsclientw --eval ^"(message \^"Hi there\^")^" | cat

-- Herb

      reply	other threads:[~2011-10-23 16:47 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
2011-10-23 16:47     ` Herbert Sitz [this message]

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.20111023T184428-713@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).