Subject: Re: bug#39134: 28.0.50; forward-sexp fails on curved singlequotes

From: Andreas Röhler <[email-masked]>
Date: Mon, 16 Aug 2021 17:39:32 +0200

On 16.08.21 08:20, mvar wrote:
> Andreas Röhler <[email-masked]> writes:
>
>> Please consider output of "M-x describe-function RET defun RET".
>>
>> Go in first line to beginning of "‘byte-run.el’". From "Char: ‘ (8216, #o20030,
>> #x2018,"
>> "M-x forward-sexp RET". Cursor stops at dot, but should go until Char: ’ (8217,
>> #o20031, #x2019)
>>
>> Later on in buffer from start of "‘interactive’" it works as expected.
>> Also on ‘defun-declarations-alist’.
>>
>> Thanks developing Emacs,
>> Andreas
> hi Andreas,
>
> even for ‘interactive’ it does not work as expected - the cursor moves
> right on top of the second curly singlequote instead of the character to
> its right (the dot in that output). But this happens in the help
> text. In scratch buffer for the below string:
>
> boing ‘forward-sexp.test’ boing
>
> forward-sexp acknowledges 3 sexps. But adding an extra space
>
> boing ‘forward-sexp.test ’ boing
>
> will break it and the second sexp ends on the newly added space.
> Looks like that these specific quotation marks are not considered as equivalents
> of parentheses.
>
> do you see this as a general problem or just for the help-mode text?
>
> thank you in advance,
> Michalis

Hi Michalis,

don't have any idea WRT importance of this.

Just thought it may work  - modifying the help-mode syntax-table should 
do it.

Best,

Andreas