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

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

bug#61314: closed (29.0.60; c-ts-mode: Multiline comment indentation bro


From: GNU bug Tracking System
Subject: bug#61314: closed (29.0.60; c-ts-mode: Multiline comment indentation broken if starting with a '-')
Date: Sun, 19 Feb 2023 20:42:01 +0000

Your message dated Sun, 19 Feb 2023 12:34:43 -0800
with message-id <989A8942-7627-495E-AC2C-9783D21C77B3@gmail.com>
and subject line Re: bug#61314: 29.0.60; c-ts-mode: Multiline comment 
indentation  broken if starting with a '-'
has caused the debbugs.gnu.org bug report #61314,
regarding 29.0.60; c-ts-mode: Multiline comment indentation broken if starting 
with a '-'
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
61314: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61314
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: 29.0.60; c-ts-mode: Multiline comment indentation broken if starting with a '-' Date: Mon, 06 Feb 2023 11:42:00 +0530
The following multi line comment is indented wrong:

/*
  - item1
    - item2
      - item3
 */

The following output is expected instead:

/*
  - item1
  - item2
  - item3
*/


In GNU Emacs 29.0.60 (build 14, x86_64-pc-linux-gnu, GTK+ Version
 3.24.36, cairo version 1.16.0) of 2023-02-06 built on purism
Repository revision: 79ab62e0bb5d6185a358a2473c65b6461ea97793
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 11.0.12101006
System Description: Debian GNU/Linux bookworm/sid



--- End Message ---
--- Begin Message --- Subject: Re: bug#61314: 29.0.60; c-ts-mode: Multiline comment indentation broken if starting with a '-' Date: Sun, 19 Feb 2023 12:34:43 -0800
Yuan Fu <casouri@gmail.com> writes:

> Mohammed Sadiq <sadiq@sadiqpk.org> writes:
>
>> The following multi line comment is indented wrong:
>>
>> /*
>>   - item1
>>     - item2
>>       - item3
>>  */
>>
>> The following output is expected instead:
>>
>> /*
>>   - item1
>>   - item2
>>   - item3
>> */
>
> Thanks, I’ll see how to deal with this. c-mode seems to handle this just
> fine. I need to check how does it indent this kind of things.

Ok, this should work now!

Yuan


--- End Message ---

reply via email to

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