Received: (at 62238) by debbugs.gnu.org; 20 Mar 2023 18:21:11 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 20 14:21:11 2023 Received: from localhost ([127.0.0.1]:56766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1peK87-0007V7-7w for submit <at> debbugs.gnu.org; Mon, 20 Mar 2023 14:21:11 -0400 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:33225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1peK85-0007Ui-9M for 62238 <at> debbugs.gnu.org; Mon, 20 Mar 2023 14:21:09 -0400 Received: (Authenticated sender: juri@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id E4B2BC0007; Mon, 20 Mar 2023 18:21:00 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode In-Reply-To: <834jqga9md.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 19 Mar 2023 20:17:46 +0200") Organization: LINKOV.NET References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> <83jzzeb2v6.fsf@HIDDEN> <m1cz56oxdy.fsf@HIDDEN> <83fsa2as1a.fsf@HIDDEN> <86edplupr9.fsf@HIDDEN> <834jqga9md.fsf@HIDDEN> Date: Mon, 20 Mar 2023 20:13:00 +0200 Message-ID: <86lejrtifn.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, casouri@HIDDEN, theo@HIDDEN, philipk@HIDDEN, mardani29@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> After trying to tweak treesit-sexp-type-regexp a few times >> I become convinced it is not up to the task of properly handling >> all sexp operations. It seems the existing functions that >> implement C-M-f (forward-sexp), C-M-u (backward-up-list), etc. >> should remain in place, and the role of the tree-sitter would be >> only to provide syntax information for them, i.e. just to replace >> syntax tables with tree-sitter wrappers. > > It would be good if you could tell more about what you tried and what > you saw, and how you reached this quite radical conclusion. Maybe you > are right, but without knowing the details, how can we possibly > discuss it and try to reach a common conclusion? Up front, the > conclusion sounds almost incredible: after all, how can a compiler > recognize blocks and defuns if not by parsing the program source? If > the compiler does it, why cannot we do the same using the parsing > products? Ideally, the existing syntax tables should still be used, and tree-sitter could provide an additional support for "implicit parens" as mentioned in bug#62086. "Implicit parens" are such constructs that are not defined by syntax tables, but perceived as invisible parens. > So please consider making the discussion more useful by telling more. > (Perhaps on emacs-devel, not here.) I could provide more feedback when someone will start a discussion on emacs-devel.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 19 Mar 2023 18:17:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 19 14:17:55 2023 Received: from localhost ([127.0.0.1]:52713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdxbO-0003H7-KI for submit <at> debbugs.gnu.org; Sun, 19 Mar 2023 14:17:54 -0400 Received: from eggs.gnu.org ([209.51.188.92]:38550) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdxbM-0003Gt-9l for 62238 <at> debbugs.gnu.org; Sun, 19 Mar 2023 14:17:53 -0400 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 <eliz@HIDDEN>) id 1pdxbF-0000fg-80; Sun, 19 Mar 2023 14:17:45 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=sokhk6Z4n8C4cYC2rn7YHv/ZmS/cH1Du+gN4sKVV8tM=; b=K/72uXOJcvuab2o9XrZL W4jR9+hN5U0nlHhHUmHn7Hqy/qff5wuSbgy972SoJPTxFnQT5IihCySZNbK6hkS7Z3dgV9cJtBBrh VRawuPbuWyJl+sRtRUbJj4vs3hcw6PzyZPZc8jJYwFSKbci5KJQBROePDMT6G8p51Ay0OMv8jb3rn gvVC0koPVLdxOWVy3FCPJgd5i99Hc143ZN1f2qgCJZLG9hyS9YHg5B0+5wSp3UdOfVmof3n2+F6L8 +/tmQYVg1dTG5OTT7fHYNCg7QX4NTkgEphSuhSjQeS7O7qGVVp8AiAu8u53T8alt8Fp7w8JkxepoL yMwP0O3WKiPStw==; 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 <eliz@HIDDEN>) id 1pdxbB-0007sn-HC; Sun, 19 Mar 2023 14:17:43 -0400 Date: Sun, 19 Mar 2023 20:17:46 +0200 Message-Id: <834jqga9md.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Juri Linkov <juri@HIDDEN> In-Reply-To: <86edplupr9.fsf@HIDDEN> (message from Juri Linkov on Sun, 19 Mar 2023 19:28:58 +0200) Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> <83jzzeb2v6.fsf@HIDDEN> <m1cz56oxdy.fsf@HIDDEN> <83fsa2as1a.fsf@HIDDEN> <86edplupr9.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, casouri@HIDDEN, theo@HIDDEN, philipk@HIDDEN, mardani29@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Juri Linkov <juri@HIDDEN> > Cc: Daniel Martín <mardani29@HIDDEN>, > 62238 <at> debbugs.gnu.org, > casouri@HIDDEN, theo@HIDDEN, philipk@HIDDEN > Date: Sun, 19 Mar 2023 19:28:58 +0200 > > After trying to tweak treesit-sexp-type-regexp a few times > I become convinced it is not up to the task of properly handling > all sexp operations. It seems the existing functions that > implement C-M-f (forward-sexp), C-M-u (backward-up-list), etc. > should remain in place, and the role of the tree-sitter would be > only to provide syntax information for them, i.e. just to replace > syntax tables with tree-sitter wrappers. It would be good if you could tell more about what you tried and what you saw, and how you reached this quite radical conclusion. Maybe you are right, but without knowing the details, how can we possibly discuss it and try to reach a common conclusion? Up front, the conclusion sounds almost incredible: after all, how can a compiler recognize blocks and defuns if not by parsing the program source? If the compiler does it, why cannot we do the same using the parsing products? So please consider making the discussion more useful by telling more. (Perhaps on emacs-devel, not here.)
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 19 Mar 2023 17:53:02 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 19 13:53:02 2023 Received: from localhost ([127.0.0.1]:52682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdxDJ-0002dl-OA for submit <at> debbugs.gnu.org; Sun, 19 Mar 2023 13:53:02 -0400 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:54623) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1pdxDH-0002dN-Lk for 62238 <at> debbugs.gnu.org; Sun, 19 Mar 2023 13:53:00 -0400 Received: (Authenticated sender: juri@HIDDEN) by mail.gandi.net (Postfix) with ESMTPSA id 570A540005; Sun, 19 Mar 2023 17:52:51 +0000 (UTC) From: Juri Linkov <juri@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode In-Reply-To: <83fsa2as1a.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 18 Mar 2023 19:27:45 +0200") Organization: LINKOV.NET References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> <83jzzeb2v6.fsf@HIDDEN> <m1cz56oxdy.fsf@HIDDEN> <83fsa2as1a.fsf@HIDDEN> Date: Sun, 19 Mar 2023 19:28:58 +0200 Message-ID: <86edplupr9.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, casouri@HIDDEN, theo@HIDDEN, philipk@HIDDEN, Daniel =?iso-8859-1?Q?Mart=EDn?= <mardani29@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.7 (-) >> > I don't understand how you came to that conclusion. Why would we want >> > to use syntax tables when we have a parser at our fingertips? And if >> > "the Tree-sitter function is general and should work for every >> > language", as you say (and I agree), why should we refrain from using >> > it for C? >> >> Note that basing C-M-x on syntax tables (that is, traditional >> forward-sexp) does not completely exclude the use of Tree-sitter, AFAIU. >> Here's my thought process: To do its job, C-M-x needs to know about some >> code structures such as symbol constituents, strings, comments, and >> parenthetical groups. If in some language or future version of C the >> syntax is complex enough that getting the syntax class of a character >> requires proper parsing, the Tree-sitter major modes can augment the >> syntax table to make C-M-x work correctly. See >> c-ts-mode--syntax-propertize for an example of how Tree-sitter can >> augment a buffer's syntax table, if needed. > > We have already C mode that uses syntax tables. I think it's useful > to try syntactic movement using results of parsing as well, and > compare the relative merits and demerits. After trying to tweak treesit-sexp-type-regexp a few times I become convinced it is not up to the task of properly handling all sexp operations. It seems the existing functions that implement C-M-f (forward-sexp), C-M-u (backward-up-list), etc. should remain in place, and the role of the tree-sitter would be only to provide syntax information for them, i.e. just to replace syntax tables with tree-sitter wrappers.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 21:34:24 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 17:34:24 2023 Received: from localhost ([127.0.0.1]:49138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdeBz-0008S9-R9 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 17:34:24 -0400 Received: from mail-pj1-f50.google.com ([209.85.216.50]:34462) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1pdeBx-0008Ry-VT for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 17:34:22 -0400 Received: by mail-pj1-f50.google.com with SMTP id l9-20020a17090a3f0900b0023d32684e7fso10544273pjc.1 for <62238 <at> debbugs.gnu.org>; Sat, 18 Mar 2023 14:34:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679175256; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ka3O7VfV78SkA97pagqV4DCUUSUuUUuhuLRGU6cj+5k=; b=eQtCSEJx/VTxFog0GcaEotcyn400C/FVbC1hhsWOTZGME05DITmk1jZG7QVK/NcQTM BbODIt4luDy3CzP5F+jym9Fe/hdBdPDfla3pSVJugIyAo7LUYmOdxpo9fHKXnfg5zG3T aNCGfpbt87psKk1jMcTuRAxyt1L4FKam07bwszrNj3Vc1IovHECXVfFvNR51ivdoRGFo CKCQZZxl73EoQ/xWvjsSztAUKpkJvEJbRJZaR2erDUmHDUC7vm0F0tyVdSxWS0M6ARfH Ze2exc+3I40mPpcMzJKyyLozhDysLrDbaw+7Ul/uxPWyjIPdNldC8tgJDxvIWJCrd1I1 yg6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679175256; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ka3O7VfV78SkA97pagqV4DCUUSUuUUuhuLRGU6cj+5k=; b=UfkmwetxwfSIweOjmjLeh+ep/WfZWWtQ1LbWgerm2MHYATesUTh7WbCTiifusu1ie9 OK3FJvKUZvV/ZikJPgP1VQPl6FUOuIDynssdjSeH2T041t7h+o1YcIZ7qmsO3ZRCP1yX M9DshrY7wCHgpwaRQTKIqRIudf/P2xdMugQPkw/L+O5W4uAbqCpRR5XM9tc/z09RMH0j dh3bX/sFs0lqrRf0FvN0Dfz1Tq6/ihJSQ7BL+Hy9YKYrLf64RF7oiyjV/CUR5y+wCdvF 54972riR3cgROFd/GClsim5uKa+axP4e8hpR2wQt9WI+j0PI5FxWUp+r5G4XnzRCfvmx tBfQ== X-Gm-Message-State: AO0yUKXyC4bAtBDBZNPt+1TeCrsRHAStIT7yrmYPX7Qz0Xx5xOM6Az+9 zRPjVdP3Go7DTnvcsNHglVE= X-Google-Smtp-Source: AK7set9kdOMqA6o+xvEZ+zX40SxwnBntWqmur+yM1ZLtri58+LEwpOXrgy9SN4WPyRxAfH+y1FCVwA== X-Received: by 2002:a17:90a:191c:b0:237:50b6:7835 with SMTP id 28-20020a17090a191c00b0023750b67835mr13229887pjg.20.1679175255977; Sat, 18 Mar 2023 14:34:15 -0700 (PDT) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id u62-20020a17090a51c400b00233afe09177sm7005794pjh.8.2023.03.18.14.34.15 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Mar 2023 14:34:15 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode From: Yuan Fu <casouri@HIDDEN> In-Reply-To: <87edpmuz9p.fsf@HIDDEN> Date: Sat, 18 Mar 2023 14:34:03 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <489C4C6A-D7E5-4EC6-8C1E-237F1AE581EF@HIDDEN> References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <87edpmuz9p.fsf@HIDDEN> To: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= <kevin.legouguec@HIDDEN> X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN>, theodor thornhill <theo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > On Mar 18, 2023, at 3:31 AM, K=C3=A9vin Le Gouguec = <kevin.legouguec@HIDDEN> wrote: >=20 > Yuan Fu <casouri@HIDDEN> writes: >=20 >> I tested this on my Emacs session and vanilla session, and both = marked to the >> closing bracket. I believe forward-sexp should just work by the = syntax >> table. Perhaps it=E2=80=99s your config or something? >=20 > FWIW, I tested this on >=20 > * the master branch (where Philip reported the bug): I can reproduce > Philip's results; >=20 > 2023-03-18 "; * lisp/find-dired.el (find-gnu-find-p): Doc fix." > (95d5154feed) >=20 > * emacs-29: things work as you (Yuan) describe. >=20 > 2023-03-18 "; Fix 'make-obsolete-variable' forms" (faee8d50738) >=20 > So maybe something that will get resolved by the next merge? Or > something that has been broken or master. Duh, ok, I know what=E2=80=99s going on. Theo added some sexp related = tree-sitter stuff to master, but I=E2=80=99ve been focusing on emacs-29. = On emacs-29, c-ts-mode doesn=E2=80=99t redefine forward-sexp-function = and the default function uses the syntax table, which works fine. Yuan=
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 18:00:22 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 14:00:22 2023 Received: from localhost ([127.0.0.1]:49031 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdaqr-0002p2-Q5 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 14:00:22 -0400 Received: from out-58.mta1.migadu.com ([95.215.58.58]:26547) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <theo@HIDDEN>) id 1pdaqp-0002oq-EG for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 14:00:21 -0400 Date: Sat, 18 Mar 2023 19:00:16 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1679162417; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JQwayrKuGqIpAAhL38YxDM0YECdf94uLl2gSnhaPhd4=; b=GZfxkEb8p37pGV4R6ndgqykBu1P9wGCHmgYs+++CfBePlD6MDj3+6Uz6Nn+VWkYx9W0ekl dxDyEs6DOSAveayMbIqZmeZ+V1yM9xgD8cXoRnOHTc+PIt0j3u0+Xn+vWBXXPlFC3eoXia HGaih93uTfC2TVRFTSzD/o7K4xZYDMw0HXHw359+/OpZV6GJ5o7L0fzaXgKM28ldFEzAFV y1ygCxn4YCDLJ0mhZRh9+0AeKfKXMvQ68DwF37t9q1I9a7lX8MiXeT2V9hMonVaJNUqFJ0 jNhBXa8i/i/W2l4tFqj7UE5gvhoBkyuMaJ67N+CXKJeI0MzXmQouZt8W0F60EQ== X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. From: Theodor Thornhill <theo@HIDDEN> To: Dmitry Gutov <dgutov@HIDDEN>, =?ISO-8859-1?Q?K=E9vin_Le_Gouguec?= <kevin.legouguec@HIDDEN>, Yuan Fu <casouri@HIDDEN> Subject: =?US-ASCII?Q?Re=3A_bug=2362238=3A_30=2E0=2E50=3B_Unusual_interpr?= =?US-ASCII?Q?etation_of_=22S-expressions=22_in_c-ts-mode?= In-Reply-To: <a16119c7-d1b6-a48d-1a35-f1ef0a6e7fe4@HIDDEN> References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <87edpmuz9p.fsf@HIDDEN> <a16119c7-d1b6-a48d-1a35-f1ef0a6e7fe4@HIDDEN> Message-ID: <81420033-8611-4BA2-A67B-E60631CE0331@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 18 March 2023 18:48:10 CET, Dmitry Gutov <dgutov@yandex=2Eru> wrote: >On 18/03/2023 12:31, K=C3=A9vin Le Gouguec wrote: >> Yuan Fu<casouri@gmail=2Ecom> writes: >>=20 >>> I tested this on my Emacs session and vanilla session, and both marked= to the >>> closing bracket=2E I believe forward-sexp should just work by the synt= ax >>> table=2E Perhaps it=E2=80=99s your config or something? >> FWIW, I tested this on >>=20 >> * the master branch (where Philip reported the bug): I can reproduce >> Philip's results; >>=20 >> 2023-03-18 "; * lisp/find-dired=2Eel (find-gnu-find-p): Doc fix=2E= " >> (95d5154feed) >>=20 >> * emacs-29: things work as you (Yuan) describe=2E >>=20 >> 2023-03-18 "; Fix 'make-obsolete-variable' forms" (faee8d50738) >>=20 >> So maybe something that will get resolved by the next merge? Or >> something that has been broken or master=2E > >Parse tree based forward-sexp was indeed only added on master=2E > Yeah
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 17:48:20 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 13:48:20 2023 Received: from localhost ([127.0.0.1]:49010 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdafE-0002Ug-A8 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 13:48:20 -0400 Received: from mail-wm1-f42.google.com ([209.85.128.42]:51764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <raaahh@HIDDEN>) id 1pdafD-0002U0-0l for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 13:48:19 -0400 Received: by mail-wm1-f42.google.com with SMTP id ay8so5081048wmb.1 for <62238 <at> debbugs.gnu.org>; Sat, 18 Mar 2023 10:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679161693; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=KHGJMqo11gv/G7GP3rRUS9KiPecb25jAP5iMd4B6wsg=; b=FvNCvGq1E06wgh47ooPHNcMA3kmLfXBjGwARXgnkbgO4WmPA/Qrh/le80OynrCkMQg 26dMz44m+uG2KgMKvgii+WHcyQrOEz1E1G5DKWwpfB3HmTMcg0OiyXr0n9tTSLBFYJv1 zGxAvZ4cg0sBUvSZwGAGY5YrJ/gCpAT+o8P9rSCXgz3lqWj5U5Pd0qeoQmAAUyc72yk5 x0v2s0+NX9h2OjiSuKOjpDVCk9f6sQGVYTFZpH6hsZgv6ZBL2WC9gLtLto2srwefD5Hm sfChLQQFF9EKzdCTGDdDtjPkv36f+1nfgwqNTqbJ7bWJJmOjwh50V0YL6SiKp3hId6c1 NoIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679161693; h=content-transfer-encoding:in-reply-to:from:references:cc: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=KHGJMqo11gv/G7GP3rRUS9KiPecb25jAP5iMd4B6wsg=; b=WXbZT9lNDqoo6gwHZfz7yiGv01Xrb/9BAPUgh2qh3Bbwbb0NI6UXDD0wjjCoHBIhOA SQKe5G6Fqx0wvA2cmkUGcRCYkcRF31MrIqVORXTLPSEvduJAMPOIQOYxTQjRnyeOsfYU G5N69IcRX8J4QEEIg+MtCxzWH7nmOkLnVxJwtI+u21ky8/Y27bdgTNqo/4KB6t/T80DK mTDt0K8iYEDqoKx8ZC2XAHgaYjyJpjqq6brhmj6AOh0grMEzT0wA5hSX+34G7hLXi7iN T6vBbHNLn4EPjuln68FtmnneG4pDa7mcA3e9xRJYAaEtbcRsvPqo7cEeqw/+0049GArO yPJQ== X-Gm-Message-State: AO0yUKWnUgRBMsbsUECFNRrmrBVq6pR/XIyrUpjkwJCQEV/aA8hmQSUR MLWGW21C6QwJgpkf/pgs+VE= X-Google-Smtp-Source: AK7set+DGT/8VPDWfxiG6y1GwcxAQ1Urr0lYo9vbZXbQn5F803mF8p8/9tw7W5F9iuY6h4/92pNnIg== X-Received: by 2002:a05:600c:5123:b0:3ed:2e65:cf73 with SMTP id o35-20020a05600c512300b003ed2e65cf73mr15309587wms.29.1679161693011; Sat, 18 Mar 2023 10:48:13 -0700 (PDT) Received: from [192.168.0.2] ([85.132.229.92]) by smtp.googlemail.com with ESMTPSA id q13-20020a05600c46cd00b003e1202744f2sm11584174wmo.31.2023.03.18.10.48.11 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 18 Mar 2023 10:48:12 -0700 (PDT) Message-ID: <a16119c7-d1b6-a48d-1a35-f1ef0a6e7fe4@HIDDEN> Date: Sat, 18 Mar 2023 19:48:10 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode Content-Language: en-US To: =?UTF-8?Q?K=c3=a9vin_Le_Gouguec?= <kevin.legouguec@HIDDEN>, Yuan Fu <casouri@HIDDEN> References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <87edpmuz9p.fsf@HIDDEN> From: Dmitry Gutov <dgutov@HIDDEN> In-Reply-To: <87edpmuz9p.fsf@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.9 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN>, theodor thornhill <theo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.9 (-) On 18/03/2023 12:31, Kévin Le Gouguec wrote: > Yuan Fu<casouri@HIDDEN> writes: > >> I tested this on my Emacs session and vanilla session, and both marked to the >> closing bracket. I believe forward-sexp should just work by the syntax >> table. Perhaps it’s your config or something? > FWIW, I tested this on > > * the master branch (where Philip reported the bug): I can reproduce > Philip's results; > > 2023-03-18 "; * lisp/find-dired.el (find-gnu-find-p): Doc fix." > (95d5154feed) > > * emacs-29: things work as you (Yuan) describe. > > 2023-03-18 "; Fix 'make-obsolete-variable' forms" (faee8d50738) > > So maybe something that will get resolved by the next merge? Or > something that has been broken or master. Parse tree based forward-sexp was indeed only added on master.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 17:27:52 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 13:27:52 2023 Received: from localhost ([127.0.0.1]:48980 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdaLP-0001sm-Vt for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 13:27:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdaLN-0001sW-W3 for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 13:27:50 -0400 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 <eliz@HIDDEN>) id 1pdaLH-0004l4-4F; Sat, 18 Mar 2023 13:27:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=PRmNjOURkRK5pUBzjPLK0V0i47AUOxLa5uAxDW2Rvs8=; b=DzCWxlAbBsrSHbzjIrLN m6Bqvb8BTlpsP8Bu/426EA3SIPxdgUOdCRY88+3Q9d8HUvDTlNc892XDXAiC+6YbnESqIGX1/wL4K 2yWWM5J5LqO0ngD5gX5Z/x8cPNaAPK0K6Klu1u/bOv2xxltPgQbjs/SaEWwbOq6mJxgQqQ11tbciw P2wbf+3aVJDDE7CG08gNq/q1VgqWDHIMw9X5Et+Fb9q/vU1xEoL73sJMKUSQRsjNl2tUrcRP8jwgm 3/CnqDI9aG+IJNEP4TZtAUCr0rcbBNdnPyoIywsdIJmDG3ujLP8m98Lk/vwci54DvVRPocwyewpY5 ATgjCz0NGwAQng==; 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 <eliz@HIDDEN>) id 1pdaLG-0001bX-FT; Sat, 18 Mar 2023 13:27:42 -0400 Date: Sat, 18 Mar 2023 19:27:45 +0200 Message-Id: <83fsa2as1a.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Daniel =?iso-8859-1?Q?Mart=EDn?= <mardani29@HIDDEN> In-Reply-To: <m1cz56oxdy.fsf@HIDDEN> (message from Daniel =?iso-8859-1?Q?Mart=EDn?= on Sat, 18 Mar 2023 17:08:25 +0100) Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> <83jzzeb2v6.fsf@HIDDEN> <m1cz56oxdy.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, casouri@HIDDEN, theo@HIDDEN, philipk@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Daniel Martín <mardani29@HIDDEN> > Cc: casouri@HIDDEN, 62238 <at> debbugs.gnu.org, philipk@HIDDEN, > theo@HIDDEN > Date: Sat, 18 Mar 2023 17:08:25 +0100 > > Eli Zaretskii <eliz@HIDDEN> writes: > > > I don't understand how you came to that conclusion. Why would we want > > to use syntax tables when we have a parser at our fingertips? And if > > "the Tree-sitter function is general and should work for every > > language", as you say (and I agree), why should we refrain from using > > it for C? > > Note that basing C-M-x on syntax tables (that is, traditional > forward-sexp) does not completely exclude the use of Tree-sitter, AFAIU. > Here's my thought process: To do its job, C-M-x needs to know about some > code structures such as symbol constituents, strings, comments, and > parenthetical groups. If in some language or future version of C the > syntax is complex enough that getting the syntax class of a character > requires proper parsing, the Tree-sitter major modes can augment the > syntax table to make C-M-x work correctly. See > c-ts-mode--syntax-propertize for an example of how Tree-sitter can > augment a buffer's syntax table, if needed. We have already C mode that uses syntax tables. I think it's useful to try syntactic movement using results of parsing as well, and compare the relative merits and demerits. > > There's a huge advantage of using the same function for all the > > supported languages, because that makes that function better, as it is > > tested in many different situations. > > I agree that using a single function for every language is great for > simplicity and maintainability but, should it handle every movement > command as well? My main concern is that a single function > (treesit--navigate-thing) is now being used not only for every language, > but for every structural movement command. I think that it is difficult > that a single piece of logic can handle all structure movement commands > well. There's a good chance that the code will end up being complex and > difficult to maintain. Instead of deciding up front that it could be a problem, I suggest to try the tree-sitter based way and see how well it works. We can always go back to syntax tables if we decide they will work better for some modes. It makes little sense to me to make such decisions without trying the tree-sitter way and trying it well.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 16:29:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 12:29:28 2023 Received: from localhost ([127.0.0.1]:48939 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdZQu-0000M9-37 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 12:29:28 -0400 Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]:35238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mardani29@HIDDEN>) id 1pdZQr-0000Lo-Rf for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 12:29:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1679156957; bh=sXRQ4HE0LhYmPc4xDcCpyy8/9tmqK5zogvRnUxy9gPU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=jakoZLsohkCWBQD7mBQqWVMjZJJ3z1NqRh4Z2QWdcpkYLtfUjA2E4kDXAwJm1XmZoQWBfv8TGku9+U4VNlzLDvaIkCpVc8oGZiDeEgwT4ZxRqUtwDSvPqNYiSy/MYDMPYa6BZB4tmG6DtEVWymryARIWHtLHpYIUX/QS9WNUkZBFyGaWrCKwMlk9EsJchYAn1eNYZ/uyb1OAmdGV/CeLNRQzCOrQDO8+9EJg6CezD4denJkGKF9WSr22fSHVfBQYpUYIiILBtnzGmGws2qHOcWYkENlK66NECykpMjEUgEtcpITHwaL3x9xDIdnS6XX+0RJfuL5JL2bsbDvI7EHIIQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679156957; bh=vAQoKKS26lAE6O1hL8ZRWCp6P6GksvKx7uCZyoeLLXx=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=W8ARRE04B1/OdlZc5ymNAE7pNHaUE2HKFNjJKmiVflGaCGrY7WCZGJkRsU8NfpFICXMFH8A8mJ8QNTl4cH0n4xksW50S1QCE2mHAFiBik2lnaj7UO8ZVV4gELHj6COlEsj3z5Qe0aaMgxChg/HCCVBt+ssvQWgD8P39k5JcrZmVet+Y9MWzc9cjDHG0b8y5jCkrDGgNZrZFFluiV5DmeeruU8vbGxzs8BLVkn897c/6V2+Eiev0NVtpBBEYGV1i2cv0mnr3mqyVXcMVDP5aN8mvHRKfdLRoQwn1gs1APnmBtAP3bqL0joYp1ZompIHvT+iDYK6JNLKw2A7Amv8WvCQ== X-YMail-OSG: hYwoM30VM1kA9Po0hosRG29HVpvpKUvTujRMDz2KnVit5nsSUVgbBsI3CWP0wDd arrcaVOT_LsuaxYV_kxUKYmpyBelWsB6erIgf.KsMgcHaf_Ox97LTSMr9hIBmxluwwx_C_oF_thY vTXeWVwKzEfb2JFn85F_1H0Tdv3i_oJt9CE.f81jibxZxHUc5w8iYnlBvoAN.puZnyE.N0q8x7qq 9z0UjNduN.U45jpfH3sV4Bg2yUFLcjJWSa3VHnFplVb5Jm26HjOVRdBuwqjzndDrSPPIwXexST8H EqMQKNMtGj1PcSt7zLU308xXQmxBhMvEt7IMEY41H6JRjA8_cTsRjCOtQEJn.h77Bch7LZ5VqPsD IFl_8s9L.c_nR8CZ7hepg09ED90Erkp_it0ISe911TqeHDrLVnclHv9VxSyjh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7Zx0bMlZxYALVdl51WP 1UXac6MBQRxiqQXRD8T_zYpBVP7JMuAxF3nqfoFWRhXalNhHreq8w2PKLR_DEqTCHRo.DGmIapxf 6.5NMaiI6zebx0EutNEUckSd6xeqAcFoLHx3wlk6ZbNS0eozOd4tMN.MOwMK2pdZT9k9FlfmleDg M5S33vYNId2mugmXiBiw5QsNetV1qPIlGxUO9Vr5CR1znyKzkZwEL6ArJ6wz.IQ5ALRvERaHX9Nj nIlDCqwT1mhAxPQ91OSHM5QL6sfCPySPVTnfiWLM5adwXc4L1xLMAYo_rONZ4f4qPRv2tO6N_E_6 tGXPavGJFxw0f8mXWwFOBvV7Zf8jnWTGNrlK0iCy1eaj982vaGz9MHNiMRrlnCog.dIB1SbCrCj2 fgMFJ6TNIx0tZdgM00wy905d9Xxqdm3Dq.KoNHUPcNzBDyRVK3CEbPveQkzoFrA4RyY_wMWJUn.T yIL2KZnuuX8jFea0_IVkJdpj06NE2hNPAvahkaXAi5FTc4R_Uk7.i8piUY.N3KLdpqoGPTMaFtXP 0C7cHGghh9TV4n8vCv_7J7_b25YJqOOO7WJxRrgnPDt4gjfv4nZsDFgksfcXytTEnAUOh6.Bg2G5 AM4KzqMqE5FERYS1lR1Xz4yEE8m0sKhLk_iVe0h6m3LQSytpV76o97q21_ZOjXr5KrWW5vKXGs8Z cXsVarIOOfI3bdBRc5VRYflTUaNz8sFGZtpOZ_QqkdXwX0A6FZoKdruja.3UuIbapshdcurUM5TR D5D37OBevzN6KbpEqQylNhrYfrCJEojxkuj89_jbORnd8 X-Sonic-MF: <mardani29@HIDDEN> X-Sonic-ID: 2ec489b3-aee6-490a-b0fc-b0150f9694cf Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Sat, 18 Mar 2023 16:29:17 +0000 Received: by hermes--production-ir2-5b7d458747-98jzr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6cfa8349ec6727d29e0cf6859a25515a; Sat, 18 Mar 2023 16:29:15 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN> To: Daniel =?utf-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> <83jzzeb2v6.fsf@HIDDEN> <m1cz56oxdy.fsf@HIDDEN> Date: Sat, 18 Mar 2023 17:29:14 +0100 In-Reply-To: <m1cz56oxdy.fsf@HIDDEN> ("Daniel =?utf-8?Q?Mart=C3=ADn?= via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Sat, 18 Mar 2023 17:08:25 +0100") Message-ID: <m1edpmnhut.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.21311 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 839 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, philipk@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, theo@HIDDEN, casouri@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Daniel Mart=C3=ADn via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > > Note that basing C-M-x on syntax tables (that is, traditional > forward-sexp) does not completely exclude the use of Tree-sitter, AFAIU. > Here's my thought process: To do its job, C-M-x needs to know about some > code structures such as symbol constituents, strings, comments, and > parenthetical groups. If in some language or future version of C the > syntax is complex enough that getting the syntax class of a character > requires proper parsing, the Tree-sitter major modes can augment the > syntax table to make C-M-x work correctly. See > c-ts-mode--syntax-propertize for an example of how Tree-sitter can > augment a buffer's syntax table, if needed. Typo: Where I said C-M-x, I meant C-M-f or C-M-b.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 18 Mar 2023 16:29:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 12:29:32 2023 Received: from localhost ([127.0.0.1]:48941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdZQy-0000MK-FX for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 12:29:32 -0400 Received: from lists.gnu.org ([209.51.188.17]:46450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mardani29@HIDDEN>) id 1pdZQt-0000Lw-1y for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 12:29:27 -0400 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 <mardani29@HIDDEN>) id 1pdZQq-0000wZ-EA for bug-gnu-emacs@HIDDEN; Sat, 18 Mar 2023 12:29:25 -0400 Received: from sonic307-54.consmr.mail.ir2.yahoo.com ([87.248.110.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <mardani29@HIDDEN>) id 1pdZQn-0003GW-R4 for bug-gnu-emacs@HIDDEN; Sat, 18 Mar 2023 12:29:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1679156957; bh=sXRQ4HE0LhYmPc4xDcCpyy8/9tmqK5zogvRnUxy9gPU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=jakoZLsohkCWBQD7mBQqWVMjZJJ3z1NqRh4Z2QWdcpkYLtfUjA2E4kDXAwJm1XmZoQWBfv8TGku9+U4VNlzLDvaIkCpVc8oGZiDeEgwT4ZxRqUtwDSvPqNYiSy/MYDMPYa6BZB4tmG6DtEVWymryARIWHtLHpYIUX/QS9WNUkZBFyGaWrCKwMlk9EsJchYAn1eNYZ/uyb1OAmdGV/CeLNRQzCOrQDO8+9EJg6CezD4denJkGKF9WSr22fSHVfBQYpUYIiILBtnzGmGws2qHOcWYkENlK66NECykpMjEUgEtcpITHwaL3x9xDIdnS6XX+0RJfuL5JL2bsbDvI7EHIIQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679156957; bh=vAQoKKS26lAE6O1hL8ZRWCp6P6GksvKx7uCZyoeLLXx=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=W8ARRE04B1/OdlZc5ymNAE7pNHaUE2HKFNjJKmiVflGaCGrY7WCZGJkRsU8NfpFICXMFH8A8mJ8QNTl4cH0n4xksW50S1QCE2mHAFiBik2lnaj7UO8ZVV4gELHj6COlEsj3z5Qe0aaMgxChg/HCCVBt+ssvQWgD8P39k5JcrZmVet+Y9MWzc9cjDH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.T yIL2KZnuuX8jFea0_IVkJdpj06NE2hNPAvahkaXAi5FTc4R_Uk7.i8piUY.N3KLdpqoGPTMaFtXP 0C7cHGghh9TV4n8vCv_7J7_b25YJqOOO7WJxRrgnPDt4gjfv4nZsDFgksfcXytTEnAUOh6.Bg2G5 AM4KzqMqE5FERYS1lR1Xz4yEE8m0sKhLk_iVe0h6m3LQSytpV76o97q21_ZOjXr5KrWW5vKXGs8Z cXsVarIOOfI3bdBRc5VRYflTUaNz8sFGZtpOZ_QqkdXwX0A6FZoKdruja.3UuIbapshdcurUM5TR D5D37OBevzN6KbpEqQylNhrYfrCJEojxkuj89_jbORnd8 X-Sonic-MF: <mardani29@HIDDEN> X-Sonic-ID: 2ec489b3-aee6-490a-b0fc-b0150f9694cf Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ir2.yahoo.com with HTTP; Sat, 18 Mar 2023 16:29:17 +0000 Received: by hermes--production-ir2-5b7d458747-98jzr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6cfa8349ec6727d29e0cf6859a25515a; Sat, 18 Mar 2023 16:29:15 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN> To: Daniel =?utf-8?Q?Mart=C3=ADn?= via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> <83jzzeb2v6.fsf@HIDDEN> <m1cz56oxdy.fsf@HIDDEN> Date: Sat, 18 Mar 2023 17:29:14 +0100 In-Reply-To: <m1cz56oxdy.fsf@HIDDEN> ("Daniel =?utf-8?Q?Mart=C3=ADn?= via \"Bug reports for GNU Emacs, the Swiss army knife of text editors\""'s message of "Sat, 18 Mar 2023 17:08:25 +0100") Message-ID: <m1edpmnhut.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.21311 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 839 Received-SPF: pass client-ip=87.248.110.31; envelope-from=mardani29@HIDDEN; helo=sonic307-54.consmr.mail.ir2.yahoo.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: 62238 <at> debbugs.gnu.org, philipk@HIDDEN, Eli Zaretskii <eliz@HIDDEN>, theo@HIDDEN, casouri@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.4 (--) Daniel Mart=C3=ADn via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> writes: > > Note that basing C-M-x on syntax tables (that is, traditional > forward-sexp) does not completely exclude the use of Tree-sitter, AFAIU. > Here's my thought process: To do its job, C-M-x needs to know about some > code structures such as symbol constituents, strings, comments, and > parenthetical groups. If in some language or future version of C the > syntax is complex enough that getting the syntax class of a character > requires proper parsing, the Tree-sitter major modes can augment the > syntax table to make C-M-x work correctly. See > c-ts-mode--syntax-propertize for an example of how Tree-sitter can > augment a buffer's syntax table, if needed. Typo: Where I said C-M-x, I meant C-M-f or C-M-b.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 16:08:39 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 12:08:39 2023 Received: from localhost ([127.0.0.1]:48924 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdZ6l-0008Fo-Bo for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 12:08:39 -0400 Received: from sonic309-25.consmr.mail.ir2.yahoo.com ([77.238.179.83]:42957) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mardani29@HIDDEN>) id 1pdZ6i-0008FW-Pe for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 12:08:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1679155711; bh=dfJntqAMoi7ySII711kivju6DIfJASXXIi26/++lFi8=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=GSXW7brfW7d9HGJ34fhI0rgKARDt3Xo+qPG067rFhsqTJvKBmx7TRu/NHDFp30sWLe0FV4Y7DD3OhbPqay/Mr5f2PPTmgxDtqXxWU+jzX+SoxXBrn3EFHOwv7nmlpIxl5/5GGemuPw/jFC0sCdjZNhppKQJvTAdnZrAW5kNhtZ12GAOTzUjvp/dZOSl56EvH7p8Bz43uFUvhpS/VigQW04e6d6lHqqIfwC4KncyRrtlFnnMmFC/T4l8o3shfu8d6J7yOnqXh1TE+/vao6cYESVcfWyOfAdAN+6QCbb529cVp0y+LBfld9pC+Qinvs6uP2P702ecR2hJeMaX4e4ujjw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679155711; bh=FmxaOhJSy2NzrlhdGegXDByw+53lmAzdvdgTynPStOR=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=GBdqjwT0GR8XhGcgbSyaMcAlrYxGFH1pkcH/P755XVDj9gK8kAXG+9IFZnsBL+9j8RLXwr0O9th8xMwp1ZQADoSR1nrbHv4Lee1O6FSfjSbr2CwKuS8pnxmQJrI4wbiIb5X9rwDyhSqnvFLdadmugNIubbCok72M6LW2m3fL/pH412ncY5e92xqCa0RoJzbFv6tEKLcpQZYImw3d+Nw2OcvBGT/p5EsoE8SX4clR0HdKBOEbClEJJ/mdllG5wI2s56KzrBBKgu8RVbsE4Tnw2wzh7mw5G7MBy5rCIYvpitGXgoFlTwsR65Jx3PJiyO6rBbyB237KQm+KjLJ9rfNZ1w== X-YMail-OSG: kNWI5JgVM1kPkFbiB8hQDizzUU3XUVUNhgWZ2H2MD8iBGuUrHUovF_9FNuqNDZv 2s_0mZrtbl_dnsG507W1wF3oHbHj4QoH1yK9Anfc0x6pz8m8DVjP01aA.a7nu24wwJsDuMjxH8h9 KYoWB4TVwzUJN9L7IJC8iDDrGrGX9nEk_h9RjUgV2wzc3TvtAT4DGAIGG_sK6GWIZ3Xx8Hs0je1A E93WEhkYWry8xoivxKCIcikJwL.nlxagHWTSfZamlL8G8E6qlGICiQRMbsvn18TTG58FgP7pkotD s5TUzNHSLuMePQnXOrZBdXwzQOANWEEUSXbz8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lxGnQTgeeasqml.h08RW5iDLI9pk2DJ.PCgCWFK JIjQ_3Hm3ROBl8t48PqEB6k54ePUlRXvrZe7dl6eHe_slheQvOyPGRjn_MBrUJqeXaZr13gP9BrF Pn5S.ZrXLlVrAt5Wt153pMwbCwbFMUBXTjcb3QktYpMw7xV35EiblhIz06CT7DBnJVmk9aCVwsTo iG_BiEbNeKmTfoWY69p.4WQXQG2t9DYMUZT7UIXPFMUZexXWnvfTtvgrPT41vlNQ1WStazmf3zmx VASIZLOdshxkb1c0N.ol09f8eCzlShCQIolAY0OaJLixvGZSGtvbitwpWmoNfHRvSGfuNnyzmxGc iV.LEoia9Niyyt.oAaNLkAug8uHl0d4w7_kxZ6KiOkpJBpogtlyCqy7Uzj1P3tbANJlh7Arix3ey 2_q9YFTRKGU5qXSPI0Ow0H5gJhFdmMXONL7_yP9wFBZgKXbpa62.rUWQ6r1YQk89cXCRN7XjZVi1 HeUz0iVaYSsifDW50CeOSXZb1Bp9oV6P25zz8FsHUhoCAcoik.ASd5tO3AoI2J07kazFURSX1M1b OJce7NLKZQBZTUHixvTtLtDOmRIAzp9Mkt_Jkv_LZvQ7YKjZEsO85WgaUaHkvJURWOfa8Enm.ux1 ZWewiacnBlUKBaudTMHl_GJQGIOHeuBwL14dDX3tpxmU1NuG2hMirbkCoF208A73C5faL0KVW_BV lvixj2LExTv1_DnCEfJAts.7qySGQz.OUAsv7QXHHqGMoIjdAVvEO8JJJ5JhrzWK2SWGBWvp4Kbs wL8zK2Vs.DdtAdLIYgPCyAQHzqdg8K_rLL7RwJBGxo2gXg1YK85RlWW586vgZOAPokM0XTGrdhpi Gw6HOMi0xTLQrdp1nyzPSxPsGIgbvdCwGcbbOOMZjDhB0hEk- X-Sonic-MF: <mardani29@HIDDEN> X-Sonic-ID: 41229455-fe1b-4b4e-b8e5-0d4dd76709a5 Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Sat, 18 Mar 2023 16:08:31 +0000 Received: by hermes--production-ir2-5b7d458747-d7m6v (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID a804be4e6c3bee325c0c98bf7324f03e; Sat, 18 Mar 2023 16:08:27 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN> Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> <83jzzeb2v6.fsf@HIDDEN> Date: Sat, 18 Mar 2023 17:08:25 +0100 In-Reply-To: <83jzzeb2v6.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 18 Mar 2023 15:33:49 +0200") Message-ID: <m1cz56oxdy.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Mailer: WebService/1.1.21311 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 2358 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, casouri@HIDDEN, theo@HIDDEN, philipk@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Eli Zaretskii <eliz@HIDDEN> writes: >> >> I see in treesit.el that we set forward-sexp-function to >> treesit-forward-sexp when treesit-sexp-type-regexp is set by the major >> mode. For languages with simple grammars, like C, I think that the >> current approach that uses the syntax table is simpler and less prone to >> errors, because the Tree-sitter function is general and should work for >> every language. I'd suggest we don't define treesit-sexp-type-regexp in >> c-ts-mode, at least for C. > > I don't understand how you came to that conclusion. Why would we want > to use syntax tables when we have a parser at our fingertips? And if > "the Tree-sitter function is general and should work for every > language", as you say (and I agree), why should we refrain from using > it for C? Note that basing C-M-x on syntax tables (that is, traditional forward-sexp) does not completely exclude the use of Tree-sitter, AFAIU. Here's my thought process: To do its job, C-M-x needs to know about some code structures such as symbol constituents, strings, comments, and parenthetical groups. If in some language or future version of C the syntax is complex enough that getting the syntax class of a character requires proper parsing, the Tree-sitter major modes can augment the syntax table to make C-M-x work correctly. See c-ts-mode--syntax-propertize for an example of how Tree-sitter can augment a buffer's syntax table, if needed. > >> For languages like TypeScript, whose grammar is more complex, perhaps >> forward-sexp does not work very well and using Tree-sitter to implement >> it gives better results with code that is simpler to understand. > > There's a huge advantage of using the same function for all the > supported languages, because that makes that function better, as it is > tested in many different situations. > I agree that using a single function for every language is great for simplicity and maintainability but, should it handle every movement command as well? My main concern is that a single function (treesit--navigate-thing) is now being used not only for every language, but for every structural movement command. I think that it is difficult that a single piece of logic can handle all structure movement commands well. There's a good chance that the code will end up being complex and difficult to maintain.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 13:42:03 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 09:42:03 2023 Received: from localhost ([127.0.0.1]:46677 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdWos-0003j6-R1 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 09:42:03 -0400 Received: from out-51.mta0.migadu.com ([91.218.175.51]:24504) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <theo@HIDDEN>) id 1pdWoq-0003ig-KP for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 09:42:01 -0400 Date: Sat, 18 Mar 2023 14:41:57 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1679146919; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=6OgW93C0Yy1AHFaWEFGJhsXuWj8dZbtB0Qrv0HH8gkk=; b=v9u8eyyOwVRy642pqYp3D/5XVDNJSKlTErJHaYuC87cbcEwAN4N/rakCGdnPS3yViECPXc r+YAgQxNmLxPEC+/MuWDbafCIP0DEamEU19UVLCrBWAZ+jEQXBq4jqXkFKbdWHetMtPwp3 40iOfzWr9X5pw9c5nn3mSbem2ljlozuiv4UxfrxXtgw/OtV87TFOsJ5ZY6b0FlcnWF1vhm QjmsDVCO0WM+couS4Vp9B4GlBWQzAdaUQOtMJ6eHrHMRFRqtvgWLSmHhT8NczByBGC8/Ce iOgjXzyiadhXNX32/sOsnT0cH8kewcVt30iQoEZjhA0uPLLiK0B+mtvPFgj49A== X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. From: Theodor Thornhill <theo@HIDDEN> To: Eli Zaretskii <eliz@HIDDEN>, =?ISO-8859-1?Q?Daniel_Mart=EDn?= <mardani29@HIDDEN> Subject: =?US-ASCII?Q?Re=3A_bug=2362238=3A_30=2E0=2E50=3B_Unusual_interpr?= =?US-ASCII?Q?etation_of_=22S-expressions=22_in_c-ts-mode?= In-Reply-To: <83jzzeb2v6.fsf@HIDDEN> References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> <83jzzeb2v6.fsf@HIDDEN> Message-ID: <326C7C12-5A17-473D-88C8-7C6F7B75AE52@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, casouri@HIDDEN, philipk@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 18 March 2023 14:33:49 CET, Eli Zaretskii <eliz@gnu=2Eorg> wrote: >> Cc: 62238@debbugs=2Egnu=2Eorg, Philip Kaludercic <philipk@posteo=2Enet>= , >> theodor thornhill <theo@thornhill=2Eno> >> Date: Sat, 18 Mar 2023 13:11:15 +0100 >> From: Daniel Mart=C3=ADn via "Bug reports for GNU Emacs, >> the Swiss army knife of text editors" <bug-gnu-emacs@gnu=2Eorg> >>=20 >> > You need to enable c-ts-mode first, which redirects >> > forward-sexp-function to treesit-forward-sexp=2E >>=20 >> I see in treesit=2Eel that we set forward-sexp-function to >> treesit-forward-sexp when treesit-sexp-type-regexp is set by the major >> mode=2E For languages with simple grammars, like C, I think that the >> current approach that uses the syntax table is simpler and less prone t= o >> errors, because the Tree-sitter function is general and should work for >> every language=2E I'd suggest we don't define treesit-sexp-type-regexp= in >> c-ts-mode, at least for C=2E > >I don't understand how you came to that conclusion=2E Why would we want >to use syntax tables when we have a parser at our fingertips? And if >"the Tree-sitter function is general and should work for every >language", as you say (and I agree), why should we refrain from using >it for C? > >> For languages like TypeScript, whose grammar is more complex, perhaps >> forward-sexp does not work very well and using Tree-sitter to implement >> it gives better results with code that is simpler to understand=2E > >There's a huge advantage of using the same function for all the >supported languages, because that makes that function better, as it is >tested in many different situations=2E > >So I don't think I agree with you here, not at all=2E Yeah but I need some more time, or at least some patches to look at :) Theo
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 13:33:55 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 09:33:55 2023 Received: from localhost ([127.0.0.1]:46668 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdWh1-0003X0-F3 for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 09:33:55 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57996) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1pdWgz-0003Wl-Ew for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 09:33:54 -0400 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 <eliz@HIDDEN>) id 1pdWgt-0003HQ-LZ; Sat, 18 Mar 2023 09:33:47 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OXHikaQT9l4H4z064cGoTEYoZgEDzXZd79/ZKaGxdmI=; b=H2Jdt5EijqTnCW1pf9Ld xdMOifkUBiap1wY13oRAflwwkpd/Fa8v7fPtplqbethZgLsO5/ly/76Pl4HYc/4cTubtbmnelkugU K8bdACyriNiRsAtnvQztls9mB1PYfniT/SvTgxhk6o9pk9InQWxLOBq4BWoJAQllc2clcrZyCA065 YrcUrqw3LEA/INrrj8btDnujmrD5xc6OD1OhTPWa5Fmj62JjbrhsHupTeNJ6SP7U0ZXhLVl6DynTL EB5+LgqHK5e/RL/RN3xDIBKjju72VkKUJpi4h2R2j+mkN1h58T/f7KrueP0oown1gwJ6gn6PNZqa0 a8U9938QW1vj9w==; 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 <eliz@HIDDEN>) id 1pdWgr-0002vX-Ft; Sat, 18 Mar 2023 09:33:46 -0400 Date: Sat, 18 Mar 2023 15:33:49 +0200 Message-Id: <83jzzeb2v6.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Daniel =?utf-8?Q?Mart=C3=ADn?= <mardani29@HIDDEN> In-Reply-To: <m15yays1i4.fsf@HIDDEN> (bug-gnu-emacs@HIDDEN) Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, casouri@HIDDEN, theo@HIDDEN, philipk@HIDDEN X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > Cc: 62238 <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN>, > theodor thornhill <theo@HIDDEN> > Date: Sat, 18 Mar 2023 13:11:15 +0100 > From: Daniel MartÃn via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" <bug-gnu-emacs@HIDDEN> > > > You need to enable c-ts-mode first, which redirects > > forward-sexp-function to treesit-forward-sexp. > > I see in treesit.el that we set forward-sexp-function to > treesit-forward-sexp when treesit-sexp-type-regexp is set by the major > mode. For languages with simple grammars, like C, I think that the > current approach that uses the syntax table is simpler and less prone to > errors, because the Tree-sitter function is general and should work for > every language. I'd suggest we don't define treesit-sexp-type-regexp in > c-ts-mode, at least for C. I don't understand how you came to that conclusion. Why would we want to use syntax tables when we have a parser at our fingertips? And if "the Tree-sitter function is general and should work for every language", as you say (and I agree), why should we refrain from using it for C? > For languages like TypeScript, whose grammar is more complex, perhaps > forward-sexp does not work very well and using Tree-sitter to implement > it gives better results with code that is simpler to understand. There's a huge advantage of using the same function for all the supported languages, because that makes that function better, as it is tested in many different situations. So I don't think I agree with you here, not at all.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 13:32:59 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 09:32:59 2023 Received: from localhost ([127.0.0.1]:46663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdWg6-0003VY-ST for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 09:32:59 -0400 Received: from out-42.mta1.migadu.com ([95.215.58.42]:10754) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <theo@HIDDEN>) id 1pdWg4-0003VP-9a for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 09:32:57 -0400 Date: Sat, 18 Mar 2023 14:32:51 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1679146373; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3HHHfCKs/jKwKzdYBVIcrIVGCShh8+1cJZiNbAZX2TE=; b=b1yWPk3J3x4pKLlOTLtLh+r2fIBib+hmispmIKzlowjTDe6etOO1jP0G3VwanMX5ElZ00/ mZuwUStW/AGlFwnAyFKN3fQhIlJF4MJijrk3WssZnsUhc9bmocP2dhTKj7S0nQ5QsCpLUu I5y8o4uvOLwDJvMsfH96tscSF73qGtO7qO/Klf+ZXrijc2cvUz/dDgt57MSwx9ggg/73ZG GGgesQk6P0Jrq4RXGPOEkHNuGby20KexJC/JFgv4pShbKNBAQmJMFfEiHeRnCPJil8okIX nsA/ovQ4mZJvlyDJAIwiaXn5CfGdcIk1Mo/8lWIoAFF7c0uEWgb5dTChgdeAAw== X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. From: Theodor Thornhill <theo@HIDDEN> To: =?ISO-8859-1?Q?Daniel_Mart=EDn?= <mardani29@HIDDEN>, Yuan Fu <casouri@HIDDEN> Subject: =?US-ASCII?Q?Re=3A_bug=2362238=3A_30=2E0=2E50=3B_Unusual_interpr?= =?US-ASCII?Q?etation_of_=22S-expressions=22_in_c-ts-mode?= In-Reply-To: <m15yays1i4.fsf@HIDDEN> References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> <m15yays1i4.fsf@HIDDEN> Message-ID: <D2972437-FC21-481D-A8FE-110DF418CE7A@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 18 March 2023 13:11:15 CET, "Daniel Mart=C3=ADn" <mardani29@yahoo=2Ees>= wrote: >Daniel Mart=C3=ADn <mardani29@yahoo=2Ees> writes: > >> Yuan Fu <casouri@gmail=2Ecom> writes: >> >>> >>> I tested this on my Emacs session and vanilla session, and both marked >>> to the closing bracket=2E I believe forward-sexp should just work by t= he >>> syntax table=2E Perhaps it=E2=80=99s your config or something? >>> >> >> You need to enable c-ts-mode first, which redirects >> forward-sexp-function to treesit-forward-sexp=2E > >I see in treesit=2Eel that we set forward-sexp-function to >treesit-forward-sexp when treesit-sexp-type-regexp is set by the major >mode=2E For languages with simple grammars, like C, I think that the >current approach that uses the syntax table is simpler and less prone to >errors, because the Tree-sitter function is general and should work for >every language=2E I'd suggest we don't define treesit-sexp-type-regexp i= n >c-ts-mode, at least for C=2E > >For languages like TypeScript, whose grammar is more complex, perhaps >forward-sexp does not work very well and using Tree-sitter to implement >it gives better results with code that is simpler to understand=2E > >Thanks=2E I tend to agree=2E I think it works pretty well with java for instance, bu= t I'm struggling with the compound_statement node in the c grammar=2E If too much of an annoyance, I'm ok with not defining this for c, but mayb= e someone that writes more c than me can have a go at defining nodes that m= akes sense? Theo
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 12:11:32 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 08:11:32 2023 Received: from localhost ([127.0.0.1]:46471 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdVPI-0001Ls-Eb for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 08:11:32 -0400 Received: from sonic301-21.consmr.mail.ir2.yahoo.com ([77.238.176.98]:41135) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mardani29@HIDDEN>) id 1pdVPF-0001Ld-Nt for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 08:11:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1679141481; bh=IfjpucQohfnXxzTeuESVZbVgeqbl4UTfy2eOXf/2H2U=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=pXVvfEpb+UX/s3iKOTGBtyIB86v3z/SZc155XPmRY7FustbHnZgaoQlFxplnExQH4qrC8bA5DrRNnRQJEhYrTrda3oZ6qaQHeXdBHgMfJ7Lc5YxRechmY63yln5BTTYgxBiAesfO0Xt0qCMtqJIFjHLSwKejPcUgHv+R/0LSkb75fQq9o2RTlKRGKs3vMzpS4l/PA1Uigvq0DTH3qsRW+YdvkpK1ls24PQ2LLkug79sOSjOT/SzzekMnQXkVbEc9fRbuB8Vp09rcusKP/qeu4wpRRTvOOLLIOgGCG6aaYFrsINWfnnvbNSX5UlcFU1MDduDWHZjxqaMH0bRppEgXJg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679141481; bh=ww1108trP89/A9AevvO4qqg+O8JEoyz07nLhGKLN2Dz=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=aI72WV2MLuu9vLz/qpJIcaKjskTEwwd6YBJAbl6PVOAmbWFjMmUesb0RABfPyc1NE7sZERQ9yxDw3mc5SJtzgJHDT+y/G6TFlOFX5myqK7KIghZb7XY9jDlccZCI+8FkllQC34JdJvn721sc6/U7M/IVrYloULJjEQltdwea120iH69sshKc7NpusGCH64Acl6nFBhcyaaZOv9ATDfE45eX6px8NdYRRnYzu8Y0b9n781ehGm5Cjyt6/OjQzo5OanhUxkyz9ZET0urnc6tMjRK02gInydzsCcEWoxqC72ZTopDip6Ck7ykMfW5k2brzXF8/rMcMfh/betfntNA5Qgg== X-YMail-OSG: o3yXTyMVM1kp7zthF1DtA40UmBlSXwpVthYJSaHQ1bDTVOfyTZlOdeMpLeqhfCf wcFMytIJZV_HM04.qOrjlk8_hNNTWyV7hNyb9oQ1aT1mBKeioQCVixVjG9mX05AtpwcksCGNtZD6 Ro8qV7OJt_v5SZ9yFjpl8Zlr3QQyqsIepAUOU5q3v7dwgDxq5JF9TZw3s9xo8W9u3erEtsD0gNHQ ikwdATJ9fzpzD9L6p40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31184 Received: from sonic.gate.mail.ne1.yahoo.com by sonic301.consmr.mail.ir2.yahoo.com with HTTP; Sat, 18 Mar 2023 12:11:21 +0000 Received: by hermes--production-ir2-5b7d458747-lqssg (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID f1e1c915e86209d029182a16e0095e86; Sat, 18 Mar 2023 12:11:17 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN> To: Yuan Fu <casouri@HIDDEN> Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> <m13562tkrg.fsf@HIDDEN> Date: Sat, 18 Mar 2023 13:11:15 +0100 In-Reply-To: <m13562tkrg.fsf@HIDDEN> ("Daniel =?utf-8?Q?Mart=C3=ADn=22's?= message of "Sat, 18 Mar 2023 11:29:55 +0100") Message-ID: <m15yays1i4.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.21311 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 1071 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN>, theodor thornhill <theo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Daniel Mart=C3=ADn <mardani29@HIDDEN> writes: > Yuan Fu <casouri@HIDDEN> writes: > >> >> I tested this on my Emacs session and vanilla session, and both marked >> to the closing bracket. I believe forward-sexp should just work by the >> syntax table. Perhaps it=E2=80=99s your config or something? >> > > You need to enable c-ts-mode first, which redirects > forward-sexp-function to treesit-forward-sexp. I see in treesit.el that we set forward-sexp-function to treesit-forward-sexp when treesit-sexp-type-regexp is set by the major mode. For languages with simple grammars, like C, I think that the current approach that uses the syntax table is simpler and less prone to errors, because the Tree-sitter function is general and should work for every language. I'd suggest we don't define treesit-sexp-type-regexp in c-ts-mode, at least for C. For languages like TypeScript, whose grammar is more complex, perhaps forward-sexp does not work very well and using Tree-sitter to implement it gives better results with code that is simpler to understand. Thanks.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 10:31:25 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 06:31:25 2023 Received: from localhost ([127.0.0.1]:46341 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdTqO-0002OO-Ey for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 06:31:24 -0400 Received: from mail-wr1-f53.google.com ([209.85.221.53]:44974) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <kevin.legouguec@HIDDEN>) id 1pdTqM-0002OA-Aq for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 06:31:22 -0400 Received: by mail-wr1-f53.google.com with SMTP id p4so6399341wre.11 for <62238 <at> debbugs.gnu.org>; Sat, 18 Mar 2023 03:31:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679135476; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=WJP/xCFTUWzpKx6RHC0PZNJJ4tcy9/2fmV50r5RxqeI=; b=CAYPGBbxqRWF7Ix+/osXlpxxgtwgTsLW3hDAlib7kjmZK7mq4P/KsZao5JJyTcNwYz 2ILMJgEtChW02XDg0B8XwlEnmdT826kEs1EZ2GH5nl1trqcWsM43IwB1ke5VvgVVyQvK c1e++G7yy90M7I9OGiwpuKjk7rH7rkkR3OGWzVG6jl7jQjF0PWFJGYHIMQaRx2eAChMp FI3iS618lCzz2OPcxGSKSBxzv84nWhzUWquCJbMOdGKkj3liU2FS3NVgQjeKatdjH8GJ fJXs9TheGkqI3lW2dRqOpBtAx1osOW6L/bjNrvcSpHk9E+H5EEYnIG83KlFAbY0Jtckv WlBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679135476; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=WJP/xCFTUWzpKx6RHC0PZNJJ4tcy9/2fmV50r5RxqeI=; b=GP5qfjiik+LSZdC8z+XPvQytE1TtKfzgjTj4P+RHPdXQZP0df06g5NitSKuLMPsh4X dfhT8jVcCzsk3nhsnZYsX+yx0GtXuJ4Zx63dJgg3qCgBtmN+vIaLrE9VxCm5eMDAq3GF WWjxQu/g8f0WLksGqzc0UnZYHZ8E6Fcm9NdDiVDcGXyiUCu8cGTcy2YEttpbVy73P9zM u9EeYjtdEK7pVTg7s8Qzsbb+IZN+VZHnntSc6u+PPbi4rhuLhFmbkYlp1IJfzvAkZeF7 i9GtbSDQJxawxk7Z8sp7rAdX+Kpg9AaQcmbOw63Fni9Y8Q5rqBxA2ou5hd+ebyUkvZuU MZqg== X-Gm-Message-State: AO0yUKXoGfSIdzeq/8mAHNDQnxPBl+73LgkwNEonriADDMuxM+qg0/8G 4qvQtAATqcnkHsHWZYeQGro= X-Google-Smtp-Source: AK7set/nEoJLO49Li6T+5cVZ03HWRRVCSM2hT18ln94T3/I9Ufvu2qW/gZp/6UAJ4AGPwdNNPs2CFQ== X-Received: by 2002:adf:e842:0:b0:2cf:e3c7:5975 with SMTP id d2-20020adfe842000000b002cfe3c75975mr4619374wrn.34.1679135476260; Sat, 18 Mar 2023 03:31:16 -0700 (PDT) Received: from amdahl30 ([2a01:e0a:253:fe0:2ef0:5dff:fed2:7b49]) by smtp.gmail.com with ESMTPSA id d6-20020a5d6dc6000000b002c53f6c7599sm4001431wrz.29.2023.03.18.03.31.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 18 Mar 2023 03:31:15 -0700 (PDT) From: =?utf-8?Q?K=C3=A9vin_Le_Gouguec?= <kevin.legouguec@HIDDEN> To: Yuan Fu <casouri@HIDDEN> Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode In-Reply-To: <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> (Yuan Fu's message of "Sat, 18 Mar 2023 01:00:16 -0700") References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> Date: Sat, 18 Mar 2023 11:31:14 +0100 Message-ID: <87edpmuz9p.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN>, theodor thornhill <theo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Yuan Fu <casouri@HIDDEN> writes: > I tested this on my Emacs session and vanilla session, and both marked to= the > closing bracket. I believe forward-sexp should just work by the syntax > table. Perhaps it=E2=80=99s your config or something? FWIW, I tested this on * the master branch (where Philip reported the bug): I can reproduce Philip's results; 2023-03-18 "; * lisp/find-dired.el (find-gnu-find-p): Doc fix." (95d5154feed) * emacs-29: things work as you (Yuan) describe. 2023-03-18 "; Fix 'make-obsolete-variable' forms" (faee8d50738) So maybe something that will get resolved by the next merge? Or something that has been broken or master.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 10:30:07 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 06:30:07 2023 Received: from localhost ([127.0.0.1]:46337 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdTp8-0002L9-Ua for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 06:30:07 -0400 Received: from sonic313-20.consmr.mail.ir2.yahoo.com ([77.238.179.187]:33672) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <mardani29@HIDDEN>) id 1pdTp7-0002K9-UH for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 06:30:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.es; s=s2048; t=1679135399; bh=TNm+0/G7HN5lTh0UbTX0hthYLGs0oXqqshwm2xUj+xY=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From:Subject:Reply-To; b=QtEOIDtSvFdy/8I1bjDYJjVdC+Y7QABgzh/rkdVJbaHXpUrFC+X4rBKlU9KiEHG6Fhy+rDBo30rL+5JUeOSWm+MQ/ei4hNbxKXFDGLLv2hOO5X4E3D8vEItjlKqyeHJTpp3jZbqrmUX90F4j9yLdbVDeUPgBRpmTGtlZd0mCI3dHco/vI8lO6wjyZVbxNPmgbftTZzfe9dNF+UG7vE86orDQuPjR9ICP6mrO83WBDXtq9TaZuBoPUukKWHgW+2P3qcL/ma1L6NnVS0L964wc7Mj2xdRggf52mFftsF+NX5D+mgpWWgyIkUy1aFkY+Ls23H8wlYdtIxkHjXMFXNYBXw== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1679135399; bh=Cx4lJmgFeQrAqcyrfKT1rVUNToaMwINZC/eZeJ2RKeX=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=HUfgHN92Ho76rXJvZi5LHSlOikyZsGRNFPR1AGkCjYBUhs19PsrVVaxe4lcuiLPpzyTt+OI79rq3YSUn2caRnS0tSpixfC8AmMuUSIPATh0z8pjaek84pI/glPjmM8ZL2LwN3Nw7mk50efxhUTs3b5xEtEXH+wVWBAUdEZ3Wb6Kk4bdQiKkPs3QH1N2K83J7ykj80Js5GawMSdmZcUDIlSwvZZgaULOAlnT/3mWr1doAvWzaiHyfIJJ1tU0jAWtjfxzzJpZw9l4vcoJD0ugNblQWEConHRroaRcfoMbzKtq0Jtl4/GRBI9eqyQMYDXMcySB4B6Bv0ifmu4cmffF5+w== X-YMail-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jFytUxql3hLnBdGBxtORzQV5KnWlWwHVGS69RQQN1DGgIWLTrIe4x QRxg1czWQa4zJP3MAvWD8btJ7xmKrdufvZiUVXjxYNcvU6p1EvaMhWFXnJ_2SUSvMiPwH0mWFitV VJRb_tnxHG0I5h.YECK0zBt_.mrSdtFrBP5S2QLQ_YJY_KMo- X-Sonic-MF: <mardani29@HIDDEN> X-Sonic-ID: 0ee53658-0338-4b86-8fd7-5e544e6574ab Received: from sonic.gate.mail.ne1.yahoo.com by sonic313.consmr.mail.ir2.yahoo.com with HTTP; Sat, 18 Mar 2023 10:29:59 +0000 Received: by hermes--production-ir2-5b7d458747-98jzr (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c20998e8739eb9c0704057bfb0a687c0; Sat, 18 Mar 2023 10:29:56 +0000 (UTC) From: =?utf-8?Q?Daniel_Mart=C3=ADn?= <mardani29@HIDDEN> To: Yuan Fu <casouri@HIDDEN> Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode References: <87ilezg0wo.fsf@HIDDEN> <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> Date: Sat, 18 Mar 2023 11:29:55 +0100 In-Reply-To: <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> (Yuan Fu's message of "Sat, 18 Mar 2023 01:00:16 -0700") Message-ID: <m13562tkrg.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Mailer: WebService/1.1.21311 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Content-Length: 350 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN>, theodor thornhill <theo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.7 (/) Yuan Fu <casouri@HIDDEN> writes: > > I tested this on my Emacs session and vanilla session, and both marked > to the closing bracket. I believe forward-sexp should just work by the > syntax table. Perhaps it=E2=80=99s your config or something? > You need to enable c-ts-mode first, which redirects forward-sexp-function to treesit-forward-sexp.
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 18 Mar 2023 08:00:36 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 18 04:00:36 2023 Received: from localhost ([127.0.0.1]:46121 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdRUS-00048B-0R for submit <at> debbugs.gnu.org; Sat, 18 Mar 2023 04:00:36 -0400 Received: from mail-pf1-f176.google.com ([209.85.210.176]:33374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <casouri@HIDDEN>) id 1pdRUP-00047w-S4 for 62238 <at> debbugs.gnu.org; Sat, 18 Mar 2023 04:00:34 -0400 Received: by mail-pf1-f176.google.com with SMTP id c4so4376227pfl.0 for <62238 <at> debbugs.gnu.org>; Sat, 18 Mar 2023 01:00:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679126428; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=KuAhgniIQc/EyjouprqyK3kFyr1Y7/kmzHWYNRygkuE=; b=JMikZnRSfhV2gQb9zch9/7iFqh9ZZqyTM7jyDaY0L0rh7aw3kQqkP+w3xGhrMa6V03 1rRDaUMW+cIf/rpsyZWV4nUuyhlG31JaMAHIDMPy1FwZL5xfklNOTD14AQWH0a3MqGHW xyVBoxvRWXr2Axn2tYhAdYWziRGd+Rr/q0zXunaukTKbp6mOQKkApqNKnCOttRzhIblA QyLL7XiStokKtQ0NBlcJowU2oXhMFhMd5PhHkT3gSlnByzviSMTccW7TccOrBggSzTN5 kutYaOpN2lFSb1ARPXONeGmf55Uc4mSyyTSM/4WQ4EdROUzLm+wXSoP/tRsDWfGPM+L0 Fh6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679126428; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=KuAhgniIQc/EyjouprqyK3kFyr1Y7/kmzHWYNRygkuE=; b=eR+6v6hveMqpucjZTcjGCo3L+jmIrPiV2XqZ/OlnmiaKnUnR9oOzPz7DTDfselp5mB SizfHvpOOlVJFMRN9b9tVKWOtfnC12tOZHXREZwcqSzkhVG5ukXCNPZdRgzUVGaxG+Mx ZlsWDyNKs9ZkQtlhH1aT3uEsM22pW8GyUL8oI4gjFRVLczB5w3KjDmuABc0ZXe88w5tm OLvLBYgrR5HfFa7aBUlMbxF8ufU/M3EKaCyFRq7QhD6kiE9j+XI1ZUCXlKpvdhK9PVOE O1iFWqNyxxo/PtYFLQutivJqDCEyCLVtH4F8MwtrQPZJSTCASvbWjlxzWIMyJBruko4H 6mKQ== X-Gm-Message-State: AO0yUKWCOrsstls67smNqVcMeD6Crf2DutKR5asgH1NyIm8g3D0F9d9j MeKfMYo1lI6vEwtmlL2C79Y= X-Google-Smtp-Source: AK7set9H+iNsW/+ZlslAoIsRX3Sd+MzuAJ+xmf62ChtP2jStcXQHyKYN2dv3Fe5aVSClAMixDliGQg== X-Received: by 2002:a62:1814:0:b0:626:41d:db30 with SMTP id 20-20020a621814000000b00626041ddb30mr6859366pfy.25.1679126427804; Sat, 18 Mar 2023 01:00:27 -0700 (PDT) Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id y12-20020aa7804c000000b005df0c2b1b6asm2671945pfm.153.2023.03.18.01.00.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sat, 18 Mar 2023 01:00:27 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.400.51.1.1\)) Subject: Re: bug#62238: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode From: Yuan Fu <casouri@HIDDEN> In-Reply-To: <87ilezg0wo.fsf@HIDDEN> Date: Sat, 18 Mar 2023 01:00:16 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <7FDC4392-AC34-4EA2-A166-AB10755361CD@HIDDEN> References: <87ilezg0wo.fsf@HIDDEN> To: Philip Kaludercic <philipk@HIDDEN> X-Mailer: Apple Mail (2.3731.400.51.1.1) X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62238 Cc: 62238 <at> debbugs.gnu.org, theodor thornhill <theo@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) > On Mar 17, 2023, at 2:52 AM, Philip Kaludercic <philipk@HIDDEN> = wrote: >=20 >=20 > X-Debbugs-CC: Theodor Thornhill <theo@HIDDEN>, Yuan Fu = <casouri@HIDDEN> >=20 > Take this code block, where | is the position of the point. >=20 > if (foo)|{ > bar; > baz; > } >=20 > When I press C-M-SPC to mark a "S-expression" (knowing that C doesn't > consist of S-Expressions), then I would assume that the region from = the > current point until the closing bracket would be selected. Instead I > get the region from the point up until after the first semicolon. >=20 > When I press C-M-SPC again, I get the second one as well, but a third > press refuses to go on. So I never get the entire block. >=20 > I do not know if this is intentional, but it also applies to movement > and killing. This is also particularly unintuitive when matching = pairs > are highlighted (in this case the brackets), which always (?) matches > the interpretation of sexp-commands. I tested this on my Emacs session and vanilla session, and both marked = to the closing bracket. I believe forward-sexp should just work by the = syntax table. Perhaps it=E2=80=99s your config or something? Yuan=
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at 62238) by debbugs.gnu.org; 17 Mar 2023 17:25:18 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 17 13:25:18 2023 Received: from localhost ([127.0.0.1]:45550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pdDpN-0000wt-HE for submit <at> debbugs.gnu.org; Fri, 17 Mar 2023 13:25:18 -0400 Received: from out-19.mta0.migadu.com ([91.218.175.19]:36177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <theo@HIDDEN>) id 1pdDpK-0000wa-NE for 62238 <at> debbugs.gnu.org; Fri, 17 Mar 2023 13:25:15 -0400 Date: Fri, 17 Mar 2023 18:25:10 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1679073913; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=h+3rl48bUxG4k3hhFZrw1FBs2Ghupy1M67rYady8qMM=; b=bQIj0bHS3w0eYMUKvs1sIiJR5QtXXSrlM6+m9crCn3LvZELNdkE0k4GJP7EQpM6Nk2e4ho uEO0l9HsdBFxExILVTAOdp0ePaJIyouuSOY+DxwArZveuIqJYX0tiJNSo0GnaM9pP62V0q grPHIlqA/muqosn7qeKYbhTHeWqoU3kgsos1wzebrGZt17yBrzIJLp0O1JnAohEuOA6Ayo t3BdLzVTjUYHSHkkzcjyX3tOZGl0+uwXqRb/7gRdog0m5bEcPnfeZEV1Npi/ah4IAhlAVY xvozI/cA2CTAVCwwW73d56zIjjnAM/FZBYJIhGUMt1Gc2qep72RoO5Ok/iYgYw== X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and include these headers. From: Theodor Thornhill <theo@HIDDEN> To: debbugs-submit <at> debbugs.gnu.org, Philip Kaludercic <philipk@HIDDEN>, 62238 <at> debbugs.gnu.org Subject: =?US-ASCII?Q?Re=3A_bug=2362238=3A_30=2E0=2E50=3B_Unusual_interpr?= =?US-ASCII?Q?etation_of_=22S-expressions=22_in_c-ts-mode?= In-Reply-To: <87ilezg0wo.fsf@HIDDEN> References: <87ilezg0wo.fsf@HIDDEN> Message-ID: <514EB422-0DD0-494F-BE9D-49590FF9AF44@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62238 Cc: yuan fu <casouri@HIDDEN> X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) On 17 March 2023 10:52:39 CET, Philip Kaludercic <philipk@posteo=2Enet> wr= ote: > >X-Debbugs-CC: Theodor Thornhill <theo@thornhill=2Eno>, Yuan Fu <casouri@g= mail=2Ecom> > >Take this code block, where | is the position of the point=2E > >if (foo)|{ > bar; > baz; >} > >When I press C-M-SPC to mark a "S-expression" (knowing that C doesn't >consist of S-Expressions), then I would assume that the region from the >current point until the closing bracket would be selected=2E Instead I >get the region from the point up until after the first semicolon=2E > >When I press C-M-SPC again, I get the second one as well, but a third >press refuses to go on=2E So I never get the entire block=2E > >I do not know if this is intentional, but it also applies to movement >and killing=2E This is also particularly unintuitive when matching pairs >are highlighted (in this case the brackets), which always (?) matches >the interpretation of sexp-commands=2E > Hi and thanks for taking a look=2E Yeah, this isn't really finished yet=2E It's on my backlog, but I didn't have enough time to focus on Emacs last c= ouple of weeks=2E Hopefully I'll get more time soon :) Theo > >In GNU Emacs 30=2E0=2E50 (build 1, x86_64-pc-linux-gnu, GTK+ Version > 3=2E24=2E36, cairo version 1=2E16=2E0) of 2023-03-15 built on quetzal >Repository revision: a798a29f7519244b47ffc3035fcd8bf7bafea4d5 >Repository branch: master >System Description: Debian GNU/Linux bookworm/sid > >Configured using: > 'configure --with-pgtk --with-imagemagick --with-native-compilation > --with-tree-sitter --with-json CC=3Dgcc 'CFLAGS=3D-O2 -march=3Dnative -p= ipe' > LDFLAGS=3D-flto' > >Configured features: >ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ >IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES >NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 >THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB > >Important settings: > value of $EMACSLOADPATH:=20 > value of $LC_MONETARY: en_US=2EUTF-8 > value of $LC_NUMERIC: en_US=2EUTF-8 > value of $LC_TIME: en_US=2EUTF-8 > value of $LANG: en_US=2EUTF-8 > value of $XMODIFIERS: @im=3Dibus > locale-coding-system: utf-8-unix > >Major mode: C/* > >Minor modes in effect: > global-git-commit-mode: t > magit-auto-revert-mode: t > shell-dirtrack-mode: t > jit-spell-mode: t > flymake-mode: t > yas-minor-mode: t > editorconfig-mode: t > repeat-mode: t > display-battery-mode: t > display-time-mode: t > diff-hl-flydiff-mode: t > diff-hl-mode: t > winner-mode: t > windmove-mode: t > corfu-history-mode: t > corfu-mode: t > electric-pair-mode: t > recentf-mode: t > save-place-mode: t > savehist-mode: t > pixel-scroll-precision-mode: t > pixel-scroll-mode: t > xterm-mouse-mode: t > which-function-mode: t > tooltip-mode: t > global-eldoc-mode: t > eldoc-mode: t > show-paren-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tab-bar-mode: t > file-name-shadow-mode: t > context-menu-mode: t > global-font-lock-mode: t > font-lock-mode: t > line-number-mode: t > indent-tabs-mode: t > transient-mark-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > >Load-path shadows: >/home/philip/=2Econfig/emacs/elpa/transient-0=2E3=2E7/transient hides /ho= me/philip/Source/emacs/lisp/transient > >Features: >(shadow ecomplete emacsbug two-column c-ts-mode dictionary >dictionary-connection java-ts-mode ffap rst mule-util face-remap >magit-submodule magit-obsolete magit-blame magit-stash magit-reflog >magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote >magit-commit magit-sequence magit-notes magit-worktree magit-tag >magit-merge magit-branch magit-reset magit-files magit-refs magit-status >magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode >git-commit log-edit add-log magit-core magit-autorevert autorevert >filenotify magit-margin magit-transient magit-process with-editor server >magit-mode magit-git magit-section magit-utils crm dash grep >bug-reference find-func sort smiley gnus-cite mail-extr textsec >uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check >gnus-bcklg gnus-async gnus-ml disp-table nndraft nnmh utf-7 nnfolder >epa-file network-stream gnus-agent gnus-srvr gnus-score score-mode >nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls >dig nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-dbus >gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int >gnus-range message rfc822 mml mml-sec epa mm-decode mm-bodies mm-encode >mailabbrev gmm-utils mailheader gnus-win url-http url-auth mail-parse >rfc2231 url-gw nsm epg rfc6068 epg-config display-line-numbers quail >copyright geiser-mode geiser-xref geiser-compile geiser-guile transient >edmacro kmacro geiser-debug geiser-mit info-look geiser geiser-repl >geiser-image geiser-capf geiser-doc geiser-menu geiser-autodoc >geiser-edit etags fileloop generator xref geiser-completion geiser-eval >geiser-connection tq geiser-syntax geiser-log geiser-popup view >geiser-impl help-fns radix-tree geiser-custom geiser-base scheme vc-hg >vc-bzr vc-backup flymake-proselint writegood-mode yank-media mhtml-mode >css-mode smie eww xdg url-queue shr pixel-fill kinsoku url-file svg puny >mm-url color js c-ts-common treesit cc-mode cc-fonts cc-guess cc-menus >cc-cmds cc-styles cc-align cc-engine cc-langs cc-vars cc-bytecomp >cc-defs sgml-mode facemenu dom dired-aux gnus-dired dired-x dired >desktop frameset dired-loaddefs char-fold misearch multi-isearch vc-git >buffer-env tramp-cmds tramp-sh tramp tramp-cache time-stamp >tramp-loaddefs trampver tramp-integration files-x tramp-compat shell >pcomplete parse-time iso8601 ls-lisp jit-spell ispell checkdoc >flymake-proc flymake yasnippet-snippets yasnippet noutline outline >editorconfig editorconfig-core editorconfig-core-handle >editorconfig-fnmatch init repeat project format-spec battery dbus xml >shell-command+ thingatpt time sendmail rfc2047 rfc2045 ietf-drums gnus >nnheader gnus-util time-date mail-utils range mm-util mail-prsvr >diff-hl-flydiff diff diff-hl log-view pcvs-util vc-dir ewoc diff-mode >easy-mmode hippie-exp winner windmove corfu-history corfu compat >elec-pair recentf tree-widget saveplace savehist pixel-scroll cua-base >xt-mouse cus-edit pp wid-edit which-func imenu package-vc vc >vc-dispatcher lisp-mnt cus-load setup finder-inf >shell-command+-autoloads corfu-autoloads haskell-mode-autoloads >macrostep-autoloads flymake-proselint-autoloads focus-autoloads >buffer-env-autoloads avy-autoloads yasnippet-snippets-autoloads >magit-autoloads jit-spell-autoloads geiser-mit-autoloads >bash-completion-autoloads vc-backup-autoloads setup-autoloads >auctex-autoloads tex-site proof-general-autoloads proof-site >proof-autoloads git-commit-autoloads with-editor-autoloads >compat-autoloads inspector-autoloads geiser-guile-autoloads >geiser-autoloads transient-autoloads magit-section-autoloads >0x0-autoloads sp-tutor-autoloads diff-hl-autoloads debbugs-autoloads >package-lint-autoloads xkcd-autoloads editorconfig-autoloads >rcirc-color-autoloads yasnippet-autoloads markdown-mode-autoloads >writegood-mode-autoloads sly-autoloads go-mode-autoloads info >dash-autoloads package browse-url url url-proxy url-privacy url-expand >url-methods url-history url-cookie generate-lisp-file url-domsuf >url-util mailcap url-handlers url-parse auth-source eieio eieio-core >password-cache json map byte-opt comp comp-cstr warnings bytecomp >byte-compile rx derived pcase cl-seq cl-macs gv subr-x compile >text-property-search comint ansi-osc ansi-color ring url-vars cl-extra >help-mode icons cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc >paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode >mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd >fontset image regexp-opt fringe tabulated-list replace newcomment >text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow >isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax >font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic >indonesian philippine cham georgian utf-8-lang misc-lang vietnamese >tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek >romanian slovak czech european ethiopic indian cyrillic chinese >composite emoji-zwj charscript charprop case-table epa-hook >jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs >theme-loaddefs faces cus-face macroexp files window text-properties >overlay sha1 md5 base64 format env code-pages mule custom widget keymap >hashtable-print-readable backquote threads dbusbind inotify >dynamic-setting system-font-setting font-render-setting cairo gtk pgtk >lcms2 multi-tty make-network-process native-compile emacs) > >Memory information: >((conses 16 1085291 119447) > (symbols 48 41414 1) > (strings 32 191733 12247) > (string-bytes 1 5822782) > (vectors 16 109526) > (vector-slots 8 2681949 80394) > (floats 8 565 1531) > (intervals 56 20198 1681) > (buffers 984 46)) > >
bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 17 Mar 2023 09:52:28 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 17 05:52:28 2023 Received: from localhost ([127.0.0.1]:43706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1pd6l9-0001aQ-H8 for submit <at> debbugs.gnu.org; Fri, 17 Mar 2023 05:52:28 -0400 Received: from lists.gnu.org ([209.51.188.17]:33900) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <philipk@HIDDEN>) id 1pd6l7-0001aI-Mk for submit <at> debbugs.gnu.org; Fri, 17 Mar 2023 05:52:26 -0400 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 <philipk@HIDDEN>) id 1pd6l7-0003qq-Fe for bug-gnu-emacs@HIDDEN; Fri, 17 Mar 2023 05:52:25 -0400 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <philipk@HIDDEN>) id 1pd6l4-0003fF-Pd for bug-gnu-emacs@HIDDEN; Fri, 17 Mar 2023 05:52:25 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 79C292403B9 for <bug-gnu-emacs@HIDDEN>; Fri, 17 Mar 2023 10:52:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1679046739; bh=8F/4tZXEb6lOaxXDBtn9WMbf77GUA71pw6DlSzT9tsI=; h=From:To:Subject:Date:From; b=imsixYEDjVwbvzw0rOhT7eBxe5TLsRq11565Zz39s7i4ZTrbeXpiTzeumeSYHkJIv uMGq/8HEQH6zTdx3pT9nw3V5sDrjg563jxUK/MJ6S68yCbJQR96RLhvYmSmg9NDMNS In6CaMR8W0lVcHjOK97EExv9JLXMPAAUKPTBBzjtVdNbVg+h4tjtJjtNos7bYPRlOG vIrzjxs6148Z15iuZHCxVYqGord9J6Q/w948KI+GWmBusquoAa5rCpLaepaLsAQYBv YfpBJQC6ziMCqAaHmKkeIlAND8Pc3i/IgHiqFiR+hJ1pY2Np+zGjP7gqWXVvQ17HSJ p2eHqSQOCkqEA== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PdKDM0DRtz6tm5 for <bug-gnu-emacs@HIDDEN>; Fri, 17 Mar 2023 10:52:16 +0100 (CET) From: Philip Kaludercic <philipk@HIDDEN> To: bug-gnu-emacs@HIDDEN Subject: 30.0.50; Unusual interpretation of "S-expressions" in c-ts-mode Date: Fri, 17 Mar 2023 09:52:39 +0000 Message-ID: <87ilezg0wo.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=philipk@HIDDEN; helo=mout01.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) X-Debbugs-CC: Theodor Thornhill <theo@HIDDEN>, Yuan Fu <casouri@HIDDEN> Take this code block, where | is the position of the point. if (foo)|{ bar; baz; } When I press C-M-SPC to mark a "S-expression" (knowing that C doesn't consist of S-Expressions), then I would assume that the region from the current point until the closing bracket would be selected. Instead I get the region from the point up until after the first semicolon. When I press C-M-SPC again, I get the second one as well, but a third press refuses to go on. So I never get the entire block. I do not know if this is intentional, but it also applies to movement and killing. This is also particularly unintuitive when matching pairs are highlighted (in this case the brackets), which always (?) matches the interpretation of sexp-commands. In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.36, cairo version 1.16.0) of 2023-03-15 built on quetzal Repository revision: a798a29f7519244b47ffc3035fcd8bf7bafea4d5 Repository branch: master System Description: Debian GNU/Linux bookworm/sid Configured using: 'configure --with-pgtk --with-imagemagick --with-native-compilation --with-tree-sitter --with-json CC=gcc 'CFLAGS=-O2 -march=native -pipe' LDFLAGS=-flto' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ IMAGEMAGICK JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PGTK PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XIM GTK3 ZLIB Important settings: value of $EMACSLOADPATH: value of $LC_MONETARY: en_US.UTF-8 value of $LC_NUMERIC: en_US.UTF-8 value of $LC_TIME: en_US.UTF-8 value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: C/* Minor modes in effect: global-git-commit-mode: t magit-auto-revert-mode: t shell-dirtrack-mode: t jit-spell-mode: t flymake-mode: t yas-minor-mode: t editorconfig-mode: t repeat-mode: t display-battery-mode: t display-time-mode: t diff-hl-flydiff-mode: t diff-hl-mode: t winner-mode: t windmove-mode: t corfu-history-mode: t corfu-mode: t electric-pair-mode: t recentf-mode: t save-place-mode: t savehist-mode: t pixel-scroll-precision-mode: t pixel-scroll-mode: t xterm-mouse-mode: t which-function-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tab-bar-mode: t file-name-shadow-mode: t context-menu-mode: t global-font-lock-mode: t font-lock-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /home/philip/.config/emacs/elpa/transient-0.3.7/transient hides /home/philip/Source/emacs/lisp/transient Features: (shadow ecomplete emacsbug two-column c-ts-mode dictionary dictionary-connection java-ts-mode ffap rst mule-util face-remap magit-submodule magit-obsolete magit-blame magit-stash magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone magit-remote magit-commit magit-sequence magit-notes magit-worktree magit-tag magit-merge magit-branch magit-reset magit-files magit-refs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode git-commit log-edit add-log magit-core magit-autorevert autorevert filenotify magit-margin magit-transient magit-process with-editor server magit-mode magit-git magit-section magit-utils crm dash grep bug-reference find-func sort smiley gnus-cite mail-extr textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check gnus-bcklg gnus-async gnus-ml disp-table nndraft nnmh utf-7 nnfolder epa-file network-stream gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig nntp gnus-cache gnus-sum gnus-group gnus-undo gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo gnus-spec gnus-int gnus-range message rfc822 mml mml-sec epa mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win url-http url-auth mail-parse rfc2231 url-gw nsm epg rfc6068 epg-config display-line-numbers quail copyright geiser-mode geiser-xref geiser-compile geiser-guile transient edmacro kmacro geiser-debug geiser-mit info-look geiser geiser-repl geiser-image geiser-capf geiser-doc geiser-menu geiser-autodoc geiser-edit etags fileloop generator xref geiser-completion geiser-eval geiser-connection tq geiser-syntax geiser-log geiser-popup view geiser-impl help-fns radix-tree geiser-custom geiser-base scheme vc-hg vc-bzr vc-backup flymake-proselint writegood-mode yank-media mhtml-mode css-mode smie eww xdg url-queue shr pixel-fill kinsoku url-file svg puny mm-url color js c-ts-common treesit cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-langs cc-vars cc-bytecomp cc-defs sgml-mode facemenu dom dired-aux gnus-dired dired-x dired desktop frameset dired-loaddefs char-fold misearch multi-isearch vc-git buffer-env tramp-cmds tramp-sh tramp tramp-cache time-stamp tramp-loaddefs trampver tramp-integration files-x tramp-compat shell pcomplete parse-time iso8601 ls-lisp jit-spell ispell checkdoc flymake-proc flymake yasnippet-snippets yasnippet noutline outline editorconfig editorconfig-core editorconfig-core-handle editorconfig-fnmatch init repeat project format-spec battery dbus xml shell-command+ thingatpt time sendmail rfc2047 rfc2045 ietf-drums gnus nnheader gnus-util time-date mail-utils range mm-util mail-prsvr diff-hl-flydiff diff diff-hl log-view pcvs-util vc-dir ewoc diff-mode easy-mmode hippie-exp winner windmove corfu-history corfu compat elec-pair recentf tree-widget saveplace savehist pixel-scroll cua-base xt-mouse cus-edit pp wid-edit which-func imenu package-vc vc vc-dispatcher lisp-mnt cus-load setup finder-inf shell-command+-autoloads corfu-autoloads haskell-mode-autoloads macrostep-autoloads flymake-proselint-autoloads focus-autoloads buffer-env-autoloads avy-autoloads yasnippet-snippets-autoloads magit-autoloads jit-spell-autoloads geiser-mit-autoloads bash-completion-autoloads vc-backup-autoloads setup-autoloads auctex-autoloads tex-site proof-general-autoloads proof-site proof-autoloads git-commit-autoloads with-editor-autoloads compat-autoloads inspector-autoloads geiser-guile-autoloads geiser-autoloads transient-autoloads magit-section-autoloads 0x0-autoloads sp-tutor-autoloads diff-hl-autoloads debbugs-autoloads package-lint-autoloads xkcd-autoloads editorconfig-autoloads rcirc-color-autoloads yasnippet-autoloads markdown-mode-autoloads writegood-mode-autoloads sly-autoloads go-mode-autoloads info dash-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source eieio eieio-core password-cache json map byte-opt comp comp-cstr warnings bytecomp byte-compile rx derived pcase cl-seq cl-macs gv subr-x compile text-property-search comint ansi-osc ansi-color ring url-vars cl-extra help-mode icons cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/pgtk-win pgtk-win term/common-win pgtk-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify dynamic-setting system-font-setting font-render-setting cairo gtk pgtk lcms2 multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 1085291 119447) (symbols 48 41414 1) (strings 32 191733 12247) (string-bytes 1 5822782) (vectors 16 109526) (vector-slots 8 2681949 80394) (floats 8 565 1531) (intervals 56 20198 1681) (buffers 984 46))
Philip Kaludercic <philipk@HIDDEN>
:theo@HIDDEN, casouri@HIDDEN, bug-gnu-emacs@HIDDEN
.
Full text available.theo@HIDDEN, casouri@HIDDEN, bug-gnu-emacs@HIDDEN
:bug#62238
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.