From owner-svn-ports-head@freebsd.org Mon Aug 3 18:21:19 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 2E47B3A4474; Mon, 3 Aug 2020 18:21:19 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BL5mv0Wb2z4DwW; Mon, 3 Aug 2020 18:21:19 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E927418AA2; Mon, 3 Aug 2020 18:21:18 +0000 (UTC) (envelope-from ashish@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 073ILI0L062314; Mon, 3 Aug 2020 18:21:18 GMT (envelope-from ashish@FreeBSD.org) Received: (from ashish@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 073ILIHo062313; Mon, 3 Aug 2020 18:21:18 GMT (envelope-from ashish@FreeBSD.org) Message-Id: <202008031821.073ILIHo062313@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: ashish set sender to ashish@FreeBSD.org using -f From: Ashish SHUKLA Date: Mon, 3 Aug 2020 18:21:18 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r544097 - in head/editors/emacs: . files X-SVN-Group: ports-head X-SVN-Commit-Author: ashish X-SVN-Commit-Paths: in head/editors/emacs: . files X-SVN-Commit-Revision: 544097 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Aug 2020 18:21:19 -0000 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 Reported by: John F. Carr 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