How do you catch the lisp programmer's error:
"I typed
let, but I really meantlet*and wasted five to ten seconds for the nth time today!"
I make this mistake all the time. Usually in a hurry or not anticipating the dependence of symbols I'm declaring I'll write:
(let ((foo-bar 42)
(baz-bat (* foo-bar 2))
(message "I bet you forgot something!"))
Resulting in the irritation in realizing that I miskeyed let* yet again.
Lisp error: (void-variable foo-bar)
letin this particular fashion. I am interested in anything that serves to alert me to the fact or correct the issue before Ieval-defun/ test the code. Whether the solution is flycheck-style warnings, an autocorrect behavior, a personal policy of exclusively usinglet*, or something else-- I'm open to input. @wasamasa hit the nail on the head. – ebpa Dec 14 '16 at 15:59