Gnus development mailing list
 help / color / mirror / Atom feed
* spurious articles appearing in draft group
@ 2004-09-15 20:03 Dan Christensen
  2004-09-15 20:21 ` Derrell.Lipman
                   ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Dan Christensen @ 2004-09-15 20:03 UTC (permalink / raw)


I haven't been able to pin down when this happens, but during most
e-mail reading sessions, an article shows up in my draft group,
usually an article *to* me that I have recently read.  I hit
`B DEL' on it, and then a bit later, another article shows up.

Has anyone else seen something like this?

Dan



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

* Re: spurious articles appearing in draft group
  2004-09-15 20:03 spurious articles appearing in draft group Dan Christensen
@ 2004-09-15 20:21 ` Derrell.Lipman
  2004-09-16  7:26   ` Christoph Conrad
  2004-09-15 20:26 ` Michael Cook
  2004-09-15 20:50 ` Christoph Conrad
  2 siblings, 1 reply; 18+ messages in thread
From: Derrell.Lipman @ 2004-09-15 20:21 UTC (permalink / raw)


Dan Christensen <jdc@uwo.ca> writes:

> I haven't been able to pin down when this happens, but during most
> e-mail reading sessions, an article shows up in my draft group,
> usually an article *to* me that I have recently read.  I hit
> `B DEL' on it, and then a bit later, another article shows up.
>
> Has anyone else seen something like this?

This happened to me twice, last night and this morning.  I even found that
although the article would go away with B DEL, it would come back soon
thereafter.

This morning, I eval'ed nnml-generate-nov-databases-1 with the draft folder
name as a parameter, did B DEL on the errant article, and haven't seen the
problem recur since.  (Last night I did nnml-generate-nov-databases and that
did not solve the problem, but I had the errant message open at the time which
might have caused some problem.)

I'm running gnus from CVS as of last week some time.

Derrell



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

* Re: spurious articles appearing in draft group
  2004-09-15 20:03 spurious articles appearing in draft group Dan Christensen
  2004-09-15 20:21 ` Derrell.Lipman
@ 2004-09-15 20:26 ` Michael Cook
  2004-09-16 21:51   ` Michael Cook
  2004-09-15 20:50 ` Christoph Conrad
  2 siblings, 1 reply; 18+ messages in thread
From: Michael Cook @ 2004-09-15 20:26 UTC (permalink / raw)


Dan Christensen <jdc@uwo.ca> writes:

> I haven't been able to pin down when this happens, but during most
> e-mail reading sessions, an article shows up in my draft group,
> usually an article *to* me that I have recently read.  I hit
> `B DEL' on it, and then a bit later, another article shows up.
>
> Has anyone else seen something like this?

i have.

after i delete the article, and then do C-x s (save-some-buffers),
the article re-appears.  i have to quit and restart gnus and then
the article stops re-appearing.

i haven't quite noticed a pattern yet of what i am doing right
before each of these "rogue articles" appears.

m.



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

* Re: spurious articles appearing in draft group
  2004-09-15 20:03 spurious articles appearing in draft group Dan Christensen
  2004-09-15 20:21 ` Derrell.Lipman
  2004-09-15 20:26 ` Michael Cook
@ 2004-09-15 20:50 ` Christoph Conrad
  2 siblings, 0 replies; 18+ messages in thread
From: Christoph Conrad @ 2004-09-15 20:50 UTC (permalink / raw)


Hi Dan,

> Has anyone else seen something like this?

I 've reported the problem some time ago as a bug, but no developer
could reproduce it. It didn't vanish.

Herzliche Grüße,
  Christoph
-- 
"[...] denn es ist die Sprache, die den Strom der Zeit anhält. Es
existiert keine Statik, es gibt keine Endgültigkeit des Anfangs und des
Endes." Heinz von Foerster



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

* Re: spurious articles appearing in draft group
  2004-09-15 20:21 ` Derrell.Lipman
@ 2004-09-16  7:26   ` Christoph Conrad
  0 siblings, 0 replies; 18+ messages in thread
From: Christoph Conrad @ 2004-09-16  7:26 UTC (permalink / raw)


Hi Derrell,

> I even found that although the article would go away with B DEL, it
> would come back soon thereafter.

Same for me.

> and haven't seen the problem recur since. (Last night I did
> nnml-generate-nov-databases and that did not solve the problem, 

Tried all of that, didn't help.

Herzliche Grüße,
  Christoph
-- 
"[...] denn es ist die Sprache, die den Strom der Zeit anhält. Es
existiert keine Statik, es gibt keine Endgültigkeit des Anfangs und des
Endes." Heinz von Foerster



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

* Re: spurious articles appearing in draft group
  2004-09-15 20:26 ` Michael Cook
@ 2004-09-16 21:51   ` Michael Cook
  2004-09-17  3:10     ` Dan Christensen
                       ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Michael Cook @ 2004-09-16 21:51 UTC (permalink / raw)


Michael Cook <cook@legra.com> writes:

> i haven't quite noticed a pattern yet of what i am doing right
> before each of these "rogue articles" appears.

okay, it seems i can reproduce this problem by editing an article
(gnus-summary-edit-article).  the article then becomes a
rogue/zombie thing that keeps re-appearing in my drafts folder until
i restart gnus.

m.



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

* Re: spurious articles appearing in draft group
  2004-09-16 21:51   ` Michael Cook
@ 2004-09-17  3:10     ` Dan Christensen
  2004-09-29  7:48     ` Arnaud Giersch
  2004-09-29 15:26     ` Arnaud Giersch
  2 siblings, 0 replies; 18+ messages in thread
From: Dan Christensen @ 2004-09-17  3:10 UTC (permalink / raw)


Michael Cook <michael@waxrat.com> writes:

> okay, it seems i can reproduce this problem by editing an article
> (gnus-summary-edit-article).  the article then becomes a
> rogue/zombie thing that keeps re-appearing in my drafts folder until
> i restart gnus.

For the record, I get the problem even when I'm not editing articles.

Dan



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

* Re: spurious articles appearing in draft group
  2004-09-16 21:51   ` Michael Cook
  2004-09-17  3:10     ` Dan Christensen
@ 2004-09-29  7:48     ` Arnaud Giersch
  2004-09-29 15:26     ` Arnaud Giersch
  2 siblings, 0 replies; 18+ messages in thread
From: Arnaud Giersch @ 2004-09-29  7:48 UTC (permalink / raw)



[Apologies if you see this article twice, but the first article did
not show up after more than 12 hours (nntp posting through
news.gnus.org)]

Jeudi le 16 septembre 2004, vers 23:51:49 (CEST), Michael Cook a
écrit:

> okay, it seems i can reproduce this problem by editing an article
> (gnus-summary-edit-article).  the article then becomes a
> rogue/zombie thing that keeps re-appearing in my drafts folder until
> i restart gnus.

Hello,

I have the same problem here.  As far as I can remember, it appeared
after August 15.

It looks like it is due to the following change:

2004-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>

        * gnus-art.el: [...]
        (gnus-article-edit-mode): Derive from message-mode.

Function "message-mode" calls "message-set-auto-save-file-name" which
itself calls "nndraft-request-associate-buffer".  The problem is that
"nndraft-request-expire-buffer" is never called when article editing
ends.

I corrected the problem by reverting the change (derive
gnus-article-edit-mode from text-mode).  

Another solution may be to insert proper calls to
"message-disassociate-draft" (or "nndraft-request-expire-buffer"?) in
"gnus-article-edit-done" and "gnus-article-edit-exit" (and maybe
others).  

A third solution I can see is to manage not using nndraft when
gnus-article-edit-mode is used.

Regards,
-- 
Arnaud



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

* Re: spurious articles appearing in draft group
  2004-09-16 21:51   ` Michael Cook
  2004-09-17  3:10     ` Dan Christensen
  2004-09-29  7:48     ` Arnaud Giersch
@ 2004-09-29 15:26     ` Arnaud Giersch
  2004-10-01  6:21       ` Katsumi Yamaoka
  2 siblings, 1 reply; 18+ messages in thread
From: Arnaud Giersch @ 2004-09-29 15:26 UTC (permalink / raw)


Michael Cook <michael <at> waxrat.com> writes:

> okay, it seems i can reproduce this problem by editing an article
> (gnus-summary-edit-article).  the article then becomes a
> rogue/zombie thing that keeps re-appearing in my drafts folder until
> i restart gnus.

(I tried first to post this article to gnus.ding via news.gnus.org but it did
not appear, I hope that it will be ok via gmane. Apologies if you see multiple
copies.)

Hello, 
 
I have the same problem here.  As far as I can remember, it appeared 
after August 15. 

It looks like it is due to the following change: 
 
2004-08-22  Stefan Monnier  <monnier <at> iro.umontreal.ca> 
 
        * gnus-art.el: [...] 
        (gnus-article-edit-mode): Derive from message-mode. 
 
Function "message-mode" calls "message-set-auto-save-file-name" which 
itself calls "nndraft-request-associate-buffer".  The problem is that 
"nndraft-request-expire-buffer" is never called when article editing 
ends. 
 
I corrected the problem by reverting the change (derive 
gnus-article-edit-mode from text-mode).   
 
Another solution may be to insert proper calls to 
"message-disassociate-draft" (or "nndraft-request-expire-buffer"?) in 
"gnus-article-edit-done" and "gnus-article-edit-exit" (and maybe 
others).   
 
A third solution I can see is to manage not using nndraft when 
gnus-article-edit-mode is used. 
 
Regards, 
-- 
Arnaud





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

* Re: spurious articles appearing in draft group
  2004-09-29 15:26     ` Arnaud Giersch
@ 2004-10-01  6:21       ` Katsumi Yamaoka
  2004-10-01 12:20         ` Stefan
  0 siblings, 1 reply; 18+ messages in thread
From: Katsumi Yamaoka @ 2004-10-01  6:21 UTC (permalink / raw)
  Cc: Arnaud Giersch, ding

Hi,

I noticed today there's surely a bug which several people have
reported.  The problem is that the article buffer will become
associated with a draft file if a user edit it.  It is caused by
your change which made the gnus-article-edit-mode function be
derived from the message-mode.  You can reproduce it by typing
`e' in the summary buffer, `C-c C-k' in the article buffer and
`C-x C-b'.

IMHO, it doesn't seem necessary to be derived from the message
mode since the article editing is rarely used and it is good
enough to be able only to edit it using the mml minor mode
(currently the mml minor mode is called twice).  Furthermore,
use of the message mode may cause other evils.  For instance, we
have to consider that the messege-mode function might be used
also in the article editing when changing it in the future.

Arnaud Giersch analyzed exactly why the problem would occur:

>>>>> In <loom.20040929T171854-198@post.gmane.org> Arnaud Giersch wrote:

> Michael Cook <michael <at> waxrat.com> writes:

>> okay, it seems i can reproduce this problem by editing an article
>> (gnus-summary-edit-article).  the article then becomes a
>> rogue/zombie thing that keeps re-appearing in my drafts folder until
>> i restart gnus.

> (I tried first to post this article to gnus.ding via news.gnus.org but it did
> not appear, I hope that it will be ok via gmane. Apologies if you see multiple
> copies.)

> Hello, 

> I have the same problem here.  As far as I can remember, it appeared 
> after August 15. 

> It looks like it is due to the following change: 

> 2004-08-22  Stefan Monnier  <monnier <at> iro.umontreal.ca> 

>         * gnus-art.el: [...] 
>         (gnus-article-edit-mode): Derive from message-mode. 

> Function "message-mode" calls "message-set-auto-save-file-name" which 
> itself calls "nndraft-request-associate-buffer".  The problem is that 
> "nndraft-request-expire-buffer" is never called when article editing 
> ends. 

> I corrected the problem by reverting the change (derive 
> gnus-article-edit-mode from text-mode).   

> Another solution may be to insert proper calls to 
> "message-disassociate-draft" (or "nndraft-request-expire-buffer"?) in 
> "gnus-article-edit-done" and "gnus-article-edit-exit" (and maybe 
> others).   

> A third solution I can see is to manage not using nndraft when 
> gnus-article-edit-mode is used. 

> Regards, 
> -- 
> Arnaud



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

* Re: spurious articles appearing in draft group
  2004-10-01  6:21       ` Katsumi Yamaoka
@ 2004-10-01 12:20         ` Stefan
  2004-10-30  8:58           ` Arnaud Giersch
  0 siblings, 1 reply; 18+ messages in thread
From: Stefan @ 2004-10-01 12:20 UTC (permalink / raw)
  Cc: Arnaud Giersch, ding

>> Function "message-mode" calls "message-set-auto-save-file-name" which 
>> itself calls "nndraft-request-associate-buffer".  The problem is that 
>> "nndraft-request-expire-buffer" is never called when article editing 
>> ends. 

