* gnus-agent problem on mule and From style problem
@ 1997-10-08 5:28 市川達哉 / Tatsuya Ichikawa
1997-10-12 21:54 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: 市川達哉 / Tatsuya Ichikawa @ 1997-10-08 5:28 UTC (permalink / raw)
[-- Attachment #1: Type: text/plain, Size: 546 bytes --]
I use Quassia gnus on Emacs 20.2(With mule).
I fond 2 problems.
One is when I display article (Mail/News)(SPC) that includes "'" in "From" line
like "Ken'ichi" , gnus never returns (C-g can stop) - maybe in infinite loop.
Why it occurs??
Does anyone knows ??
The other is a gnus-agent problem.
I always use gnus-agent on mule.
Gnus-agent writes system-dependent file coding system when fetching article.
Problem is the same one what gnus-5.4.x's pop3 has.
So , I make a patch to fix this problem.
Following is a patch.
[-- Attachment #2: gnus-agent.diff --]
[-- Type: application/octet-stream, Size: 1393 bytes --]
*** gnus-agent.el.orig Sat Oct 04 08:03:17 1997
--- gnus-agent.el Wed Oct 08 14:27:27 1997
***************
*** 61,66 ****
--- 61,67 ----
(defvar gnus-agent-spam-hashtb nil)
(defvar gnus-agent-file-name nil)
(defvar gnus-agent-send-mail-function nil)
+ (defvar gnus-agent-article-file-coding-system 'no-conversion)
;; Dynamic variables
(defvar gnus-headers)
***************
*** 452,458 ****
(let* ((gnus-command-method method)
(file (gnus-agent-lib-file "active")))
(gnus-make-directory (file-name-directory file))
! (write-region (point-min) (point-max) file nil 'silent)
(when (file-exists-p (gnus-agent-lib-file "groups"))
(delete-file (gnus-agent-lib-file "groups"))))))
--- 453,460 ----
(let* ((gnus-command-method method)
(file (gnus-agent-lib-file "active")))
(gnus-make-directory (file-name-directory file))
! (let ((coding-system-for-write gnus-agent-article-file-coding-system))
! (write-region (point-min) (point-max) file nil 'silent))
(when (file-exists-p (gnus-agent-lib-file "groups"))
(delete-file (gnus-agent-lib-file "groups"))))))
--
Tatsuya Ichikawa : Epson Software Development Lab, Inc. Nagano , Japan. ;-)
# PGP Public Key :
http://www.icat.or.jp/cgi-bin/pgpsearchkey.pl?op=get&search=0x0A2D6599
E-mail : <ichikawa@hv.epson.co.jp><t-ichi@po.shiojiri.ne.jp>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gnus-agent problem on mule and From style problem
1997-10-08 5:28 gnus-agent problem on mule and From style problem 市川達哉 / Tatsuya Ichikawa
@ 1997-10-12 21:54 ` Lars Magne Ingebrigtsen
1997-10-13 1:27 ` 市川達哉 / Tatsuya Ichikawa
0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-10-12 21:54 UTC (permalink / raw)
=?ISO-2022-JP?B?GyRCO1RAbkMjOkgbKEI=?= / Tatsuya Ichikawa <ichikawa@hv.epson.co.jp> writes:
> One is when I display article (Mail/News)(SPC) that includes "'" in
> "From" line like "Ken'ichi" , gnus never returns (C-g can stop) -
> maybe in infinite loop.
Try to `(setq debug-on-quit t)' and then `C-g' when it hangs. Mail me
the resulting backtrace.
> The other is a gnus-agent problem.
> I always use gnus-agent on mule.
> Gnus-agent writes system-dependent file coding system when fetching article.
Thanks for the patch; I've applied it to Quassia Gnus v0.13.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gnus-agent problem on mule and From style problem
1997-10-12 21:54 ` Lars Magne Ingebrigtsen
@ 1997-10-13 1:27 ` 市川達哉 / Tatsuya Ichikawa
1997-10-20 20:38 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: 市川達哉 / Tatsuya Ichikawa @ 1997-10-13 1:27 UTC (permalink / raw)
>>>>> In <m2n2ke8x66.fsf@proletcult.slip.ifi.uio.no>
>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
> =?ISO-2022-JP?B?GyRCO1RAbkMjOkgbKEI=?= / Tatsuya Ichikawa <ichikawa@hv.epson.co.jp> writes:
> Try to `(setq debug-on-quit t)' and then `C-g' when it hangs. Mail me
> the resulting backtrace.
Here is a backtrace when I send mail that has "'" character in from line.
I think may be same problem.
mail-extr-voodoo(21 29 #<buffer *canonical address*>)
mail-extract-address-components("Ken'ichi Ichikawa <ichikawa@hv.epson.co.jp>")
message-generate-headers((From Subject Date (optional . In-Reply-To) Message-ID Lines (optional . X-Mailer)))
message-send-mail(nil)
message-send-via-mail(nil)
message-send(nil)
message-send-and-exit(nil)
> Thanks for the patch; I've applied it to Quassia Gnus v0.13.
Thanks a lot.
--
Tatsuya Ichikawa : Epson Software Development Lab, Inc. Nagano , Japan. ;-)
# PGP Public Key :
http://www.icat.or.jp/cgi-bin/pgpsearchkey.pl?op=get&search=0x0A2D6599
E-mail : <ichikawa@hv.epson.co.jp><t-ichi@po.shiojiri.ne.jp>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gnus-agent problem on mule and From style problem
1997-10-13 1:27 ` 市川達哉 / Tatsuya Ichikawa
@ 1997-10-20 20:38 ` Lars Magne Ingebrigtsen
1997-10-21 1:28 ` 市川達哉 / Tatsuya Ichikawa
0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-10-20 20:38 UTC (permalink / raw)
=?ISO-2022-JP?B?GyRCO1RAbkMjOkgbKEI=?= / Tatsuya Ichikawa <ichikawa@hv.epson.co.jp> writes:
> Here is a backtrace when I send mail that has "'" character in from line.
> I think may be same problem.
>
> mail-extr-voodoo(21 29 #<buffer *canonical address*>)
> mail-extract-address-components("Ken'ichi Ichikawa <ichikawa@hv.epson.co.jp>")
I get this in Emacs 20:
(mail-extract-address-components "Ken'ichi Ichikawa <ichikawa@hv.epson.co.jp>")
=>
("Ken'ichi Ichikawa" "ichikawa@hv.epson.co.jp")
So I'm not able to reproduce this bug. You're not using an old
version of mail-extr.el, by any chance? I fixed something like this
there before 19.34, I think.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gnus-agent problem on mule and From style problem
1997-10-20 20:38 ` Lars Magne Ingebrigtsen
@ 1997-10-21 1:28 ` 市川達哉 / Tatsuya Ichikawa
1997-10-24 22:37 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: 市川達哉 / Tatsuya Ichikawa @ 1997-10-21 1:28 UTC (permalink / raw)
>>>>> In <m3n2k42mr6.fsf@sparky.gnus.org>
>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
> I get this in Emacs 20:
Thanks Lars.
> So I'm not able to reproduce this bug. You're not using an old
> version of mail-extr.el, by any chance? I fixed something like this
> there before 19.34, I think.
Really??
My mail-extr.el's version is 1.8.
mail-extr.el's header is like this.
;;; mail-extr.el --- extract full name and address from RFC 822 mail header.
;; Copyright (C) 1991, 1992, 1993, 1994 Free Software Foundation, Inc.
;; Author: Joe Wells <jbw@cs.bu.edu>
;; Maintainer: Jamie Zawinski <jwz@lucid.com>
;; Version: 1.8
;; Keywords: mail
;; This file is part of GNU Emacs.
Is this mail-extr.el is old version you did not fix ?
--
Tatsuya Ichikawa : Epson Software Development Lab, Inc. Nagano , Japan. ;-)
# PGP Public Key :
http://www.icat.or.jp/cgi-bin/pgpsearchkey.pl?op=get&search=0x0A2D6599
E-mail : <ichikawa@hv.epson.co.jp><t-ichi@po.shiojiri.ne.jp>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gnus-agent problem on mule and From style problem
1997-10-21 1:28 ` 市川達哉 / Tatsuya Ichikawa
@ 1997-10-24 22:37 ` Lars Magne Ingebrigtsen
1997-10-27 1:39 ` ichikawa
0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-10-24 22:37 UTC (permalink / raw)
=?ISO-2022-JP?B?GyRCO1RAbkMjOkgbKEI=?= / Tatsuya Ichikawa <ichikawa@hv.epson.co.jp> writes:
> Really??
> My mail-extr.el's version is 1.8.
> mail-extr.el's header is like this.
Does (locate-library "mail-extr") point you to the version included in
Emacs?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: gnus-agent problem on mule and From style problem
1997-10-24 22:37 ` Lars Magne Ingebrigtsen
@ 1997-10-27 1:39 ` ichikawa
0 siblings, 0 replies; 7+ messages in thread
From: ichikawa @ 1997-10-27 1:39 UTC (permalink / raw)
>>>>> In <m3201akctm.fsf@sparky.gnus.org>
>>>>> Lars Magne Ingebrigtsen <larsi@gnus.org> wrote:
> =?ISO-2022-JP?B?GyRCO1RAbkMjOkgbKEI=?= / Tatsuya Ichikawa <ichikawa@hv.epson.co.jp> writes:
> Does (locate-library "mail-extr") point you to the version included in
> Emacs?
Yes.
I fond this problem depends on (may) only on Emacs 20.0.
This problem does not occur on XEmacs and Emacs 20.2 and Emacs 19.34.
So I will version up Emacs soon.
Thans Larsi.
--
Tatsuya Ichikawa : Epson Software Development Lab, Inc. Nagano , Japan. ;-)
# PGP Public Key : See below url.
http://www.icat.or.jp/cgi-bin/pgpsearchkey.pl?op=get&search=0x0A2D6599
E-mail : <ichikawa@hv.epson.co.jp><t-ichi@po.shiojiri.ne.jp>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~1997-10-27 1:39 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-08 5:28 gnus-agent problem on mule and From style problem 市川達哉 / Tatsuya Ichikawa
1997-10-12 21:54 ` Lars Magne Ingebrigtsen
1997-10-13 1:27 ` 市川達哉 / Tatsuya Ichikawa
1997-10-20 20:38 ` Lars Magne Ingebrigtsen
1997-10-21 1:28 ` 市川達哉 / Tatsuya Ichikawa
1997-10-24 22:37 ` Lars Magne Ingebrigtsen
1997-10-27 1:39 ` ichikawa
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).