Mathias Bauer wrote:
Hi Joost,
Joost Andrae wrote:
Hi,
on 'real' operating systems file extensions aren't necessarily needed as
the operating system provides automatic file content detection by itself
(eg. /etc/magic). Inside OpenOffice.org in case of text files (eg.
ASCII) there's the only exception I know because if a text file uses the
file extension .csv then this file is opened in Calc and otherwise
Writer will care about text files. I can second your opinion that the
removal of an 'auto-extension' is not useful because files can be
overwritten by accident but in my opinion the user should have the
choice to create files without an extension.
Saving without extension is a bad idea for a platform independent
application where the still most used platform relies on them to detect
the file type. You will start getting problems when you want to use this
document on another system.
I can find a lot of features that may be useful for some users in some
cases. But I don't consider saving files without extensions as important
and OTOH the drawbacks are obvious.
As this isn't a development related topic I recommend to move the
discussion to [EMAIL PROTECTED] But as 2.4 deadline is
approaching we also must find a fast and simple solution (or live with
the current state until 3.0). And that's what we are currently looking
for anyway.
Ciao,
Mathias
Hi Mathias,
I wanted to throw in my two cents' worth before this disappears to the discuss
list. Since a period is a valid character for filenames and not simply an
extension delimiter, any solution must allow for filenames with periods. I would
recommend that OOo append the proper extension to all new files, based on the
module they have been created in and/or the file type chosen in the save
dialogue. This would apply to 'file / save as' as well as 'file / new'. Exceptions:
1) Files opened explicitly using drag and drop or 'file / open' should keep
their original file names.
2) New filenames (first save or save as) enclosed by double quotes should not be
modified.
3) In situations where the file type is unknown, open a 'what file type is
this?' dialogue.
tc
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]