* On 05 Mar 2020, Derek Martin wrote: > > Does it make sense that the user should need to configure this? It > seems like the Mutt devs would have a much better idea what > constitutes an attachment (from a technical standpoint) than the > average user... > > Personally, I don't care about this feature TBH, but if I did, the way > I would expect that it worked was that Mutt provided sane defaults > (perhaps compiled in, or at least part of the system Muttrc), and > optionally, users could override those if they found it necessary.
As the person who contributed this feature: that's exactly how it works. It's a complex feature to define, and hard-coding the defaults added overhead and more stuff to maintain and review. It was rather simpler just to parse the defaults out of a muttrc, so that's how we did it. If a distro removes those defaults from its Muttrc, it's breaking the functionality of the software and it's a bug. Simply defining the attachments parameters costs nothing: these are passive and not evaluated unless and until your index_format uses %X. So there's zero benefit to excluding it from the Muttrc. -- David Champion • d...@bikeshed.us