[neomutt-users] *-hook settings. I'm confused

GTC at riseup.net GTC at riseup.net
Tue Aug 6 20:35:02 CEST 2019


On Mon, Aug 05, 2019 at 09:49:21PM +0100, Richard Russon wrote:
> > ... way too confusing
> 
> Yep
> 
> > It seems mutt ... is originally designed for only one email
> > account. ... the hook thing is added later on for multiple accounts
> 
> Yes, exactly right.
> 
> > Neomutt should change mutt so that the syntax and configuration of
> > mutiple accounts ... where you just list emails address and login info
> 
> Yes, that's exactly what I'm doing.
> 
> The syntax will look like:
> 
> ----------------------------------------
> 
> # Global settings
> set ...
> 
> account work
>     # Local to 'work' account
>     set ...
>     mailboxes ...
      gpg encryption key ID for work

    gpg signing key

     set custom header=


> 
> account home
>     # Local to 'home' account
>     set ...
>     mailboxes ...
     gpg encryption key for home

    gpg signing key for home

     set custom header= 

> 
> ----------------------------------------
> 


This is a fantiastic idea. I also added more configrations above which is important for multiple accounts with different gpg key and header for each account.

Such layout and syntax is so much easier, cleaner and simpler.



> Config variables would be global, account- or mailbox-specific.
> 
> Parsing this new config is easy.
> Untangling 100,000 lines of twenty year old code, isn't.
> 


Since C is also not a good language, may neomutt can re-write it in Rust?

It is probably much easier to write something new than fixing those things that are beyond repair? 

Just as renovating an old building cost more money and time than demolish it and build a new modern building?

The only thing mutt is attractive is it is terminal based and probably suitable for large amount of emails. 

But these can probably all be achieved by writting it in Rust with modern syntax.

> I'm taking (a lot of) time now to fix NeoMutt's code properly.
> When it's done, NeoMutt will be more reliable and easier to maintain.
> Since the last release, we've made over 2200 changes to the code.
> 
> But there's still much to be done.
> 
> I'm still working hard and still looking for help.
> 
> Alternatively, you could buy me a beer :-)
> 
>     https://www.paypal.me/russon
> 
> Cheers,
>     Rich / FlatCap
> 




More information about the neomutt-users mailing list