From Old French resver, first used for wandering, raving, or being lost in confused thought. Its deeper origin is uncertain, but French dictionaries connect it with an unattested esver and with the idea of wandering. By the seventeenth century it had moved toward the modern sense of dreaming in sleep and gradually displaced songer in that use.