From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Handling errors in command line exporting of agenda? Date: Mon, 08 Aug 2011 16:33:03 -0400 Message-ID: <4539.1312835583@alphaville.americas.hpqcorp.net> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from eggs.gnu.org ([140.186.70.92]:42507) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqWal-0002FK-RX for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 16:38:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QqWak-0008Ix-Du for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 16:38:31 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:38710) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QqWak-0008IP-8s for emacs-orgmode@gnu.org; Mon, 08 Aug 2011 16:38:30 -0400 In-Reply-To: Message from suvayu ali of "Mon, 08 Aug 2011 22:22:27 +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: suvayu ali Cc: nicholas.dokos@hp.com, emacs-orgmode suvayu ali wrote: > Hi John, > > On Mon, Aug 8, 2011 at 9:48 PM, John Hendy wrote: > > -batch -l ~/.emacs -eval > > Your problem is the long options are wrong. According to the manpages, > there should be 2 hyphens. > > --eval and --batch. > Nope - emacs recognizes both (presumably the single hyphen ones are deprecated but they still work: emacs -batch -eval '(message "foo")' works fine. Nick