On Tue, Apr 05, 2016 at 06:19:10PM +0200, Vincent Lefevre wrote: > On 2016-04-05 16:40:14 +0100, Richard Russon wrote:
> > Only the menu object in mutt_index_menu() knows the current email. > Alternatively, couldn't the current message be part of the context? > It would be a message number, or 0 in absence of current message. Yes, it could. Personally, I don't think that's a good place for it. The context should be all the global properties of the mailbox. It should be part of the "View" of the mailbox (an as-yet non-existant object). I'll pass the ideas on to David Sterba (the author). Rich
