>>>>> On Sat, 9 Jul 2005 09:08:16 -0700, Steven Tamm <[EMAIL PROTECTED]> said:

> That doesn't mean we shouldn't add the feature to "set a creator
> code", but it should take in the code as a parameter (a four
> character string or a 32-bit number).
> (mac-set-creator-type "EMAx")
> (mac-set-file-type "TEXT")

Apparently the argument for a file name is missing. :-)

I think these functions should follow the convention of existing
operations on files.  For example, with respect to the default
directory, error handling, and argument names.  Maybe the function
name should be "mac-set-file-creator".  We can additionally think of
"mac-file-creator" and "mac-file-type", or "mac-file-attributes" for
reading these kinds of information.

And more importantly, please care about BLOCK_INPUT when adding new C
functions.  It required much effort to fill missing BLOCK_INPUTs that
had been a cause of unstability in the Carbon port.

                                     YAMAMOTO Mitsuharu
                                [EMAIL PROTECTED]


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to