When the seventeenth and eighteenth centuries confined madness together with debauchery and libertinage, the point is not that they had failed to diagnose an illness, but that they understood it in radically different terms.