Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why do I have to confirm the execution of each shell/elisp link?

confirm elisp execution link Shell
0
Posted

Why do I have to confirm the execution of each shell/elisp link?

0

The confirmation is there to protect you from unwantingly execute potentially dangerous commands. For example, imagine a link [[shell:rm -rf ~/*][ Google Search]] In an Org-mode buffer, this command would look like Google Search, but really it would remove your home directory. If you wish, you can make it easier to respond to the query by setting (setq org-confirm-shell-link-function ‘y-or-n-p org-confirm-elisp-link-function ‘y-or-n-p). Then a single keypress will be enough to confirm those links. It is also possible to turn off this check entirely, but I strongly recommend against this. Be warned.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123