Kurt Hackenberg (2025/04/17 21:42 -0400): > On Thu, Apr 17, 2025 at 04:41:54PM -0400, Todd Zullinger wrote: > > > I checked and it is needed. If you read a list message and > > then move back to another folder and want to reply to a > > message without first opening it, you need the folder-hook > > to reset the default bindings. Otherwise you press 'r' and > > get an error that no list is found. > > Oh, I didn't think of that. I guess changing key bindings from hooks is > inadequate for this. I didn't much like it anyway -- doesn't seem like the > right approach. > > We need a new function, <magic-reply>, that decides where to send a reply. > > That function could have extensive configuration written by each user, a set > of rules that can look at the whole message header section, at the lists > that are subscribed to or known, at the values of all configuration > variables, at where the message is stored... > > Or, if that's not general enough, each user could write his own > <magic-reply> in C, and build a custom Mutt. > > Or each user could have his own AI, with all the knowledge on the internet, > to decide where to send a reply.
That sounds great! Another approach I considered would be to make it possible to pipe the message through an external command which would rewrite headers just enough to make it possible for mutt to figure out where to send its replies based on the capacities it already has. T be clear, the rewritten message would just be passed to mutt for its processing, it would not be saved anywhere nor affect the original meessage in any way.