* How can I stop org-agenda-write from overwriting existing files.
@ 2013-03-01 9:28 Rainer Stengele
2013-03-01 14:07 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Rainer Stengele @ 2013-03-01 9:28 UTC (permalink / raw)
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I stop org-agenda-write from overwriting existing files.
2013-03-01 9:28 How can I stop org-agenda-write from overwriting existing files Rainer Stengele
@ 2013-03-01 14:07 ` Bastien
2013-03-03 16:25 ` Simon Thum
0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2013-03-01 14:07 UTC (permalink / raw)
To: Rainer Stengele; +Cc: emacs-orgmode
Hi Rainer,
Rainer Stengele <rainer.stengele@online.de> 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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: How can I stop org-agenda-write from overwriting existing files.
2013-03-01 14:07 ` Bastien
@ 2013-03-03 16:25 ` Simon Thum
2013-03-03 16:54 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Simon Thum @ 2013-03-03 16:25 UTC (permalink / raw)
To: Bastien; +Cc: Rainer Stengele, emacs-orgmode
Dear Bastien,
On 03/01/2013 03:07 PM, Bastien wrote:
> Hi Rainer,
>
> Rainer Stengele <rainer.stengele@online.de> writes:
>
>> 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.
>
this breaks my setup. I export to mobileOrg on my server whenever I
sync. Now I am being asked "Overwrite existing file
/home/org-mobile/mobileOrg/agendas.org? (y or n) y" but the script does
not answer.
I am invoking:
emacs -batch -l ~/.emacs.d/init.el -f org-mobile-push --kill
but even though I use -batch the question is asked!
How can I fix this?
Cheers,
Simon
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-03-03 17:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-01 9:28 How can I stop org-agenda-write from overwriting existing files Rainer Stengele
2013-03-01 14:07 ` Bastien
2013-03-03 16:25 ` Simon Thum
2013-03-03 16:54 ` Bastien
2013-03-03 17:24 ` Simon Thum
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.