Gnus development mailing list
 help / color / mirror / Atom feed
From: Nelson Ferreira <nelson.ferreira@ieee.org>
Subject: Re: Changes in Gnus from Aug 17 to Sep 1st cause hang on article-decode-encoded-words.
Date: Sat, 02 Sep 2006 00:48:45 -0400	[thread overview]
Message-ID: <m3hczqzxea.fsf@tuxie.homelinux.net> (raw)
In-Reply-To: <m3lkp2zxt1.fsf@tuxie.homelinux.net>

"njsf" == Nelson Ferreira <nelson.ferreira@ieee.org> writes:

    njsf> Hi all,
    njsf> The subject kinda says it all. Let me know what should I look for in
    njsf> configuration or test in order to troubleshoot.

    njsf> I toggled-debug-on-quit and when it hanged it was running
    njsf> gnus-article-decode-encoded-words from a run-hooks.

    njsf> It is definitely not the article or configuration, because this
    njsf> version from Aug 17 has no problem whatsoever.


Complementing...

I believe this is probably the offending change...

Any clues why it has this bad behavior in SXEmacs (And I suspect
XEmacs 21.4 too) ?

Index: gnus-art.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-art.el,v
retrieving revision 7.186
diff -u -r7.186 gnus-art.el
--- gnus-art.el 22 Jun 2006 08:54:45 -0000      7.186
+++ gnus-art.el 2 Sep 2006 04:45:08 -0000
@@ -2515,10 +2525,23 @@
                             (set-buffer gnus-summary-buffer)
                           (error))
                         gnus-newsgroup-ignored-charsets))
-       (inhibit-read-only t))
+       (inhibit-read-only t)
+       start)
     (save-restriction
       (article-narrow-to-head)
-      (funcall gnus-decode-header-function (point-min)
       (point-max)))))
+      (while (not (eobp))
+       (setq start (point))
+       (if (prog1
+               (looking-at "\
+\\(?:Resent-\\)?\\(?:From\\|Cc\\|To\\|Bcc\\|\\(?:In-\\)?Reply-To\\|Sender\
+\\|Mail-Followup-To\\|Mail-Copies-To\\|Approved\\):")
+             (while (progn
+                      (forward-line)
+                      (if (eobp)
+                          nil
+                        (memq (char-after) '(?\t ? ))))))
+           (funcall gnus-decode-address-function start (point))
+         (funcall gnus-decode-header-function start (point)))))))

-- 
Nelson Ferreira




  reply	other threads:[~2006-09-02  4:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-02  4:39 Nelson Ferreira
2006-09-02  4:48 ` Nelson Ferreira [this message]
2006-09-04  5:50   ` Changes in Gnus from Aug 17 to Sep 1st cause hang on Katsumi Yamaoka
2006-09-04  6:10     ` Nelson Ferreira
2006-09-04  6:18       ` Katsumi Yamaoka

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=m3hczqzxea.fsf@tuxie.homelinux.net \
    --to=nelson.ferreira@ieee.org \
    /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).