From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel =?UTF-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61691: (wrong-type-argument stringp nil) error when indenting some C code in c-ts-mode Date: Sun, 26 Feb 2023 12:10:24 +0100 Message-ID: References: <837cw4kfen.fsf@gnu.org> Reply-To: Daniel =?UTF-8?Q?Mart=C3=ADn?= Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39160"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) Cc: 61691-done@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 26 12:11:28 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 1pWEw9-0009yl-Vq for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 26 Feb 2023 12:11:26 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWEvq-0006Re-OZ; Sun, 26 Feb 2023 06:11: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 1pWEvn-0006QW-2v for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 06:11:03 -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 1pWEvm-0006Ob-A6 for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 06:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWEvl-0001Ja-Ri for bug-gnu-emacs@gnu.org; Sun, 26 Feb 2023 06:11:01 -0500 Resent-From: Daniel =?UTF-8?Q?Mart=C3=ADn?= Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 26 Feb 2023 11:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 61691 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Mail-Followup-To: 61691@debbugs.gnu.org, mardani29@yahoo.es, mardani29@yahoo.es Original-Received: via spool by 61691-done@debbugs.gnu.org id=D61691.16774098385019 (code D ref 61691); Sun, 26 Feb 2023 11:11:01 +0000 Original-Received: (at 61691-done) by debbugs.gnu.org; 26 Feb 2023 11:10:38 +0000 Original-Received: from localhost ([127.0.0.1]:42428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWEvO-0001Is-Fb for submit@debbugs.gnu.org; Sun, 26 Feb 2023 06:10:38 -0500 Original-Received: from sonic301-21.consmr.mail.ir2.yahoo.com ([77.238.176.98]:42059) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWEvM-0001IX-7X for 61691-done@debbugs.gnu.org; Sun, 26 Feb 2023 06:10:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1677409828; bh=Mpbq5Bqy/i1babsdWmofVPJO55Fjk2lLz+VNjzVdsqY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=GoKFNBOBJ/uvrfo/7eZtYgWkebMg9uNlIfCipXSkpIg8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dBf_hEnELGzEuI.t44sprCGKcLm6GL 1vgdqkrP9.JuLkC3mtD_N8QT3qzrCcNK9VDwmfCykEikSRlTjI3TXqvVZbzbtIPnuGQSs30sa94P xVhGLp5jb3TUOuZVERy4P_FtTu9YQghP7ZAua.bpemzCTNWXBbDNyqVkSp_KZbU3flM4W1VPkEVs GaR3be1MkmJQ2NdZPMGXNN5A2tanB9K6qA9MA2EropdVVMF_5WKPL23i8kKmdSIYT7YgvnVbgiZh 00LywVur6cx5lPVITaZYxTWLVNJJQw8mc5HLB8vTS57vMn3HF6viBI4zVTrx0sySF6HoDE9l_6vk lUGMi3qu9ccdwuJ1ZooTzHj5tVElB2xfVALMgm0wxz0wImu_8bKAtNYgXwQA2fC1eoBQX9f1oHM_ wvBgOGhn8G_.MhRdacN8Dz3DMQMUZRCIN7EUNuECATgkQPun3dU8auGzFnSuOM83MDK.klTYsQY5 W0r8D2M0yLCASm5mPHW8XroxKXb0g1tkyK4frAdcl1kiBCoI.ImoW.yucKoozHEowlA1DPWoQOd0 R.Ksz1MGOr9LkCSaWw3oULYZQCluKRxx.FaCF_1ZZz X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ir2.yahoo.com with HTTP; Sun, 26 Feb 2023 11:10:28 +0000 Original-Received: by hermes--production-ir2-65c64dfd66-2jlf9 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID cf7f7443cb2b9c54d2b775703e2cad41; Sun, 26 Feb 2023 11:10:26 +0000 (UTC) In-Reply-To: <837cw4kfen.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 26 Feb 2023 10:19:12 +0200") X-Mailer: WebService/1.1.21221 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo 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:256783 Archived-At: Version: 29.1 Eli Zaretskii writes: >> Date: Wed, 22 Feb 2023 00:23:37 +0100 >> From: Daniel Mart=C3=ADn via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" >>=20 >> Given the following code in c-ts-mode: >>=20 >> int >> foo () >> { >> int c; >> if (!CHAR_VALID_P (c)) >> /* This is a comment. */ >> c =3D 'a'; >>=20 >> return c; >> } >>=20 >> If point is in line "c =3D 'a'" and you press TAB, a (wrong-type-argument >> stringp nil) error is thrown. > > With today's emacs-29 branch, I cannot reproduce this. Was the > problem solved meanwhile? I cannot reproduce the issue anymore in Emacs 29, so I'm closing the bug report.