> In any case, to me, the match-data interface should not be considered > a user-level feature _at all_. The user level feature is > save-match-data, which does not (in principle) allow the user to mess > with the saved data. And in that respect, nobody should really care > about what the format of the match data is.
Not sure about `match-data', but `set-match-data' is definitely useful for cases like font-lock where the MATCHER function is expected to return its info in the match-data but there may not be any regexp that properly matches what we're looking for, so the MATCHER function needs to do the match "by hand" and then manually construct a match data to pass to set-match-data. See smerge-mode for an example. Stefan _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel