"Kirill M. Katsnelson" <kkm(a)kis.ru> writes:
Some time ago, Hrvoje Niksic wrote...
|+
| For the record: I *do* note that md5 checksums are useful for things
| other than the internal buffer representation. But I don't think that
| `md5' *function* should have that additional CODING-SYSTEM argument.
| Couldn't it pick the coding system from a generally useful variable,
| like coding-system-for-write? Am I making any sense?
Buffer-local variable buffer-file-coding-system contains coding system
for the current buffer.
True, but that variable doesn't exists for strings. For instance:
(md5 "some Japanese text")
This is what the CODING-SYSTEM argument and the guessing code is there
for.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
Then... his face does a complete change of expression. It goes from
a "Vengeance is mine" expression, to a "What the fuck" blank look.