From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Haines Brown Newsgroups: gmane.emacs.help Subject: Re: Using tramp with sunrise-commander Date: Sun, 05 Dec 2010 13:42:48 -0500 Message-ID: <87vd38ysbb.fsf@engels.HistoricalMaterialism.info> References: <877hfygked.fsf@engels.HistoricalMaterialism.info> <87aaks4vcg.fsf@engels.HistoricalMaterialism.info> <25fdf046-8e83-4fa7-8404-1c08aeda30ae@s5g2000yqm.googlegroups.com> <8762vg46k5.fsf@engels.HistoricalMaterialism.info> <64e32536-33ac-4464-bb04-dc31eafe1813@k22g2000yqh.googlegroups.com> <871v624pe6.fsf@engels.HistoricalMaterialism.info> <16a1b95b-a909-478b-b18a-ede9bece2704@l20g2000vbd.googlegroups.com> <87wrns2u4b.fsf@engels.HistoricalMaterialism.info> <878w051ton.fsf@engels.HistoricalMaterialism.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1291949823 21726 80.91.229.12 (10 Dec 2010 02:57:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 10 Dec 2010 02:57:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Dec 10 03:56:56 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PQtAG-0004RO-Bl for geh-help-gnu-emacs@m.gmane.org; Fri, 10 Dec 2010 03:56:56 +0100 Original-Received: from localhost ([127.0.0.1]:42970 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PQtAF-00067i-Qz for geh-help-gnu-emacs@m.gmane.org; Thu, 09 Dec 2010 21:56:55 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!news2.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail Original-NNTP-Posting-Date: Sun, 05 Dec 2010 12:44:41 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:qKqhsPbDREgPWuQ3/CSywzqHBpk= Original-Lines: 65 X-Usenet-Provider: http://www.giganews.com Original-X-Trace: sv3-zOcih4u2l58hwUPpZyJq0dAThqAKiZAY7nicaYT1/7hxe2OdaiRKlR9UcjXc4kKseIHgVbcPWG7oz0G!I/QnBxqkJ3ow2+ztkOYgNBhUDV+xWT19YfS9PMBIU4WfFy1ThjB2MuRR3s812nenukhSWDv0Tmk= Original-X-Complaints-To: abuse@giganews.com X-DMCA-Notifications: http://www.giganews.com/info/dmca.html X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 4356 Original-Xref: usenet.stanford.edu gnu.emacs.help:182883 X-Mailman-Approved-At: Thu, 09 Dec 2010 20:09:04 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77236 Archived-At: José A. Romero L. writes: Half my problem is that I'm a klutz. For example, I must have struck some key combination such that in gnus, displayed is only the quoted material in the body, not the original material. To see what you had to say, I have to follow up. No idea how to fix. In any case: Thanks for the tip on tramp syntax. I carried a configuration over for years without re-studying it. > ... > Now, this is a real treasure! This is exactly what I needed to locate > the bug that was pestering you. ... Can you please check if the latest > version (4R344) works OK for you now? Thank you *very much* for > reporting this, it did help a lot. I found a 4R344 that differed only by a few hundred bytes from what I'm using, but I assumed that it is nevertheless a fix rather than version. In any case, I installed it, and it now works! I can hit RET while a remote file is selected, and emacs opens so that I can edit and save it. My only (petty) problem is that when I close the emacs editor I'm not returned to the remote directory in which the test file was located, but back to my local scratch page. I have to change buffers to get back to where I was. > (...) >> all the confusion, who knows? When I fail to save a changed remote file, >> there is no debug message, but in minibuffer is says "wrong type >> argument: arrayp, nil". > > This is one I still haven't been able to reproduce. Don't you receive > any stack trace at all, even after doing M-x toggle-debug-on-error? I guess what I said above kinda makes this problem moot. The problem seems to be resolved, and I thank you for your patient concern. The only remaining challenge for me, although I suspect it is a question of tramp rather than sunrise-commander is trying to access a user account on a remote machine (teufel on my LAN) from within Sunrise-Commander (SSH works otherwise): In ~/.netrc I have: machine ftp.brownh@teufel.HistoricalMaterialism.info login brownh password ... In .emacs I have: (setq tramp-default-method "ftp") (setenv "teufel" "/ftp:brownh@ftp.teufel.HistoricalMaterialism.info") When I do M-x f, $teufel first for some reason I'm promoted for the password for my own local account, and then, having provided it, the connection to teufel hangs (Opening FTP connection to ftp...). Ange-ftp says: ftp>open ftp ftp: ftp: Name or service not knownftp> ftp>open ftp ftp: ftp: Name or service not knownftp> Haines