From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Moreton Subject: Re: Launching Emacs org-mode commands from Windows 7 command line? Date: Thu, 31 Jul 2014 22:25:23 +0100 Message-ID: <868un9fcfw.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60280) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCxrF-00043E-6z for emacs-orgmode@gnu.org; Thu, 31 Jul 2014 17:26:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCxr7-000206-Ns for emacs-orgmode@gnu.org; Thu, 31 Jul 2014 17:25:53 -0400 Received: from plane.gmane.org ([80.91.229.3]:41526) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCxr7-0001zy-HG for emacs-orgmode@gnu.org; Thu, 31 Jul 2014 17:25:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XCxr6-0000i7-71 for emacs-orgmode@gnu.org; Thu, 31 Jul 2014 23:25:44 +0200 Received: from 82-69-64-228.dsl.in-addr.zen.co.uk ([82.69.64.228]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jul 2014 23:25:44 +0200 Received: from andrewjmoreton by 82-69-64-228.dsl.in-addr.zen.co.uk with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 31 Jul 2014 23:25:44 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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