From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: Tramp 2.0 -> 2.1 migration woes Date: Mon, 28 Jan 2008 17:31:32 +0100 Message-ID: References: <20080127040051.GA16241@Clio.twb.ath.cx> <87sl0jxu4g.fsf@gmx.de> <20080128021310.GA3075@Clio.twb.ath.cx> <20080128155710.GB2378@Clio.twb.ath.cx> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1201537905 5685 80.91.229.12 (28 Jan 2008 16:31:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 28 Jan 2008 16:31:45 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, rfrancoise@debian.org To: "Trent W. Buck" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 28 17:32:05 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JJWtx-00068N-Et for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2008 17:32:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJWtX-0008Dd-0K for ged-emacs-devel@m.gmane.org; Mon, 28 Jan 2008 11:31:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JJWtG-00089C-HA for emacs-devel@gnu.org; Mon, 28 Jan 2008 11:31:22 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JJWtE-00088Z-Ps for emacs-devel@gnu.org; Mon, 28 Jan 2008 11:31:22 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JJWtE-00088T-ML for emacs-devel@gnu.org; Mon, 28 Jan 2008 11:31:20 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JJWtE-0000Il-M3 for emacs-devel@gnu.org; Mon, 28 Jan 2008 11:31:20 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JJWtD-0002s1-Oo for emacs-pretest-bug@gnu.org; Mon, 28 Jan 2008 11:31:19 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JJWtB-0000HA-1Q for emacs-pretest-bug@gnu.org; Mon, 28 Jan 2008 11:31:20 -0500 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JJWtA-0000GC-Dm for emacs-pretest-bug@gnu.org; Mon, 28 Jan 2008 11:31:16 -0500 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id m0SGUdGj018561; Mon, 28 Jan 2008 17:30:39 +0100 In-Reply-To: <20080128155710.GB2378@Clio.twb.ath.cx> (Trent W. Buck's message of "Tue, 29 Jan 2008 02:57:12 +1100") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.73 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:87716 gmane.emacs.pretest.bugs:20794 Archived-At: "Trent W. Buck" writes: > I think I could learn to tolerate that amount of prompting... one > thing to consider is what happens if I mess up the multihop (proxy) > sequence because e.g. the notes the other sysadmin gave me are out of > date. Would I have to manually remove the entries from > tramp-default-proxies-alist? OK. Maybe it is sufficient to add it temporarily only, and raise a message how to add it permanently. Then it is always *your* duty to keep it consistent. > I'm also not sure that middling to complicated proxying arrangements > can even be set up with the current tramp-default-proxies-alist. For > example, suppose a host allows ssh from anywhere, but locks down its > internal staff-only FTP upload area to sites on the corporate subnet? > You'd need to have the /ftp:appdev:/incoming use an /ssh:gw: proxy, > but /ssh:appdev: should not use any proxy (although it would still > work with one, it would just waste gw's bandwidth). I'ld recommend to use 2 Emacs profiles, with different settings of tramp-default-proxies-alist. I do something similar in .gnus: (if (my-ping "mail.work.de") (setq send-mail-function 'smtpmail-send-it smtpmail-default-smtp-server "mail.work.de" smtpmail-local-domain "work.de") (setq send-mail-function 'smtpmail-send-it smtpmail-default-smtp-server "mail.home.de" smtpmail-local-domain "home.de")) Of course, you might use other decision criteria than pinging a host. Best regards, Michael.