[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error in replace-match: "args out of range" [SOLVED]
From: |
PJ Weisberg |
Subject: |
Re: error in replace-match: "args out of range" [SOLVED] |
Date: |
Thu, 7 Apr 2011 12:09:06 -0700 |
M-x report-emacs-bug is probably the best way. The docstrings for
match-string and replace-match should emphasize that ANY code that
deals with strings--notably code that gives control to the user--is
liable to replace the "last matched" string, so those functions should
be called right away after you do the match.
On 4/7/11, ken <gebser@mousecar.com> wrote:
>
> On 04/05/2011 11:39 PM ken wrote:
>> ....
>> 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?
>
>
>
--
-PJ
- Re: error in replace-match: "args out of range", (continued)
- Message not available
- Re: error in replace-match: "args out of range", Tim X, 2011/04/07
- 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 <=
- Message not available
- Re: error in replace-match: "args out of range" [SOLVED], Stefan Monnier, 2011/04/09