Some missing
- 🇧🇷
:brazil: - 🇧🇬
:bulgaria: - 🇨🇳
:cn: - 🇨🇿
:czech_republic: - 🇩🇪
:de: - 🇩🇰
:denmark: - 🇪🇸
:es: - 🇪🇪
:estonia:
| #!/bin/bash | |
| for a in 'imap' 'imaps'; do | |
| for b in '' 'user@' 'user@host.com@' 'user:pass@'; do | |
| for c in 'host.com' '[12AB::EF89]'; do | |
| for d in '' ':123'; do | |
| for e in '' '/' '/path' '/path/one/two' '/path.one.two'; do | |
| echo "$a://$b$c$d$e" | |
| done | |
| done |
Some missing
:brazil::bulgaria::cn::czech_republic::de::denmark::es::estonia:| unset record | |
| set postpone = no | |
| set editor="lorem-ipsum-generator -p1 | fmt >> %s" | |
| macro index,pager <F1> "mtest@example.com<enter>test<enter>" |
| Put neomutt.desktop in /usr/share/applications/ | |
| Put mimeapps.list in ~/.local/share/applications/mimeapps.list | |
| Check association with: xdg-mime query default 'x-scheme-handler/mailto' | |
| --- | |
| # set the association by command | |
| xdg-mime default neomutt.desktop x-scheme-handler/mailto |
| alias m='/usr/bin/mutt -n -F test.rc -f test.mbox' | |
| alias n='/usr/bin/neomutt -n -F test.rc -f test.mbox' |
| /* We want POSIX.1-2008 + XSI, i.e. SuSv4, features */ | |
| #define _XOPEN_SOURCE 700 | |
| /* Added on 2017-06-25: | |
| If the C library can support 64-bit file sizes | |
| and offsets, using the standard names, | |
| these defines tell the C library to do so. */ | |
| #define _LARGEFILE64_SOURCE | |
| #define _FILE_OFFSET_BITS 64 |
| OK, I've got it (I'm not sure I entirely understand, but...) I have individually coloured tags | |
| it's all to do with the tag transforms -- it's a little complicated... | |
| have a look at the 'tag-transforms' and 'tag-formats' in the config file: https://www.neomutt.org/feature/custom-tags#neomuttrc | |
| imagine you have emails notmuch-tagged/labelled with 'inbox', 'invites', 'replied' | |
| this command allows you to abbreviate/iconise the tags: tag-transforms inbox i invites CAL replied ↻ | |
| this command allows you to create expandos (%-things) for *individual* tags: tag-formats inbox GI invites Gi replied GR | |
| you can now use %GI %Gi %GR in your index_format string | |
| finally, you can colour *these* expandos using: color index_tag, e.g. | |
| color index_tag red default inbox | |
| color index_tag cyan default invites |
| Before | After |
|---|---|
| MUTT_BUFFY | MUTT_MAILBOX |
| MUTT_BUFFY_CHECK_FORCE | MUTT_MAILBOX_CHECK_FORCE |
| MUTT_BUFFY_CHECK_FORCE_STATS | MUTT_MAILBOX_CHECK_FORCE_STATS |
| MUTT_SEL_BUFFY | MUTT_SEL_MAILBOX |
| OP_BUFFY_LIST | OP_BUFFY_LIST |
| OP_EDITOR_BUFFY_CYCLE | OP_EDITOR_BUFFY_CYCLE |
| buffy_check | mailbox_check |
| @@ | |
| struct Context *c; | |
| @@ | |
| - c->tagged | |
| + c->nr_tagged |
| #include <stdio.h> | |
| #include "mutt/queue.h" | |
| struct Apple | |
| { | |
| int payload; | |
| }; | |
| struct AppleNode | |
| { |