bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#36444: [PATCH] Improved regexp-opt KEEP-ORDER check


From: Noam Postavsky
Subject: bug#36444: [PATCH] Improved regexp-opt KEEP-ORDER check
Date: Thu, 04 Jul 2019 10:18:11 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt)

Mattias Engdegård <mattiase@acm.org> writes:

> Not too fond of that either, really; catch/throw somehow seems more
> heavyweight than warranted by the situation.

I've wondered if it's worth making a lexical variant of catch/throw that
could be compiled as goto for these kind of situations.

> (1) Same as before, but with a comment about what tripped you up:

> (2) Using cl-loop:

Assuming (eval-when-compile (require 'cl-lib)) avoids bootstapping
problems, I think the cl-loop variant is a bit neater; but either way is
fine with me.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]