The problem, in this context, with the mime-buttons in VM is that the face is associated with an overlay and is not a text property. Overlays do not get preserved because they are buffer-local. Not sure why an overlay is used, but it is interesting to note that the text properties of these buttons contain the 'vm-mime-layout' as well as the overlay (this one gets yanked with the text)
Hey Uday,
The problem, in this context, with the mime-buttons in VM is that the face is associated with an overlay and is not a text property. Overlays do not get preserved because they are buffer-local. Not sure why an overlay is used, but it is interesting to note that the text properties of these buttons contain the 'vm-mime-layout' as well as the overlay (this one gets yanked with the text)