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: Andreas Röhler
Subject: bug#39134: 28.0.50; forward-sexp fails on curved singlequotes
Date: Mon, 16 Aug 2021 17:39:32 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:78.0) Gecko/20100101 Thunderbird/78.13.0


On 16.08.21 08:20, mvar wrote:
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

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









reply via email to

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