Date: Mon, 3 Aug 2020 18:21:18 +0000 (UTC) From: Ashish SHUKLA <ashish@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r544097 - in head/editors/emacs: . files Message-ID: <202008031821.073ILIHo062313@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ashish Date: Mon Aug 3 18:21:18 2020 New Revision: 544097 URL: https://svnweb.freebsd.org/changeset/ports/544097 Log: - Add a patch to make Emacs' TRAMP mode work with 12-STABLE, and 13-CURRENT remote hosts PR: 243807 Submitted by: Yuichiro NAITO <nairo dot yuichiro at gmail dot com> Reported by: John F. Carr <jfc at mit dot edu> Added: head/editors/emacs/files/patch-lisp_net_tramp-sh.el (contents, props changed) Modified: head/editors/emacs/Makefile Modified: head/editors/emacs/Makefile ============================================================================== --- head/editors/emacs/Makefile Mon Aug 3 18:16:54 2020 (r544096) +++ head/editors/emacs/Makefile Mon Aug 3 18:21:18 2020 (r544097) @@ -3,7 +3,7 @@ PORTNAME= emacs DISTVERSION= 26.3 -PORTREVISION= 5 +PORTREVISION= 6 PORTEPOCH= 3 CATEGORIES= editors MASTER_SITES= GNU Added: head/editors/emacs/files/patch-lisp_net_tramp-sh.el ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/editors/emacs/files/patch-lisp_net_tramp-sh.el Mon Aug 3 18:21:18 2020 (r544097) @@ -0,0 +1,19 @@ +--- lisp/net/tramp-sh.el.orig 2019-07-25 19:41:28 UTC ++++ lisp/net/tramp-sh.el +@@ -4059,6 +4059,7 @@ process to set up. VEC specifies the connection." + + ;; Disable echo expansion. + (tramp-message vec 5 "Setting up remote shell environment") ++ (tramp-send-command vec "set +o vi +o emacs" t) + (tramp-send-command + vec "stty -inlcr -onlcr -echo kill '^U' erase '^H'" t) + ;; Check whether the echo has really been disabled. Some +@@ -4127,8 +4128,6 @@ process to set up. VEC specifies the connection." + (set-process-coding-system proc cs-decode cs-encode) + (tramp-message + vec 5 "Setting coding system to `%s' and `%s'" cs-decode cs-encode))) +- +- (tramp-send-command vec "set +o vi +o emacs" t) + + ;; Check whether the remote host suffers from buggy + ;; `send-process-string'. This is known for FreeBSD (see comment
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008031821.073ILIHo062313>