When reminders are queued up from multiple files, the filename() value seems to 
show the name of the last file processed and not the filename of the 
originating file.  I'm wondering if there is a way to preserve the originating 
file name.

For example, I have two reminder files in a rem/ directory.

rem/one.rem
SET mefi filename() + "|"
REM Mon AT 10:39 MSG [mefi]do task 1

rem/two.rem
SET mefi filename() + "|"
REM Mon AT 10:39 MSG [mefi]do task 2

Here is the output from 'remind -h -f rem'.  Note how the filename is correct 
at first, but when the queued reminder gets triggered it always reports two.rem.

rem/one.rem|do task 1
rem/two.rem|do task 2

>>>>> time passes here <<<<<

rem/two.rem|do task 2
rem/two.rem|do task 1
_______________________________________________
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