bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#57856: 28.2; bookmark context strings in encrypted files


From: Lars Ingebrigtsen
Subject: bug#57856: 28.2; bookmark context strings in encrypted files
Date: Mon, 19 Sep 2022 20:44:37 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Michael Albinus <michael.albinus@gmx.de> writes:

> But we will protect users who do in their init file
>
> (setq auth-sources '("~/.authinfo" "~/my-own-netrc-file-name"))

Yes, that's a good point.

> Maybe, additionally or instead of, all files with enabled reveal-mode in
> the visiting buffer shall be protected as well. Another check function.
>
> (defun reveal-mode-p (filename)
>   (when-let ((buffer (get-file-buffer filename)))
>     (buffer-local-value reveal-mode buffer)))

Hm...  I'm not sure about that.  I can see people wanting to use that
mode in buffers that have no secrets -- just because they don't want to
display that stuff.  And the context strings do add real value in
bookmarks when finding the correct location.





reply via email to

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