emacs-devel
[Top][All Lists]
Advanced

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

Re: Carbon port: setting the creator code (patch)


From: YAMAMOTO Mitsuharu
Subject: Re: Carbon port: setting the creator code (patch)
Date: Sun, 10 Jul 2005 09:56:01 +0900
User-agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI)

>>>>> On Sat, 9 Jul 2005 09:08:16 -0700, Steven Tamm <address@hidden> 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
                                address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]