Recent activity

Re: panic: runtime error: invalid memory address or nil pointer dereference a month ago

From Kiril Vladimirov to ~sircmpwn/aerc

On вторник, 28 септември 2021 г. 17:54:45 ч. EEST Bill wrote:
> panic: runtime error: invalid memory address or nil pointer dereference
> [signal SIGSEGV: segmentation violation code=0x1 addr=0x18
> pc=0x564def548487] goroutine 1 [running]:
> git.sr.ht/~sircmpwn/aerc/widgets.(*MessageList).Draw(0xc0002b5da0,
> 0xc0000d6c60) git.sr.ht/~sircmpwn/aerc/widgets/msglist.go:108 +0x767

This has been fixed in master, but yet to be released: https://git.sr.ht/
~sircmpwn/aerc/commit/3c14c2cb3494766d39e22c852a6a8f8b965dea92

[PATCH] Break early when delete happens in outdated state 1 year, 11 months ago

From Kiril Vladimiroff to ~sircmpwn/aerc

A panic could happen when multiple delete messages are sent one after
another without waiting until there are no messages left to be deleted:

	panic: runtime error: makeslice: len out of range

	goroutine 1 [running]:
	git.sr.ht/~sircmpwn/aerc/lib.(*MessageStore).Update(0xc000592e00, 0xa8fe60, 0xc0003340f0)
		/go/src/git.sr.ht/~sircmpwn/aerc/lib/msgstore.go:222 +0x5b8
	git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).onMessage(0xc0000a0460, 0xa8fe60, 0xc0003340f0)
		/go/src/git.sr.ht/~sircmpwn/aerc/widgets/account.go:251 +0x307
	git.sr.ht/~sircmpwn/aerc/widgets.(*AccountView).Tick(0xc0000a0460, 0xc0001496b0)
		/go/src/git.sr.ht/~sircmpwn/aerc/widgets/account.go:90 +0xa1
	git.sr.ht/~sircmpwn/aerc/widgets.(*Aerc).Tick(0xc0000a9f40, 0xc000020501)
		/go/src/git.sr.ht/~sircmpwn/aerc/widgets/aerc.go:123 +0x91
[message trimmed]

Re: [PATCH v2 2/5] Invert event bubbling 2 years ago

From Kiril Vladimiroff.org to ~sircmpwn/aerc

On Fri Nov 22, 2019 at 10:22 AM, Ben Burwell wrote:
> This may require a slightly different approach. Still kinda trying to
> wrap my head around "key bindings should take precedence except when
> they shouldn't."

Terminal multiplexers solve this with prefix bindings and I don't think
there's a better solution than that in general. Even though it's not its
main purpose, aerc is basically a terminal multiplexer as well.

[PATCH git.sr.ht] Add go-source meta tag 2 years ago

From Kiril Vladimiroff to ~sircmpwn/sr.ht-dev

godoc.org doesn't recognize Go repositories on "services not known" to
it without go-source. sourcehut apparently is one of these services.

See https://github.com/golang/gddo/wiki/Source-Code-Links

---
 gitsrht/templates/repo.html | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gitsrht/templates/repo.html b/gitsrht/templates/repo.html
index 43142ef..4d41f05 100644
--- a/gitsrht/templates/repo.html
+++ b/gitsrht/templates/repo.html
@@ -6,6 +6,10 @@
[message trimmed]