* Intelligent handling of interrupted communication
@ 1997-11-21 20:42 Hrvoje Niksic
1997-11-23 6:19 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Hrvoje Niksic @ 1997-11-21 20:42 UTC (permalink / raw)
Due to a bug on the newsserver here, articles are often being posted
for very long times -- say, half an hour. Luckily, this condition is
handled when I press C-g after a few sedonds; the article still gets
posted to whatever group. However, it is impossible to access the
newsserver afterwards (e.g. read another article) -- I have to
evaluate (nntp-close-server) manually after the C-g. This is all
bearable -- after all, tin provides you with no exit but C-z + kill +
restart in that situation.
However, the latest slrn release, when I press C-g in the very same
situation, I get an "Error writing to server" error, and the following
query in the minibuffer:
Select one: R-epost, E-dit, C-ancel[1]
Personally, this is most cool. With Gnus, C-g gives me just `Edit'.
Furthermore, the `Cancel' choice correctly handles reconnecting to the
newsserver (no need for the equivalent of `M-: (nntp-close-server) RET'.
Aside from my very specific situation, I can think of a number of
cases where intelligent handling of interrupted communication with the
news server would come in very handy. Since this is Emacs, all it
would take is an intelligent `quit' condition-case catcher.
Would it be consider useful enough for Gnus? Would it be possible to
implement cleanly, given the current abstraction model?
[1]
Note: `Cancel' here has nothing to do with article canceling.
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
"Psychos _do not_ explode when sunlight hits them."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Intelligent handling of interrupted communication
1997-11-21 20:42 Intelligent handling of interrupted communication Hrvoje Niksic
@ 1997-11-23 6:19 ` Lars Magne Ingebrigtsen
1997-11-23 13:24 ` Hrvoje Niksic
0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-11-23 6:19 UTC (permalink / raw)
Hrvoje Niksic <hniksic@srce.hr> writes:
> Aside from my very specific situation, I can think of a number of
> cases where intelligent handling of interrupted communication with the
> news server would come in very handy. Since this is Emacs, all it
> would take is an intelligent `quit' condition-case catcher.
>
> Would it be consider useful enough for Gnus? Would it be possible to
> implement cleanly, given the current abstraction model?
Yes, I think so. We could just catch the `quit' in Message and close
the connection if it was found.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Intelligent handling of interrupted communication
1997-11-23 6:19 ` Lars Magne Ingebrigtsen
@ 1997-11-23 13:24 ` Hrvoje Niksic
1997-11-23 13:42 ` Lars Magne Ingebrigtsen
0 siblings, 1 reply; 4+ messages in thread
From: Hrvoje Niksic @ 1997-11-23 13:24 UTC (permalink / raw)
Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
> Hrvoje Niksic <hniksic@srce.hr> writes:
>
> > Aside from my very specific situation, I can think of a number of
> > cases where intelligent handling of interrupted communication with the
> > news server would come in very handy. Since this is Emacs, all it
> > would take is an intelligent `quit' condition-case catcher.
> >
> > Would it be consider useful enough for Gnus? Would it be possible to
> > implement cleanly, given the current abstraction model?
>
> Yes, I think so. We could just catch the `quit' in Message and close
> the connection if it was found.
Would this handle server types other than `nntp' correctly?
--
Hrvoje Niksic <hniksic@srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
`VI' - An editor used by those heretics that don't subscribe to
the Emacs religion.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Intelligent handling of interrupted communication
1997-11-23 13:24 ` Hrvoje Niksic
@ 1997-11-23 13:42 ` Lars Magne Ingebrigtsen
0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 1997-11-23 13:42 UTC (permalink / raw)
Hrvoje Niksic <hniksic@srce.hr> writes:
> > Yes, I think so. We could just catch the `quit' in Message and close
> > the connection if it was found.
>
> Would this handle server types other than `nntp' correctly?
Sure. All backends supply `*-close-server'. For most of them it's a
no-op, though.
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1997-11-23 13:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-11-21 20:42 Intelligent handling of interrupted communication Hrvoje Niksic
1997-11-23 6:19 ` Lars Magne Ingebrigtsen
1997-11-23 13:24 ` Hrvoje Niksic
1997-11-23 13:42 ` Lars Magne Ingebrigtsen
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).