Something went odd with sortbanner(), which AFAIK has worked fine until
recently. I started seeing weird behavior in my output. With this
sample file
FSET sortbanner(x) iif(x == today(),\
"*** TODAY: " + x "" ***",\
"--- %b: " + x + " ---")
REM Dec 1 MSG first
REM Dec 2 MSG second
based on the sortbanner() example in the man-page, tacking in the "x"
value for debugging, it shows that "x" is the right date in both cases,
but shows "TODAY:" for both of them:
$ rem -gaada -q '*2'
Reminders for Monday, 1st December, 2025 (today):
*** TODAY: 2025-12-01 ***
first
Reminders for Tuesday, 2nd December, 2025:
*** TODAY: 2025-12-02 ***
second
so somehow x==today() all the time?
In case it matters, this is on FreeBSD 14.3:
$ rem --version
06.01.08
I don't see anything obvious in `git log -p -G sortbanner` but there
might have been some recent change in how that function was called or
how `x` is determined vs today() or how $T-vs-$U is determined in that
block that I might have missed?
Is sortbanner() working as expected, or have I done something wrong?
Thanks!
-tim
--
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/