On Sat, Nov 05 2022, David Bremner wrote: > Tomi Ollila <tomi.ollila@iki.fi> writes: > > >> Is this getting too complex (well, we may have other stuff with >> similar complexity there ;/) ? >> >> Is there any better solutions ? > > I want to try redrawing the whole headerline. It should be more robust > against headerline format changes, but replacing the headerline has its > own complexities. I guess once I get something working, we can compare. I agree -- there should be one (1) function that takes care of drawing the headerline. this could get ouf-of-control easier when done different ways in places far, far away... now that I think of it, narrowing may not bring any advantage, but function which writes headerline to current (point) -- when doing initial drawing nothing has to be done beforehand, in case of updating, first delete line and then redraw... Tomi _______________________________________________ notmuch mailing list -- notmuch@notmuchmail.org To unsubscribe send an email to notmuch-leave@notmuchmail.org