From: Mark Walters Date: Mon, 10 Jun 2013 04:57:11 +0000 (+0100) Subject: emacs: show: modify the way hidden state is recorded. X-Git-Tag: 0.16_rc1~55 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=490b02345e5a33fa7906495def4a7b714f145f79;hp=490b02345e5a33fa7906495def4a7b714f145f79;p=obsolete%2Fnotmuch-old emacs: show: modify the way hidden state is recorded. Previously, whether a part was hidden or shown was recorded in the invisibility/visibility of the part overlay. Since we are going to have lazily rendered parts with no overlay store the hidden/shown state in the part button itself. Additionally, in preparation for the invisible part handling move the actual hiding of the hidden parts to insert-bodypart from create-part-overlays. Finally, we will need to know whether a part-insertion has done anything (it won't if the invisible part cannot be displayed by emacs) so we slightly rejig the code order in notmuch-show-toggle-part-invisibility to make it easier for the function to set an appropriate return value. ---