[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Making mutt more friendly towards site customizations

In article <[🔎] Pine.LNX.4.43.0112111521520.9580-100000@cantor.unex.es>,
Santiago Vila  <sanvila@unex.es> wrote:
>I agree with Marco that this is not a good idea. Not only because /etc
>has already too many files, but also because this would force him to change
>the manual in a radical way, and would make his work of updating the package
>from upstream much harder.

So propose this to the upstream authors and mark the bug as 'forwarded'.
If they don't like it close the bug or mark it as 'wontfix'

Another option is to change mutt to look for /etc/Muttrc.local after
/etc/Muttrc, and don't complain if it's not there. It already looks
for a list of files (/etc/Muttrc, ~/.muttrc, ~/.mutt/muttrc, etc)
so it wouldn't be that hard to add.

Mutt now does:

1. read /etc/Muttrc-VERSION, if not present read /etc/Muttrc
2. merge ~/.muttrc-VERSION, if not present ~/.muttrc, if not
   present ~/.mutt/muttrc-VERSION, if not present ~/.mutt/muttrc-VERSION,
   if not present ignore

You'd only have to add

1a. merge /etc/Muttrc.local-VERSION, if not present /etc/Muttrc.local,
    if not present ignore.

  I used to drive a Heisenberg mobile but every time I looked at the
  speedometer - I got lost!

Reply to: