]> git.eshelyaron.com Git - emacs.git/commit
Make [:print:] support non-ASCII characters correctly
authorEli Zaretskii <eliz@gnu.org>
Tue, 14 Apr 2015 15:47:04 +0000 (18:47 +0300)
committerEli Zaretskii <eliz@gnu.org>
Tue, 14 Apr 2015 15:47:04 +0000 (18:47 +0300)
commit6c284c6b5828bc4407f7201499e0507ce0e5a0a0
tree0e89f736a55245dc7e59725e57effb3b36b6dfe8
parent8802474a219ad3be01825466a8837d3775f8b31b
Make [:print:] support non-ASCII characters correctly

* src/regex.c (ISPRINT): Call 'printablep' for multibyte characters.
(BIT_PRINT): New bit mask.
(re_wctype_to_bit): Return BIT_PRINT for RECC_PRINT.
* src/character.c (printablep): New function.
* src/character.h (printablep): Add prototype.

* lisp/emacs-lisp/rx.el (rx): Doc fix: document the new behavior
of 'print', 'alnum', and 'alphabetic'.

* doc/lispref/searching.texi (Char Classes): Document the new
behavior of [:print:].

* etc/NEWS: Mention the new behavior of [:print:].
doc/lispref/searching.texi
etc/NEWS
lisp/emacs-lisp/rx.el
src/character.c
src/character.h
src/regex.c