GNU bug report logs - #18312
PATCH: using `revert-buffer' to restart a closed telnet session.

Previous Next

Package: emacs;

Reported by: Emilio Lopes <eclig <at> gmx.net>

Date: Thu, 21 Aug 2014 15:14:01 UTC

Severity: wishlist

Tags: fixed

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 18312 <at> debbugs.gnu.org (full text, mbox):

From: Emilio Lopes <eclig <at> gmx.net>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 18312 <at> debbugs.gnu.org
Subject: Re: bug#18312: PATCH: using `revert-buffer' to restart a closed
 telnet session.
Date: Thu, 25 Feb 2016 15:38:02 +0100
[Message part 1 (text/plain, inline)]
`telnet' is not documented in the manual.

A possible NEWS entry could be along these lines:

    ** telnet-mode

    reverting a buffer in `telnet-mode' will restart a closed connection.

Thank you!

 Emílio

2016-02-23 13:17 GMT+01:00 Lars Ingebrigtsen <larsi <at> gnus.org>:

> Emilio Lopes <eclig <at> gmx.net> writes:
>
> > The following patch allows one to use `revert-buffer' to restart a
> > closed telnet/rsh connection.  It also defines `ssh' as an alias for
> > `rsh' since `remote-shell-program' is set to `ssh' by default anyway.
> >
> > Regards
> >
> >  Emílio
> >
> > --- lisp/ChangeLog    2014-08-21 08:40:29 +0000
> > +++ lisp/ChangeLog    2014-08-21 14:57:57 +0000
> > @@ -1,3 +1,9 @@
> > +2014-08-21  Emilio C. Lopes  <eclig <at> gmx.net>
> > +
> > +    * net/telnet.el (telnet-connect-command): New variable.
> > +    (telnet-revert-buffer): New function.
> > +    (telnet-mode): use `telnet-revert-buffer' as
> `revert-buffer-function'.
> > +    (telnet, rsh): Set `telnet-connect-command' according to their
> > call parameters.
>
> I think this looks good.  Could you also submit changes for NEWS and the
> manual (if the manual documents telnet.el, that is, I haven't checked).
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>
[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.