GNU bug report logs -
#34214
25.3; minibuffer function help in lisp modes changes match-data
Previous Next
Reported by: "Miguel V. S. Frasson" <mvsfrasson <at> gmail.com>
Date: Sat, 26 Jan 2019 23:44:02 UTC
Severity: wishlist
Found in version 25.3
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Please use "Reply to all" so that your replies get recorded in the bug
tracker.]
"Miguel V. S. Frasson" <mvsfrasson <at> gmail.com> writes:
> Hi.
>
> The "documented" behavior is in Elisp Reference, but not in doc-strings of
> functions that rely on match data. So they are not so easily spotted by
> non-experienced users.
>
> This bug teached me a lesson, but it took me a lot of time to realize how
> volatile match-data is, changed even by a helper mode like eldoc.
>
> IMO it is so easy to avoid interference into user experience in this case,
> adding convenience, just by saving match data inside eldoc...
>
> Should a helper mode "confuse" non-experienced users because it could rely
> on "documented" behavior? If so, why does Emacs have disabled commands, if
> they are also documented?
>
> Best regards
>
> Miguel
Actually, you may have a point regarding eldoc, if it's clobbering match
data just by moving around the buffer. I guess it would be nice to
avoid that.
Let's see if anyone else has something to say here.
Best regards,
Stefan Kangas
This bug report was last modified 3 years and 236 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.