In the excerpt from “The Raven” by Edgar Allan Poe, the speaker is doing the following when he hears a knock at the door:
A. Reading.
The passage "...while I pondered, weak and weary/ Over many a quaint and curious volume of forgotten lore..." shows it. The speaker stated he was "pondering", that is, giving deep consideration, to "a quaint and curious volume of forgotten lore", that is, to an old-fashioned and interesting book on some ancient knowledge.