Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* gnus is hanging on cite-parse
@ 2017-09-07 13:27 Pavel Zhukov
  2017-09-08  1:25 ` yamaoka
  0 siblings, 1 reply; 3+ messages in thread
From: Pavel Zhukov @ 2017-09-07 13:27 UTC (permalink / raw)
  To: info-gnus-english

Hello,

I have problem with gnus displaying some messages like described in [1]
In my case traceback looks like [2]. As a workaround I use cite regexp like (setq message-cite-prefix-regexp ">") but it's not a solution.
The problem occurs if I try to open this email https://lists.isc.org/pipermail/dhcp-users/2017-September/020820.html for example (and many many others). 

Can somebody point me out what's wrong with the citation/regexp and how to fix that? Or how to debug the issue further.

[1]  https://lists.gnu.org/archive/html/info-gnus-english/2017-01/msg00006.html

[2]
Debugger entered--Lisp error: (quit)
  looking-at("^\\(\\([ 	]*\\(\\w\\|[_.]\\)+>+\\|[ 	]*[]>|]\\)+\\)? *>>>>> +\"\\([^\"\n]+\\)\" +==")
  gnus-cite-parse()
  gnus-cite-parse-wrapper()
  gnus-cite-parse-maybe(nil t)
  gnus-dissect-cited-text()
  gnus-article-fill-cited-article(nil t)
  gnus-article-fill-cited-long-lines()
  gnus-treat-article(nil 1 1 "text/plain")
  gnus-display-mime()
  gnus-article-prepare-display()
  gnus-article-prepare(218 nil)
  gnus-summary-display-article(218 nil)
  gnus-summary-select-article(nil nil pseudo)
  gnus-summary-scroll-up(1)
  funcall-interactively(gnus-summary-scroll-up 1)
  call-interactively(gnus-summary-scroll-up nil nil)
  command-execute(gnus-summary-scroll-up)

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

* Re: gnus is hanging on cite-parse
  2017-09-07 13:27 gnus is hanging on cite-parse Pavel Zhukov
@ 2017-09-08  1:25 ` yamaoka
  2019-06-10  9:52   ` Van L
  0 siblings, 1 reply; 3+ messages in thread
From: yamaoka @ 2017-09-08  1:25 UTC (permalink / raw)
  To: info-gnus-english

On Thu, 07 Sep 2017 06:27:06 -0700, Pavel Zhukov wrote:
> I have problem with gnus displaying some messages like described in
> [1] In my case traceback looks like [2]. As a workaround I use cite
> regexp like (setq message-cite-prefix-regexp ">") but it's not
> a solution.
> The problem occurs if I try to open this email
> https://lists.isc.org/pipermail/dhcp-users/2017-September/020820.html
> for example (and many many others).

I got the email from
<https://lists.isc.org/pipermail/dhcp-users/2017-September.txt.gz>
and tried reading it using Gnus, but no such a problem happened.

> Can somebody point me out what's wrong with the citation/regexp and
> how to fix that? Or how to debug the issue further.

> [1]  https://lists.gnu.org/archive/html/info-gnus-english/2017-01/msg00006.html

> [2]
> Debugger entered--Lisp error: (quit)
>   looking-at("^\\(\\([ 	]*\\(\\w\\|[_.]\\)+>+\\|[ 	]*[]>|]\\)+\\)? *>>>>> +\"\\([^\"\n]+\\)\" +==")
>   gnus-cite-parse()
[...]

The operand of `looking-at' is the same as the one I use, that
is just the default value of `gnus-supercite-regexp'.  Well,
what does happen when you evaluate this form at every beginning
of line one by one in that article body?

M-: (looking-at gnus-supercite-regexp) RET

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

* Re: gnus is hanging on cite-parse
  2017-09-08  1:25 ` yamaoka
@ 2019-06-10  9:52   ` Van L
  0 siblings, 0 replies; 3+ messages in thread
From: Van L @ 2019-06-10  9:52 UTC (permalink / raw)
  To: info-gnus-english

yamaoka@jpl.org writes:

>> Debugger entered--Lisp error: (quit)
>>   looking-at("^\\(\\([ 	]*\\(\\w\\|[_.]\\)+>+\\|[ 	]*[]>|]\\)+\\)? *>>>>> +\"\\([^\"\n]+\\)\" +==")
>>   gnus-cite-parse()
> [...]
>
> The operand of `looking-at' is the same as the one I use, that
> is just the default value of `gnus-supercite-regexp'.  Well,
> what does happen when you evaluate this form at every beginning
> of line one by one in that article body?
>
> M-: (looking-at gnus-supercite-regexp) RET

You may also want to look up edebug, edebug-defun
to step trace want is going on, there.

-- 
© 2019 Van L
gpg using EEF2 37E9 3840 0D5D 9183  251E 9830 384E 9683 B835
           "you have to be Albert Einstein to figure it out" - Donald J. Trump


_______________________________________________
info-gnus-english mailing list
info-gnus-english@gnu.org
https://lists.gnu.org/mailman/listinfo/info-gnus-english

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

end of thread, other threads:[~2019-06-10  9:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-09-07 13:27 gnus is hanging on cite-parse Pavel Zhukov
2017-09-08  1:25 ` yamaoka
2019-06-10  9:52   ` Van L

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).