[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/hyperdrive 708fa6096e 13/14: Docs: (hyperdrive-mark-as-saf
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/hyperdrive 708fa6096e 13/14: Docs: (hyperdrive-mark-as-safe) Document changes |
Date: |
Sun, 18 Aug 2024 19:00:20 -0400 (EDT) |
branch: elpa/hyperdrive
commit 708fa6096e57542622cc13189fe25ee38efef71f
Author: Joseph Turner <joseph@ushin.org>
Commit: Joseph Turner <joseph@ushin.org>
Docs: (hyperdrive-mark-as-safe) Document changes
---
doc/hyperdrive.org | 16 ++++++++++------
doc/hyperdrive.texi | 16 ++++++++++------
2 files changed, 20 insertions(+), 12 deletions(-)
diff --git a/doc/hyperdrive.org b/doc/hyperdrive.org
index 7ba5486314..e519061501 100644
--- a/doc/hyperdrive.org
+++ b/doc/hyperdrive.org
@@ -741,15 +741,19 @@ The following keybindings are available in
~hyperdrive-mirror-mode~:
** Mark a hyperdrive as safe
-For security reasons, ~hyperdrive.el~ does not enable major modes based
-on file extension unless the hyperdrive has been marked as "safe."
+For security reasons, ~hyperdrive.el~ does not enable major modes
+based on file extension unless the hyperdrive has been marked as
+"safe." When opening a file in a hyperdrive marked as "unknown" (the
+default), ~hyperdrive.el~ will prompt you to mark the drive as "safe",
+"unsafe", or "unknown". Files in hyperdrives which are marked as
+"safe" are always opened in the appropriate major mode with
+~set-auto-mode~. Files in hyperdrives which are marked as "unsafe"
+are opened in ~fundamental-mode~ (no major mode).
- Command: hyperdrive-mark-as-safe ::
- Mark a hyperdrive as "safe," which will cause major modes to be
- automatically be enabled based on file extension when opening files
- within that hyperdrive. Files in hyperdrives which are "unsafe"
- (the default) are opened in ~fundamental-mode~.
+ Mark a hyperdrive as "safe", "unsafe", or "unknown". This command
+ can also be invoked from ~hyperdrive-menu-hyperdrive~ and the menu bar.
** Purge a hyperdrive
diff --git a/doc/hyperdrive.texi b/doc/hyperdrive.texi
index 575656c44a..fe8a4298e7 100644
--- a/doc/hyperdrive.texi
+++ b/doc/hyperdrive.texi
@@ -1068,14 +1068,18 @@ Fold or unfold the section at point.
@node Mark a hyperdrive as safe
@section Mark a hyperdrive as safe
-For security reasons, @code{hyperdrive.el} does not enable major modes based
-on file extension unless the hyperdrive has been marked as ``safe.''
+For security reasons, @code{hyperdrive.el} does not enable major modes
+based on file extension unless the hyperdrive has been marked as
+``safe.'' When opening a file in a hyperdrive marked as ``unknown'' (the
+default), @code{hyperdrive.el} will prompt you to mark the drive as ``safe'',
+``unsafe'', or ``unknown''. Files in hyperdrives which are marked as
+``safe'' are always opened in the appropriate major mode with
+@code{set-auto-mode}. Files in hyperdrives which are marked as ``unsafe''
+are opened in @code{fundamental-mode} (no major mode).
@deffn Command hyperdrive-mark-as-safe
-Mark a hyperdrive as ``safe,'' which will cause major modes to be
-automatically be enabled based on file extension when opening files
-within that hyperdrive. Files in hyperdrives which are ``unsafe''
-(the default) are opened in @code{fundamental-mode}.
+Mark a hyperdrive as ``safe'', ``unsafe'', or ``unknown''. This command
+can also be invoked from @code{hyperdrive-menu-hyperdrive} and the menu bar.
@end deffn
@node Purge a hyperdrive
- [nongnu] elpa/hyperdrive 43b0704dcf 08/14: Change: (h/describe-hyperdrive) Use h/safe-string, (continued)
- [nongnu] elpa/hyperdrive 43b0704dcf 08/14: Change: (h/describe-hyperdrive) Use h/safe-string, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 65d6204dd0 09/14: Change: (h/menu-mark-as-safe) Prompt to mark as safe/unsafe/unknown, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive dd0a28b1f7 10/14: Change: (h/write-buffer) Prompt to mark as safe when writing, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 5aba07372b 11/14: Add: (h/safe, h/unsafe, h/safe-unknown) Faces; Use in h/safe-p, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive bcfc7adaf7 14/14: Merge: Mark hyperdrive as "safe", "unsafe", or "unknown", ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive e7cb936587 01/14: Tidy: (hyperdrive-mark-as-safe) Capitalization, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 188438e59d 02/14: Change: (h/mark-as-safe) Allow marking as 'unknown, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive f57c9086dd 05/14: Add: (h/safe-string) New function, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 44ddb430de 04/14: Change: (h/handler-default) Prompt to mark safe when loading file, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 9ee220d67e 12/14: Fix: (h/handler-default, h/write-buffer) Keep major mode if same, ELPA Syncer, 2024/08/18
- [nongnu] elpa/hyperdrive 708fa6096e 13/14: Docs: (hyperdrive-mark-as-safe) Document changes,
ELPA Syncer <=