From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#60888: 29.0.60; Lost c-or-c++-ts-mode Date: Tue, 17 Jan 2023 20:22:39 +0200 Message-ID: <0f4b20e0-bd07-273d-1dce-63f329a349f9@yandex.ru> References: <868ri18ms5.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8707"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 To: Juri Linkov , 60888@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 17 19:23:14 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pHqc6-00027z-MT for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Jan 2023 19:23:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHqbw-0002yO-9J; Tue, 17 Jan 2023 13:23:04 -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 1pHqbu-0002vd-3l for bug-gnu-emacs@gnu.org; Tue, 17 Jan 2023 13:23:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHqbt-00063t-RT for bug-gnu-emacs@gnu.org; Tue, 17 Jan 2023 13:23:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pHqbt-00066O-Mn for bug-gnu-emacs@gnu.org; Tue, 17 Jan 2023 13:23:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Jan 2023 18:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60888 X-GNU-PR-Package: emacs Original-Received: via spool by 60888-submit@debbugs.gnu.org id=B60888.167397977323439 (code B ref 60888); Tue, 17 Jan 2023 18:23:01 +0000 Original-Received: (at 60888) by debbugs.gnu.org; 17 Jan 2023 18:22:53 +0000 Original-Received: from localhost ([127.0.0.1]:38224 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHqbl-00065z-FA for submit@debbugs.gnu.org; Tue, 17 Jan 2023 13:22:53 -0500 Original-Received: from mail-wr1-f51.google.com ([209.85.221.51]:43917) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pHqbf-00065h-Gd for 60888@debbugs.gnu.org; Tue, 17 Jan 2023 13:22:51 -0500 Original-Received: by mail-wr1-f51.google.com with SMTP id r30so7104868wrr.10 for <60888@debbugs.gnu.org>; Tue, 17 Jan 2023 10:22:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=vG3zCKWk4uGOASS+a34oQMd0yeEPFB43C2ejFMvH+vw=; b=ikLSn2uEzuqZ2uJELyvTt0IJZGC3lBfmVdSAkQyOrDMSXdJotSDsIf054xJwMRuQxV XkfGEABUOHAdxXHnT102Zsay+OQVZ6Zc+kD8bNTsyQa/YEqlXKuETVyaY5s8Y5l9vdof GLQEgl/fTNXJNKj/jnYteTZ+pSFuhUsxw6nDmt6u7pKcO8r+Al63ZkH8kwSyw2BRilJ2 lcsAxUv6ucdC2ypyBEltsRD73qa9y0H2t98/JUKFL43FlIsXyXpG43rUWLokVGOBtjsp LfEusaAFovj+yx65fCT90O581TAUqM/pTgNG+cumGf3tvoZaMfJWu8lfZysTYlGiCqn+ A6eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=vG3zCKWk4uGOASS+a34oQMd0yeEPFB43C2ejFMvH+vw=; b=Qfq1UcMJw9UxpAGdZXe5WpURFMpgTQlqE6TU55wVFTjh7ax3IgkqaW9mk786GvPj9Z n4BfqeDDH2TNg+Et/xf0e3WCtXfEgS+Vy2xQ+Ed1qPtFvfd0ioAyrIIQKgrm8ZJzKQfv gDucIzHLHKmIUrox59cNylXBhUtAW8/Hma8DYK4a+E4HWRhziTfkMXV5qC7g6ZP/P48r Z40T3RvwLfpyD4FMg2ttrmzZGU4Gwbo16NrCL7zzFR8dtgReUu2qwrHALhqPCJxz1QJf YwCapIGDsBSi4w0DylVSkBd6aQMbtBBDHUVMHM3wLQZjMVJsDEYK9pmkY47WnHwk1Smx 6PTQ== X-Gm-Message-State: AFqh2koejhmqfaAC1MQSIhTpZ8PYtUBjLqrTfmhabz/mWATVtvMHns9i XKKZjs4u07C1C6gQrg5T+bI= X-Google-Smtp-Source: AMrXdXsCu43uoktAHcVEMnJ8sWo+2RTbPrdZNV6F53hK5x3NFBbrLMZHX28562EsfbUAByjrSxx8PQ== X-Received: by 2002:a5d:4e4e:0:b0:2bd:ec13:8101 with SMTP id r14-20020a5d4e4e000000b002bdec138101mr3814164wrt.41.1673979761470; Tue, 17 Jan 2023 10:22:41 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id g2-20020a5d64e2000000b002be063f6820sm7850867wri.81.2023.01.17.10.22.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 17 Jan 2023 10:22:41 -0800 (PST) Content-Language: en-US In-Reply-To: <868ri18ms5.fsf@mail.linkov.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:253575 Archived-At: On 17/01/2023 19:20, Juri Linkov wrote: > I started to rely on c-or-c++-ts-mode because there is no other replacement > to use for such mappings in init files: > > (when (and (treesit-ready-p 'c t) (treesit-ready-p 'cpp t)) > (add-to-list 'major-mode-remap-alist '(c-or-c++-mode . c-or-c++-ts-mode))) > > c-or-c++-mode is activated for all .h files, so there should be the corresponding > c-or-c++-ts-mode, but it's lost somewhere in emacs-29. Apparently it was decided that it's a new feature, and thus too late for emacs-29.