[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [ox-ascii] Export file overwrites source file
From: |
Sebastien Vauban |
Subject: |
Re: [O] [ox-ascii] Export file overwrites source file |
Date: |
Fri, 15 Feb 2013 19:54:21 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.2.91 (windows-nt) |
Nicolas,
Nicolas Goaziou wrote:
> "Sebastien Vauban" 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.
Even if I don't answer each such post, thanks to *you* for making those
changes, and so quickly.
Best regards,
Seb
--
Sebastien Vauban