]> git.eshelyaron.com Git - emacs.git/commit
Limit casemapping to appropriate ranges in ERC
authorF. Jason Park <jp@neverwas.me>
Mon, 12 Dec 2022 03:41:43 +0000 (19:41 -0800)
committerF. Jason Park <jp@neverwas.me>
Wed, 14 Dec 2022 14:40:55 +0000 (06:40 -0800)
commit09c0c6b2ba36c6b87e8e495710a580e909bbaf26
tree9ca3ca08c2fd2a5fcd155674dcf00afa9b668667
parent44b04c0ac1caef2283076d0784e0407940c14287
Limit casemapping to appropriate ranges in ERC

* lisp/erc/erc-common.el (erc-downcase): Use case table for
`erc-downcase' so that case conversions are limited to the ASCII
interval.
* lisp/erc/erc.el (erc-casemapping--rfc1459-strict,
erc--casemapping-rfc1459): Make these case tables instead of
translation tables.  The functions in case-table.el modify the
standard syntax table, but that doesn't seem to make sense here,
right?
* test/lisp/erc/erc-tests.el (erc-downcase): Add cases showing
mappings outside of the ASCII range.  (Bug#59976.)
lisp/erc/erc-common.el
lisp/erc/erc.el
test/lisp/erc/erc-tests.el