GNU bug report logs -
#7718
23.2.91; Info-isearch-search fails isearch
Previous Next
To reply to this bug, email your comments to 7718 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7718
; Package
emacs
.
(Thu, 23 Dec 2010 10:24:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Leo <sdl.web <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 23 Dec 2010 10:24:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Info-isearch-search returns a function that does not implement the
noerror arg(see Info-search), which means it will err even if
deliberately asked not to.
Leo
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7718
; Package
emacs
.
(Thu, 23 Dec 2010 19:23:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 7718 <at> debbugs.gnu.org (full text, mbox):
> Info-isearch-search returns a function that does not implement the
> noerror arg(see Info-search), which means it will err even if
> deliberately asked not to.
Info-isearch-search does not implement the noerror arg because it just passes it
unchanged to Info-search. Do you mean Info-search should implement noerror for
some non-interactive uses? What it should do when noerror is non-nil?
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7718
; Package
emacs
.
(Thu, 23 Dec 2010 22:16:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 7718 <at> debbugs.gnu.org (full text, mbox):
On 2010-12-23 19:28 +0000, Juri Linkov wrote:
>> Info-isearch-search returns a function that does not implement the
>> noerror arg(see Info-search), which means it will err even if
>> deliberately asked not to.
>
> Info-isearch-search does not implement the noerror arg because it just passes it
> unchanged to Info-search. Do you mean Info-search should implement noerror for
> some non-interactive uses? What it should do when noerror is non-nil?
That's what I meant. Info-search doesn't implement noerror. I think it
should be like the default isearch search functions:
re-/search-forward/backward: Optional argument, if t, means if fail just
return nil (no error).
Thanks.
Leo
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7718
; Package
emacs
.
(Sat, 25 Dec 2010 03:14:03 GMT)
Full text and
rfc822 format available.
Message #14 received at 7718 <at> debbugs.gnu.org (full text, mbox):
>> Info-isearch-search does not implement the noerror arg because it just passes it
>> unchanged to Info-search. Do you mean Info-search should implement noerror for
>> some non-interactive uses? What it should do when noerror is non-nil?
>
> That's what I meant. Info-search doesn't implement noerror. I think it
> should be like the default isearch search functions:
> re-/search-forward/backward: Optional argument, if t, means if fail just
> return nil (no error).
But the whole logic of Isearch using Info-search is built on the
assumption that Info-search ignores the noerror arg (that is usually t).
This allow Isearch to fail in the initial Info node
and to continue searching through other nodes without failing.
Information forwarded
to
owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org
:
bug#7718
; Package
emacs
.
(Sat, 25 Dec 2010 08:34:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 7718 <at> debbugs.gnu.org (full text, mbox):
On 2010-12-25 02:28 +0000, Juri Linkov wrote:
>>> Info-isearch-search does not implement the noerror arg because it just passes it
>>> unchanged to Info-search. Do you mean Info-search should implement noerror for
>>> some non-interactive uses? What it should do when noerror is non-nil?
>>
>> That's what I meant. Info-search doesn't implement noerror. I think it
>> should be like the default isearch search functions:
>> re-/search-forward/backward: Optional argument, if t, means if fail just
>> return nil (no error).
>
> But the whole logic of Isearch using Info-search is built on the
> assumption that Info-search ignores the noerror arg (that is usually t).
> This allow Isearch to fail in the initial Info node
> and to continue searching through other nodes without failing.
For users of isearch-search-string with non-nil noerror it will be a
surprise. For example, I use it before actual isearch to see if the
search is to fail (but don't err) and set things up accordingly. I found
it breaks down in info mode due to its ignoring noerror.
But it is fine if it has to remain that way. I will just wrap
isearch-search-string inside ignore-errors.
Leo
This bug report was last modified 14 years and 173 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.