[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: find-file-noselect needs save-match-data
From: |
Andreas Schwab |
Subject: |
Re: find-file-noselect needs save-match-data |
Date: |
Tue, 12 Jun 2007 19:46:10 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.97 (gnu/linux) |
Juri Linkov <address@hidden> writes:
>> Bob Rogers <address@hidden> writes:
>>> The only possible use for a "string-match" that doesn't set the match
>>> data is the boolean return value, right? So how about "string-match-p"?
>>
>> Er, no. string-match returns the index of the match (or nil for no match),
>> which is actually quite useful.
>
> Since it returns the value of (match-beginning 0), how about the name
> `string-match-0'? It is short, and zero has additional mnemonic that
> no data is set by this function.
How about string-match-no-record?
Andreas.
--
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
- Re: find-file-noselect needs save-match-data, (continued)
- Re: find-file-noselect needs save-match-data, Juri Linkov, 2007/06/09
- Re: find-file-noselect needs save-match-data, David House, 2007/06/09
- Re: find-file-noselect needs save-match-data, Juri Linkov, 2007/06/09
- Re: find-file-noselect needs save-match-data, Jason Rumney, 2007/06/09
- Re: find-file-noselect needs save-match-data, Miles Bader, 2007/06/09
- RE: find-file-noselect needs save-match-data, Drew Adams, 2007/06/09
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/10
- Re: find-file-noselect needs save-match-data, Bob Rogers, 2007/06/11
- Re: find-file-noselect needs save-match-data, Miles Bader, 2007/06/12
- Re: find-file-noselect needs save-match-data, Juri Linkov, 2007/06/12
- Re: find-file-noselect needs save-match-data,
Andreas Schwab <=
- Re: find-file-noselect needs save-match-data, David Kastrup, 2007/06/12
- Re: find-file-noselect needs save-match-data, Miles Bader, 2007/06/12
- Re: find-file-noselect needs save-match-data, David Kastrup, 2007/06/12
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/13
- Re: find-file-noselect needs save-match-data, Stefan Monnier, 2007/06/13
- Re: find-file-noselect needs save-match-data, David Kastrup, 2007/06/13
- Re: find-file-noselect needs save-match-data, Stefan Monnier, 2007/06/13
- Re: find-file-noselect needs save-match-data, Herbert Euler, 2007/06/14
- Re: find-file-noselect needs save-match-data, Richard Stallman, 2007/06/15
- Re: find-file-noselect needs save-match-data, Stefan Monnier, 2007/06/15