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

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

[debbugs-tracker] bug#27692: closed (25.2; Indentation issue with string


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#27692: closed (25.2; Indentation issue with strings in scheme mode)
Date: Mon, 17 Jul 2017 12:18:02 +0000

Your message dated Mon, 17 Jul 2017 17:47:31 +0530
with message-id <address@hidden>
and subject line Re: bug#27692: 25.2; Indentation issue with strings in scheme 
mode
has caused the debbugs.gnu.org bug report #27692,
regarding 25.2; Indentation issue with strings in scheme mode
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
27692: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=27692
GNU Bug Tracking System
Contact address@hidden with problems
--- 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 ---

reply via email to

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