Lumail - The console email client


Lua primitives: mark_unread()

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

This function will mark the currently selected message as new/unread. You may also call this function with a path, which will update the message specified instead.

For example:

--
-- Mark every message we've read as new.  Weirdly.
--
function on_read_message( path )
  mark_unread();
end

Availability

This function has been available since version 0.18.

See Also

See also current_message, is_new, mark_read.