raw shock at learning of his father 's presence in edinburgh , then a sort of awestruck horror at the revelation of his father 's long-standing acquaintance with what appeared to be a woman of a certain occupation , and finally the beginnings of angry absorption , as the young man began an immediate revision of his opinions of his father 's character .