bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: mvar
Subject: bug#39134: 28.0.50; forward-sexp fails on curved singlequotes
Date: Mon, 16 Aug 2021 09:20:34 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Andreas Röhler <andreas.roehler@easy-emacs.de> 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]