[neomutt-devel] Tangled up
rich at flatcap.org
Wed Aug 15 10:42:47 CEST 2018
I'm not getting far with my Account code. I need to rearrange some of
the major structs in NeoMutt, but I can't find a way to do it in stages.
So, I decided to tackle a parallel problem - deglobalise the use of Context.
Context is the 'current' mailbox, it's global and it's used in hundreds
After many hours of tedious work, I'd added "struct Context *ctx" to
about 100 functions. This is starting to show up where the bigger
For example: imap_account_match() - Compare two Accounts
It needs the Context to pass to imap_conn_find() which calls...
Which uses: ctx->realpath
Deep parts of the IMAP code which have a dependency on the display layer!
Time for some more thinking...
Rich / FlatCap
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: not available
More information about the neomutt-devel