aerc/commands/msg
Koni Marti 45e506e6ae delete: fix find-next function
Fixes the find-next-loop when deleting the last message. The reverse
loop with store.Prev() will break too early because the value of
'previous' was not reset correctly.

Fixes: d941960f "delete: improve find next function"
References: https://todo.sr.ht/~rjarry/aerc/59
Signed-off-by: Koni Marti <koni.marti@gmail.com>
Tested-by: Tim Culverhouse <tim@timculverhouse.com>
2022-08-22 10:04:12 +02:00
..
archive.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
copy.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
delete.go delete: fix find-next function 2022-08-22 10:04:12 +02:00
forward.go go: removed io/ioutil 2022-08-22 09:30:19 +02:00
invite.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
mark.go mark: (un)mark message threads 2022-08-22 09:30:37 +02:00
modify-labels.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
move.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
msg.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
pipe.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
read.go store: extract marking behavior and add tests 2022-08-22 09:30:37 +02:00
recall.go lint: homogenize operations and minor fixes (gocritic) 2022-08-04 21:58:01 +02:00
reply.go lint: ensure errors are at least logged (errcheck) 2022-08-04 21:57:57 +02:00
toggle-threads.go msgstore: implement a uid-based architecture 2022-07-26 11:34:19 +02:00
unsubscribe.go lint: remove redundant returns (S1023) 2022-08-04 21:57:45 +02:00
unsubscribe_test.go lint: apply new formatting rules 2022-08-01 10:44:52 +02:00
utils.go util: fetch message headers for nil messages 2022-08-22 09:30:37 +02:00