From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.bugs Subject: bug#30039: 26.0.90; [26.1] Making my code warning free is impossible with when-let Date: Wed, 10 Jan 2018 14:05:57 -0800 Message-ID: <87bmi1nzcq.fsf@ericabrahamsen.net> References: <87zi5njxvd.fsf@cassou.me> <87wp0rozyf.fsf@users.sourceforge.net> <87d12hq5c7.fsf@cassou.me> <83bmi167ki.fsf@gnu.org> <877espvfzo.fsf@petton.fr> <8360895z7z.fsf@gnu.org> <87a7xl75ce.fsf@petton.fr> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1515621918 3555 195.159.176.226 (10 Jan 2018 22:05:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 Jan 2018 22:05:18 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: damien@cassou.me, 30039@debbugs.gnu.org, npostavs@users.sourceforge.net To: Nicolas Petton Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jan 10 23:05:13 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZOUi-0000VR-2a for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 23:05:12 +0100 Original-Received: from localhost ([::1]:44041 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZOWh-0006rA-Nn for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Jan 2018 17:07:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eZOWZ-0006pt-IO for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 17:07:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eZOWU-0005ZZ-IV for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 17:07:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43562) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eZOWU-0005ZS-Cq for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 17:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eZOWU-00041p-03 for bug-gnu-emacs@gnu.org; Wed, 10 Jan 2018 17:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eric Abrahamsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Jan 2018 22:07:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30039 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30039-submit@debbugs.gnu.org id=B30039.151562196315420 (code B ref 30039); Wed, 10 Jan 2018 22:07:01 +0000 Original-Received: (at 30039) by debbugs.gnu.org; 10 Jan 2018 22:06:03 +0000 Original-Received: from localhost ([127.0.0.1]:51459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZOVX-00040c-9O for submit@debbugs.gnu.org; Wed, 10 Jan 2018 17:06:03 -0500 Original-Received: from mail.ericabrahamsen.net ([50.56.99.223]:37953) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eZOVS-00040B-Mn for 30039@debbugs.gnu.org; Wed, 10 Jan 2018 17:05:59 -0500 Original-Received: from localhost (71-212-75-109.tukw.qwest.net [71.212.75.109]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id EA215C09F3; Wed, 10 Jan 2018 22:05:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mail.ericabrahamsen.net; s=mail; t=1515621958; bh=Pr1buoSSVDp7W+7++ljSwlPyjFdLK2PdROLGdw3w+2A=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=r8Eu2ZQv+xKKiijQuFM4xuL6rSk0xujbRHGE3XWpumwJbOsDJpZ2FniixJwy9SQYd wEUfqjgldey5UxbcKEch91BUmuBnPGY7TIKCAofYGHyC/UAyc1kZDSmogSfs7dIPb2 dJrOEvWPctU8+YHmRRjhWtVOD8cSDWWMQo1kLEHA= In-Reply-To: <87a7xl75ce.fsf@petton.fr> (Nicolas Petton's message of "Wed, 10 Jan 2018 22:48:33 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:142008 Archived-At: Nicolas Petton writes: > Eli Zaretskii writes: > >> And releasing another Emacs 25.x, even if we decide to do that, will >> change nothing, because users of Emacs 25.3 and older will still have >> the same problem. > > That's true, I didn't propose to do that. > >> And frankly, a few byte-compilation warnings are not such a >> catastrophe, we have many dozens of them when we build Emacs. > > It's definitely not a big deal, but I mentioned the issue with CI & > linting as I think issues like this one could be in the way of their > adoption by package authors. I removed uses of when-let from my packages altogether, just because I was being OCD about the compiler warnings. I've encountered no other functions where the introduction-deprecation-removal cycle has been so tight that I have to choose between compiler warnings on the one hand, or multiple users running an Emacs without the function, on the other. I agree it's not a big deal, for all the reasons already brought up, but it was a bit of a frustration. My 0.5=C2=A2, Eric