GNU bug report logs - #60572
29.0.60; c-ts-mode: String spanning multiple lines are not indented

Previous Next

Package: emacs;

Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>

Date: Thu, 5 Jan 2023 11:14:02 UTC

Severity: normal

Found in version 29.0.60

Full log


View this message in rfc822 format

From: Theodor Thornhill <theo <at> thornhill.no>
To: Mohammed Sadiq <sadiq <at> sadiqpk.org>, Yuan Fu <casouri <at> gmail.com>
Cc: 60572 <at> debbugs.gnu.org
Subject: bug#60572: 29.0.60; c-ts-mode: String spanning multiple lines are not indented
Date: Sun, 08 Jan 2023 10:18:42 +0100

On 8 January 2023 09:12:40 CET, Mohammed Sadiq <sadiq <at> sadiqpk.org> wrote:
>> Theodor Thornhill <theo <at> thornhill.no> writes:
>>> 
>>> Here is a patch fixing this, Yuan.  Feel free to install at your
>>> convenience.
>>> 
>>> Do you agree with this patch, Mohammed?
>
>The line
>
>  puts ("more"
>    "test");
>
>is still not indented right (right in the sense, the behavior is
>different from c-mode):
>
>I expect the code to be (with indent-tabs-mode set to nil):
>
>  puts ("more"
>        "test");
>
>but I get:
>
>  puts ("more"
>    "test");

Right, thanks. Is this indent style related? Would Linux style do this differently than gnu?

Thanks,
Theo




This bug report was last modified 2 years and 206 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.