Seems that
mh-refile-msg
sets the variables
mh-last-destination
and
mh-last-destination-folder
to be used in future refiles, but
mh-thread-refile
does not sets those thus things can get a bit confusing if one does a few of each in succession.
Shouldn't the behavior be identical?
Looks like copying a few lines from mh-refile-msg to mh-thread-refile, and adding an optional argument to mh-thread-refile, like the one in mh-refile-msg does the trick.
Attaching patch.
While we're at it, it seems like copying a message should remember/use the last target folder.
Good point, Mark. Thanks!
I use
!' when a message doesn't have a default folder. If the last folder was changed with a copy (which I use mainly now to put in my +todo hierarchy), a subsequent!' would put the next message in +todo(which I don't want) instead of the last folder I used for the
individual or company (which I do).
Mark Baushke mbaushke@gmail.com wrote:
--
Bill Wohler wohler@newt.com aka Bill.Wohler@nasa.gov
http://www.newt.com/wohler/, GnuPG ID:610BD9AD
The fix will appear in Emacs 31; commits b07a3970ae, 80c0529e94, and bc0eacca97.