]> git.eshelyaron.com Git - emacs.git/commit
Make [:graph:] act like [:print:] sans space
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Apr 2015 07:26:32 +0000 (00:26 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 15 Apr 2015 07:27:18 +0000 (00:27 -0700)
commita122a0276bddbda8ca84f9b94250a5a5f4e0582a
tree4d0368943f2d0c53504e1e5e4727adaafd602d7e
parent45d75c0b758cf152698e83e180dfc8eed5d355ba
Make [:graph:] act like [:print:] sans space

In POSIX [[:print:]] is equivalent to [ [:graph:]], so change
[:graph:] so that it matches everything that [:print:] does,
except for space.
* doc/lispref/searching.texi (Char Classes):
* etc/NEWS:
* lisp/emacs-lisp/rx.el (rx):
Document [:graph:] to be [:print:] sans ' '.
* src/character.c, src/character.h (graphicp): New function.
* src/regex.c (ISGRAPH) [emacs]: Use it.
(BIT_GRAPH): New macro.
(BIT_PRINT): Increase to 0x200, to make room for BIT_GRAPH.
(re_wctype_to_bit) [! WIDE_CHAR_SUPPORT]:
Return BIT_GRAPH for RECC_GRAPH.
(re_match_2_internal) [emacs]: Use ISGRAPH if BIT_GRAPH,
and ISPRINT if BIT_PRINT.
doc/lispref/searching.texi
etc/NEWS
lisp/emacs-lisp/rx.el
src/character.c
src/character.h
src/regex.c