~benburwell

https://www.benburwell.com

~benburwell/patchall

Last active 2 months ago

~benburwell/test

Last active 3 months ago

~benburwell/howtochooseapassword

Last active 4 months ago
View more

Recent activity

[PATCH threading] Add threading support for maildir 7 days ago

From Ben Burwell to ~sircmpwn/aerc

---
This is a (WIP) patch to help with implementing threading for the
maildir backend, to be applied on top of Kevin's patchset as discussed
on IRC.

Kevin, feel free to incorporate this into your patchset in any way that
would be helpful.

 worker/maildir/container.go | 46 +++++++++++++++++++++++++++++++++++++
 worker/maildir/message.go   | 17 ++++++++++++++
 worker/maildir/worker.go    | 15 ++++++++++++
 3 files changed, 78 insertions(+)

diff --git a/worker/maildir/container.go b/worker/maildir/container.go
[message trimmed]

Re: automatic notification (mercurial) 13 days ago

From Ben Burwell to ~sircmpwn/sr.ht-discuss

On Sun Oct 6, 2019 at 4:56 PM Uwe Brauer wrote:
> I can set up locally on my machine the notify extension so that every
> time I push a notification email is sent. [...] Bitbucket offered a
> notification service via their web interface.
> 
> I tried to find something similar in the sourcehut page but could not
> find anything.
> 
> Is this feature implemented?

Not sure precisely what you're looking for, but you can get an email
when your repo is pushed to by adding a .build.yml with a minimal
manifest:

Re: [PATCH] Implement address completion in composer 30 days ago

From Ben Burwell to ~sircmpwn/aerc

Not to worry! I appreciate taking a measured approach.

I'm pretty busy at the moment, but will plan to have a look at the
under-cursor completion when I get some time.

[PATCH sr.ht-docs] Document SSH access to builds.sr.ht a month ago

From Ben Burwell to ~sircmpwn/sr.ht-dev

---
 builds.sr.ht/build-ssh.md | 23 +++++++++++++++++++++++
 builds.sr.ht/manifest.md  | 10 ++++++++++
 2 files changed, 33 insertions(+)
 create mode 100644 builds.sr.ht/build-ssh.md

diff --git a/builds.sr.ht/build-ssh.md b/builds.sr.ht/build-ssh.md
new file mode 100644
index 0000000..f1b85f6
--- /dev/null
@@ -0,0 +1,23 @@
+---
+title: SSH access to build VMs
[message trimmed]

Re: [PATCH v3 0/3] notmuch updates a month ago

From Ben Burwell to ~sircmpwn/aerc

I applied these locally per your request.

I haven't really been using the notmuch backend enough to have
experienced the segfault you were trying to fix, so I can't comment on
any difference I've noticed.

I also played around with the TagsToMaildirFlags bit, really just
reading messages in notmuch and looking back at my maildir to see that
the 'S'een flag was added.

This is pretty handy, and seems to work fine on the notmuch side. I
don't think the maildir worker is expecting the flags to change from
under it though, because I had to close and reopen aerc to see the new
flags reflected. Doesn't seem like a huge problem though.

Re: notmuch integration not working for me a month ago

From Ben Burwell to ~sircmpwn/aerc

In order to have any folders show up, you need to make a query map file
(see man aerc-notmuch).

E.g. my accounts.conf contains:

    [Notmuch]
    source = notmuch://~/mail
    query-map = ~/.querymap

And my ~/.querymap contains:

    Patches=subject:/^\[PATCH/

So when I open up my notmuch tab, I see a "Patches" folder. Even with no

Re: [PATCH v2] Fix out-of-order messages by sorting as we display a month ago

From Ben Burwell to ~sircmpwn/aerc

On Tue Aug 27, 2019 at 9:54 PM Stephen Brennan wrote:
> I have only really tested this with the maildir backend, I would
> appreciate if somebody who has a good IMAP setup would be willing to
> test on theirs.

I tested this out with a large folder (around 50k messages) with both
the maildir and imap backends, and this patch seems to work fine.

> In order for a maildir MessageStore to return messages in most
> recently received order, it must have already opened all messages and
> parsed the date to use as a sort key. Rather than implement that,
> simply sort messages by time as we display.

This does exactly what you've described. It is possibly a little

Re: [PATCH] add close-tab command 2 months ago

From Ben Burwell to ~sircmpwn/aerc

We already have :close and :abort, could we simply make the existing

Perhaps somewhat selfishly, I don't really want to remember that :close
works for the message viewer and the terminal, abort for the composer,
and if I want to close one by name I should use :close-tab.

I think it would be possible to just have a single :close command which
uses a type switch to do the additional cleanup required by the term and
the composer, and it could also be extended to take an optional tab
name, acting on the focused tab if none is provided.

Thoughts?

[PATCH] maildir: Preserve flags when copying messages 2 months ago

From Ben Burwell to ~sircmpwn/aerc

---
 worker/maildir/container.go | 22 ++--------------------
 1 file changed, 2 insertions(+), 20 deletions(-)

diff --git a/worker/maildir/container.go b/worker/maildir/container.go
index f015181..85e892a 100644
--- a/worker/maildir/container.go
+++ b/worker/maildir/container.go
@@ -2,7 +2,6 @@ package maildir
 
 import (
 	"fmt"
-	"io"
 	"io/ioutil"
[message trimmed]

[PATCH go-message] Commit go.sum 2 months ago

From Ben Burwell to ~emersion/public-inbox

This file is meant to be tracked in VCS.
---
 go.mod |  1 +
 go.sum | 14 ++++++++++++++
 2 files changed, 15 insertions(+)
 create mode 100644 go.sum

diff --git a/go.mod b/go.mod
index d077adc..c97527c 100644
--- a/go.mod
+++ b/go.mod
@@ -5,5 +5,6 @@ go 1.12
 require (
 	github.com/emersion/go-textwrapper v0.0.0-20160606182133-d0e65e56babe
[message trimmed]