[Remind-Fans] Sunrise/sunset bug?

David F. Skoll dfs at roaringpenguin.com
Sat Sep 6 16:45:12 EDT 2008


Michael P. Soulier wrote:

> One minor thing is that remind only prints a single newline after this line

> AT 00:00 MSG sunrise at [sunrise(trigdate())], sunset at
> [sunset(trigdate())], next full moon at [moontime(2)] on
> [moondate(2)]%

That's because you have a trailing "%", which suppresses the blank line.

> I'm using the AT to sort it to the top of that output. Is
> there a better way to make it appear at the top?

You could use PRIORITY.

A low PRIORITY value will make it sort before untimed reminders.

REM PRIORITY 1 MSG sunrise...

> Is it possible to exclude this reminder from the calendar output?

Sure:

REM MSG %"%"sunrise at [...]

The %"%" sequence tells Remind to put nothing in the calendar.
You could also wrap it in an IF !$CalMode ... ENDIF pair.

Regards,

David.



More information about the Remind-fans mailing list