#neomutt

Version: 2022-04-29 | "Teaching an Old Dog New Tricks" - https://neomutt.org | Sponsorship: https://neomutt.org/sponsor | Twitter: https://twitter.com/NeoMutt_Org | Mailing lists: http://mailman.neomutt.org/mailman/listinfo | Code of Conduct: https://neomutt.org/conduct
Earlier messages
jindrajjoined
jindrajquit (Ping timeout: 268 seconds)
jindraj-discordquit (Ping timeout: 265 seconds)
jindrajjoined
darkstardevxjoined
...
sudoforgejoined
mfaithquit (Ping timeout: 246 seconds)
msquit (Ping timeout: 260 seconds)
<jindraj>keir: https://neomutt.org/feature/global-hooks#1-3-%C2%A0shutdown-hook "Run a command when NeoMutt shuts down, before closing the last mailbox"
<jindraj>"This is most likely to be useful to users of notmuch." … I'm not sure why this should be useful to notmuch users 🤔
msjoined
sudoforgequit (Ping timeout: 265 seconds)
kzakjoined
gourjoined
qub411_quit (Quit: WeeChat 3.6)
resetquit (Quit: reset)
toddquit (Ping timeout: 258 seconds)
toddjoined
<gahr>morning
weirdsmileyquit (Ping timeout: 252 seconds)
polvequit (Ping timeout: 268 seconds)
<flatcap>morning all
polvejoined
<flatcap>keir: yeah, the shutdown-hook is happening in op_quit(), before we close the mailbox: https://github.com/neomutt/neomutt/blob/main/index/functions.c#L1863-L1868
<flatcap>we probably put it there to mirror the startup: i.e. after the mailbox is opened so that "everything is ready"
<flatcap>but you're right, we should probably: sync, hook, close
pinpoxIRCquit (Quit: The Lounge - https://thelounge.chat)
pinpoxIRCjoined
<gahr>hi flatcap
<flatcap>hi gahr
farzatquit (Ping timeout: 264 seconds)
farzatjoined
...
nyahjoined
<keir>flatcap: jindraj's mention of notmuch is why I thought it would work like that. I saw that too and made that assumption.
<flatcap>putting an mx_mbox_sync() before the hook would probably do the trick, but I don't have time to investigate
elshizejoined
mfaithjoined
...
gourquit (Quit: Leaving)
gourjoined
sudoforgejoined
resetjoined
madagequit (Remote host closed the connection)
elshizequit (Ping timeout: 268 seconds)
madagejoined
eponyquit (Read error: Connection reset by peer)
sudoforgequit (Ping timeout: 252 seconds)
eponyjoined
gourquit (Quit: WeeChat 3.6)
gourjoined
CrashOverridejoined
Later messages