From: Juri Linkov <juri@linkov.net>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: Lack of tooling slowing down contributions
Date: Wed, 19 Jun 2019 23:47:33 +0300 [thread overview]
Message-ID: <87k1dhxvi2.fsf@mail.linkov.net> (raw)
In-Reply-To: <vz1k1dhrb7r.fsf@gmail.com> (Andy Moreton's message of "Wed, 19 Jun 2019 13:50:00 +0100")
>> BTW, I tried to replace the regexp above with ‘rx’ that is easier to read:
>>
>> (rx (group (>= 5 (not (any " ."))))
>> (group (regexp (sentence-end))))
>>
>> but it fails. Not sure if this will be fixed in bug#36237.
>
> The regexp subform takes a string argument, so you need:
>
> `(rx (group (>= 5 (not (any " ."))))
> (group (regexp ,(sentence-end))))
But 'eval' doesn't require backquoting:
(rx (group (>= 5 (not (any " ."))))
(group (eval (sentence-end))))
The only problem with 'eval' is that it applies 'regexp-quote'
on the result of evaluation that is counterproductive here.
next prev parent reply other threads:[~2019-06-19 20:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-14 7:38 Lack of tooling slowing down contributions Damien Cassou
2019-06-14 7:58 ` Eli Zaretskii
2019-06-14 11:19 ` Noam Postavsky
2019-06-16 19:20 ` Juri Linkov
2019-06-16 22:44 ` Stefan Monnier
2019-06-17 21:08 ` Juri Linkov
2019-06-16 23:06 ` Phil Sainty
2019-06-17 5:44 ` Van L
2019-06-17 9:53 ` Marcin Borkowski
2019-06-17 10:22 ` Yuri Khan
2019-06-17 21:19 ` Juri Linkov
2019-06-18 21:29 ` Juri Linkov
2019-06-19 12:50 ` Andy Moreton
2019-06-19 20:47 ` Juri Linkov [this message]
2019-06-19 21:26 ` Noam Postavsky
2019-06-17 6:57 ` Damien Cassou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87k1dhxvi2.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=andrewjmoreton@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).