Philosophy of language

A speaker says, “There is a draft by the door,” while looking toward an open door and expecting a companion to close it. Which analysis best separates what is said from what the speaker may be doing?