View Single Post
Old 09-30-2014, 03:01 PM   #23
varlog
actually it is /var/log
varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.varlog ought to be getting tired of karma fortunes by now.
 
varlog's Avatar
 
Posts: 341
Karma: 2994236
Join Date: Sep 2012
Location: usually Europa
Device: prs t1
Quote:
Originally Posted by KevinH View Post
You do realize that you are talking about naming a temporary file that will be needed to have save-as done on it once it makes it to Sigil, right?
Yes, I do. I even wrote patch to make Sigil propose "Save As" instead of "Save" in those cases - alas: user-none didn't like it .

Quote:
Yes, running it through a file cleaning routine is indeed possible and KindleUnpack has one I think. Giving it the same basename as the original file might in fact be easier to do since no file name cleaning routine would be needed at all since a valid base name has to exist.
I would just like to get meaningful file name proposed by Sigil on the fly.
Original file name would be second choice for me. This would be in most cases unique but not necessarily meaningful. Both of them would be optimal but, as I've mentioned, somehow overkill.
varlog is offline   Reply With Quote