[Remind-Fans] Remind-fans Digest, Vol 49, Issue 1
san.srcf at clockwatching.net
san.srcf at clockwatching.net
Thu Mar 13 13:26:03 EDT 2008
Hi all,
> Remind does not handle substitution for days *after* the trigger date;
> that would be a big change. I can look into it, though.
Like M. Schmitz I want to throw in my vote for this as well. I've
thought about adding this to remind, but haven't gotten around to it
yet. I currently solve this problem by having a script spit out three
reminders, such as:
REM 13 Mar 2008 MSG Eval, QA, was finished today.%
IF $CalMode == 0
REM 14 Mar 2008 MSG Eval, QA, was finished yesterday.%
REM 15 Mar 2008 MSG Eval, QA, was finished on Thursday.%
ENDIF
It would be nice if I could instead use:
REM 13 Mar 2008 ++-2 MSG Eval, QA, was finished %b.%
I understand that this overly-confusing syntax may be a lot
of work to change in remind, but I thought I'd mention it anyhow.
Thanks,
-- San
On Thu, Mar 13, 2008 at 12:00:00PM -0400, remind-fans-request at whatexit.org wrote:
>
> Message: 5
> Date: Thu, 13 Mar 2008 10:42:22 -0400
> From: "David F. Skoll" <dfs at roaringpenguin.com>
> Subject: Re: [Remind-Fans] date substitution
> To: Users of the <remind-fans at whatexit.org>
> Message-ID: <47D93D4E.2090402 at roaringpenguin.com>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Tarlika Elisabeth Schmitz wrote:
>
> > I also created a variable for convenience:
> > SET by "by %w %d%s %m %y"
> > MSG %"make dental appointment %" [by] %
>
> > 1) how can I achieve that the date is replaced by "today"/"tomorrow" on
> > the trigger day and the day before respectively?
>
> You can make it a function. Something like this (see the man page for
> the "choose" built-in function):
>
> FSET by() choose(trigdate()-today()+1, "today", "tomorrow", "by %w %d%s %m %y")
>
> and then use it like this:
>
> MSG %"make dental appointment%" [by()] %
>
> (This is untested... just dashed it off quickly.)
>
> > 2) would it be possible to create another substitution filter for this?
>
> It is not necessary because you can hack it together with a function.
>
> > As an aside: After the trigger day (if using *1), %u displays "today".
> > I would find it more useful if it showed the date, and maybe even
> > yesterday on the day after.
>
> Remind does not handle substitution for days *after* the trigger date;
> that would be a big change. I can look into it, though.
>
> Regards,
>
> David.
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 13 Mar 2008 15:01:41 +0000
> From: Tarlika Elisabeth Schmitz <remind at numerixtechnology.de>
> Subject: Re: [Remind-Fans] date substitution
> To: Users of the <remind-fans at whatexit.org>
> Cc: dfs at roaringpenguin.com
> Message-ID: <20080313150141.2f1e4665 at dick.coachhouse>
> Content-Type: text/plain; charset=UTF-8
>
> Ah - Canada is getting up ...
>
> Good morning!
>
> On Thu, 13 Mar 2008 10:42:22 -0400
> "David F. Skoll" <dfs at roaringpenguin.com> wrote:
>
> > Tarlika Elisabeth Schmitz wrote:
> >
> > > I also created a variable for convenience:
> > > SET by "by %w %d%s %m %y"
> > > MSG %"make dental appointment %" [by] %
> >
> > > 1) how can I achieve that the date is replaced by
> > > "today"/"tomorrow" on the trigger day and the day before
> > > respectively?
> >
> > You can make it a function. Something like this (see the man page for
> > the "choose" built-in function):
> >
> > FSET by() choose(trigdate()-today()+1, "today", "tomorrow", "by %w
> > %d%s %m %y")
>
> How ingenious!
>
> > > As an aside: After the trigger day (if using *1), %u displays
> > > "today". I would find it more useful if it showed the date, and
> > > maybe even yesterday on the day after.
> >
> > Remind does not handle substitution for days *after* the trigger date;
> > that would be a big change. I can look into it, though.
>
> I just thought it would be good to be aware of missed appointments,
> such as "Tax return due yesterday" followed by an if late then ?100
> penalty message. ;-)
>
> --
>
>
> Best Regards,
>
> Tarlika Elisabeth Schmitz (Scotland)
>
>
> ------------------------------
>
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.whatexit.org
> http://lists.whatexit.org/mailman/listinfo/remind-fans
>
>
> End of Remind-fans Digest, Vol 49, Issue 1
> ******************************************
--
Consistency is the last refuge of the unimaginative.
-- Oscar Wilde
More information about the Remind-fans
mailing list