GNU bug report logs - #15786
24.3; No warning on mal-formed let form when lexical-binding

Previous Next

Package: emacs;

Reported by: Leo Liu <sdl.web <at> gmail.com>

Date: Sat, 2 Nov 2013 00:39:02 UTC

Severity: normal

Found in version 24.3

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

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: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#15786: closed (24.3; No warning on mal-formed let form when
 lexical-binding)
Date: Mon, 04 Nov 2013 19:50:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 04 Nov 2013 14:48:50 -0500
with message-id <jwvmwlkhrsl.fsf-monnier+emacsbugs <at> gnu.org>
and subject line Re: bug#15786: 24.3; No warning on mal-formed let form when lexical-binding
has caused the debbugs.gnu.org bug report #15786,
regarding 24.3; No warning on mal-formed let form when lexical-binding
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
15786: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=15786
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Leo Liu <sdl.web <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3; No warning on mal-formed let form when lexical-binding
Date: Sat, 02 Nov 2013 08:37:52 +0800
[Message part 3 (text/plain, inline)]
Due to a typo in my code, I got a bug report on ggtags
https://github.com/leoliu/ggtags/issues/17. I was fooled by the elisp
compiler which warns mal-formed let forms without lexical-binding.

To reproduce
1. Download the file in the attachment
2. byte-compile it
3. remove the first line and byte-compile it

step 2 produces no warnings while step 3 does.

[t.el (application/emacs-lisp, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Nathan Trapuzzano <nbtrap <at> nbtrap.com>
Cc: 15786-done <at> debbugs.gnu.org, Leo Liu <sdl.web <at> gmail.com>
Subject: Re: bug#15786: 24.3;
 No warning on mal-formed let form when lexical-binding
Date: Mon, 04 Nov 2013 14:48:50 -0500
> Correct patch attached here.

Thanks, installed,


        Stefan


This bug report was last modified 11 years and 201 days ago.

Previous Next


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