From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Request to distribute Casual packages on NonGNU ELPA Date: Fri, 27 Sep 2024 14:58:48 -0400 Message-ID: References: <8B0830CA-6995-454C-BC5A-E4247E259CE9@gmail.com> <87a5fvsi0x.fsf@posteo.net> <877caxqejq.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2559"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: emacs-devel , Stefan Kangas , Philip Kaludercic To: Charles Choi Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 27 20:59:52 2024 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 1suGBy-0000Vw-9j for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Sep 2024 20:59:50 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1suGBB-0007dA-5N; Fri, 27 Sep 2024 14:59:01 -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 1suGB7-0007cg-R5 for emacs-devel@gnu.org; Fri, 27 Sep 2024 14:58:58 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1suGB4-0003iz-MU for emacs-devel@gnu.org; Fri, 27 Sep 2024 14:58:57 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 43543441BB4; Fri, 27 Sep 2024 14:58:51 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1727463529; bh=nzCg8RCM94/rig4exGtKFl21KftzBAYHioN30NgHmOE=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=f6JXz76GKoBf5y8lhTSXFFE+0Op658MnYbmj6mRRKwXC4/+b2ZQ6p5IwQQ75vluIG gxDu9eV3BTCTYeljFCJpVP0+yiB0z/yjga8IuL4pca+PtuiPHM55nsC/j2NtX1H1I2 wGY6xRGSk1XRf4TBlAdrbXr4AVSaQj6+fI3gG46AoeSZyXGS/SpK0gioeVX27Q+0dh rHgMJQgSnejoXgIspsoCP+8Y4uSN+2rjUZSSxSbAghZ0hZl28kQnKaaOCHbU2yXGwS id/J3/61FAXP7EhjRDxN3/mmmQWgdYUXuMxNVMb1XHiZKUN4TE+8lpK/RkavC1sN8x GG3Ki6OBcBCrQ== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id DFE32441AD9; Fri, 27 Sep 2024 14:58:49 -0400 (EDT) Original-Received: from pastel (unknown [216.154.18.220]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AE492120399; Fri, 27 Sep 2024 14:58:49 -0400 (EDT) In-Reply-To: (Charles Choi's message of "Fri, 27 Sep 2024 11:12:01 -0700") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, 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:324146 Archived-At: > In specifying requirements, I've taken a more conservative tack of listing > a configuration that I am able to test, in this case, Emacs 29 running on > macOS and Linux. I do not have the time nor resources to fully test older > versions of Emacs and associated packages, much less test on > different platforms. There's a big gap between "recommended/tested versions" and "required versions". When specifying dependencies, please use the more lenient threshold. We don't want to follow the treadmill trap of having to be always at the edge, bleeding. Usually the "required" versions are those for which you have good reasons to suspect anything below simply won't work. [ ELisp development conventions are very different from Rust/Go/... ] You can then state in the README which versions are known to work and/or recommended. > As I am new to Elisp publishing, I was and still am reluctant to trust lint > tools to verify behavior on older versions of Emacs and associated packages > as it would commit me to supporting them. Is lint sufficient enough for > verification of correct behavior on lower versions of Emacs? You can't verify correct behavior in any version of Emacs at all anyway, because it depends on way too many factors. At best you can test a few specific behaviors in a few specific versions in a few specific configurations. The upside is that noone will sue or fire you when something doesn't work quite right. > What happens when it isn't? Either nothing because it so happens that noone used your package on that older version of Emacs enough to bump into the problem. Or you may get an email about someone having trouble with your package, with luck it might even include a patch. Personally if it doesn't include a patch and the Emacs version is "too old" or "too weird" for my taste, I consider it's the responsibility of the user of this odd circumstance to do the bulk of tracking down the bug and coming up with a fix. >> +(defun casual-lib-display-line-numbers-mode-p () ;why do you have this as a predicate? > > For reasons I do not understand or have clear enough knowledge about, > I could not write an expression to pass to a Transient macro, but instead > has to pass a function symbol to get working code. Hence making > a predicate here. [ In those kinds of situations, I usually try to put a comment in the code stating it, so my future self isn't tempted to undo the workaround I came up with. ] Stefan