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: martin rudalics
Subject: Re: find-file-noselect needs save-match-data
Date: Sat, 16 Jun 2007 12:01:43 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> 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.

Well, I really don't know.  Stefan's arguments didn't convince me
entirely but usually he's right.  Sometimes he fails to understand more
simple-minded programmers' concerns ...





reply via email to

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