Gnus development mailing list
 help / color / mirror / Atom feed
* Contacting server when Leaving a group
@ 2009-01-18  5:24 Harry Putnam
  2009-01-18 15:37 ` Steven E. Harris
  0 siblings, 1 reply; 5+ messages in thread
From: Harry Putnam @ 2009-01-18  5:24 UTC (permalink / raw)
  To: ding

This problem has started coming every once in a while since I've
started having trouble connecting to gmane easily.

Here is an example of what can happen.

I've left gnus open on a a gmane group.  Went to work on something
else for a while.  When I come back gnus has lost its connection to
gmane.

When I try to leave the group with c, or `ZZ' or any of the commands
that are used for leaving groups, gnus won't let me because it cannot
contact the server.   I have to leave by changing buffers or some
other ungnuslike way.

It just makes me wonder... is it really required to contact a server
in order to leave a group?  Can't  whatever information that is
involved be cashed on gnus or something until the connection is restored? 




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

* Re: Contacting server when Leaving a group
  2009-01-18  5:24 Contacting server when Leaving a group Harry Putnam
@ 2009-01-18 15:37 ` Steven E. Harris
  2009-01-20 17:44   ` Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: Steven E. Harris @ 2009-01-18 15:37 UTC (permalink / raw)
  To: ding

Harry Putnam <reader@newsguy.com> writes:

> When I try to leave the group with c, or `ZZ' or any of the commands
> that are used for leaving groups, gnus won't let me because it cannot
> contact the server.  I have to leave by changing buffers or some other
> ungnuslike way.

Yes, thank you for raising this question. I run into this problem with
my nnimap groups as well. One has to switch to the *Group* buffer, then
hit C-^ to reach the *Server* buffer, then try to close the offending
server, or maybe "deny" it, and kill an openssl process on the side, or
kill an associated process buffer, then reopen the server, then go back
to the *Group* buffer, find the group with the asterisk, reenter it,
and, finally, with baited breath, try to leave it again by pressing 'q'.

That's pain and embarrassment recast now as muscle memory.

-- 
Steven E. Harris



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

* Re: Contacting server when Leaving a group
  2009-01-18 15:37 ` Steven E. Harris
@ 2009-01-20 17:44   ` Ted Zlatanov
  2009-01-20 23:50     ` Harry Putnam
  0 siblings, 1 reply; 5+ messages in thread
From: Ted Zlatanov @ 2009-01-20 17:44 UTC (permalink / raw)
  To: ding

On Sun, 18 Jan 2009 10:37:47 -0500 "Steven E. Harris" <seh@panix.com> wrote: 

SEH> Harry Putnam <reader@newsguy.com> writes:
>> When I try to leave the group with c, or `ZZ' or any of the commands
>> that are used for leaving groups, gnus won't let me because it cannot
>> contact the server.  I have to leave by changing buffers or some other
>> ungnuslike way.

SEH> Yes, thank you for raising this question. I run into this problem with
SEH> my nnimap groups as well. One has to switch to the *Group* buffer, then
SEH> hit C-^ to reach the *Server* buffer, then try to close the offending
SEH> server, or maybe "deny" it, and kill an openssl process on the side, or
SEH> kill an associated process buffer, then reopen the server, then go back
SEH> to the *Group* buffer, find the group with the asterisk, reenter it,
SEH> and, finally, with baited breath, try to leave it again by pressing 'q'.

It would be sufficient to retry opening the server, right?  I've done
this process too and it's a little annoying.

Ted




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

* Re: Contacting server when Leaving a group
  2009-01-20 17:44   ` Ted Zlatanov
@ 2009-01-20 23:50     ` Harry Putnam
  2009-01-21 22:04       ` Ted Zlatanov
  0 siblings, 1 reply; 5+ messages in thread
From: Harry Putnam @ 2009-01-20 23:50 UTC (permalink / raw)
  To: ding

Ted Zlatanov <tzz@lifelogs.com> writes:

> On Sun, 18 Jan 2009 10:37:47 -0500 "Steven E. Harris" <seh@panix.com> wrote: 
>
> SEH> Harry Putnam <reader@newsguy.com> writes:
>>> When I try to leave the group with c, or `ZZ' or any of the commands
>>> that are used for leaving groups, gnus won't let me because it cannot
>>> contact the server.  I have to leave by changing buffers or some other
>>> ungnuslike way.
>
> SEH> Yes, thank you for raising this question. I run into this problem with
> SEH> my nnimap groups as well. One has to switch to the *Group* buffer, then
> SEH> hit C-^ to reach the *Server* buffer, then try to close the offending
> SEH> server, or maybe "deny" it, and kill an openssl process on the side, or
> SEH> kill an associated process buffer, then reopen the server, then go back
> SEH> to the *Group* buffer, find the group with the asterisk, reenter it,
> SEH> and, finally, with baited breath, try to leave it again by pressing 'q'.
>
> It would be sufficient to retry opening the server, right?  I've done
> this process too and it's a little annoying.

I guess so.  What does it do currently?  What it reports is `unable
contact server...' or similar... I just assumed it did try to open the
server.

Maybe Contacting server and reopening server aren't the same?

But what if an attempted reopening also fails... It does here
sometimes when I do (in server buffer) C (close) O (open).  It usually
works the first time but not always.




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

* Re: Contacting server when Leaving a group
  2009-01-20 23:50     ` Harry Putnam
@ 2009-01-21 22:04       ` Ted Zlatanov
  0 siblings, 0 replies; 5+ messages in thread
From: Ted Zlatanov @ 2009-01-21 22:04 UTC (permalink / raw)
  To: ding

On Tue, 20 Jan 2009 17:50:57 -0600 Harry Putnam <reader@newsguy.com> wrote: 

HP> Ted Zlatanov <tzz@lifelogs.com> writes:

>> It would be sufficient to retry opening the server, right?  I've done
>> this process too and it's a little annoying.

HP> I guess so.  What does it do currently?  What it reports is `unable
HP> contact server...' or similar... I just assumed it did try to open the
HP> server.

HP> Maybe Contacting server and reopening server aren't the same?

AFAIK it just gives up on the server currently if it can't be reached.
I haven't looked at the source code nor do I have the time currently,
but if no one else can I'll put it on my TODO list.

HP> But what if an attempted reopening also fails... It does here
HP> sometimes when I do (in server buffer) C (close) O (open).  It usually
HP> works the first time but not always.

I would have a variable for number of retries (customized per server and
a global one too).

Ted




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

end of thread, other threads:[~2009-01-21 22:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-18  5:24 Contacting server when Leaving a group Harry Putnam
2009-01-18 15:37 ` Steven E. Harris
2009-01-20 17:44   ` Ted Zlatanov
2009-01-20 23:50     ` Harry Putnam
2009-01-21 22:04       ` Ted Zlatanov

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