[Remind-Fans] Heads up / speak up: Change coming to Remind's parser
Justin Alcorn
justin at jalcorn.net
Thu Aug 22 09:56:47 EDT 2024
I downloaded the latest v5 code and installed, and copied the defs.rem into
my directory. I'm getting LOTS of te new error starting on line 308 in
that file.
--
Justin B. Alcorn
The views expressed are not necessarily my own, much less anyone else's
PGP Fingerprint CCEB F776 C3FD 1050 C8DB 532E B8B9 BED7 7764 406C
On Wed, Aug 21, 2024 at 1:07 PM Dianne Skoll via Remind-fans <
remind-fans at lists.skoll.ca> wrote:
> Hi, everyone,
>
> Prompted by a personal email from someone looking for support, I've made
> a couple of changes to the Remind parser for the next release that might
> cause some warnings to be issued for previously-valid reminder files.
>
> In the existing version:
>
> This is a line
>
> is equivalent to:
>
> REM MSG This is a line
>
> That is, if Remind can't parse the first token of a line, it assumes
> it's just a MSG-type body.
>
> Also:
>
> REM Jun Hello!
>
> is equivalent to:
>
> REM Jun MSG Hello!
>
> That is, if Remind can't parse a token in a trigger specification, it
> assumes
> it's the start of a MSG-type body.
>
> In the next release, these types of lines will still be parsed the same
> way, but will issue warnings. In the first case, the warning will be
> "Unrecognized command; interpreting as REM" and in the second case, it
> will be
> "Missing REM type; assuming MSG"
>
> I had to change some of the files that ship with Remind to avoid these
> warnings, and it's possible/likely you'll need to update your files
> too. The rationale for this change is that if a future version of
> Remind introduces new keywords, old reminder files might suddenly
> start behaving very differently. Better to have everything be
> explicit.
>
> If you are vehemently opposed to this change, please speak up. I will
> not revert it, but I might consider a command-line flag to suppress the
> warnings.
>
> Regards,
>
> Dianne.
> _______________________________________________
> Remind-fans mailing list
> Remind-fans at lists.skoll.ca
> https://dianne.skoll.ca/mailman/listinfo/remind-fans
> Remind is at https://dianne.skoll.ca/projects/remind/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://dianne.skoll.ca/pipermail/remind-fans/attachments/20240822/b6ddaff4/attachment.htm>
More information about the Remind-fans
mailing list