emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: find-file-noselect needs save-match-data


From: Richard Stallman
Subject: Re: find-file-noselect needs save-match-data
Date: Sat, 16 Jun 2007 18:35:58 -0400

     > I'd rather have a new function than add an argument to string-match.
     > It will be easier to use and easier to remember.

    The argument could be 'match-string instead of t so it would be easier
    to see what an actual call does.  And the argument could be for example
    'match-beginning so `string-match' would return the begin of the match.
    `looking-at', `re-search-forward', etc. could be handled the same way.

This adds too much complexity, I think.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]