[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-file-noselect needs save-match-data
From: |
Miles Bader |
Subject: |
Re: find-file-noselect needs save-match-data |
Date: |
Sun, 17 Jun 2007 06:39:36 +0900 |
Richard Stallman <address@hidden> writes:
> Yes, but if people get in the habit of using a new function
> whenever they don't actually want to use the match data,
> which I expect is most of the time, that need to think carefully
> will be much less frequent.
I think the name `string-match-p' probably aids that end more than the
name I suggested. A guideline like "use (string-match-p) if you just
need to do a test, and (save-match-data (string-match ...)) if you need
the match data" seems fairly natural.
-miles
--
Everywhere is walking distance if you have the time. -- Steven Wright
- Re: find-file-noselect needs save-match-data, (continued)
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/17
- Re: find-file-noselect needs save-match-data, David Kastrup, 2007/06/18
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/18
- Re: find-file-noselect needs save-match-data, David Kastrup, 2007/06/18
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/19
- Re: find-file-noselect needs save-match-data, David Kastrup, 2007/06/19
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/25
- Re: find-file-noselect needs save-match-data, Herbert Euler, 2007/06/15
- Re: find-file-noselect needs save-match-data, Stefan Monnier, 2007/06/17
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/16
- Re: find-file-noselect needs save-match-data,
Miles Bader <=
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/17
- Re: find-file-noselect needs save-match-data, Herbert Euler, 2007/06/16
- Re: find-file-noselect needs save-match-data, Herbert Euler, 2007/06/16
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/17
- Re: find-file-noselect needs save-match-data, Stefan Monnier, 2007/06/17
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/18
- Re: find-file-noselect needs save-match-data, Herbert Euler, 2007/06/20
- Re: find-file-noselect needs save-match-data, Juri Linkov, 2007/06/20
- Re: find-file-noselect needs save-match-data, Herbert Euler, 2007/06/20
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/20