Gnus development mailing list
 help / color / mirror / Atom feed
From: Niklas Morberg <niklas.morberg@axis.com>
Subject: Simplify-fuzzy gets stuck in (seemingly) endless loop
Date: Tue, 01 Apr 2003 11:19:18 +0200	[thread overview]
Message-ID: <upto6d17t.fsf@axis.com> (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




             reply	other threads:[~2003-04-01  9:19 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-01  9:19 Niklas Morberg [this message]
2003-04-12 19:47 ` Lars Magne Ingebrigtsen
2003-05-06 13:42   ` Niklas Morberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=upto6d17t.fsf@axis.com \
    --to=niklas.morberg@axis.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).