From mboxrd@z Thu Jan 1 00:00:00 1970 From: Rainer Stengele Subject: How can I stop org-agenda-write from overwriting existing files. Date: Fri, 01 Mar 2013 10:28:27 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBMGo-0003kA-BL for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 04:28:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBMGn-00024Z-ER for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 04:28:50 -0500 Received: from plane.gmane.org ([80.91.229.3]:40953) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBMGn-00024Q-7h for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 04:28:49 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UBMGz-0002jq-Jc for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 10:29:01 +0100 Received: from 212.34.176.74 ([212.34.176.74]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Mar 2013 10:29:01 +0100 Received: from rainer.stengele by 212.34.176.74 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 01 Mar 2013 10:29:01 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Hi all, constructing an agenda with clocktable for 1 month takes some time here.. Writing the agenda to "/patch/agenda-201302.html" works fine. Then creating the agenda for the previous month I also want to write it to a html file. I would like to use "/patch/agenda-201301.html" for it. providing "/path/ag" and pressing TAB expands the existing path and - overwrites the uniquely found file! How can I stop org-agenda-write from overwriting existing files? Should we consider to introduce an option instead of advising the function? Thanks, Rainer