🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Malu' Tue, 14 Oct 2003 07:13
Re: [Dialog] Search failure
#135417
Author: Malu'
Date: Tue, 14 Oct 2003 07:13
51 lines
3089 bytes
Tue, 14 Oct 2003 06:16:12 +0200
 Alain GUERIN ha scritto:

> Hello,

> 
> A French user sent in a French group a message on search failure with acute
> letter in French.

> I tested it on a message with different acute letters or separators like
> this: 
> Une entr�e ambigu�, c�blage am�re gr�n gal�re p�s pr�t o� h�te 
> avec, les s�parateurs barre|ou signe+plus ou-moins des"guillemets
> l'apostrophe.

> In fact, the problem occurs when option "whole word" is selected. In that
> case, the search fail (but it can also fail on word without acute letter) when
> the search is done with the cursor in the HeaderlistPane and it succeeds
> when the cursor is in the message body.

> Do you have the same problem ? 

> I will log it in Mantis with your comment if it is not done by the one who
> got it first.

Hello Alain,
I tested it and I found the followings:
- the accents don't matter;
- the search in some way memorize the position of the cursor even if the
cursor isn't anymore in the message body; then:
- if the cursor was *before* the searched word, the search succeeds
- if the cursor was *after*, the search goes on with the remaining body or
bodies.
*But* if the word is the first of the line, the search fails to find that
one. For example in your message the search fails with the word "Une" or
"avec", regardless for the position of the cursor, because they are the
first in a line and the only ones. However, if you search the word "when",
it finds the occurrence in the middle of the line:
*In fact, the problem occurs when option "whole word" is selected. In that*
but doesn't find the occurrence in:
*when the cursor is in the message body.*

This I think is a bug.
If you agree with my findings, go to Mantis! :)
If you need further feedback, I'll be online again this afternoon.
Ciao,
-- 
Maria Luisa - 14/10/2003 8.34.21, here.
 ))))) Tagline in stereo where available (((((
Now playing: nothing
Re: [Dialog] Search failure
#135429
Author: Malu'
Date: Tue, 14 Oct 2003 14:15
76 lines
3726 bytes
Tue, 14 Oct 2003 11:58:06 +0200
 Alain GUERIN ha scritto:

> Hello,

> 
> On Tue, 14 Oct 2003 09:13:03 +0200, Malu' wrote:

>> Tue, 14 Oct 2003 06:16:12 +0200
>>  Alain GUERIN ha scritto:

>> I tested it and I found the followings:
>> - the accents don't matter;

> On my computer, if I do the following "protocol", Dialog finds "word" but
> not "ambigu�".

> - Selection of another group before news.software.readers in the group panel
> - Selection of news.software.readers (also with the mouse)
> - Select Search (Menu or Button)
> - Select if not already done whole word, article body pane, selected group.

> The word "word"  is found. The word "ambigu�" is not, the window with the
> progress bar is displayed and there is no result.

True.
Instead the words "entr�e", c�blage, am�re, "gr�n", "gal�re", "o�", "h�te"
are found. :(
Could you post another word ending in "�" ? 

>> - the search in some way memorize the position of the cursor even if the
>> cursor isn't anymore in the message body; then:
>> - if the cursor was *before* the searched word, the search succeeds
>> - if the cursor was *after*, the search goes on with the remaining body or
>> bodies.

> Now, we have two times the same words in two messages and with the
> "protocol" described above, the cursor could not be elsewhere than in the first
> message.

> So in my case, the cursor position does not explain all :-/

I don't understand this passage, sorry.

>> *But* if the word is the first of the line, the search fails to find that
>> one. For example in your message the search fails with the word "Une" or
>> "avec", regardless for the position of the cursor, because they are the
>> first in a line and the only ones. However, if you search the word "when",
>> it finds the occurrence in the middle of the line:
>> *In fact, the problem occurs when option "whole word" is selected. In that*
>> but doesn't find the occurrence in:
>> *when the cursor is in the message body.*

> I also have the same problem.

>> This I think is a bug.

> May be a second one ;-)

Sure!

>> If you agree with my findings, go to Mantis! :)
>> If you need further feedback, I'll be online again this afternoon.
>> Ciao,

> If there is no other comment, I will put all that in Mantis today night.

> Thanks for your help.

You're welcome.
-- 
Maria Luisa - 14/10/2003 16.15.18, here.
Fon  f le corrup . Press " " to reforma  HD
or " " to res ore from backup.
Now playing: nothing
Re: [Dialog] Search failure
#135450
Author: Malu'
Date: Tue, 14 Oct 2003 18:55
14 lines
1775 bytes
Tue, 14 Oct 2003 18:41:02 +0200
 Alain GUERIN ha scritto:

> I am afraid that Marcus
> only searches words between two spaces as whole word. I will test and
> keep you informed.

I'm sure you've got it!
Tke "between two spaces" must be the solution.
-- 
Maria Luisa - 14/10/2003 20.54.31, here.
Q:   How do troll braincells die?
A:   Alone.
Now playing: nothing
Re: [Dialog] Search failure
#135519
Author: Marcus Mönnig
Date: Wed, 15 Oct 2003 16:25
26 lines
2550 bytes
On Tue, 14 Oct 2003 20:55:51 +0200, Malu' wrote:

>> I am afraid that Marcus
>> only searches words between two spaces as whole word. I will test and
>> keep you informed.
> 
> I'm sure you've got it!
> Tke "between two spaces" must be the solution.

Thanks to both of you for the excellent bug tracking. :-)

I now changed two things:

With the "whole words only" option I was previously only checking if there
is whitespace (space or tab) or the beginning of end of the text.
I am now checking for any non-alphanumerical character.

Further, as Malu' correctly noted, when doing a search in a body, it was
always starting at the position of the caret. It now does so only when the
body is currently active, so that you actually see the caret.

Marcus
-- 
No replies in private e-mail, please, unless explicitly requested!
Please log bug reports into Mantis: http://www.40tude.com/dialog/mantis/
Please share your scripts and tips: http://www.40tude.com/dialog/wiki/
Re: [Dialog] Search failure
#135529
Author: Malu'
Date: Wed, 15 Oct 2003 20:41
11 lines
1835 bytes
Wed, 15 Oct 2003 18:25:52 +0200
 Marcus Mönnig ha scritto:

> Thanks to both of you for the excellent bug tracking. :-)

Grazie anche a te! :)
-- 
Maria Luisa - 15/10/2003 22.40.01, here.
I know not with what weapons World War III will be fought, but
World War IV will be fought with sticks and stones.  A.Einstein
Now playing: nothing
Re: [Dialog] Search failure
#135607
Author: Alain GUERIN
Date: Fri, 17 Oct 2003 03:17
23 lines
2126 bytes
Hello,


On Wed, 15 Oct 2003 18:25:52 +0200, Marcus Mönnig wrote:

> On Tue, 14 Oct 2003 20:55:51 +0200, Malu' wrote:
> 
>>> I am afraid that Marcus
>>> only searches words between two spaces as whole word. I will test and
>>> keep you informed.
>> 
>> I'm sure you've got it!
>> Tke "between two spaces" must be the solution.
> 
> Thanks to both of you for the excellent bug tracking. :-)

And thanks also to the third person that found the mechanism of the bug
itself.

And, as Malu' said thanks too you first.
 
-- 
A.G.
Re: [Dialog] Search failure
#135617
Author: Alain GUERIN
Date: Fri, 17 Oct 2003 07:11
23 lines
2218 bytes
Hello,


On Wed, 15 Oct 2003 18:25:52 +0200, Marcus Mönnig wrote:

> On Tue, 14 Oct 2003 20:55:51 +0200, Malu' wrote:
> 
>>> I am afraid that Marcus
>>> only searches words between two spaces as whole word. I will test and
>>> keep you informed.
>> 
>> I'm sure you've got it!
>> Tke "between two spaces" must be the solution.
> 
> Thanks to both of you for the excellent bug tracking. :-)

And thanks also to the third person that found the mechanism of the bug
itself.

And, as Malu' said thanks to you first.
 
-- 
A.G.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads