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: Wed, 30 Aug 2023 22:47:25 +0100 Message-ID: <87jztc6w42.fsf@gmail.com> References: <87il9kksqz.fsf@dfreeman.email> <87a5uw9ivs.fsf@posteo.net> <87ttt42gna.fsf@dfreeman.email> <87wmy080kn.fsf@posteo.net> <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> <87r0nlngmo.fsf@posteo.net> <87msy8vq6m.fsf@gmail.com> <87jztcrg49.fsf@posteo.net> 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="9593"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Richard Stallman , Danny Freeman , Eli Zaretskii , emacs-devel , Manuel Uberti To: Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Aug 30 23:45:44 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 1qbT0R-0002Hf-DQ for ged-emacs-devel@m.gmane-mx.org; Wed, 30 Aug 2023 23:45:43 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qbSza-00077U-Fl; Wed, 30 Aug 2023 17:44:50 -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 1qbSzY-00077E-8S for emacs-devel@gnu.org; Wed, 30 Aug 2023 17:44:48 -0400 Original-Received: from mail-wr1-x435.google.com ([2a00:1450:4864:20::435]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbSzW-0005UK-1m; Wed, 30 Aug 2023 17:44:48 -0400 Original-Received: by mail-wr1-x435.google.com with SMTP id ffacd0b85a97d-31c8a710545so28622f8f.3; Wed, 30 Aug 2023 14:44:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693431884; x=1694036684; 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=aWndJQna1LoRs8ZkGwt4BDNTW/jsdvoj5nVWZ969OiE=; b=haMJmJBv6CWlbsnH5c9f0CwOLxTv2dsYiQf3UqMSn5UeJJ+RhCoyibfz8djT5lRqcr Qf05DwTBeBz6fUJoHqR4qPYSl3XFmshKSpKqGibcLEnSLKK9U0VTopuHipZUd7d93IcS jZs2kBBuqgQa5gxOSwlqELWOdnetJqnHgPICRx9lKLNtcTA3aNnLeoDTvTkKdbEoSsGv MG4HF3G8gRpSWjXobp9h1TZDnyLOJk/kWD6ed26U5uxk3fhlT+fTWBiyyE4j/L99Ydjh BvsI/qZTyIEzUA4ClNyEtPlUIzScF444KCEeyAqzVOvRybQSOFmhSu0/c9TWgg3WxMk6 NOSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693431884; x=1694036684; 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=aWndJQna1LoRs8ZkGwt4BDNTW/jsdvoj5nVWZ969OiE=; b=Dsn120CQQSqx6hfQViUyvTiW48FKiJtgw2SsZCDdaZiOmqmni5YiSc95Vst/C3v/vO blqMAmNiCvFbRzhRCqpzy2cYZzywAA7L/se3hlBIcTdgYuqKau+g9+QopLMUKtIJElem e6EwG6usKCike2GMXNOqN/FXNqdCnq2CMa4l5yJqKxaxpD0uEEstNkEf4xslBmjoHeEx S6Rc0zL0SN5LJq7YIqWfJzmNClFrF1mOLDYgFdlI8LymPNem2cKBxdbb2L++bLKrZ2k3 c4qXAWwp3z4Su8aJxFMn8pdV7XglvYuadj5VxEVrIvrESOsQlycpylNxgB07j1bIHrXC jZNQ== X-Gm-Message-State: AOJu0YwvTFNtXDRIJgQKYdMvZ0vOrWPlXgUSdwjmsxjHrPo4lVfy3His 0Gt1v/btTi8fKAkntGuBG9c= X-Google-Smtp-Source: AGHT+IHkpt0zd/WeRwovdnsXyq/7Pl8VjYS6cmfBhfpwjgKdtzb2lgVbH9JsgusHlep808/ER8CFcg== X-Received: by 2002:adf:fbc6:0:b0:317:6470:3271 with SMTP id d6-20020adffbc6000000b0031764703271mr2612784wrs.45.1693431883686; Wed, 30 Aug 2023 14:44:43 -0700 (PDT) Original-Received: from krug (a95-92-228-31.cpe.netcabo.pt. [95.92.228.31]) by smtp.gmail.com with ESMTPSA id c17-20020adfe711000000b0031773a8e5c4sm48696wrm.37.2023.08.30.14.44.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Aug 2023 14:44:43 -0700 (PDT) In-Reply-To: <87jztcrg49.fsf@posteo.net> (Philip Kaludercic's message of "Wed, 30 Aug 2023 10:15:02 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::435; envelope-from=joaotavora@gmail.com; helo=mail-wr1-x435.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:309561 Archived-At: Philip Kaludercic writes: >> Why? If the NonGNU people are "too cool for school" after having been >> invited to GNU, why should the GNU project make even more special >> accomodations for them? Not up to me to decide anyway. > > Mainly because this will affect users, not the maintainer.=20=20 > [...] > Also, I don't see a reason to provoke the Clojure-mode maintainers. I > disagree with their reasoning and fear they have been misinformed, but > the best way to remedy situations like these is to be understanding and > prove ourselves to be cooperative by example (IMO). You seem to be under the misguided impression that my proposal is meant to bother, provoke or help change the minds of the NonGNU Clojure maintainers? It's not. I simply think they shouldn't have a say in how the Emacs project answers Richard's original request of a Clojure editing mode in Emacs propoer. Richard says writing a major mode is not that hard, and I agree. My proposal is an extreme answer to that, writing a fully functional, featureful major mode in just two lines of code. Of course, it took advantage of the fact the fact that the language to support is a Lisp dialect and there is an excellent LSP server for it. But there's no reason _not_ to take advantage of that. As to naming, it's not my call, so let's have Richard chime in. clojure-mode, newclojure-mode, etc, I personally don't care, since I'm not a Clojure user. That said, I _would_ like to see a mode built from the ground up to work entirely on top of LSP, not unlike some modes today are being built on top of TreeSitter. For example, the few lines of code to add to those two could be the automatic installation of the clojure-lsp language server. Jo=C3=A3o