From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Shoting yourself in the foot with shell links Date: Mon, 10 Apr 2006 21:09:23 +0200 Message-ID: Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FT1lE-00058e-M8 for emacs-orgmode@gnu.org; Mon, 10 Apr 2006 15:09:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FT1lD-000580-Ds for emacs-orgmode@gnu.org; Mon, 10 Apr 2006 15:09:16 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FT1lD-00057p-9g for emacs-orgmode@gnu.org; Mon, 10 Apr 2006 15:09:15 -0400 Received: from [194.134.35.146] (helo=smtp06.wanadoo.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FT1pu-0007RE-Mx for emacs-orgmode@gnu.org; Mon, 10 Apr 2006 15:14:06 -0400 Received: from [192.168.2.2] (dc5146d3e6.adsl.wanadoo.nl [81.70.211.230]) by smtp6.wanadoo.nl (Postfix) with ESMTP id 41CB874AC5 for ; Mon, 10 Apr 2006 21:09:14 +0200 (CEST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org 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