[babel-devel] enc- -> encoding- rename?
hi! there are a million different ways to abbreviate something, so i propose to rename the enc-* accessors of character-encoding to encoding-*. the following dependencies have been identified that need to be changed: - cffi - cxml - iolib anything else? any strong opinions to keep it as it is? -- attila
there are a million different ways to abbreviate something, so i propose to rename the enc-* accessors of character-encoding to encoding-*.
the following dependencies have been identified that need to be changed: - cffi - cxml - iolib
hm, we could add a compiler-macro that converts to the new accessors and issues a deprecation style-warning at compile time. not that it's so important, but i've found this old mail laying around here and i've thought i share this idea i had recently. -- attila
On Sun, Sep 7, 2008 at 7:39 PM, Attila Lendvai <attila.lendvai@gmail.com> wrote:
hm, we could add a compiler-macro that converts to the new accessors and issues a deprecation style-warning at compile time.
Ah, I like that idea. I guess a regular (generic) function would also need to be added since compiler-macros are not guaranteed to be used. What's the best way to do this with generic functions? (setf (fdefinition 'old-name) #'new-name) ;? ;; then use a compiler macro here to issue the style-warning. -- Luís Oliveira http://student.dei.uc.pt/~lmoliv/
participants (2)
-
Attila Lendvai
-
Luís Oliveira