bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#18312: PATCH: using `revert-buffer' to restart a closed telnet sessi


From: Lars Ingebrigtsen
Subject: bug#18312: PATCH: using `revert-buffer' to restart a closed telnet session.
Date: Tue, 23 Feb 2016 23:17:17 +1100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

Emilio Lopes <address@hidden> 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  <address@hidden>
> +
> +    * 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]