From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: Missing features in c-ts-mode Date: Thu, 16 Feb 2023 09:08:50 +0100 Message-ID: <87r0uqqbfx.fsf@thornhill.no> References: <83wn4iajyy.fsf@gnu.org> <87fsb67pfj.fsf@thornhill.no> <83lekyagwy.fsf@gnu.org> <87a61e7n5j.fsf@thornhill.no> <877cwi7mju.fsf@thornhill.no> <83bkluaevv.fsf@gnu.org> <878rgy4qh6.fsf@web.de> <83ttzm83lm.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22700"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii , Felix , Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 16 09:09:34 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pSZKg-0005gC-4u for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Feb 2023 09:09:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSZKE-0007du-7h; Thu, 16 Feb 2023 03:09:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSZKD-0007dj-1g for emacs-devel@gnu.org; Thu, 16 Feb 2023 03:09:05 -0500 Original-Received: from out-70.mta0.migadu.com ([91.218.175.70]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSZKA-0000Q8-Fw for emacs-devel@gnu.org; Thu, 16 Feb 2023 03:09:04 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1676534940; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=aoj3BvgR74tvchaMT3NFzbawQLt7fVl+uTSFyx5X8Fc=; b=EMf3zRMKbqVDqRthNY3yxsNDEh89v6c6Qs7WtIBRy7Kf53h6+CZkEwioW2RQde0di3Nqki LRMNsFye5VU5Gf6KlNyx0RGrtSNq90jz+zZ+42OdO1fRAzXrDXCO7qSR8cY/snZ+PnqWjO SzrRU5ygwxZIDwrtGM3Lg5T5tDo3nia5uztLa20BB52yqpXDxAmmbixOEHyDZt1W1VAvAb SpRBbASza2A9q+056ufjFesVgckS6vi2Wrl29NeFQLy+7d4S0mbdqzb3yD7R5wLiVbb7Jq AvHUZVx6RAk8pPAIWx3nfLQ7+5lP3an05X6F4X6XbhBzamBSO3Q8TOANOKlnYQ== In-Reply-To: <83ttzm83lm.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.70; envelope-from=theo@thornhill.no; helo=out-70.mta0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:303377 Archived-At: Eli Zaretskii writes: >> From: Felix >> Cc: Theodor Thornhill , 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