[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45607: 27.1; compiled replace-string breaks repeat-complex-command
From: |
Lars Ingebrigtsen |
Subject: |
bug#45607: 27.1; compiled replace-string breaks repeat-complex-command |
Date: |
Wed, 08 Jun 2022 14:05:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Juri Linkov <juri@linkov.net> writes:
>> Does anybody know of a more general solution to this?
>
> This feature is broken by design as I explained in
> https://debbugs.gnu.org/45617#17
Hm... Is there any way forward here? Could we institute some special
form to be used in interactive specs that will be recorded in
command-history in a useful manner? That is, code that today is:
(if (use-region-p) (region-beginning))
(if (use-region-p) (region-end))
could be something like
(interactive-region-beginning)
(interactive-region-end)
and whatever updates command-history would reify those as is instead of
their return values?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no