emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@science.uva.nl>
To: Eric Schulte <schulte.eric@gmail.com>
Cc: Org Mode List <emacs-orgmode@gnu.org>
Subject: Re: [tiny patch] calling org-agenda from eshell command line
Date: Wed, 25 Feb 2009 13:51:15 +0100	[thread overview]
Message-ID: <D4C4157E-807E-4B78-A44F-0C7258090F3E@uva.nl> (raw)
In-Reply-To: <87wsbfq37m.fsf@gmail.com>

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 <schulte.eric@gmail.com>
> 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:
> -- 
> _______________________________________________
> 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

      reply	other threads:[~2009-02-25 12:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24 15:11 [tiny patch] calling org-agenda from eshell command line Eric Schulte
2009-02-25 12:51 ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=D4C4157E-807E-4B78-A44F-0C7258090F3E@uva.nl \
    --to=dominik@science.uva.nl \
    --cc=emacs-orgmode@gnu.org \
    --cc=schulte.eric@gmail.com \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox


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