GNU bug report logs - #30039
26.0.90; [26.1] Making my code warning free is impossible with when-let

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Tue, 9 Jan 2018 07:28:01 UTC

Severity: wishlist

Found in version 26.0.90

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Damien Cassou <damien <at> cassou.me>
Subject: bug#30039: closed (Re: bug#30039: 26.0.90; [26.1] Making my code
 warning free is impossible with when-let)
Date: Tue, 06 Mar 2018 15:13:01 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#30039: 26.0.90; [26.1] Making my code warning free is impossible with when-let

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 30039 <at> debbugs.gnu.org.

-- 
30039: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30039
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Michael Heerdegen <michael_heerdegen <at> web.de>
To: Damien Cassou <damien <at> cassou.me>
Cc: 30039-done <at> debbugs.gnu.org
Subject: Re: bug#30039: 26.0.90;
 [26.1] Making my code warning free is impossible with when-let
Date: Tue, 06 Mar 2018 16:12:31 +0100
Damien Cassou <damien <at> cassou.me> writes:

> Michael Heerdegen <michael_heerdegen <at> web.de> writes:
> > In the meantime, Stefan Monnier has brought up the issue again in
> > emacs-dev.  In that discussion we have come to the conclusion that
> > we want to make when-let and if-let aliases for when-let* and
> > if-let* in Emacs 26.  Should happen in the next days.
>
> I'm happy. Thank you!

I've now installed an according change into emacs-26 (I hope it wasn't
too late for this change to be accepted in the release branch).

Thanks for bringing this up.  Closing.


Regards,

Michael.

[Message part 3 (message/rfc822, inline)]
From: Damien Cassou <damien <at> cassou.me>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.0.90;
 [26.1] Making my code warning free is impossible with when-let
Date: Tue, 09 Jan 2018 08:27:02 +0100
Hi,

I try to make all my packages warning free by setting
byte-compile-error-on-warn and running the byte compiler during
continuous integration. I do that for both Emacs 25 and Emacs 26. This
has become impossible with Emacs 26 because when-let is deprecated but
it’s replacement does not exist in Emacs 25.

I can think of two solutions to make my life easier (and potentially
other package maintainers who care about code quality):

- introduce when-let* (and if-let*) in Emacs 25; or

- un-deprecate when-let (and if-let) in Emacs 26 and re-deprecate it
  later.

Best

-- 
Damien Cassou
http://damiencassou.seasidehosting.st

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill



This bug report was last modified 7 years and 41 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.