emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[nongnu] elpa/dslide fbf801fc91 10/21: Notes about org-confirm-babel-eva


From: ELPA Syncer
Subject: [nongnu] elpa/dslide fbf801fc91 10/21: Notes about org-confirm-babel-evaluate
Date: Tue, 17 Dec 2024 13:00:53 -0500 (EST)

branch: elpa/dslide
commit fbf801fc91cffc597e60a91f6f704d22885292e8
Author: Psionik K <73710933+psionic-k@users.noreply.github.com>
Commit: Psionik K <73710933+psionic-k@users.noreply.github.com>

    Notes about org-confirm-babel-evaluate
---
 doc/manual.org | 9 +++++++++
 test/demo.org  | 5 +++++
 2 files changed, 14 insertions(+)

diff --git a/doc/manual.org b/doc/manual.org
index ca11b4936e..4794e6ed20 100644
--- a/doc/manual.org
+++ b/doc/manual.org
@@ -276,6 +276,15 @@ The babel action also understands regular babel options 
such as =:exports= and =
   ,#+end_src
 #+end_src
 🚧 Some =:exports= and =:results= values are possibly not supported or 
supported weirdly.  Please, file issues 💁🍔
+*** Confirming Evaluation 🔏
+:PROPERTIES:
+:DESCRIPTION: Stop asking me!
+:END:
+#+cindex: confirming evaluation
+By default, ~org-confirm-babel-evaluate~ is set to nil.  This will drive you 
nuts during a presentation.  You should set this to t either in your 
~dslide-start-hook~ or in a [[File Local Variables 🍦][file local variable]].
+
+#+cindex: untrusted source
+☣️ Don't run random people's presentations without checking the source!
 *** Step Callbacks 👟
 :PROPERTIES:
 :DESCRIPTION: Adding extra steps
diff --git a/test/demo.org b/test/demo.org
index 41e000ed69..b62780d058 100644
--- a/test/demo.org
+++ b/test/demo.org
@@ -172,6 +172,7 @@ By default, blocks will run as steps.
   (message "By default, a block is just a forward step.")
 #+end_src
 
+You may want to set ~org-confirm-babel-evaluate~ to =nil= to avoid being asked 
at every block during a presentation.  To only set this for dslide 
presentations, use the ~dslide-start-hook~.  To set it per-file, use a 
file-local variable, liket his demo does at the end.
 ** Forwards & Backwards
 - The direction of a block can be set using the =:direction= parameter, the 
same as other babel block parameters
 - Blocks can be marked =forward=, =backward=, or =both= to run via 
~dslide-deck-forward~ or ~dslide-deck-backward~.
@@ -441,3 +442,7 @@ The essence of democracy is the resolve of individuals 
working together to shape
 - This package use used to create videos on Positron's own 
[[https://www.youtube.com/channel/UCqM0zDcFNdAHj7uQkprLszg/][YouTube ]] channel
 - File issues and request features to give us ideas about usage and need
 - To participate in our effort to accelerate Emacs into this upcoming era of 
change, become a contributor one of our 
[[https://github.com/sponsors/positron-solutions][Github Sponsors]].
+
+# Local Variables:
+# org-confirm-babel-evaluate: nil
+# End:



reply via email to

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