[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#49842: re-builder restriction to region (lisp/emacs-lisp/re-builder)
From: |
Lars Ingebrigtsen |
Subject: |
bug#49842: re-builder restriction to region (lisp/emacs-lisp/re-builder) |
Date: |
Wed, 04 Aug 2021 09:29:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Karthik Chikmagalur <karthikchikmagalur@gmail.com> writes:
> IIRC, the right way to restrict this to the region would be to define
> a variable to hold the bounds of the region as specified by the user
> before starting re-builder and re-search-forward inside those
> bounds. Perhaps a closure that's tied to the specific re-builder
> session can be used to avoid issues with the value of this variable
> when running multiple simultaneous re-builder sessions.
I'm not very familiar with re-builder.el myself, but I think that sounds
like a promising approach.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no