From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#17653: 24.3; Tramp doesn't detect ssh ControlMaster Date: Sun, 01 Jun 2014 17:42:06 +0200 Message-ID: <87oaycocvl.fsf@gmx.de> References: <87k392kpse.wl%jch@pps.univ-paris-diderot.fr> <877g51vy5z.fsf@gmx.de> <87mwdwx2x0.wl%jch@pps.univ-paris-diderot.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1401637405 20352 80.91.229.3 (1 Jun 2014 15:43:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2014 15:43:25 +0000 (UTC) Cc: 17653@debbugs.gnu.org To: Juliusz Chroboczek Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 01 17:43:18 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Wr7un-0002RW-Bt for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jun 2014 17:43:17 +0200 Original-Received: from localhost ([::1]:41195 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr7um-0004cg-UJ for geb-bug-gnu-emacs@m.gmane.org; Sun, 01 Jun 2014 11:43:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52985) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr7ue-0004bh-La for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 11:43:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wr7uY-0007pk-Kj for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 11:43:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41138) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wr7uY-0007pg-Hu for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 11:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Wr7uY-0001mK-2A for bug-gnu-emacs@gnu.org; Sun, 01 Jun 2014 11:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 01 Jun 2014 15:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17653 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17653-submit@debbugs.gnu.org id=B17653.14016373396768 (code B ref 17653); Sun, 01 Jun 2014 15:43:01 +0000 Original-Received: (at 17653) by debbugs.gnu.org; 1 Jun 2014 15:42:19 +0000 Original-Received: from localhost ([127.0.0.1]:40015 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr7tq-0001l5-OV for submit@debbugs.gnu.org; Sun, 01 Jun 2014 11:42:18 -0400 Original-Received: from mout.gmx.net ([212.227.15.15]:63909) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Wr7to-0001kj-0a for 17653@debbugs.gnu.org; Sun, 01 Jun 2014 11:42:17 -0400 Original-Received: from detlef.gmx.de ([87.146.60.64]) by mail.gmx.com (mrgmx103) with ESMTPSA (Nemesis) id 0M9KR0-1WyJB82aNS-00CfU4; Sun, 01 Jun 2014 17:42:08 +0200 In-Reply-To: <87mwdwx2x0.wl%jch@pps.univ-paris-diderot.fr> (Juliusz Chroboczek's message of "Sun, 01 Jun 2014 13:52:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) X-Provags-ID: V03:K0:l1CQFgJUIvnv6RsxZOs1KEjVpKCzSE0UByH9RzwB4ako+z468z3 9NVyS0ajtGXKn3TdvbuTZXmaCc2dkEY/R70Pc7KMujhpDgHl8qMjP0fVa13OW5InM+mLGvV 8Lz6zitjLlB+C5Xi3laQgCEyIP+fNMV5RcVMyfs8DH8zcY9FYFyC1ydz8os04K1v6z+ASNY 5oPaoNjRabjl4xlmSTrlg== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:89862 Archived-At: Juliusz Chroboczek writes: >> The native way to fix this in Tramp is tweaking `tramp-methods'. Add a >> new method "myssh" with your preferred arguments. > > I know I can tweak it -- that's Emacs, I can advise any function -- but > that's not the issue. I expect Emacs to work optimally out of the box on > an up-to-date Debian testing box, and this is not the case. I don't speak about advising a function. `tramp-methods' is a variable intended for configuration. > Ideally, tramp should use a less fragile method to check for ControlMaster > support; if that's not possible, it should at least use a regexp that's > permissive enough to work on recent OpenSSH. > > Please fix Emacs to detect ControlMaster out of the box with recent Debian. Well, in Emacs 24.4 the situation will be more complex, because Tramp doesn't search for ControlMaster only, but also for ControlPersist. One regexp alone won't fit. That's why there exists the defconst `tramp-ssh-controlmaster-options'. You could change it at your will. However, I will check whether the situation with Debian could be enhanced, somehow. > -- Juliusz Best regards, Michael.