Gnus development mailing list
 help / color / mirror / Atom feed
* Simplify-fuzzy gets stuck in (seemingly) endless loop
@ 2003-04-01  9:19 Niklas Morberg
  2003-04-12 19:47 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Niklas Morberg @ 2003-04-01  9:19 UTC (permalink / raw)


When trying to enter a group it takes forever. To find out
what's happening, I toggled debug on quit and took a look.
This is the backtrace:

* re-search-forward("^[ 	]*\\([Rr][Ee]\\(\\[[0-9]*\\]\\)*:[ 	]*\\)*[ 	]*" nil t)
  gnus-simplify-subject-fuzzy("RE: Mjukvarulicenser")
  gnus-map-function((gnus-simplify-subject-fuzzy gnus-simplify-all-whitespace) "RE: Mjukvarulicenser")

When i hit `d' four times in a row this happens for each step:

Debugger entered--entering a function:
* re-search-forward("^[ 	]*\\([Rr][Ee]\\(\\[[0-9]*\\]\\)*:[ 	]*\\)*[ 	]*" nil t)
  gnus-simplify-subject-fuzzy("RE: Mjukvarulicenser")

Debugger entered--returning value: 1
  re-search-forward("^[ 	]*\\([Rr][Ee]\\(\\[[0-9]*\\]\\)*:[ 	]*\\)*[ 	]*" nil t)

Debugger entered--entering a function:
* replace-match("")

Debugger entered--returning value: nil
  replace-match("")

The fifth time I hit `d', I go back to the re-search-forward
and and the cycle repeats itself. It never stops.

Fresh CVS from just now, but I have seen this before. The way
I "solved" it then was to turn off all fuzzy matching. After
a while when things seemed normal, I turned the fuzziness
back on and things were fine. The problems reappeared after a
restart of emacs.

Niklas




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Simplify-fuzzy gets stuck in (seemingly) endless loop
  2003-04-01  9:19 Simplify-fuzzy gets stuck in (seemingly) endless loop Niklas Morberg
@ 2003-04-12 19:47 ` Lars Magne Ingebrigtsen
  2003-05-06 13:42   ` Niklas Morberg
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Magne Ingebrigtsen @ 2003-04-12 19:47 UTC (permalink / raw)


Niklas Morberg <niklas.morberg@axis.com> writes:

> The fifth time I hit `d', I go back to the re-search-forward
> and and the cycle repeats itself. It never stops.

Odd.

If you eval the following, what happens?

(gnus-map-function
 '(gnus-simplify-subject-fuzzy gnus-simplify-all-whitespace)
 "RE: Mjukvarulicenser")
 
-- 
(domestic pets only, the antidote for overdose, milk.)
   larsi@gnus.org * Lars Magne Ingebrigtsen



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Simplify-fuzzy gets stuck in (seemingly) endless loop
  2003-04-12 19:47 ` Lars Magne Ingebrigtsen
@ 2003-05-06 13:42   ` Niklas Morberg
  0 siblings, 0 replies; 3+ messages in thread
From: Niklas Morberg @ 2003-05-06 13:42 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Niklas Morberg <niklas.morberg@axis.com> writes:
>
>> The fifth time I hit `d', I go back to the re-search-forward
>> and and the cycle repeats itself. It never stops.
>
> Odd.
>
> If you eval the following, what happens?
>
> (gnus-map-function
>  '(gnus-simplify-subject-fuzzy gnus-simplify-all-whitespace)
>  "RE: Mjukvarulicenser")

It returns "Mjukvarulicenser". But I haven't seen this
problem in a while and can not reproduce it. I'll shout if
it pops up again...

Niklas




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-05-06 13:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-01  9:19 Simplify-fuzzy gets stuck in (seemingly) endless loop Niklas Morberg
2003-04-12 19:47 ` Lars Magne Ingebrigtsen
2003-05-06 13:42   ` Niklas Morberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).