emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Launching Emacs org-mode commands from Windows 7 command line?
@ 2014-07-31 15:22 Martin Beck
  2014-07-31 21:25 ` Andy Moreton
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Beck @ 2014-07-31 15:22 UTC (permalink / raw)
  To: emacs orgmode-mailinglist

[-- Attachment #1: Type: text/html, Size: 1053 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Launching Emacs org-mode commands from Windows 7 command line?
  2014-07-31 15:22 Launching Emacs org-mode commands from Windows 7 command line? Martin Beck
@ 2014-07-31 21:25 ` Andy Moreton
  2014-08-01  7:01   ` Martin Beck
  0 siblings, 1 reply; 3+ messages in thread
From: Andy Moreton @ 2014-07-31 21:25 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Launching Emacs org-mode commands from Windows 7 command line?
  2014-07-31 21:25 ` Andy Moreton
@ 2014-08-01  7:01   ` Martin Beck
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Beck @ 2014-08-01  7:01 UTC (permalink / raw)
  To: emacs-orgmode

Andy Moreton <andrewjmoreton <at> gmail.com> writes:
> > 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
> 
> cmd.exe has strange quoting rules. Does this work for you ?
> 
> emacsclient --eval "(org-search-view nil """search string""")"
> 

Thanks a lot, Andy!
That does the trick!

Martin

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-08-01  7:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-31 15:22 Launching Emacs org-mode commands from Windows 7 command line? Martin Beck
2014-07-31 21:25 ` Andy Moreton
2014-08-01  7:01   ` Martin Beck

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