Files
emacs/lisp
Noam Postavsky b59ffd2290 Support (rx (and (regexp EXPR) (literal EXPR))) (Bug#36237)
* lisp/emacs-lisp/rx.el (rx-regexp): Allow non-string forms.
(rx-constituents): Add literal constituent, which is like a plain
STRING form, but allows arbitrary lisp expressions.
(rx-literal): New function.
(rx-compile-to-lisp): New variable.
(rx--subforms): New helper function for handling subforms, including
non-constant case.
(rx-group-if, rx-and, rx-or, rx-=, rx->=, rx-repeat, rx-submatch)
(rx-submatch-n, rx-kleene, rx-atomic-p): Use it to handle non-constant
subforms.
(rx): Document new form, wrap non-constant forms with concat call.
* test/lisp/emacs-lisp/rx-tests.el (rx-tests--match): New macro.
(rx-nonstring-expr, rx-nonstring-expr-non-greedy): New tests.
* etc/NEWS: Announce changes.
2019-06-25 22:00:03 -04:00
..
2019-06-19 22:56:26 +02:00
2019-06-25 15:12:04 +02:00
2019-06-22 12:15:40 +03:00
2019-06-22 12:05:28 +03:00
2019-06-25 23:23:01 +02:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-05-26 01:00:16 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-05-26 01:00:16 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-05-26 01:00:16 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:16 -07:00
2019-06-26 01:15:06 +02:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-06-12 16:15:30 +02:00
2019-04-05 20:33:07 -04:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:16 -07:00
2019-02-07 12:23:09 +03:00
2019-01-01 01:01:13 +00:00
2019-02-10 23:54:35 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-05-26 01:00:16 -07:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2019-06-12 23:38:55 +02:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2019-06-12 13:56:27 +02:00
2019-06-07 07:50:49 -07:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-01-01 01:01:13 +00:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2019-06-01 12:04:41 -07:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-01-01 01:01:13 +00:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:16 -07:00
2019-05-26 01:00:16 -07:00
2019-06-23 19:07:43 +02:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:16 -07:00
2019-05-26 01:00:16 -07:00
2018-12-31 17:57:29 -08:00
2018-12-31 17:57:29 -08:00
2019-05-26 01:00:16 -07:00
2019-01-01 01:01:13 +00:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.