[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [External] : Re: Lexical vs. dynamic: small examples?
From: |
Jean Louis |
Subject: |
Re: [External] : Re: Lexical vs. dynamic: small examples? |
Date: |
Sun, 9 Jan 2022 10:08:26 +0300 |
User-agent: |
Mutt/2.0.7+183 (3d24855) (2021-05-28) |
* Drew Adams <drew.adams@oracle.com> [2021-08-16 02:17]:
> FWIW, I just wrote a tiny library, `dyna-show.el',
> that defines minor mode `dyna-show-mode', which
> highlights occurrences of "special" (aka dynamically
> scoped) variables.
>
> It just uses `special-variable-p', which is limited.
>
> From the attachment, you can see another limitation:
> occurrences of a function, e.g. `font-lock-mode',
> that has the same name as a dynamic variable are also
> highlighted.
Thanks, it is very helpful for cosmetics of the code.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
- Re: [External] : Re: Lexical vs. dynamic: small examples?,
Jean Louis <=