--- Begin Message ---
Subject: |
25.2; Indentation issue with strings in scheme mode |
Date: |
Fri, 14 Jul 2017 19:28:31 +0530 |
I have the following text in an otherwise empty scheme mode buffer.
===file-begins-here===
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
(eiusmod tempor) incididunt ut labore et dolore (magna aliqua. Ut enim
ad)"
===file-ends-here===
I apply indent-region on the three lines, and they become:
===file-begins-here===
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
(eiusmod tempor) incididunt ut labore et dolore (magna aliqua. Ut enim
ad)"
===file-ends-here===
The parentheses in the string are wrongly indented as S-expressions.
However, if I have the following text in an otherwise empty scheme mode
buffer, indentation works correctly.
===file-begins-here===
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
incididunt ut labore et dolore (magna aliqua. Ut enim
ad)"
===file-ends-here===
Note that the only difference between the two text samples is the parentheses
around "eiusmod tempor". Also note that the buffer text is intended to be a
scheme string. So, the double quotes are part of the buffer text.
In GNU Emacs 25.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.22.15)
of 2017-06-23
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#27692: 25.2; Indentation issue with strings in scheme mode |
Date: |
Mon, 17 Jul 2017 17:47:31 +0530 |
> I can also reproduce this with Emacs 25.2 in emacs-lisp-mode and
> lisp-mode.
>
> However, I can't reproduce this on an up-to-date master branch. Can you
> confirm if it works correctly for you on the master branch?
Yes, indeed. It is working correctly on the master branch. Thanks! I am
closing this bug report.
Sorry for the somewhat late reply. I had to clone the emacs git repo,
and build it from source -- a process I have not done before.
--- End Message ---