madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://"]
  insteadOf = madduck:

fix imap notifications
authorMatsievskiy S.V <>
Wed, 28 Nov 2018 14:17:08 +0000 (17:17 +0300)
committerMatsievskiy S.V <>
Wed, 28 Nov 2018 14:17:08 +0000 (17:17 +0300)

index 3f4d9ccfde8aa14f330f2bfbb61670b25ebab6f1..75270f1d3d1780b42f194d2f221dd52f20139195 100644 (file)
@@ -68,7 +68,6 @@ local function factory(args)
             for s, d in f:gmatch("(%w+)%s+(%d+)") do imap_now[s] = tonumber(d) end
             mailcount = imap_now["UNSEEN"] -- backwards compatibility
-            helpers.set_map(mail, mailcount)
             widget = imap.widget
@@ -80,6 +79,7 @@ local function factory(args)
                     text   = string.format("%s has <b>%d</b> new message%s", mail, mailcount, mailcount == 1 and "" or "s")
+            helpers.set_map(mail, mailcount)