Jon Gjengset

Results 692 comments of Jon Gjengset

Huh, that's interesting. Could you provide a backtrace?

Hmm, that's odd indeed. Buzz _should_ notify you about emails that are in the IMAP `NEW` status, which means (from the spec): > Messages that have the `\Recent` flag set...

That's _really_ weird, and _sounds_ like a Dovecot bug if it's indeed the case :thinking:

@maltalef101 Sorry for the late reply! Best way to go is to set the `debug` flag in `imap` to `true`, which will show you all the client-server interactions. Then you...

That's bizarre! Does the RFC outline why, and what the appropriate replacement is? Maybe we can look at what something like Thunderbird or K9 mail does?

Ah, so, the icons are changed by the loop [towards the bottom](https://github.com/jonhoo/buzz/blob/07fd71d9d1f7cbdb2cba5789dcab5a7b2a81a22f/src/main.rs#L356) which receives a message whenever the number of unseen messages changes! The [Icon Naming Spec](https://standards.freedesktop.org/icon-naming-spec/icon-naming-spec-latest.html) suggests that we...

> Actually implementing the `icon_lookup` spec sounds kind of fun to me. I suggest I give implementing that a shot and maybe still add an option to the config where...

Ah, yes, that'd be a great addition!

I think we're basically limited to one mailbox at the moment, you're right. This comes directly from the [IMAP RFC](https://tools.ietf.org/html/rfc3501#section-6.3.1). We could spin up a thread with a connection for...

Now that we depend on [`notify_rust`](https://github.com/hoodie/notify-rust), which apparently has macOS support, I think in theory this should now "just work". Have you tried it out on macOS?