[Remind-Fans] Beginner questions
pvpizza at posteo.net
pvpizza at posteo.net
Mon Jun 3 12:11:48 EDT 2019
Thank you for that
Can I clarify the use of "%?
I believe that it removes blanks lines from being created? but how does
it work with a line like:
%"New Years party%"%
Does it do more than remove the blank lines before and after the
message?
-pvpizza
On 01.06.2019 20:52, Tim Chase wrote:
> On 2019-06-01 17:53, pvpizza at posteo.net wrote:
>> 1. Is it possible to print empty days in a list along with
>> reminders? for example
>>
>> 2019-01-01 | New Years party
>> 2019-01-02 |
>> 2019-01-03 | First day back at work
>> 2019-01-04 |
>> 2019-01-05 | Product review meeting
>> 2019-01-06 | Client meeting
>> 2019-01-07 |
>>
>> The formatting isn't important, I would just like to see all the
>> days of the month/year as a list with appointments for the days
>> that have them
>
> The following seems to work for me:
>
> BANNER %
> FSET msgprefix(x)=$T + " | "
>
> REM Jan 1, 2019 MSG %"New Years party%"%
> REM Jan 3, 2019 MSG %"First day back at work%"%
> REM Jan 3, 2019 MSG %"Drink lots of coffee%"%
> REM Jan 5, 2019 MSG %"Product review meeting%"%
> REM Jan 6, 2019 MSG %"Client meeting%"%
>
> SATISFY [! $NumTrig] MSG %"%"%
>
>
> The BANNER line removes the date banner.
>
> The "FSET msgprefix" tacks on the leading date and pipe.
>
> The very last thing in your file(s) should be the SATISFY line which
> makes a fake empty-string MSG if no other messages have been
> triggered/output for this date.
>
> And the rest are just your sample events plus one to confirm it gave
> sensible output if more than one event happened on the same date. You
> can then get the output with
>
> $ remind 2019-01-01 '*7'
>
> to show 7 days of reminders beginning on 2019-01-01.
>
>> 2. When using the AT clause, to set a time for a reminder, is there
>> anyway to check for a 'double booking' i.e two events on the same
>> day at the same time?
>
> I'll have to leave that for others on the list.
>
> -tim
More information about the Remind-fans
mailing list