~justinesmithies


#173 aerc-startup issue 29 days ago

Comment by ~justinesmithies on ~rjarry/aerc

Yes adding a delay like this sleep 1 && aerc :split 20 works perfectly thank you.

FYI I can get the delay down to 0.5 without causing any issues.

#169 Folder-specific bindings do not work? 30 days ago

Comment by ~justinesmithies on ~rjarry/aerc

I too have noticed this issue also and I'm using the latest git version.

#173 aerc-startup issue a month ago

Ticket created by ~justinesmithies on ~rjarry/aerc

I was wanting to have the option :split 20 when aerc starts so thought I could put it onto the line:

aerc-startup=aerc :split 20

But this just gives me the following errors:

aerc has encountered a critical error and has terminated. Please help us fix
this by sending this log and the steps to reproduce the crash to:
~rjarry/aerc-devel@lists.sr.ht

Thank you

Version: 0.15.1.r0.g3c1703f +notmuch (go1.20.3 amd64 linux)

This error was also written to: /tmp/aerc-crash-20230501-230406.log
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x10 pc=0x561482bcda3c]

goroutine 16 [running]:
git.sr.ht/~rjarry/aerc/log.PanicHandler()
	git.sr.ht/~rjarry/aerc/log/panic-logger.go:51 +0x70f
panic({0x561482dd7e00, 0x56148324f720})
	runtime/panic.go:890 +0x263
git.sr.ht/~rjarry/aerc/lib.(*MessageStore).Selected(...)
	git.sr.ht/~rjarry/aerc/lib/msgstore.go:586
git.sr.ht/~rjarry/aerc/widgets.(*MessageList).Selected(...)
	git.sr.ht/~rjarry/aerc/widgets/msglist.go:391
git.sr.ht/~rjarry/aerc/widgets.(*AccountView).Split(0xc000266460, 0x7f7f88ea7108?)
	git.sr.ht/~rjarry/aerc/widgets/account.go:571 +0x47c
git.sr.ht/~rjarry/aerc/commands/account.Split.Execute({}, 0x2?, {0xc0007b01a0, 0x2, 0xc0007d4eb0?})
	git.sr.ht/~rjarry/aerc/commands/account/split.go:69 +0x225
git.sr.ht/~rjarry/aerc/commands.(*Commands).ExecuteCommand(0xc0007131d8?, 0x561482df0aa0?, {0xc0002af640?, 0x2, 0x4}, 0x7f7f60356100?, 0x10?)
	git.sr.ht/~rjarry/aerc/commands/commands.go:129 +0x30e
main.execCommand(0xc0000000c0, 0xc00023e000, {0xc0002af640, 0x2, 0x4}, 0xc0000dbdb8?, 0x56148273d0c8?)
	git.sr.ht/~rjarry/aerc/main.go:72 +0x22f
main.main.func1({0xc0002af640?, 0x56148260e188?, 0xc000284b90?}, 0x10?, 0x10?)
	git.sr.ht/~rjarry/aerc/main.go:200 +0x45
git.sr.ht/~rjarry/aerc/widgets.(*Aerc).Command(0x0?, {0xc0002af640?, 0x56148260be07?, 0x10?})
	git.sr.ht/~rjarry/aerc/widgets/aerc.go:793 +0x67
git.sr.ht/~rjarry/aerc/lib/ipc.(*AercServer).handleMessage(0xc00023c080, 0xc0007a4390)
	git.sr.ht/~rjarry/aerc/lib/ipc/receive.go:128 +0x2b1
git.sr.ht/~rjarry/aerc/lib/ipc.(*AercServer).Serve(0xc00023c080)
	git.sr.ht/~rjarry/aerc/lib/ipc/receive.go:82 +0x6da
created by git.sr.ht/~rjarry/aerc/lib/ipc.StartServer
	git.sr.ht/~rjarry/aerc/lib/ipc/receive.go:36 +0x1d0

Have I done something wrong or is this a bug ?

#171 Emails flag only updated on opening aerc not with :check-mail a month ago

on ~rjarry/aerc

~justinesmithies, can you have a look at this patch to see if it fixes the issue?

https://lists.sr.ht/~rjarry/aerc-devel/patches/40706

Thanks

#171 Emails flag only updated on opening aerc not with :check-mail a month ago

Comment by ~justinesmithies on ~rjarry/aerc

Glad I wan't totally getting it wrong and it is indeed a bug ;)

Cool so I don't need the line cache-headers = true if I'm using maildir:// then is that correct ?

#171 Emails flag only updated on opening aerc not with :check-mail a month ago

Comment by ~justinesmithies on ~rjarry/aerc

Oh hang on is it because I have the line cache-headers = true in accounts.conf ? Answer is no doesn't make a difference.

Found this info:

https://lists.sr.ht/~rjarry/aerc-devel/patches/33009

#171 Emails flag only updated on opening aerc not with :check-mail a month ago

Comment by ~justinesmithies on ~rjarry/aerc

Sure my dots are here and I apologise in advance if it's a rookie mistake by myself. I'm using the latest git master of aerc too from the aur package aerc-git.

https://codeberg.org/JustineSmithies/hyprland-dotfiles/src/branch/master

#171 Emails flag only updated on opening aerc not with :check-mail a month ago

Comment by ~justinesmithies on ~rjarry/aerc

Apologies in accounts.conf I have:

check-mail-cmd = mbsync -q gmail && msmtp-runqueue.sh

#171 Emails flag only updated on opening aerc not with :check-mail a month ago

Comment by ~justinesmithies on ~rjarry/aerc

My question is though should :check-email update the flags too though ? As it stands flags only update if they've been changed on another computers email client if I exit aerc on this PC and start aerc again. Whereas I'd have thought that running the command :check-email would have obvs checked for new email and updated the flags too ? I thought it might be an mbsybc issue but it can't be as exiting aerc and running it up again displays the correct flags.

#171 Emails flag only updated on opening aerc not with :check-mail a month ago

Comment by ~justinesmithies on ~rjarry/aerc

Yes I am using IMAP via isync ( mbsync ) to allow offline reading.