emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Launching Emacs org-mode commands from Windows 7 command line?
Date: Thu, 31 Jul 2014 22:25:23 +0100	[thread overview]
Message-ID: <868un9fcfw.fsf@gmail.com> (raw)
In-Reply-To: trinity-45deea1c-6e7b-44b2-9c79-8991754d8cbd-1406820169075@3capp-webde-bs04

On Thu 31 Jul 2014, Martin Beck wrote:

> I want to use a shell command in Windows 7 command prompt (cmd.exe) to create
> a search agenda view in Emacs org-mode (in the active frame).
> I tried like that:
> emacsclient --eval '(org-search-view nil "search string")'
> but with no success.
> In the command line I get the error message:
> *ERROR*: End of file during parsing
> And I get no a search or search result in Emacs org-mode.
> Any tips are appreciated. I'm using Windows 7, Emacs 24.3 and org-mode 8.2.6
> Kind regards
> Martin

cmd.exe has strange quoting rules. Does this work for you ?

emacsclient --eval "(org-search-view nil """search string""")"

HTH

    AndyM

  reply	other threads:[~2014-07-31 21:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-31 15:22 Launching Emacs org-mode commands from Windows 7 command line? Martin Beck
2014-07-31 21:25 ` Andy Moreton [this message]
2014-08-01  7:01   ` Martin Beck

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=868un9fcfw.fsf@gmail.com \
    --to=andrewjmoreton@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).