From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#65057: 29.1.50; cc-guess does not work with tree-sitter modes Date: Sat, 2 Sep 2023 09:44:53 -0700 Message-ID: References: <837cqavg4e.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8024"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Kai Ma , 65057-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 02 18:46:06 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 1qcTl6-0001sw-Ry for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 02 Sep 2023 18:46:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcTkz-0004HP-4r; Sat, 02 Sep 2023 12:45:57 -0400 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 1qcTkw-0004Es-9v for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 12:45:56 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcTku-0000cM-SD for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 12:45:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcTl3-0004VF-MY for bug-gnu-emacs@gnu.org; Sat, 02 Sep 2023 12:46:01 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Sep 2023 16:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 65057 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Mail-Followup-To: 65057@debbugs.gnu.org, stefankangas@gmail.com, justksqsf@gmail.com Original-Received: via spool by 65057-done@debbugs.gnu.org id=D65057.16936731109289 (code D ref 65057); Sat, 02 Sep 2023 16:46:01 +0000 Original-Received: (at 65057-done) by debbugs.gnu.org; 2 Sep 2023 16:45:10 +0000 Original-Received: from localhost ([127.0.0.1]:38486 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcTkE-0002OU-54 for submit@debbugs.gnu.org; Sat, 02 Sep 2023 12:45:10 -0400 Original-Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]:46553) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcTkD-00022b-8h for 65057-done@debbugs.gnu.org; Sat, 02 Sep 2023 12:45:09 -0400 Original-Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-500c7796d8eso203281e87.1 for <65057-done@debbugs.gnu.org>; Sat, 02 Sep 2023 09:44:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693673093; x=1694277893; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=yfMX02tU88VXSW35tC9XlHqM+HdSAVj1Grf36XqIXag=; b=XctnBHRaQsQVNvkdNUj+tThGgxZZlKyBaS5eEjC1GfmH0fSWsO7VFJ90NfLQWimqOo yv8yz7Yl2JZcvoS7qtZGBOMsWjEKj09U5ZBRAsS59PXsW4usbG+9JZMWom8KTVKEOjIc +4HFrB95voSfmZeJ6Wbk1DitOGR1CbyDBFTN7TeOEOXjz91iOQCefFxbfoKuAmyVgmcQ 6jVVb69/T004y4LE8dXIUruEi+l/2X9TZ9/oPq4QmWYEMAT4LwlQmhJNGhoWTMzpg3uk 9wij1QuNKgN+/Oe7OP9PmdfHpl25BNY0qzXee39Rc3wIe5jlQjBsuwOKGk8BjV/Cn2uW 80KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693673093; x=1694277893; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=yfMX02tU88VXSW35tC9XlHqM+HdSAVj1Grf36XqIXag=; b=KluiJ3+y6Q3i032mpd7KF42y1jivjbUcipbrV23ZxV/sq0eUt3svU6Mt0LhXH7al8S mzkU6PbaNyCY9EH9hDbUsAprsvpijZbhEY9I7Z1TMg2g6fGy1oRcaiDR49EAiJhI4kH1 zgVSXOHWkEhvsQdaD3ibuHlUoSZgbuCj5zk1n0vbPnstC3NtCpteJ6TM7WlPj0m+7vgk 9Yq1Z+rUF0eu1GkHikQ0bFZh+u6Gb9UQ7J7FT8olA4JhntNFBMv+BpNLLcYkCYJ/ex8o kIgwsoAXBtHDPSlGW8Tk2KgxPk40tKsYlUjLCaLAAukMR9QZqWajWOagl9Rhuzj/6KQk ELTA== X-Gm-Message-State: AOJu0YylrrPNeG4J5Xg1y1hOqHCI8jtTbCQnvcWz8dzxbwzEPMT0BD46 dxD7t16e6iMjhpTjUBJOJC07Ft8qIlMfZpzzt5g= X-Google-Smtp-Source: AGHT+IF8rceryjakLr/SitIuJtw/BRTxwQU/txXN8nj/6mb5CHMCm8ST+u+X7K1/LhEhmW2ALH1OV52mL4WzVgZhXKc= X-Received: by 2002:a05:6512:ea6:b0:4f8:5635:2cd8 with SMTP id bi38-20020a0565120ea600b004f856352cd8mr4178595lfb.32.1693673093591; Sat, 02 Sep 2023 09:44:53 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 2 Sep 2023 09:44:53 -0700 In-Reply-To: <837cqavg4e.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 04 Aug 2023 21:04:17 +0300") 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:269026 Archived-At: Eli Zaretskii writes: > tags 65057 notabug > thanks > >> From: Kai Ma >> Date: Sat, 05 Aug 2023 01:31:16 +0800 >> >> >> c-guess-buffer called in a buffer whose major mode is c-ts-mode will >> raise the following error: >> >> Debugger entered--Lisp error: (wrong-type-argument stringp nil) >> looking-at(nil) > > cc-guess is incompatible with c-ts-mode, and should not be invoked in > a buffer under c-ts-mode. IOW, "don't do that". > > This is not a bug, this is a cockpit error. I'm therefore closing this bug report.