[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Automatic minor modes?
From: |
Lars Ingebrigtsen |
Subject: |
Re: Automatic minor modes? |
Date: |
Sun, 22 Jul 2018 14:26:54 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Ted Zlatanov <address@hidden> writes:
>>> Could be just a few regexen for prettify-symbols-mode. Comes with an
>>> ability to unmask the one the point is on.
>
> LI> It's similar, yes, but it should have commands to allow
> LI> unmasking/remasking a single password, I think?
>
> prettify-symbols-mode has built-in the perfect tool for what
> you're describing, `prettify-symbols-unprettify-at-point':
>
> prettify-symbols-unprettify-at-point is a variable defined in ‘prog-mode.el’.
> Its value is ‘right-edge’
Ah, cool, then we should perhaps just activate that minor mode in
.authino/.netrc buffers? (With the appropriate regexps to hide the
"passwd" token.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- Re: Automatic minor modes?,
Lars Ingebrigtsen <=