From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin Beck" Subject: Launching Emacs org-mode commands from Windows 7 command line? Date: Thu, 31 Jul 2014 17:22:49 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCsC5-0007xD-Ue for emacs-orgmode@gnu.org; Thu, 31 Jul 2014 11:23:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCsBy-0000dP-Ab for emacs-orgmode@gnu.org; Thu, 31 Jul 2014 11:23:01 -0400 Received: from mout.web.de ([212.227.15.3]:58185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCsBy-0000dD-1F for emacs-orgmode@gnu.org; Thu, 31 Jul 2014 11:22:54 -0400 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-mailinglist
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
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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Beck Subject: Re: Launching Emacs org-mode commands from Windows 7 command line? Date: Fri, 1 Aug 2014 07:01:31 +0000 (UTC) Message-ID: References: <868un9fcfw.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD6qh-00074Q-Q3 for emacs-orgmode@gnu.org; Fri, 01 Aug 2014 03:02:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XD6qX-0004ZT-Jk for emacs-orgmode@gnu.org; Fri, 01 Aug 2014 03:01:55 -0400 Received: from plane.gmane.org ([80.91.229.3]:44007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XD6qX-0004ZM-D0 for emacs-orgmode@gnu.org; Fri, 01 Aug 2014 03:01:45 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XD6qV-0007DQ-UK for emacs-orgmode@gnu.org; Fri, 01 Aug 2014 09:01:44 +0200 Received: from mail.polytec.de ([213.144.13.178]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2014 09:01:43 +0200 Received: from elwood151 by mail.polytec.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Aug 2014 09:01:43 +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 Andy Moreton 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