Mercurial > emacs
view admin/charsets/kuten.awk @ 92778:054fe9aaf3e3
Use with-current-buffer.
(nntp-send-buffer): Just set the buffer to unibyte rather than use the
dubious mm-with-unibyte-current-buffer.
(nntp-with-open-group-function): New function extracted from
nntp-with-open-group macro.
(nntp-with-open-group): Use the function, so it's easier to debug.
Add indentation and debugging info.
(nntp-open-telnet-stream, nntp-open-via-rlogin-and-telnet): Recommend the
use of the netcat alternatives.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Wed, 12 Mar 2008 19:56:09 +0000 |
parents | e0e4e6a0599f |
children | ef719132ddfa |
line wrap: on
line source
/^[0-9]/ { ku=substr($1, 3, 2) + 32; ten=substr($1, 5, 2) + 32; printf "0x%02X%02X %s\n", ku, ten, $2; } # arch-tag: dade6b45-b4c5-42ab-9d49-d6bf23a710b6