[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#28785: 27.0.50; Wishlist: There should be a mode for .netrc and .aut
From: |
Ted Zlatanov |
Subject: |
bug#28785: 27.0.50; Wishlist: There should be a mode for .netrc and .authinfo |
Date: |
Thu, 21 Dec 2017 10:02:37 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
On Wed, 11 Oct 2017 13:45:53 +0200 Lars Ingebrigtsen <larsi@gnus.org> wrote:
LI> This mode would just be the normal fundamental mode (or conf mode or
LI> something), but it would add `display' properties on all password tokens
LI> so that these wouldn't be immediately visible to passers-by while you're
LI> editing the file.
LI> And a command to toggle the visibility, I guess.
LI> Hm... perhaps a general minor mode that hides certain bits based on a
LI> syntax of some sort?
One of my big annoyances with netrc format is that it's badly defined
(previously discussed on bug list). So I implemented JSON support in
auth-source. Thus we can now use something like
https://github.com/DamienCassou/json-navigator as the UI, if the default
JSON editing is not good enough (for me it is).
The token display is a great idea and IMO it should be a minor mode,
operating like prettify-symbols mode. Then it could be used in any major
mode that tags its secret data appropriately, not just netrc.
WDYT?
Ted
- bug#28785: 27.0.50; Wishlist: There should be a mode for .netrc and .authinfo,
Ted Zlatanov <=