emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: questions about correct reveal-mode usage to hide passwords


From: Stefan Monnier
Subject: Re: questions about correct reveal-mode usage to hide passwords
Date: Thu, 11 Jun 2020 13:33:27 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> One[1] uses font-lock mode to adapt to
>> change dynamically, which works well for live editing, but you can't see
>> the password when you're editing it.
> font-lock is the perfect way to implement this, and it should be easy to

I'd recommend using jit-lock rather than font-lock.
It might be a case of bikeshedding, but I think it will be both easier
to implement and more robust.


        Stefan


PS: I assume it installs *overlays* rather than text properties.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]