First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 771
Product:
Component:
Status: VERIFIED
Resolution: FIXED
Assigned To: bugs-owner@abisource.com
Hardware:
OS:
Version:
Priority:
Severity:
Target Milestone:
Reporter: morpheus@airmail.net
Add CC:
CC:
QA Contact:
URL:
Summary:
Status Whiteboard:
Keywords:

Attachment Type Creator Created Size Flags Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 771 depends on: Show dependency tree
Show dependency graph
Bug 771 blocks:

Additional Comments:






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2000-02-24 08:58
When writing a perl script in abiword i choose to save the file as type "all
files" and name it with the pl extension. When i open the document again is has
converted the script into an html format.

------- Comment #1 From sytobinh@uchicago.edu 2000-02-27 02:55:59 -------
Currently, if you choose "Automatically Detected," which is presumably what
this
person meant by "all files" and use an extension that AbiWord does not
recognize
(such as .pl) AbiWord assumes that you are creating an AbiWord document (which
is probably what the reporter mistook for HTML).  While for .pl we should
probably default to txt, I'm not sure if this a generally solvable problem.  We
can't have a list of every possible extension, and I think that an AbiWord
default value is good, because otherwise it would be harder to create documents
with a "." in the name - violating the Just Work principle.  For example, if
you
have automatically detected (the default), and type in the name abi.word, you
presumably want the document to be in .abw format, and to have a .abw
extension.

------- Comment #2 From aaronl@vitelus.com 2000-03-18 15:41:59 -------
It is fundamentally wrong to use file extensions for anything other than a last
resort. I don't care about the brain-deadness of Win32, AbiWord is a cross
platform word proccessor and shouldn't function at the lowest common
denominator.

------- Comment #3 From aaronl@vitelus.com 2000-06-12 00:59:59 -------
I've finally fixed this on UNIX. On Win32, it's none of my business :). I
consider MS's use of filename extensions to determine file type to be a bug, so
I am leaving this open. I think it is consistant, but horribly confusing to
always append .abw if the code is going to append .abw at all. If the code only
appended .abw if there was no filename extension in the filename the user gave,
that would be horribly inconsistant. I don't think most people will agree with
me, but that's the way I view it. The question is whether the windows frontend
people want to keep it like it is now or move to a more consistant behavior. But
I don't want to get involved with that descision :)

------- Comment #4 From Tim 2001-07-14 13:01:07 -------
Verified. This works on long as you choose save as file type of text.

First Last Prev Next    No search results available      Search page      Enter new bug