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

# Re: [femm] file name update

- To: femm@yahoogroups.com
- Subject: Re: [femm] file name update
- From: David Meeker <dmeeker@foster-miller.com>
- Date: Fri, 11 Jan 2002 10:01:23 -0500
- References: <253D3D5DE6D6F04092A36D739A8F2976013B7B@dvrfile.dvrhome.com>

    Carl Kopin wrote:

    > Dear Dave,
    >
    > when file is opened with lua script openfemmfile("filename.fem")
    > function the file name in the title window bar does not change unless
    > the savefemmfile("filename.fem") lua script is used. When trying to save
    > this file using "file save" menu the "save as" window opens with default
    > file name of the form "filename.fem.FEM".
    >
    > Is this intentional feature, missed minor bug, or I am missing
    > something?
    >
    > Thanks for your program and extensive support,
    > Carl
    >

    This is a bug--the program ought to update the filename that it uses
    internally when you make a successful call openfemmfile. I think that this
    ought to be pretty easy to fix. It ought to be as simple as changing the
    line:
    thisDoc->OnOpenDocument(temp)
    in the luaOpenDocument function in the luadoc.cpp part of femme to something
    like:
    if (thisDoc->OnOpenDocument(temp)!=FALSE) thisDoc->SetPathName(temp);
    This sets the file name if the document opens correctly.

    Anyhow, I'll try to get around to posting an executable with the fix this
    weekend. There's also a modification that I've sort of been sitting on that
    seems to get around an instance where the solver for time-harmonic problems
    breaks down (see http://groups.yahoo.com/group/femm/message/896 for some
    discussion). I'll include that fix as well.

    Anyhow, thanks for pointing this out.

    Dave.

    --------------DC37B41DBB5A9A3490DA5BC4
    Content-Type: text/html; charset=us-ascii
    Content-Transfer-Encoding: 7bit

    <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
    <html>
    Carl Kopin wrote:
    <blockquote TYPE=CITE>Dear Dave,
    <p>when file is opened with lua script openfemmfile("filename.fem")
    <br>function the file name in the title window bar does not change unless
    <br>the savefemmfile("filename.fem") lua script is used. When trying to
    save
    <br>this file using "file save" menu the "save as" window opens with default
    <br>file name of the form "filename.fem.FEM".
    <p>Is this intentional feature, missed minor bug, or I am missing
    <br>something?
    <p>Thanks for your program and extensive support,
    <br>Carl
    <br><a href="http://docs.yahoo.com/info/terms/";></a>&nbsp;</blockquote>
    This is a bug--the program ought to update the filename that it uses internally
    when you make a successful call openfemmfile.&nbsp; I think that this ought
    to be pretty easy to fix.&nbsp; It ought to be as simple as changing the
    line:
    <br>thisDoc->OnOpenDocument(temp)
    <br>in the luaOpenDocument function in the luadoc.cpp part of femme to
    something like:
    <br>if (thisDoc->OnOpenDocument(temp)!=FALSE) thisDoc->SetPathName(temp);
    <br>This sets the file name if the document opens correctly.
    <p>Anyhow, I'll try to get around to posting an executable with the fix
    this weekend.&nbsp; There's also a modification that I've sort of been
    sitting on that seems to get around an instance where the solver for time-harmonic
    problems breaks down (see <A HREF="http://groups.yahoo.com/group/femm/message/896";>http://groups.yahoo.com/group/femm/message/896</A>
    for some discussion).&nbsp; I'll include that fix as well.
    <p>Anyhow, thanks for pointing this out.
    <p>Dave.
    <br>&nbsp;</html>

    --------------DC37B41DBB5A9A3490DA5BC4--

    begin:vcard
    n:Meeker;David
    tel;fax:781-890-3489
    tel;work:781-684-4070
    x-mozilla-html:TRUE
    url:http://www.foster-miller.com
    org:Foster-Miller, Inc.;Electrical and Electronic Systems Group
    adr:;;350 Second Avenue;Waltham;MA;02451;USA
    version:2.1
    email;internet:dmeeker@foster-miller.com
    title:Senior Engineer
    fn:David Meeker
    end:vcard

- References:
  - file name update
    - From: "Carl Kopin" <ckopin@davinciresearch.com>

- Prev by Date: file name update
- Next by Date: Inductance of two conductors
- Previous by thread: file name update
- Next by thread: Inductance of two conductors
- Index(es):
  - Date
  - Thread