--- Begin Message ---
Subject: |
24.3.50; save match data for core functions like `delete-char' and `delete-backward-char'? |
Date: |
Sun, 23 Dec 2012 16:18:05 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
`delete-char' and `delete-backward-char' modify the match data.
I know the policy is to let any function assume the match data
are not saved, but I think an exception would be useful here.
If so, I'll provide a patch.
Thanks!
--
Bastien
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#13260: 24.3.50; save match data for core functions like `delete-char' and `delete-backward-char'? |
Date: |
Mon, 24 Dec 2012 02:25:18 +0100 |
User-agent: |
Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> And in 99% of the cases where they do destroy the match-data, nobody
> cares anyway, which is why we shouldn't always save-match-data.
Ps: I wasn't talking about /always/ saving the match data of course.
Closing this report now.
--
Bastien
--- End Message ---