From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Missing features in c-ts-mode Date: Wed, 15 Feb 2023 21:48:52 +0200 Message-ID: <83bkluaevv.fsf@gnu.org> References: <83wn4iajyy.fsf@gnu.org> <87fsb67pfj.fsf@thornhill.no> <83lekyagwy.fsf@gnu.org> <87a61e7n5j.fsf@thornhill.no> <877cwi7mju.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8099"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org To: Theodor Thornhill Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 15 20:49:41 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 1pSNme-0001tB-NF for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Feb 2023 20:49:40 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSNmL-0000zl-Pt; Wed, 15 Feb 2023 14:49:21 -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 1pSNmC-0000zJ-SD for emacs-devel@gnu.org; Wed, 15 Feb 2023 14:49:14 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSNmC-0005PC-Ik; Wed, 15 Feb 2023 14:49:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Y1SV8nz0AZ8tE9b3RFkDWlBZsfiitswNjlAehyymYM8=; b=qFUGjj4WkF/Z Hyi5K3+5upVE7iewHIvgnILKgsAg7MWJUv1FMjZmtVYDCmXrxMGWE3Gd7O59vh3lBU5pjfCcb9J4k aK2EcN9YwZr6hGwp3xmHxCMQ2Yjz2dwyZ0/AP15Uv5nZcgBf2XShnCUZ9iPC5QrM0d8h8/pQnWcRw u5vnU4H9hPuQ95ji8HK3SNu1DK5DQS952XwAIHqSTV9v5WHxH/uqh/mNorEVUsrYlR7n1EYIibyCT 3J5RwwMJt585WF65araskAp3AjjH6fCSgetQ28Iftt7bBAzYc5ieTqpf3oSyErrxoDXljH5y0TLvR B2oxyXBfaL7RUS4iUhqMOA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSNm9-0008RH-Nu; Wed, 15 Feb 2023 14:49:10 -0500 In-Reply-To: <877cwi7mju.fsf@thornhill.no> (message from Theodor Thornhill on Wed, 15 Feb 2023 20:31:33 +0100) 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:303337 Archived-At: > From: Theodor Thornhill > Cc: casouri@gmail.com, emacs-devel@gnu.org > Date: Wed, 15 Feb 2023 20:31:33 +0100 > > This patch adds some support for this- but I'm not really satisfied yet. > It will electrically indent if you've typed "#i", or if you insert "#" > before say, "if". The reason it behaves this way right now is that the > parser returns an (ERROR (ERROR)) node when only # is inserted. I'll > see if I can find some workaround for it. Thank you for working on this.