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: Wed, 15 Feb 2023 20:18:32 +0100 Message-ID: <87a61e7n5j.fsf@thornhill.no> References: <83wn4iajyy.fsf@gnu.org> <87fsb67pfj.fsf@thornhill.no> <83lekyagwy.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="13426"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Feb 15 20:19:43 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 1pSNJf-0003Hq-0L for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Feb 2023 20:19:43 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSNIg-0001UA-2R; Wed, 15 Feb 2023 14:18:42 -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 1pSNIe-0001T3-Bq for emacs-devel@gnu.org; Wed, 15 Feb 2023 14:18:40 -0500 Original-Received: from out-71.mta0.migadu.com ([91.218.175.71]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSNIb-0002j0-6k for emacs-devel@gnu.org; Wed, 15 Feb 2023 14:18:40 -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=1676488713; 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=XwBUFcoReeb/cguyFzo/bIzFrCoRcgtftQwhdb1ETb8=; b=0LuoBRYwB6uaB8H1T5+4oBfvV1HSgtuix40xov2GWoxomKj0krwTLKPkecH3TUVsnZ0IVB QqPjJ8/jbFo5o8ngLW93QJoTMZqdiZK/VXRc0OVxiScZ5dLBttJPwSGPxqFHV+um+o/MYW gohT0izP2wVWdRMo9Jad8SstthKxtbdYEMKDOhIb+eV4+xJhr3zA9Ib8tHZx9ozMJi318s zMxo2pQJr4fnUXCNbevogX06AinB2LcqUQsI22wjAtX5CQrmvG1bKOXK6a+6OaIwB/h29U rc/245D87pbFhqau/G1nP+AKoFoe4QWc+zLPWyAVfRGlO5KT0gCgai1nfFoOiA== In-Reply-To: <83lekyagwy.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=91.218.175.71; envelope-from=theo@thornhill.no; helo=out-71.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:303329 Archived-At: Eli Zaretskii writes: >> From: Theodor Thornhill >> Cc: emacs-devel@gnu.org >> Date: Wed, 15 Feb 2023 19:29:20 +0100 >> >> Eli Zaretskii writes: >> >> > There's a couple of useful features that are currently missing from >> > c/c++-ts-mode: >> > >> > M-a and M-e (go to beginning/end of statement) >> > electric # (aligns # to the left unless it's in a comment or a string) >> > >> > Can we add these, please? >> >> Isn't M-a and M-e available on master? > > Maybe, I didn't look there, sorry. If they work there, then this one > is fine. > They should be there, but they may need tweaking. Let me know if they behave unexpectedly. >> I'll look into electric #. For emacs-29 or master? > > If it is simple and safe enough, emacs-29. > > Thanks. No worries :-) Theo