Those of you who watched Nic Ferrier’s video on the difference between lexical and dynamic scope that I wrote about the other day may have noticed that his buffers indicated whether the buffer had lexical (LEX) or dynamic (DYN) scope. I thought that seemed pretty useful and made a mental note to look into what one needed to do to get it. Happily, Grant Rettke saved me the trouble by posting a link to the ELPA package, lexbind-mode that takes care of the display and also provides a way to toggle the binding mode and open a scratch buffer that is lexically scoped.
If you watch Ferrier’s video again, you can see these additional features being used. It looks like a nice package and installation is a snap since it’s an ELPA package. I’m currently trying it out myself so join the fun if you like.