From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eraldo Helal Subject: Re: Re: Emacs-orgmode Digest, Vol 37, Issue 121 Date: Sun, 29 Mar 2009 16:39:36 +0100 Message-ID: <938fae2d0903290839w47012034yb6fa43cdf7f2d30b@mail.gmail.com> References: <49CF8A2D.3090502@sift.info> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1284192818==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Lnx6r-0001H1-Jg for emacs-orgmode@gnu.org; Sun, 29 Mar 2009 11:39:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Lnx6n-0001Gp-Ty for emacs-orgmode@gnu.org; Sun, 29 Mar 2009 11:39:41 -0400 Received: from [199.232.76.173] (port=53059 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Lnx6n-0001Gm-Ny for emacs-orgmode@gnu.org; Sun, 29 Mar 2009 11:39:37 -0400 Received: from mail-ew0-f160.google.com ([209.85.219.160]:65379) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Lnx6n-0002vE-9J for emacs-orgmode@gnu.org; Sun, 29 Mar 2009 11:39:37 -0400 Received: by ewy4 with SMTP id 4so1815917ewy.42 for ; Sun, 29 Mar 2009 08:39:36 -0700 (PDT) In-Reply-To: <49CF8A2D.3090502@sift.info> 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: Robert Goldman Cc: emacs-orgmode@gnu.org --===============1284192818== Content-Type: multipart/alternative; boundary=0015174beee4ee8d5c046643c5ce --0015174beee4ee8d5c046643c5ce Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > > An interesting question would be how to generalize this to update > remember templates accordingly. Possibly the best approach would be to > have a defining form that would define a project in a single > s-expression, adding both remember templates and agenda entries, and > then that form could be removed all at once. Something like > > (org-add-project newproj > "A sample new project to show the greatness of org-add-project." > (agenda-files (find-lisp-find-files "~/newproj/" "\.org$")) > (remember-templates > ....)) > > [The above wouldn't work as written, since it's syntax is a mess of what > would be handled by a macro --- the "named arguments" like agenda-files > and remember-templates --- and what looks like a functional argument --- > the find-lisp-files --- but something like it could be lashed together > if anyone was interested.] > Sounds great! I like your idea. :) --0015174beee4ee8d5c046643c5ce Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
An interesting question would be how to generalize this to update
remember templates accordingly. =C2=A0Possibly the best approach would be t= o
have a defining form that would define a project in a single
s-expression, adding both remember templates and agenda entries, and
then that form could be removed all at once. =C2=A0Something like

(org-add-project newproj
=C2=A0"A sample new project to show the greatness of org-add-project.= "
=C2=A0(agenda-files (find-lisp-find-files "~/newproj/" "\.o= rg$"))
=C2=A0(remember-templates
=C2=A0 =C2=A0 ....))

[The above wouldn't work as written, since it's syntax is a mess of= what
would be handled by a macro --- the "named arguments" like agenda= -files
and remember-templates --- and what looks like a functional argument --- the find-lisp-files --- but something like it could be lashed together
if anyone was interested.]

Sounds great!
I like your idea. :)

--0015174beee4ee8d5c046643c5ce-- --===============1284192818== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1284192818==--