[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error in replace-match: "args out of range" [SOLVED]
From: |
Stefan Monnier |
Subject: |
Re: error in replace-match: "args out of range" [SOLVED] |
Date: |
Sat, 09 Apr 2011 23:25:48 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>> the problem wasn't a search, but with the read-from-minibuffer function.
>> For some reason, invoking that wipes out all the subexpressions.
> I don't recall reading about this. If it's not already in the official
> documentation, how do we add it in?
There are two problems:
- you expect the doc to mention the functions that wipe-out the
match-data (whereas what really happens is that only a few functions
can be assumed to preserve that data and all others should be assumed
to wipe it). Hopefully this thread will fix this ;-)
- Emacs does not document which functions can be trusted not to wipe the
match-data :-(
Stefan
- Re: error in replace-match: "args out of range", (continued)
- Re: error in replace-match: "args out of range", ken, 2011/04/09
- Re: error in replace-match: "args out of range", PJ Weisberg, 2011/04/09
- Re: error in replace-match: "args out of range", ken, 2011/04/09
- Message not available
- Re: error in replace-match: "args out of range", David Kastrup, 2011/04/09
- Re: error in replace-match: "args out of range", PJ Weisberg, 2011/04/09
- Re: error in replace-match: "args out of range", Perry Smith, 2011/04/09
- Message not available
- Re: error in replace-match: "args out of range", Stefan Monnier, 2011/04/04
- Re: error in replace-match: "args out of range" [SOLVED], ken, 2011/04/05
- Re: error in replace-match: "args out of range" [SOLVED], ken, 2011/04/07
- Re: error in replace-match: "args out of range" [SOLVED], PJ Weisberg, 2011/04/07
- Message not available
- Re: error in replace-match: "args out of range" [SOLVED],
Stefan Monnier <=