I always thought that when but introduced a clause like "I am hungry", there was always a comma before the word "but", but it doesn't seem to be the case anymore. Did the grammar rule change or something? Because the way I learned it in school was that it doesn't take a comma when it's followed by a word, but it takes a comma when it introduces a clause regardless it was independent or not.
All of the following examples don't take a comma according to the dictionary:
- On the contrary: the plan caused not prosperity but ruin.
- Contrary to expectation; yet: She organized her work but accomplished very little. He is tired but happy.
- Usage Problem Used to indicate an exception: No one but she saw the prowler.
- With the exception that; except that. Often used with that: would have joined the band but he couldn't spare the time; would have resisted but that they lacked courage.
- Informal Without the result that: It never rains but it pours.
- Informal That. Often used after a negative: There is no doubt but right will prevail.
- That ... not. Used after a negative or question: There never is a tax law presented but someone will oppose it.
- Informal Than: They had no sooner arrived but they turned around and left.