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

From: Andreas Röhler <[email-masked]>
Date: Wed, 02 Oct 2013 16:08:11 +0200

Am 02.10.2013 14:25, schrieb Dmitry Gutov:
> On 02.10.2013 15:24, Andreas Röhler wrote:
>> Okay, so it got rid of the faces-search?
>
> Why don't you look at the source code?
>
> `comment-beginning' looks at faces to make sure it's not inside a string,

Doesn't make sense for me. In which way is a string supposed to bear string-face, if syntax doesn't exist?
That's shooting into the dark IMHO.

  or that the `comment-start-skip' it found doesn't end the comment instead of starting it, in case
> comment-start and comment-end delimiters are the same.
>

Same here.

If syntax doesn't exist, only a parser may help.