"Stephen J. Turnbull" <turnbull(a)sk.tsukuba.ac.jp> writes:
Simon> Optional seventh argument CODING-SYSTEM
We should make all of these CODING-SYSTEM arguments go away. They
normally get implemented internally to the function by dynamically
binding a variable. That's pretty evil, too, but as long as that is
true (let ((coding-system-for-write codesys)) (write-region ...)) is a
workaround.
Sounds good.
OK, thanks for checking. Nothing in APEL? That's strange.
I did not check thoroughly. Easiest way is probably to remove the
optional parameter, recompile every lisp in sight and watch the
errors.
Simon> (Of course, `write-region' could look at the
argument to
Simon> see if it is a coding system or not and support both XEmacs
Simon> and Emacs syntax. But it's not nice.)
But as long as we can't prove that somebody somewhere is not using
that argument ....
This is what I would want for 21.4. It's probably the way we should
start in 21.5. You can do a display-warning that the CODESYS usage is
obsolete.
Sounds fair. I'll see if I can come up with a patch.