[OS X Emacs] Saving without Resource Fork
Nathaniel Cunningham
nathaniel.cunningham at gmail.com
Wed Feb 6 10:32:53 EST 2008
On Feb 6, 2008, at 9:34 AM, David Reitter wrote:
> On 6 Feb 2008, at 14:23, Joshua Smith wrote:
>>>>
>>>> When I open a file with Aquamacs, and then save it, its resource
>>>> fork is changed so that the Finder now thinks it is an Aquamacs
>>>> file. Since Emacs is a general purpose editor, I think this is
>>>> the wrong thing to do in almost every case.
>
> Joshua, since you've investigated this: is what Aquamacs does
> different in any way from other editors such as Textedit,
> Textwrangler or BBEdit?
>
> - D
Here's my experience with some test cases:
TextEdit -- removes any creator and type codes after editing and saving a
file. Same result as creating and saving a new file in TextEdit.
TextWrangler -- Adds TEXT type code if no type code exists previously. Does
not modify creator code for previously-created files. New files created
with TW get its own creator and type codes.
TexShop -- Always modifies creator and type codes.
Aquamacs -- Adds creator code if file had none before, and same behavior for
type code. Does not modify pre-existing codes.
So other editors don't have consistent behavior, but Aquamacs's behavior
doesn't match any of my test apps.
--Nathaniel
On Feb 6, 2008 8:54 AM, Joshua Smith <jesmith at kaon.com> wrote:
> I don't know about textwrangler or bbedit -- I'm an Emacs user and
> cannot tolerate any other text editor.
>
> I just tried with TextEdit, and it did not write the creator codes.
>
> Regardless, I think Emacs is different from those editors, because it
> is universal. You can edit binaries in hex, you can edit ZIP
> archives, etc. The best answer would be that if I open a file which
> has a creator code, that when I save, it writes that same creator
> code out. But short of that, not writing a creator code at all is
> definitely preferable.
>
> -Joshua
>
>
> >
> >
> >
> >
> > --
> > http://aquamacs.org -- Aquamacs: Emacs on Mac OS X
> > http://aquamacs.org/donate -- Could we help you? Return the favor
> > and support the Aquamacs Project!
> >
> >
> >
> >
> > _____________________________________________________________
> > MacOSX-Emacs mailing list
> > MacOSX-Emacs at email.esm.psu.edu
> > http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> > List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>
>
> _____________________________________________________________
> MacOSX-Emacs mailing list
> MacOSX-Emacs at email.esm.psu.edu
> http://email.esm.psu.edu/mailman/listinfo/macosx-emacs
> List Archives: http://dir.gmane.org/gmane.emacs.macintosh.osx
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://email.esm.psu.edu/pipermail/macosx-emacs/attachments/20080206/d3e4cddb/attachment.html>
More information about the MacOSX-Emacs
mailing list