[[ Start with an empty string. ]] "" [[ If the message is current for its folder, mark it with a >; if unseen, mark it with N. Previous and next messages get - and + markings, akin to the > to mark the current message. ]] m?#c ?? ">" ?| m?#p ?+ "-" ?| m?#n ?+ "+" ?| " " ?. $+ mf "unseen" mn qm ?? "N" ?| " " ?. $+ [[ If in the current folder, use three-column numbers; otherwise, folder:number. ]] m?cf ?? mn 3 ' ' $< ?? s- "(MULTIPLE)" ?| haa ?. " " sx $+ $+ [[ Add the Subject, in quotes. ]] " \"" hs(Subject) "\"" $+ $+ $+ [[ Truncate to @width, less one character to avoid rightmost column. ]] 0 @width 1 - $_