On Wed, 7 May 2025 14:32:47 +0000
Robert Robinson via Remind-fans <[email protected]> wrote:

> /home/brock/.reminders(4698): `%2' substitution sequence should not
> be used without an AT clause

> The offending line:

> REM Jun 9 2026 MSG
> https://www.google.com/search?client=firefox-b-1-d&sca_esv=d985d063023eb21d&q=honk+if+you%27d+rather+be+watching+the+1999&uds=ADvngMiZa8U0f9fevBUz1M0Bj7RqCfNr7T87UIFMtHfcjaAA9EblAnltPfDGaI8eN5

Well, it's not really a bug.  Remind *is* seeing "%2" in the line
and it doesn't understand any context of a MSG body; it
blindly scans for replacement sequences.

If you want a "%" in the output, double it up to "%%"

$ echo "REM MSG %%percent" | remind -
Reminders for Wednesday, 7th May, 2025 (today):

%percent

> I tried putting the URL in "quotes" and that didn't help.

Right, you just replace a % with %%.

> I run rem2html to export my monthly calendar to my phone as html
> document. While I'm able to find today's date by scrolling around
> for it, it still takes a few minutes to scroll around to find the
> box with today's tasks. Would it be possible to put an html anchor
> for "today" and/or any other notable days like "last day of the
> month", etc, so that opening the html document opens right to it?

That's a bit tricky because "today" is dynamic and depends on the
system time on the phone.  While it would be relatively easy to make
an anchor for "today" meaning "the day the HTML was generated", having
a truly dynamic "today" anchor would require JavaScript.  I guess it
could be done?  I might look into it.  At the very least, rem2html
probably should put anchors for each day (something like #d1, #d2,
etc...)

> Finally a request for wyrd.

OK, that one's not in my bailiwick. :)

Regards,

Dianne.
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/

Reply via email to