An attempt at a history of mentality in late imperial China