From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: andrew dunn Newsgroups: gmane.emacs.help Subject: Re: using emacs/efs with@ in username Date: 06 Feb 2003 03:00:01 +0000 Organization: myperl.cc Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1044500401.8105.10.camel@lewis> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044496517 32327 80.91.224.249 (6 Feb 2003 01:55:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 01:55:17 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gbG0-0008PH-00 for ; Thu, 06 Feb 2003 02:55:16 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gbHh-0002fG-01 for gnu-help-gnu-emacs@m.gmane.org; Wed, 05 Feb 2003 20:57:01 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18gbHK-0002YX-00 for help-gnu-emacs@gnu.org; Wed, 05 Feb 2003 20:56:38 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18gbHG-0002Nt-00 for help-gnu-emacs@gnu.org; Wed, 05 Feb 2003 20:56:36 -0500 Original-Received: from cmailg1.svr.pol.co.uk ([195.92.195.171]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gbHG-0002MB-00 for help-gnu-emacs@gnu.org; Wed, 05 Feb 2003 20:56:34 -0500 Original-Received: from [81.76.204.201] (helo=[171.171.0.2]) by cmailg1.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 18gbHD-0008Lo-00; Thu, 06 Feb 2003 01:56:32 +0000 Original-To: gebser@ameritech.net In-Reply-To: X-Mailer: Ximian Evolution 1.2.1 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6352 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6352 Hi, Thanks for your reply, but thats not really the issue. The problem I'm having is loading files from a remote server. Usually if I load a file from a remote FTP server in XEmacs the username is something like "username" and the domain will be "domain.com". To request this file in XEmacs I'd load it as: /username@domain.com:/nameofthefile.html Now, the problem comes when the FTP username isn't just "username" but instead something like "username@domain.com". This means when logging into the server via normal FTP I enter "username@domain.com" for the username. So whenever I want to load this file in XEmacs I'd load it as: /username@domain.com@domain.com:/nameofile.html This equates to the required format of: /USERNAME@DOMAIN:/FILE But if the username contains an "@" symbol then I get an error: "Wrong type argument: stringp, nil" Thats pretty much as I'd expect because there are now two "@" symbols in the line, and emacs doesn't know which part is the username and which is the server. Ive tried using: /username\@domain.com@domain.com:/nameoffile.html But that doesn't work either. Do you see what I mean ? Do you have any further suggestions ? Thanks alot, Andrew. On Thu, 2003-02-06 at 01:43, gebser@ameritech.net wrote: > If the problem is really the "at" sign (which I don't think it is), try > doing: > > C-x C-f /path/to/user TAB > > and emacs should type in the 'at' sign for you (given that you don't > have other files in the same subdir which start with "user" with some > other character immediately after). > > I suspect that the problem is that you created files with names like > "/user@domain.com@domain.com:/file.html" which means that emacs thinks > that "/user@domain.com@domain.com:/" is a subdirectory. If so, get > around that by putting a backslash ('\') in front of each slash > character ('/') when opening the file. > > If this doesn't fix it for you, do an "ls -al" on the files in question > and send the output to us. > > hth, > ken > > andrew dunn at 00:08 (UTC-0000) on 6 Feb 2003 said: > > = Hi, > = > = Ive been using XEmacs now with my own server for quite some time, > = opening and saving documents remotely using the format: > = /user@domain.com:/file.html > = > = Recently Ive had to start editing files on a server that includes the @ > = symbol in the username (e.g. 'user@domain.com'), which seems to make it > = impossible to open files correctly. > = > = The format for opening now becomes: > = /user@domain.com@domain.com:/file.html > = > = As you'd expect this doesn't work because it doesn't know which @ symbol > = is part of the username, and which one separates the user from the > = domain. I hope this is clear what my problem is, and there is some kind > = of simple solution. > = > = Thanks for your help, > = > = -- myperl.cc - web hosting for perl people.