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


Message #17 received at 60572 <at> debbugs.gnu.org (full text, mbox):

From: Mohammed Sadiq <sadiq <at> sadiqpk.org>
To: Yuan Fu <casouri <at> gmail.com>
Cc: Theodor Thornhill <theo <at> thornhill.no>, 60572 <at> debbugs.gnu.org
Subject: Re: bug#60572: 29.0.60; c-ts-mode: String spanning multiple lines are
 not indented
Date: Sun, 08 Jan 2023 13:42:40 +0530
> 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");




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.