From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: [tiny patch] calling org-agenda from eshell command line Date: Wed, 25 Feb 2009 13:51:15 +0100 Message-ID: References: <87wsbfq37m.fsf@gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcJEO-0005yr-FD for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 07:51:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcJEM-0005xg-Az for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 07:51:19 -0500 Received: from [199.232.76.173] (port=52612 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcJEM-0005xW-3o for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 07:51:18 -0500 Received: from qw-out-1920.google.com ([74.125.92.147]:54831) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LcJEL-0008R9-Gx for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 07:51:17 -0500 Received: by qw-out-1920.google.com with SMTP id 4so5842qwk.24 for ; Wed, 25 Feb 2009 04:51:17 -0800 (PST) In-Reply-To: <87wsbfq37m.fsf@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Eric Schulte Cc: Org Mode List Applied, thanks. - Carsten On Feb 24, 2009, at 4:11 PM, Eric Schulte wrote: > Hi, > > The attached patch makes the prefix argument ARG to `org-agenda' > optional so that it is easier to call from the eshell command line. > There may be some reason not to make this change, but so far I am > enjoying it. > > Thanks -- Eric > > From 1fd28b94613846616ae1dc8829c16fc70ee54454 Mon Sep 17 00:00:00 2001 > From: Eric Schulte > Date: Tue, 24 Feb 2009 07:07:38 -0800 > Subject: [PATCH] Make the ARG argument to `org-agenda' optional. > This makes it easy to > call org-agenda from the eshell command line. > > --- > lisp/org-agenda.el | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el > index 435a967..74bd614 100644 > --- a/lisp/org-agenda.el > +++ b/lisp/org-agenda.el > @@ -1444,7 +1444,7 @@ that have been changed along." > (defvar org-agenda-overriding-restriction nil) > > ;;;###autoload > -(defun org-agenda (arg &optional keys restriction) > +(defun org-agenda (&optional arg keys restriction) > "Dispatch agenda commands to collect entries to the agenda buffer. > Prompts for a command to execute. Any prefix arg will be passed > on to the selected command. The default selections are: > -- > 1.5.4.3 > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode