Tom Limoncelli | 6 Nov 2001 17:53

birthdays

Does anyone have a macro that makes handling birthdays easier?

For example:

REM birthdayDMY(11,July,1968)  MSG Gerry turns %F years old today
REM birthdayDM(12,July)        MSG Bob's birthday

Thanks!

-Tom

David F. Skoll | 6 Nov 2001 18:15
Favicon

Re: birthdays

On Tue, 6 Nov 2001, Tom Limoncelli wrote:

> Does anyone have a macro that makes handling birthdays easier?

I use this:

if !defined("init")
	set init 1
	fset since(x) ord(year(trigdate())-x)
endif

REM  6 Jan +8 MSG %"Eleanor and Alan's [since(1980)] anniversary%" is %b.
REM  6 Mar +8 MSG %"Gillian's [since(1998)] Birthday%" is %b.

Works for me.

--
David.

Tom Limoncelli | 10 Nov 2001 16:04
Favicon
Gravatar

Re: birthdays

David,
This works reallly well for me.  I now have an extensive
collection of birthdays in my database.  Thanks!
--Tom

On Tue, Nov 06, 2001 at 12:15:59PM -0500, David F. Skoll wrote:
> On Tue, 6 Nov 2001, Tom Limoncelli wrote:
> 
> > Does anyone have a macro that makes handling birthdays easier?
> 
> I use this:
> 
> if !defined("init")
> 	set init 1
> 	fset since(x) ord(year(trigdate())-x)
> endif
> 
> REM  6 Jan +8 MSG %"Eleanor and Alan's [since(1980)] anniversary%" is %b.
> REM  6 Mar +8 MSG %"Gillian's [since(1998)] Birthday%" is %b.

--

-- 
        Tom Limoncelli -- http://whatexit.org/tal --  tal@...
            On request, I can resend this email to you as a MS-Word
              file if your computer system can't read plain text.

Stephen Olszewski | 23 Nov 2001 21:15

Re: Remind-fans -- confirmation of subscription -- request 436931


On Fri, 23 Nov 2001 remind-fans-request@... wrote:

> Remind-fans -- confirmation of subscription -- request 436931
>
> We have received a request from 207.21.171.126 for subscription of
> your email address, <soso@...>, to the
> remind-fans@... mailing list.  To confirm the request, please
> send a message to remind-fans-request@..., and either:
>
> - maintain the subject line as is (the reply's additional "Re:" is
> ok),
>
> - or include the following line - and only the following line - in the
> message body:
>
> confirm 436931
>
> (Simply sending a 'reply' to this message should work from most email
> interfaces, since that usually leaves the subject line in the right
> form.)
>
> If you do not wish to subscribe to this list, please simply disregard
> this message.  Send questions to remind-fans-admin@...
>

David T-G | 29 Nov 2001 15:41

new (again) to remind

Hi, all --

I first saw Remind shortly after its creation and used it throughout
my time at college, and then was away from it for a loooong time; I'm
delighted to have found it again.  My, how it's grown :-)

I'm working my way through the man page and examples and looking at how
I'll be able to play with my reminders -- yay!  A few questions have
come up, though...

Are there other calendars available?  I'd love to see a US Holiday
calendar just so that I don't have to enter them all in, and some fun
ones like trivia calendars and celebrity birthdays and such would be nice.
I'd really like to see a scientific inventions calendar to provide fodder
for homework digging.

I'm quite excited about the web side of remind and can't wait to play
with it.  I noticed that the sample version at roaringpenguin had some
cell width problems until I maximized my browser; I suppose there isn't
much we can do to get around that but I'm open to how others have solved
that problem.

I've wanted for a long time a web-based calendar which could draw lines
[apparently] across cells so that we could have, say, a purple line
stretching through the whole week when Grandpa is in town and a red line
that goes from Friday to Sunday to mark out weekend trip and so on.
I haven't found one yet that does it, though I have some ideas for
implementation; has anyone seen anything like this, especially in Remind?

I think that's enough from me for a while; time to go back to the manual
(Continue reading)

David T-G | 29 Nov 2001 17:09

bold-facing a BANNER string

Hi again!

As I go through my reminders and try them out, I find that I can no
longer bold-ify a BANNER or REM MSG line.  Here's a bit of my top-level
reminder file:

  BANNER %_Hi there, David!  Here's what's on your schedule today...
  REM MSG Birthdays or anniversaries coming up:

When I try to run this, I get "Ill-formed number" errors.

TIA & HAND

:-D
--

-- 
David T-G                      * It's easier to fight for one's principles
(play) davidtg@... * than to live up to them. -- fortune cookie
(work) davidtgwork@...
http://www.justpickone.org/davidtg/    Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

David F. Skoll | 29 Nov 2001 18:10
Favicon

Re: bold-facing a BANNER string

On Thu, 29 Nov 2001, David T-G wrote:

> As I go through my reminders and try them out, I find that I can no
> longer bold-ify a BANNER or REM MSG line.  Here's a bit of my top-level
> reminder file:

>   BANNER %_Hi there, David!  Here's what's on your schedule today...

The "[" character now invokes substitution... it has been a while since you
used Remind... :-)

You need something like this:

set bold ""
set normal ""

REM MSG [bold]Birthdays or anniversaries coming up:[normal]

--
David.

David T-G | 30 Nov 2001 01:13

Re: bold-facing a BANNER string

David --

...and then David F. Skoll said...
% On Thu, 29 Nov 2001, David T-G wrote:
% 
% > longer bold-ify a BANNER or REM MSG line.  Here's a bit of my top-level
% > reminder file:
% 
% >   BANNER %_Hi there, David!  Here's what's on your schedule today...
% 
% The "[" character now invokes substitution... it has been a while since you
% used Remind... :-)

Ya got that right :-)

% 
% You need something like this:
% 
% set bold ""
% set normal ""

That's nice.

% 
% REM MSG [bold]Birthdays or anniversaries coming up:[normal]

Ahhh...  That will be lovely!

BTW, I've never properly understood the difference between a BANNER and
a REM MSG, other than that I can only have one BANNER.  Is there any?
(Continue reading)

David T-G | 30 Nov 2001 02:16

substitution and indentation

Hi again --

So I now know about [substitution] and it's made my boldfacing look quite
lovely.  It occurred to me that perhaps I could use this to standardize
indentation (yes, I'm kinda obsessive about that).

I have a top-level remindrc file and I include a number of other remind
files from there (part of the reason for my query regarding other
calendars suitable for a system or a family) with a header before each.

I'd like for included remind files to each indent two more spaces than
the last.  I tried

  set idnt ""
  set odnt ""
  ...
  set odnt [idnt]
  set idnt "[idnt]  "
  INCLUDE /path/to/some/file
  set idnt [odnt]

with the include file structure of

  REM date ... MSG [idnt]message-contents

but all I got on my output was

  [idnt]  message-contents

instead of the expected stacked indentation.  I turned around and tried
(Continue reading)

David F. Skoll | 30 Nov 2001 14:26
Favicon

Re: substitution and indentation

On Thu, 29 Nov 2001, David T-G wrote:

> How can I increase and decrease my indentation in a programmatic manner
> that will work at any depth of inclusion

Try this:

-----------------------------
set idnt ""
#...

set odnt idnt
set idnt idnt + "  "

INCLUDE file.rem

set idnt odnt
-----------------------------

In file.rem:

REM ... MSG %[idnt]foo

The first "%" is important:  It prevents Remind from consuming white space
after the MSG.

--
David.

(Continue reading)


Gmane