-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redact mode line? #9
Comments
Hey @BlueFlo0d, thanks for the suggestion. That's an interesting take. It might be possible, but I'm not certain how overlays or display-tables work within the mode line. I'll have a look at the weekend. |
So, just to be sure, you would like (add-hook 'redacted-mode-hook
(lambda () (if redacted-mode
(setq mode-line-format " [REDACTED ] ")
(setq mode-line-format (cdar (get 'mode-line-format 'standard-value)))))) (You can try it out with the current That might be feasible, yeah. I'd probably have to introduce a new customization option |
Ah, that's a feasible solution, and I'm already doing it :) https://github.com/BlueFlo0d/insecure-lock I think a new customization option is not strictly necessary because users can do this themselves relatively easily. I'm still curious about whether the same effect applied to buffer text can be applied to mode line… |
That's a good question; I'm not entirely sure though. The mode-line is, as far as I know, not accessible as a "normal" buffer, so the |
Currently it doesn't seem to do anything to the mode line. Can it be redacted as well?
The text was updated successfully, but these errors were encountered: