[Remind-Fans] Expecting end-of-line

Dianne Skoll dianne at skoll.ca
Fri Jun 21 13:12:35 EDT 2024


On Fri, 21 Jun 2024 08:11:40 -0400
Hymie! via Remind-fans <remind-fans at lists.skoll.ca> wrote:

> Here is (I believe) the offending passage:

> FSET chpasswd() \
> if (trigvalid())  \
>   SET ebhpasswd trigdate()  \
>   rem [ebhpasswd] SPECIAL COLOR 255 0 0 Ehymowitz Password Changes  \
> endif

That's not a valid function definition by any means.  A function
body can only be an expression, not a set of Remind commands.  This function
would never have worked, even in older versions of Remind.  In Remind 5.0.0,
the error is diagnosed when the line is parsed.  In older versions, the
error would be diagnosed only if you tried to call the function chpasswd().

> Ummm... now that I'm looking at my various .reminders.d files, I'm
> not sure I'm actually using this function anywhere.

I'm sure you aren't, or the error would have cropped up. :)

> But I'm wondering, for future reference, if somebody can tell me
> what changed, or maybe I did it wrong and it's been silently failing
> the whole time.

It's the latter: It's an error that was being silently ignored because
the function was never called.

Regards,

Dianne.


More information about the Remind-fans mailing list