Re: isearch-forward and Info-search

2005-03-29 Thread Stefan Monnier
>> I also removed `isearch-within-brackets' because it is used nowhere >> within Emacs. > I think the intent of that was to allow SPC to be a shortcut to mean > "any whitespace", whereas SPC inside brackets still stands for itself. IIRC it's a left over of a previous implementation of that featur

Re: isearch-forward and Info-search

2005-03-29 Thread Kai Großjohann
Juri Linkov <[EMAIL PROTECTED]> writes: > I also removed `isearch-within-brackets' because it is used nowhere > within Emacs. I think the intent of that was to allow SPC to be a shortcut to mean "any whitespace", whereas SPC inside brackets still stands for itself. But I lost track of the discus

Re: isearch-forward and Info-search

2005-03-13 Thread Nick Roberts
> > The implementation looks clean. I just suggest that we should simply > > replace isearch-invalid-regexp with isearch-error (there can only be one > > error at any given time, either a search failure or an invalid regexp, or > > ...). > > OK. > > I also removed `isearch-within-bracket

Re: isearch-forward and Info-search

2005-03-12 Thread Juri Linkov
Stefan Monnier <[EMAIL PROTECTED]> writes: > The implementation looks clean. I just suggest that we should simply > replace isearch-invalid-regexp with isearch-error (there can only be one > error at any given time, either a search failure or an invalid regexp, or > ...). OK. I also removed `ise

Re: isearch-forward and Info-search

2005-03-12 Thread Stefan Monnier
> In the implementation below it would be possible to reuse > `isearch-invalid-regexp' to hold the error message, but this is not > a clean solution. Adding a new special variable `isearch-error' looks The implementation looks clean. I just suggest that we should simply replace isearch-invalid-r

Re: isearch-forward and Info-search

2005-03-11 Thread Juri Linkov
Below is an implementation that works as follows: after an attempt to leave the first Info node, isearch fails with the following message: Failing I-search: search string [failed in current node] After leaving the first Info node with subsequent C-s or C-r, isearch doesn't fail more in other

RE: isearch-forward and Info-search

2005-03-11 Thread Drew Adams
> Would you like it if isearch failed before proceeding to the > next Info node? > > I would. I suggested this long ago. It should first wrap, as Richard > suggested. After the entire Info node has been searched, it should > fail. A subsequent invocation should conti

Re: isearch-forward and Info-search

2005-03-11 Thread Nick Roberts
> > Would you like it if isearch failed before proceeding to the > > next Info node? > > > > I would. I suggested this long ago. It should first wrap, as Richard > > suggested. After the entire Info node has been searched, it should > > fail. A subsequent invocation should continue th

Re: isearch-forward and Info-search

2005-03-10 Thread Juri Linkov
"Drew Adams" <[EMAIL PROTECTED]> writes: > Would you like it if isearch failed before proceeding to the > next Info node? > > I would. I suggested this long ago. It should first wrap, as Richard > suggested. After the entire Info node has been searched, it should > fail. A subsequent invoca

Re: isearch-forward and Info-search

2005-03-10 Thread Richard Stallman
It seems this is the most reasonable default behavior. But I also think it would be too annoying to fail before leaving every Info node. It would be better to fail only in the first Info node where isearch was started. Yes, I think that is right. Could you please do it? Of

RE: isearch-forward and Info-search

2005-03-10 Thread Drew Adams
I also think it would be too annoying to fail before leaving every Info node. It would be better to fail only in the first Info node where isearch was started. Good point - I agree. ___ Emacs-devel mailing list Emacs-devel@gnu.org http://l

RE: isearch-forward and Info-search

2005-03-10 Thread Drew Adams
Would you like it if isearch failed before proceeding to the next Info node? I would. I suggested this long ago. It should first wrap, as Richard suggested. After the entire Info node has been searched, it should fail. A subsequent invocation should continue through the manual. IOW, isear

Re: isearch-forward and Info-search

2005-03-10 Thread Nick Roberts
> > I think it would be a lot less annoying if it at least changed the > > prompt to say what it was doing, in the manner of a wrapped isearch > > ("I-search in node ...: " ?). > > > > Maybe it could even act more like wrapped i-search, and fail once, > > before proceeding to the next info pa

Re: isearch-forward and Info-search

2005-03-09 Thread Juri Linkov
Miles Bader <[EMAIL PROTECTED]> writes: > I think it would be a lot less annoying if it at least changed the > prompt to say what it was doing, in the manner of a wrapped isearch > ("I-search in node ...: " ?). > > Maybe it could even act more like wrapped i-search, and fail once, > before proceedi

Re: isearch-forward and Info-search

2005-03-09 Thread Juri Linkov
Nick Roberts <[EMAIL PROTECTED]> writes: > Maybe theres been a long thread about this which I've missed, in which case > I apologise but is there a variable to change this behaviour back to the > old one? The variable is `Info-isearch-search' and when set to nil it changes the behavior to the old

Re: isearch-forward and Info-search

2005-03-09 Thread Richard Stallman
I think it would be a lot less annoying if it at least changed the prompt to say what it was doing, in the manner of a wrapped isearch ("I-search in node ...: " ?). Maybe it could even act more like wrapped i-search, and fail once, before proceeding to the next info page if you

Re: isearch-forward and Info-search

2005-03-09 Thread Miles Bader
On Wed, 9 Mar 2005 20:32:35 +1300, Nick Roberts <[EMAIL PROTECTED]> wrote: > If I look for something in an Info manual, I use Info-search (s) and if I > looked for something on a particular page, I would use isearch-forward > (C-s). However, now isearch-forward now also searches the subsequent manu

isearch-forward and Info-search

2005-03-08 Thread Nick Roberts
If I look for something in an Info manual, I use Info-search (s) and if I looked for something on a particular page, I would use isearch-forward (C-s). However, now isearch-forward now also searches the subsequent manual pages and takes me away from the page I'm interested in. That seems a bit red