From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: Adding entries to Google calendar Date: Wed, 8 Sep 2010 11:58:48 -0400 Message-ID: References: <8739tp1tez.fsf@gmx.ch> <8739tp5uyc.wl%ucecesf@ucl.ac.uk> <87wrr1z3ui.fsf@rub.de> <87pqwsxvg3.wl%ucecesf@ucl.ac.uk> <87pqwosj1s.fsf@rub.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0636481251==" Return-path: Received: from [140.186.70.92] (port=57426 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OtN2z-0003M1-Fy for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 11:58:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OtN2v-00073J-Ea for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 11:58:53 -0400 Received: from mail-ew0-f41.google.com ([209.85.215.41]:48920) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OtN2v-00073B-A8 for emacs-orgmode@gnu.org; Wed, 08 Sep 2010 11:58:49 -0400 Received: by ewy28 with SMTP id 28so204835ewy.0 for ; Wed, 08 Sep 2010 08:58:48 -0700 (PDT) In-Reply-To: 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: emacs-orgmode@gnu.org --===============0636481251== Content-Type: multipart/alternative; boundary=0015174bea4acb87f7048fc1962e --0015174bea4acb87f7048fc1962e Content-Type: text/plain; charset=ISO-8859-1 On Wed, Sep 8, 2010 at 11:34 AM, Matt Price wrote: > > > - Sven says something about using org-remember to do the same work -- it's > not clear to me whether you have that working, Sven. In any case would it > be difficult to use org-capture instead of the diary? That would certainly > be better for my workflow, since i'm not in my calendar view very often > (htough i suppose if i'm making an appointment maybe i ought to be. > so, having looked at the code a little more closely, I guess my question is, can erik's defadvice be converted somehow into a hook that gets executed at the end of an org-capture event, provided that the org-capture template is suitably set up? I don't really understand how defadvice works, and where, for instance, ad-get-arg gets its arguments from (so that the relevant calendar fields can be defined properly). Matt > > > --0015174bea4acb87f7048fc1962e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Wed, Sep 8, 2010 at 11:34 AM, Matt Pr= ice <moptop99@gm= ail.com> wrote:


- Sven says something about using org-remember to do the same work -- i= t's not clear to me whether you have that working, Sven.=A0 In any case= would it be difficult to use org-capture instead of the diary?=A0 That wou= ld certainly be better for my workflow, since i'm not in my calendar vi= ew very often (htough i suppose if i'm making an appointment maybe i ou= ght to be.=A0

so, having looked at the code a little more closely, = I guess my question is, can erik's defadvice be converted somehow into = a hook that gets executed at the end of an=A0 org-capture event, provided t= hat the org-capture template is suitably set up?=A0 I don't really unde= rstand how defadvice works, and where, for instance, ad-get-arg gets its ar= guments from (so that the relevant calendar fields can be defined properly)= .=A0

Matt



--0015174bea4acb87f7048fc1962e-- --===============0636481251== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0636481251==--