From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: How can I stop org-agenda-write from overwriting existing files. Date: Fri, 01 Mar 2013 15:07:08 +0100 Message-ID: <87zjynp62b.fsf@bzg.ath.cx> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:47635) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBQcB-0001S0-Ma for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 09:07:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBQcA-0000VT-HM for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 09:07:11 -0500 Received: from mail-wi0-x229.google.com ([2a00:1450:400c:c05::229]:42867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBQcA-0000Ux-Bz for emacs-orgmode@gnu.org; Fri, 01 Mar 2013 09:07:10 -0500 Received: by mail-wi0-f169.google.com with SMTP id l13so10464716wie.4 for ; Fri, 01 Mar 2013 06:07:09 -0800 (PST) In-Reply-To: (Rainer Stengele's message of "Fri, 01 Mar 2013 10:28:27 +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: Rainer Stengele Cc: emacs-orgmode@gnu.org Hi Rainer, Rainer Stengele writes: > 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? You are now asked before overwriting the file, thanks for suggesting this. -- Bastien