Lumail - The console email client

Lua primitives: scroll_index_to()

NOTE: Lumail-legacy has been superseded by Lumail 2.x, which has a wholly unified Lua API.

When a folder has been opened this function causes the list of messages to be scrolled to the next message which matches the specified regular expression.

The pattern-match will be applied to the formatted message, as displayed, and as specified by index_format().

For example scroll to the next message matching the pattern "thanks for your order":

-- Scroll to the next matching pattern
scroll_index_to("thanks for your order");


This function has been available since version 0.07.

See Also

See also index_offset, jump_index_to, scroll_index_down, scroll_index_up.