emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] [ox-ascii] Export file overwrites source file


From: Nicolas Goaziou
Subject: Re: [O] [ox-ascii] Export file overwrites source file
Date: Fri, 15 Feb 2013 15:11:37 +0100


Hello,

"Sebastien Vauban"
<address@hidden> writes:

> As many people, I think, I've also associated Org-mode to .txt files.
>
> Now, with the new exporter, if I export `a.txt' as "plain text", it overwrites
> (without notice, BTW) my source file `a.txt': it's lost.
>
> Before, in such a case, the exporter noticed that I already had a file named
> `a.txt', hence it named the exported file as `a.txt.txt', what I found to be a
> good trade-off.
>
> Shouldn't that behavior be put back in the ASCII exporter?

Indeed. Export should never overwrite original file, whatever the export
back-end is.

It should be fixed in master. Thank you for reporting this.


Regards,

-- 
Nicolas Goaziou




reply via email to

[Prev in Thread] Current Thread [Next in Thread]