Subject: bug#15251: 24.3.50; do-auto-fill "continues" comment from inside a string

From: Dmitry Gutov <[email-masked]>
Date: Tue, 01 Oct 2013 18:40:43 +0300

On 01.10.2013 17:11, Stefan Monnier wrote:
> We should probably rework the code to merge comment-use-syntax and
> comment-use-global-state.

I wonder what modes have the former variable set to t, but the latter to 
nil, and which situation this combination handles.

Maybe enhance the check in `comment-normalize-vars' and set 
`comment-use-syntax' to nil when the syntax table values are not good 
enough for `comment-use-global-state'?

Then make `comment-use-global-state' an obsolete alias for 
`comment-use-syntax'.