~dpatterbee

Recent activity

Re: Runtime error fatal error: unexpected signal during runtime execution 2 months ago

From Daniel Patterson to ~sircmpwn/aerc

I've seen that a patch for this was submitted 10 days ago. Perhaps you
could try applying that patch and seeing if it fixes your problem?

https://lists.sr.ht/~sircmpwn/aerc/patches/25163

[PATCH v2] Demonstrate that I can use git send-email 2 months ago

From Daniel Patterson to ~sircmpwn/email-test-drive

---
 daniel-patterson | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 daniel-patterson

diff --git a/daniel-patterson b/daniel-patterson
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/daniel-patterson
@@ -0,0 +1 @@
I have successfully used git send-email!
-- 
2.30.2
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 2 months ago

From Daniel Patterson to ~sircmpwn/email-test-drive

---
 daniel-patterson | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 daniel-patterson

diff --git a/daniel-patterson b/daniel-patterson
new file mode 100644
index 0000000..6d0ecfd
--- /dev/null
+++ b/daniel-patterson
@@ -0,0 +1 @@
I'm about to try git send-email
-- 
2.30.2
[message trimmed]

Re: Runtime error fatal error: unexpected signal during runtime execution 2 months ago

From Daniel Patterson to ~sircmpwn/aerc

I don't have a mac to check, but I believe this issue is due to an out
of date version of golang.org/x/sys used by mattn/go-isatty.
This has been fixed in the most recent release but I don't have a way to
check if it correctly fixes the problem you're having. I will submit a
patch with the changes and you could try it out and see if it works.

Re: Runtime error fatal error: unexpected signal during runtime execution 2 months ago

From Daniel Patterson to ~sircmpwn/aerc

> So it might be some other dependency that my system has
> upgraded I guess. Any tips on what I could try?

It seems to be breaking during a system call made by mattn/go-isatty, are you using some strange terminal or something?

Re: [PATCH] Don't propagate negative offsets when drawing 2 months ago

From Daniel Patterson to ~sircmpwn/aerc

On Thu Sep 2, 2021 at 12:25 PM BST, Moritz Poldrack wrote:

> We could try to show an error, but what would this mean to the user? (If
> they can at all read it) Close to nothing, if the user doesn't ignore
> the error outright.
I think you're misunderstanding me, I don't mean to display an error to
the user, but instead to return an error from the context.Subcontext
function and allow grid.Draw to decide what to do in that case.

> Panics are there for a reason, so getting rid of panic doesn't really
> help here if we don't adress the underlying reason.
Indeed, if a certain piece of code decides that a subcontext failing to
be produced is unrecoverable, then they can feel free to panic, and the
error return should probably be descriptive enough that panic(err) is

Re: [PATCH] Don't propagate negative offsets when drawing 2 months ago

From Daniel Patterson to ~sircmpwn/aerc

Perhaps we shouldn't be panicking here at all? If we returned an error
here and forced the caller to handle that then we could probably avoid a
lot of these hard to reproduce panics. Although context.Subcontext does
get called in a lot of locations so perhaps the churn wouldn't be worth
it.

[PATCH] Fix crash on archiving large numbers of messages 6 months ago

From Daniel Patterson to ~sircmpwn/aerc

---
Currently, if you attempt to archive messages that do not have their
headers downloaded, aerc panics. This can be easily replicated by going
to a folder with many emails downloaded, entering ":mark -a" followed by
":archive year". This patch attempts to fix this.

 commands/msg/archive.go | 162 +++++++++++++++++++++++++++++-----------
 1 file changed, 118 insertions(+), 44 deletions(-)

diff --git a/commands/msg/archive.go b/commands/msg/archive.go
index 59ca985..09793cf 100644
--- a/commands/msg/archive.go
+++ b/commands/msg/archive.go
@@ -52,62 +52,136 @@ func (Archive) Execute(aerc *widgets.Aerc, args []string) error {
[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email 6 months ago

From Daniel Patterson to ~sircmpwn/email-test-drive

---
 daniel-patterson | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 daniel-patterson

diff --git a/daniel-patterson b/daniel-patterson
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/daniel-patterson
@@ -0,0 +1 @@
I have successfully used git send-email!
-- 
2.27.0
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 6 months ago

From Daniel Patterson to ~sircmpwn/email-test-drive

---
 daniel-patterson | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 daniel-patterson

diff --git a/daniel-patterson b/daniel-patterson
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/daniel-patterson
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.27.0
[message trimmed]