all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Emilio Lopes <eclig@gmx.net>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 18312@debbugs.gnu.org
Subject: bug#18312: PATCH: using `revert-buffer' to restart a closed telnet session.
Date: Thu, 25 Feb 2016 15:38:02 +0100	[thread overview]
Message-ID: <CANiPZaAQCNVT2BixmuW8y-6DZ4PC-XgXeR=YL54b07fawqbbWw@mail.gmail.com> (raw)
In-Reply-To: <87oab7oc36.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 1344 bytes --]

`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@gnus.org>:

> Emilio Lopes <eclig@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@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
>

[-- Attachment #2: Type: text/html, Size: 2042 bytes --]

  reply	other threads:[~2016-02-25 14:38 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-21 15:12 bug#18312: PATCH: using `revert-buffer' to restart a closed telnet session Emilio Lopes
2016-02-23 12:17 ` Lars Ingebrigtsen
2016-02-25 14:38   ` Emilio Lopes [this message]
2016-02-26  5:54     ` Lars Ingebrigtsen
2019-06-25 21:40       ` Lars Ingebrigtsen
2019-06-27  2:46         ` Richard Stallman
2019-06-27  7:48           ` Michael Albinus
2019-06-27  8:00           ` Andreas Schwab
2019-06-28  2:52             ` Richard Stallman
2019-06-28  8:34               ` Robert Pluim
2019-07-01  8:09               ` Andreas Schwab
2019-06-27  8:08           ` Robert Pluim
2019-06-28  2:52             ` Richard Stallman
2019-06-28  7:50               ` Robert Pluim
2019-06-29  3:18                 ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANiPZaAQCNVT2BixmuW8y-6DZ4PC-XgXeR=YL54b07fawqbbWw@mail.gmail.com' \
    --to=eclig@gmx.net \
    --cc=18312@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.