In literature, mood is the emotional setting of the scene that arouses the mental state of the readers.
In the excerpt from Edgar Allan Poe's "The Raven," the story directs attention to a young man's visitor who is visited by a raven at night. Therefore, since the man grieves the loss of his lover and is slowly dispossessed of his mental faculties, the author creates a supernatural and magical mood to introduce the raven's approach.
I believe it might be Mystery or annoyance but annoyance doesn't sound right He said "As of some one gently rapping" so I think it's Mystery hope this helps.
The last one. The only scenario where you wouldn't put a comma in the first quote is if it's a completed remark that uses particular punctuation such as a quotation or exclamation mark, but never a period. Hope this helped.