wmperry(a)aventail.com (William M. Perry) writes:
> You misunderstand. `make-char' is kosher. `int-char'
is not, and
> neither is `char-int'. (Except in internal code, or if you really
> know what you're doing.)
I have to make the letter 'j' in a funky character set that I
define, and the table I make them from has real chars in it because
?j is easier to read, and make-char will not take a char as an
argument.
(char-int ?j) is, again, perfectly fine. I don't think Stephen's (or
anyone else's) changes will break it, either. The problem is with
using (char-int (make-char 'latin-iso8859-2 57)) for something other
than temporary storage within one Emacs image.
> Why do you need int-char and char-int in SOCKS?
Because I like to write things that will be reasonably sane looking like
(if (= (char-int x) 5)
...
)
That's also OK.
William, you're off the hook. You may go home to your wife and child
now. Thank you for cooperating. You will receive the bill within a
week.
:-)