pazz/alot — pull request #538 by SuperScript (2012-11-22 21:53:27+00:00)
Title: Implement move commands in globals.py.  Add --redraw for bclose.

I tried to apply this binding in thread mode:

, = bclose;move down;select

It failed because the move commands are not defined in the ordinary way, apparently to accommodate their function even when locked by overlay. I refactored the code to supply standard definitions while preserving the special move command behavior. In addition I added a boolean switch --redraw to bclose so that the above command does not redraw the intermediate search buffer when called like this:

, = bclose --redraw=False;move down;select

The redraw argument passes through several levels of code. There may be a simpler way to do it.