* gnus-summary-edit-article adds extra X-From-Line each run
@ 2007-09-04 22:52 jidanni
2007-09-05 10:25 ` Katsumi Yamaoka
0 siblings, 1 reply; 10+ messages in thread
From: jidanni @ 2007-09-04 22:52 UTC (permalink / raw)
To: ding
In(gnus-version)"Gnus v5.11"
gnus-summary-edit-article puts an extra
X-From-Line: nobody Wed Sep 5 06:28:04 2007
at the top of the article each time you use it.
Edit 5 times, get 5 extra X-From-Lines, all the same timestamp too.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnus-summary-edit-article adds extra X-From-Line each run
2007-09-04 22:52 gnus-summary-edit-article adds extra X-From-Line each run jidanni
@ 2007-09-05 10:25 ` Katsumi Yamaoka
2007-09-05 10:34 ` Katsumi Yamaoka
0 siblings, 1 reply; 10+ messages in thread
From: Katsumi Yamaoka @ 2007-09-05 10:25 UTC (permalink / raw)
To: ding
>>>>> jidanni@jidanni.org wrote:
> In(gnus-version)"Gnus v5.11"
> gnus-summary-edit-article puts an extra
> X-From-Line: nobody Wed Sep 5 06:28:04 2007
> at the top of the article each time you use it.
> Edit 5 times, get 5 extra X-From-Lines, all the same timestamp too.
I didn't find the one which is likely to cause such a problem,
in gnus-article-edit-done, any *-request-replace-article, and
hooks and functions that are called then. If it is possible,
you'd better perform Edebug (info "(gnus)Troubleshooting") on
`gnus-article-edit-done' and related functions.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnus-summary-edit-article adds extra X-From-Line each run
2007-09-05 10:25 ` Katsumi Yamaoka
@ 2007-09-05 10:34 ` Katsumi Yamaoka
2007-09-06 2:49 ` jidanni
0 siblings, 1 reply; 10+ messages in thread
From: Katsumi Yamaoka @ 2007-09-05 10:34 UTC (permalink / raw)
To: ding
>>>>> Katsumi Yamaoka wrote:
> you'd better perform Edebug (info "(gnus)Troubleshooting") on
> `gnus-article-edit-done' and related functions.
`gnus-summary-edit-article-done' is what I wanted to say. Sorry.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnus-summary-edit-article adds extra X-From-Line each run
2007-09-05 10:34 ` Katsumi Yamaoka
@ 2007-09-06 2:49 ` jidanni
2007-09-06 7:22 ` Katsumi Yamaoka
0 siblings, 1 reply; 10+ messages in thread
From: jidanni @ 2007-09-06 2:49 UTC (permalink / raw)
To: ding; +Cc: bugs
Thanks Katsumi but I can't deal with Edebug.
It's all too complex. I'll CC bugs@gnus.org. They'll fix it:
All I know is gnus-summary-edit-article adds extra X-From-Line each
run. Edit an article five times, get five identical X-From-Lines at
top. They must have only tested it editing an article once.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnus-summary-edit-article adds extra X-From-Line each run
2007-09-06 2:49 ` jidanni
@ 2007-09-06 7:22 ` Katsumi Yamaoka
2007-09-06 7:32 ` Katsumi Yamaoka
0 siblings, 1 reply; 10+ messages in thread
From: Katsumi Yamaoka @ 2007-09-06 7:22 UTC (permalink / raw)
To: ding; +Cc: bugs
>>>>> jidanni@jidanni.org wrote:
> Thanks Katsumi but I can't deal with Edebug.
> It's all too complex. I'll CC bugs@gnus.org. They'll fix it:
> All I know is gnus-summary-edit-article adds extra X-From-Line each
> run. Edit an article five times, get five identical X-From-Lines at
> top. They must have only tested it editing an article once.
I think you need to say what back end you use when editing
articles, because the functions that replace an article in a
group with the edited one differ according to backends. For
instance, `nnfolder-request-replace-article' does
(insert "From nobody " (current-time-string) "\n")
as the case may be, but `nnml-request-replace-article' never
does. I couldn't reproduce such a problem with nnfolder and
nnml, and didn't find any possibility that it arises in any
*-request-replace-article function, though.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnus-summary-edit-article adds extra X-From-Line each run
2007-09-06 7:22 ` Katsumi Yamaoka
@ 2007-09-06 7:32 ` Katsumi Yamaoka
2007-09-07 13:37 ` jidanni
0 siblings, 1 reply; 10+ messages in thread
From: Katsumi Yamaoka @ 2007-09-06 7:32 UTC (permalink / raw)
To: ding; +Cc: bugs
>>>>> Katsumi Yamaoka wrote:
> For instance, `nnfolder-request-replace-article' does
> (insert "From nobody " (current-time-string) "\n")
> as the case may be,
The `From ...' line will be converted into `X-From-Line: ...'
when a nnfolder article is displayed in the article buffer.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnus-summary-edit-article adds extra X-From-Line each run
2007-09-06 7:32 ` Katsumi Yamaoka
@ 2007-09-07 13:37 ` jidanni
2007-09-11 12:18 ` jidanni
0 siblings, 1 reply; 10+ messages in thread
From: jidanni @ 2007-09-07 13:37 UTC (permalink / raw)
To: ding
> which format does the problem occur in?
OK, the format is Article nnmbox:mail.misc.
After editing e.g., four times, the article looks like this:
X-From-Line: nobody Wed Sep 5 06:28:04 2007
X-From-Line: nobody Wed Sep 5 06:28:04 2007
X-From-Line: nobody Wed Sep 5 06:28:04 2007
X-From-Line: nobody Wed Sep 5 06:28:04 2007
Return-path: <jidanni@jidanni.org>
Envelope-to: jidanni@jidanni2
Delivery-date: Wed, 05 Sep 2007 06:26:40 +0800...
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnus-summary-edit-article adds extra X-From-Line each run
2007-09-07 13:37 ` jidanni
@ 2007-09-11 12:18 ` jidanni
2007-09-12 2:20 ` Katsumi Yamaoka
0 siblings, 1 reply; 10+ messages in thread
From: jidanni @ 2007-09-11 12:18 UTC (permalink / raw)
To: ding
By the way, after each edit, also another layer of CTRL-A's are added.
Here is the head, middle, and tail of *Article nnmbox:mail.misc*
!X-From-Line: nobody Wed Sep 5 06:28:04 2007
!X-From-Line: nobody Wed Sep 5 06:28:04 2007
!X-From-Line: nobody Wed Sep 5 06:28:04 2007
!X-From-Line: nobody Wed Sep 5 06:28:04 2007
!X-From-Line: nobody Wed Sep 5 06:28:04 2007
...
!Xref: jidanni2.jidanni.org mail.misc:1454
!X-Gnus-Newsgroup: mail.misc:1454 Wed Sep 5 06:28:04 2007
...
!^A^A^A^A
!^A^A^A^A
!^A^A^A^A
!^A^A^A^A
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: gnus-summary-edit-article adds extra X-From-Line each run
2007-09-11 12:18 ` jidanni
@ 2007-09-12 2:20 ` Katsumi Yamaoka
2007-09-13 5:18 ` Katsumi Yamaoka
0 siblings, 1 reply; 10+ messages in thread
From: Katsumi Yamaoka @ 2007-09-12 2:20 UTC (permalink / raw)
To: ding
>>>>> jidanni@jidanni.org wrote:
> By the way, after each edit, also another layer of CTRL-A's are added.
> Here is the head, middle, and tail of *Article nnmbox:mail.misc*
> !X-From-Line: nobody Wed Sep 5 06:28:04 2007
> !X-From-Line: nobody Wed Sep 5 06:28:04 2007
> !X-From-Line: nobody Wed Sep 5 06:28:04 2007
> !X-From-Line: nobody Wed Sep 5 06:28:04 2007
> !X-From-Line: nobody Wed Sep 5 06:28:04 2007
> ...
> !Xref: jidanni2.jidanni.org mail.misc:1454
> !X-Gnus-Newsgroup: mail.misc:1454 Wed Sep 5 06:28:04 2007
> ...
> !^A^A^A^A
> !^A^A^A^A
> !^A^A^A^A
> !^A^A^A^A
I'll fix them. I could reproduce those evil effects with nnmbox.
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-09-13 5:18 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-04 22:52 gnus-summary-edit-article adds extra X-From-Line each run jidanni
2007-09-05 10:25 ` Katsumi Yamaoka
2007-09-05 10:34 ` Katsumi Yamaoka
2007-09-06 2:49 ` jidanni
2007-09-06 7:22 ` Katsumi Yamaoka
2007-09-06 7:32 ` Katsumi Yamaoka
2007-09-07 13:37 ` jidanni
2007-09-11 12:18 ` jidanni
2007-09-12 2:20 ` Katsumi Yamaoka
2007-09-13 5:18 ` Katsumi Yamaoka
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).