[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Improve `replace-regexp-in-string' ergonomics?
From: |
Lars Ingebrigtsen |
Subject: |
Re: Improve `replace-regexp-in-string' ergonomics? |
Date: |
Wed, 22 Sep 2021 22:08:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Po Lu <luangruo@yahoo.com> writes:
>> Do you know what package that comes from?
>
> It appears to come from a file named 'BlowDir.el'.
Well, then I don't think we should feel constrained by its existence
when choosing function names for Emacs core. (Not that I think that
`regexp-replace' is a good name -- but it's just hard to come up with
something that's short, not awkward and hasn't already been taken.
`re-replace'? `string-replace-re'? `string-replace-regexp'?
`string-re'? Naming is hard.)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Re: Improve `replace-regexp-in-string' ergonomics?, Adam Porter, 2021/09/22
Re: Improve `replace-regexp-in-string' ergonomics?, Andreas Schwab, 2021/09/22
Re: Improve `replace-regexp-in-string' ergonomics?, Augusto Stoffel, 2021/09/22