pazz/alot — Issue #176: nitpick: focus movement in case removed message was at end of buffer
Author: murks
Created: 2011-12-23 13:00:21+00:00
State: open

If message is removed from buffer and message is last message in buffer, move focus to previous message instead of first message in buffer.
This would be helpful when working in large buffers. If you re-tag messages at the end of the buffer so that the message disappears from the buffer (simple example: remove inbox), then with the current behaviour the focus jumps to the very first message in the buffer. With lots of messages, this can be very annoying since you need to scroll through the whole buffer again to remove further messages from the end.

More concrete example of the current behavior: 60k messages in initial view, it takes a minute or more to scroll all the way down. Press 'a' to remove the inbox tag -> message is gone from buffer -> focus is on first element in buffer -> take another minute to scroll down.