From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: Brand new clojure support in Emacs ;-) Date: Sat, 02 Sep 2023 10:14:21 +0100 Message-ID: <87y1hp3pjm.fsf@gmail.com> References: <87il9kksqz.fsf@dfreeman.email> <83v8djcydl.fsf@gnu.org> <87350ndquw.fsf@dfreeman.email> <83350ncbns.fsf@gnu.org> <87cyzrjbd8.fsf@dfreeman.email> <83zg2vav46.fsf@gnu.org> <87o7j99304.fsf@dfreeman.email> <87zg2hsyrd.fsf@dfreeman.email> <87h6ontwfv.fsf@posteo.net> <835y4ucrz3.fsf@gnu.org> <831qficgin.fsf@gnu.org> <87ttsehwab.fsf@dfreeman.email> <87fs3x6ge7.fsf@gmail.com> <87v8cthmzl.fsf@dfreeman.email> <87a5u56atj.fsf@gmail.com> <87r0nhhgb5.fsf@dfreeman.email> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38849"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Eli Zaretskii , Dmitry Gutov , rms@gnu.org, emacs-devel@gnu.org To: Danny Freeman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 02 11:12:04 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qcMfk-0009sP-8u for ged-emacs-devel@m.gmane-mx.org; Sat, 02 Sep 2023 11:12:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcMfU-0007bq-GS; Sat, 02 Sep 2023 05:11:48 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qcMfR-0007bb-E4 for emacs-devel@gnu.org; Sat, 02 Sep 2023 05:11:46 -0400 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qcMfO-0008Jw-Vr; Sat, 02 Sep 2023 05:11:44 -0400 Original-Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-3ff1c397405so27983595e9.3; Sat, 02 Sep 2023 02:11:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693645900; x=1694250700; darn=gnu.org; 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=7xY7Y+QqtLjBU4rmi44c1exv0nXslK/yvLlK2c3i/oE=; b=BeYq2wISrnq9dpCcvVF0qsLIngv4pQ2JlQi260hM5Xu6hAOmZBbILCOa8o6QzxLfdR vIH7IbKlIjfm8e1lYCRLSWBj7vWyOlZjrVUK9KqYC0D/DZ4vliuksG5/q8jrCGt0uqiH KCM1uoJSdtyLuNK0iHuuGN4kqjnRnJuIYCeHCTcaHA/pCKXn+OKX+X1Z9oenqIHdQy1Q y1JP3Ht9EhEURtvbN/lY+WEJVsqPjSSZNRRuhIJ+nRDzmYEKgZXCMbDQQ5r9ZPidY1fU 31Cq5LEfSwGNDfIzOLNymneut5vbq+nIhP6hPPqfNfmtcStFrhHAPiIP9RzyTsS4Shc7 ZhrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693645900; x=1694250700; 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=7xY7Y+QqtLjBU4rmi44c1exv0nXslK/yvLlK2c3i/oE=; b=dKCiaDlaQSzsBZdv4MwMPEyWcJmkrp2WpU5bkNbegJWID2lsHKu5l1Iyq8sWE4T3mS vE+EM5FwAZ8GYizMH/TvlGA0EQuhijQxyhUEMVhbUlNpOsqQcjcECArMzMMF7pqPaCiX eFEbsNjYPHLB7C3BeUSmdT/8R35WheTq4HVibqxxOAbNVgwZQMhMHM13MymxeiDEw+kM do0PK9Jg0BpOpYt41iM0APNz1m4RWCiIVE86P18KDWeXUV98P0EOChfVrlwG4Tqbh1k4 WQ2/kYvEkxxlFt58bH8fnGYh2euo0/NIohaamK9OsVa/gxfph3u+qIS5rnd8/BMcSOaa wbdQ== X-Gm-Message-State: AOJu0YwBz8n4AMu9DcEOncHvsBvVbitu/nY30PX1g8RQGlXCrFiSxkOO RhgCP0DlEoCpIAQXeOEJJAvVs3/R3y/mMA== X-Google-Smtp-Source: AGHT+IHnrbkTfGOg2vXAHO8gn/2akEPC2sSDrzYkRUdxVeoW5letDlRt9CDbnqJpE3chDSKA5I9R6A== X-Received: by 2002:a5d:4dd1:0:b0:31c:8c93:61e3 with SMTP id f17-20020a5d4dd1000000b0031c8c9361e3mr3340626wru.60.1693645899756; Sat, 02 Sep 2023 02:11:39 -0700 (PDT) Original-Received: from krug (a95-92-228-31.cpe.netcabo.pt. [95.92.228.31]) by smtp.gmail.com with ESMTPSA id r12-20020adfce8c000000b00317afc7949csm7787256wrn.50.2023.09.02.02.11.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 02 Sep 2023 02:11:39 -0700 (PDT) In-Reply-To: <87r0nhhgb5.fsf@dfreeman.email> (Danny Freeman's message of "Fri, 01 Sep 2023 14:39:53 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::32d; envelope-from=joaotavora@gmail.com; helo=mail-wm1-x32d.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:309865 Archived-At: Danny Freeman writes: > I don't think so. CIDER and clojure-mode are developed in lock-step, > along side a couple other projects written in clojure to support CIDER > from within the clojure repl process. The API is just the functions that > CIDER calls from clojure-mode. If you want more information you will be > best off reading the CIDER source. OK. So at some point, if you want your new clojure-ts-mode to be integrated with CIDER, a more formalized API will have to emerge for your new mode to adhere to. It would be a good service to everybody to take opportunity to document it and formalize it. > I see your other message where you discovered some of my reasoning, and=20 > I feel I've already explained my position. You will also see a later > message where I said once clojure-ts-mode is in a more "done" state I > will revisit the question of inclusion here with other clojure-mode > devs. Until then I will continue to develop clojure-ts-mode in the > clojure-emacs github organization with the intention of integrating it > with the rest of the clojure-emacs tooling. AFAIK, putting your clojure-ts-mode in GNU Elpa core GNU Emacs does _not_ collide with the practice of developing in a GitHub organization nor with your intention of integration with some specific tooling... I've had a look at clojure-ts-mode and is seems very young indeed. Is there any reason you didn't derive from lisp-data-mode? I think you should at least reuse lisp-data-mode-syntax-table instead of listing a very large entry that essentially repeats it. I am curious about the performance and capabilities of tree sitter in Lisp modes. Lisp modes are perhaps the easiest modes things to parse and the ones Emacs has better support for. Jo=C3=A3o