emacs-devel
[Top][All Lists]
Advanced

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

Re: Missing features in c-ts-mode


From: Theodor Thornhill
Subject: Re: Missing features in c-ts-mode
Date: Thu, 16 Feb 2023 09:08:50 +0100

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Felix <felix.dick@web.de>
>> Cc: Theodor Thornhill <theo@thornhill.no>, casouri@gmail.com,
>>  emacs-devel@gnu.org
>> Date: Wed, 15 Feb 2023 21:31:25 +0100
>> 
>> I don't know if it's ok to reuse/extend this thread,
>> but another feature that doesn't work in c-ts-mode is
>> c-toggle-comment-style.
>> Initially the mode uses /* */ style comments.
>> If after c-toggle-comment-style, commenting anything leads to:
>> 
>> 'comment-or-uncomment-region: Args out of range: "", 0, 1'
>
> Please report this as a bug.  c-ts-mode should have its own command
> for this; invoking c-toggle-comment-style will always cause trouble in
> this situation and should probably signal an error if invoked not in
> c-mode or its descendant.


Yes, it needs its own command.  Thanks!

Theo



reply via email to

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