I guess a clean solution is to change message-mode so as not to do any kind
of nndraft-request-associate-buffer.  I.e. places which currently need it
would need to call nndraft-request-associate-buffer explicitly after calling
message-mode.  After all, the idea was for message-mode to be "independent"
from Gnus and usable for other MUAs.  I still think it's a worthy goal.


        Stefan



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

* Re: spurious articles appearing in draft group
  2004-10-01 12:20         ` Stefan
@ 2004-10-30  8:58           ` Arnaud Giersch
  2004-11-04  6:30             ` Katsumi Yamaoka
  0 siblings, 1 reply; 18+ messages in thread
From: Arnaud Giersch @ 2004-10-30  8:58 UTC (permalink / raw)
  Cc: Katsumi Yamaoka, ding

Vendredi le 01 octobre 2004, vers 14:20:35 (CEST), Stefan a écrit:

>>> Function "message-mode" calls "message-set-auto-save-file-name" which 
>>> itself calls "nndraft-request-associate-buffer".  The problem is that 
>>> "nndraft-request-expire-buffer" is never called when article editing 
>>> ends. 
>
> I guess a clean solution is to change message-mode so as not to do any kind
> of nndraft-request-associate-buffer.  

Hello,

As far as I can see, nothing has been done to correct this bug.  Is
there any plan to do so?

Regards,
-- 
Arnaud



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

* Re: spurious articles appearing in draft group
  2004-10-30  8:58           ` Arnaud Giersch
@ 2004-11-04  6:30             ` Katsumi Yamaoka
  2004-11-04  6:33               ` Christoph Conrad
                                 ` (2 more replies)
  0 siblings, 3 replies; 18+ messages in thread
From: Katsumi Yamaoka @ 2004-11-04  6:30 UTC (permalink / raw)
  Cc: arnaud.giersch, ian.soboroff, ding

>>>>> In <87k6t8a8gy.fsf@groumpf.homeip.net> Arnaud Giersch wrote:

> Vendredi le 01 octobre 2004, vers 14:20:35 (CEST), Stefan a écrit:

>>>> Function "message-mode" calls "message-set-auto-save-file-name" which 
>>>> itself calls "nndraft-request-associate-buffer".  The problem is that 
>>>> "nndraft-request-expire-buffer" is never called when article editing 
>>>> ends. 
>>
>> I guess a clean solution is to change message-mode so as not to do any kind
>> of nndraft-request-associate-buffer.  

> Hello,

> As far as I can see, nothing has been done to correct this bug.  Is
> there any plan to do so?

I did it.

http://article.gmane.org/gmane.emacs.gnus.commits/2767
http://article.gmane.org/gmane.emacs.gnus.commits/2766

I'm not sure whether it does the trick in Ian Soboroff's case,
though.



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

* Re: spurious articles appearing in draft group
  2004-11-04  6:30             ` Katsumi Yamaoka
@ 2004-11-04  6:33               ` Christoph Conrad
  2004-11-04 14:47               ` Ian Soboroff
  2004-11-05 17:07               ` Arnaud Giersch
  2 siblings, 0 replies; 18+ messages in thread
From: Christoph Conrad @ 2004-11-04  6:33 UTC (permalink / raw)


> I did it.

i too.



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

* Re: spurious articles appearing in draft group
  2004-11-04  6:30             ` Katsumi Yamaoka
  2004-11-04  6:33               ` Christoph Conrad
@ 2004-11-04 14:47               ` Ian Soboroff
  2004-11-05 15:05                 ` Ian Soboroff
  2004-11-05 17:07               ` Arnaud Giersch
  2 siblings, 1 reply; 18+ messages in thread
From: Ian Soboroff @ 2004-11-04 14:47 UTC (permalink / raw)
  Cc: monnier, arnaud.giersch, ding

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> I did it.
>
> http://article.gmane.org/gmane.emacs.gnus.commits/2767
> http://article.gmane.org/gmane.emacs.gnus.commits/2766
>
> I'm not sure whether it does the trick in Ian Soboroff's case,
> though.

I'll do a CVS update and see if that helps.
Thanks!
Ian




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

* Re: spurious articles appearing in draft group
  2004-11-04 14:47               ` Ian Soboroff
@ 2004-11-05 15:05                 ` Ian Soboroff
  0 siblings, 0 replies; 18+ messages in thread
From: Ian Soboroff @ 2004-11-05 15:05 UTC (permalink / raw)
  Cc: monnier, arnaud.giersch, ding

Ian Soboroff <ian.soboroff@nist.gov> writes:

> Katsumi Yamaoka <yamaoka@jpl.org> writes:
>
>> I did it.
>>
>> http://article.gmane.org/gmane.emacs.gnus.commits/2767
>> http://article.gmane.org/gmane.emacs.gnus.commits/2766
>>
>> I'm not sure whether it does the trick in Ian Soboroff's case,
>> though.
>
> I'll do a CVS update and see if that helps.

It does seem to have cured it.

Ian





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

* Re: spurious articles appearing in draft group
  2004-11-04  6:30             ` Katsumi Yamaoka
  2004-11-04  6:33               ` Christoph Conrad
  2004-11-04 14:47               ` Ian Soboroff
@ 2004-11-05 17:07               ` Arnaud Giersch
  2004-11-07 23:59                 ` Katsumi Yamaoka
  2 siblings, 1 reply; 18+ messages in thread
From: Arnaud Giersch @ 2004-11-05 17:07 UTC (permalink / raw)
  Cc: ding

Jeudi le 04 novembre 2004, vers 07:30:04 (CET), Katsumi Yamaoka a
écrit:

> I did it.
>
> http://article.gmane.org/gmane.emacs.gnus.commits/2767
> http://article.gmane.org/gmane.emacs.gnus.commits/2766

Thank you. 

I think that Karl Chen's problem was related to this bug too (see
Message-ID <quack.20041028T1018.87pt3269si@quack.cs.berkeley.edu> on
ding@gnus.org or
http://article.gmane.org/gmane.emacs.gnus.general/59017 )


When upgrading my Gnus with the latest CVS, I faced another problem
due to your last changes on (gnus-configure-posting-styles):

http://article.gmane.org/gmane.emacs.gnus.commits/2751
http://article.gmane.org/gmane.emacs.gnus.commits/2750

When trying to compose a mail, I got an "Args out of range: #<killed
buffer>, 296, 295" error.  The reason was that the last line of my
x-face-file was not terminated by a '\n'.

I however do not know if this is a real bug or if it is mandatory to
have a '\n' at end of files.

Nevertheless, it looks like simply replacing 
     (delete-region (+ (point) (if (bolp) 0 1))
                    (point-max))
by
     (delete-region (point) (point-max))
solves the problem.

Regards,
-- 
Arnaud



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

* Re: spurious articles appearing in draft group
  2004-11-05 17:07               ` Arnaud Giersch
@ 2004-11-07 23:59                 ` Katsumi Yamaoka
  0 siblings, 0 replies; 18+ messages in thread
From: Katsumi Yamaoka @ 2004-11-07 23:59 UTC (permalink / raw)


>>>>> In <87y8hgql6a.fsf@groumpf.homeip.net> Arnaud Giersch wrote:

> When upgrading my Gnus with the latest CVS, I faced another problem
> due to your last changes on (gnus-configure-posting-styles):

> http://article.gmane.org/gmane.emacs.gnus.commits/2751
> http://article.gmane.org/gmane.emacs.gnus.commits/2750

> When trying to compose a mail, I got an "Args out of range: #<killed
buffer>, 296, 295" error.  The reason was that the last line of my
> x-face-file was not terminated by a '\n'.

Oops.  I've fixed it just now.  Thank you.



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

end of thread, other threads:[~2004-11-07 23:59 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-09-15 20:03 spurious articles appearing in draft group Dan Christensen
2004-09-15 20:21 ` Derrell.Lipman
2004-09-16  7:26   ` Christoph Conrad
2004-09-15 20:26 ` Michael Cook
2004-09-16 21:51   ` Michael Cook
2004-09-17  3:10     ` Dan Christensen
2004-09-29  7:48     ` Arnaud Giersch
2004-09-29 15:26     ` Arnaud Giersch
2004-10-01  6:21       ` Katsumi Yamaoka
2004-10-01 12:20         ` Stefan
2004-10-30  8:58           ` Arnaud Giersch
2004-11-04  6:30             ` Katsumi Yamaoka
2004-11-04  6:33               ` Christoph Conrad
2004-11-04 14:47               ` Ian Soboroff
2004-11-05 15:05                 ` Ian Soboroff
2004-11-05 17:07               ` Arnaud Giersch
2004-11-07 23:59                 ` Katsumi Yamaoka
2004-09-15 20:50 ` Christoph Conrad

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