emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Shoting yourself in the foot with shell links
@ 2006-04-10 19:09 Carsten Dominik
  0 siblings, 0 replies; only message in thread
From: Carsten Dominik @ 2006-04-10 19:09 UTC (permalink / raw)
  To: emacs-orgmode


We had some discussion here about shell links, and some people might be 
wondering why there is a confirmation prompt for shell links at all.  
Here is why:

Consider a link

     [[shell:rm -rf ~/*][Google Search]]

This link would look like "Google Search" in an Org-mode buffer, but 
when you activate it, it would remove your home directory.  So there is 
a very good reason to prompt for confirmation, and fully removing the 
confirmation is a rather bad idea.

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-04-10 19:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-10 19:09 Shoting yourself in the foot with shell links Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).