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 13:42:37 +0000 Organization: Yage.net Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <1044538957.2471.0.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 1044535277 27364 80.91.224.249 (6 Feb 2003 12:41:17 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 12:41: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 18glL8-00076z-00 for ; Thu, 06 Feb 2003 13:41:14 +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 18glJl-0006Jz-03 for gnu-help-gnu-emacs@m.gmane.org; Thu, 06 Feb 2003 07:39:49 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 18glJB-00067Q-00 for help-gnu-emacs@gnu.org; Thu, 06 Feb 2003 07:39:13 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 18glJ7-00065C-00 for help-gnu-emacs@gnu.org; Thu, 06 Feb 2003 07:39:11 -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 18glJ7-00064O-00 for help-gnu-emacs@gnu.org; Thu, 06 Feb 2003 07:39:09 -0500 Original-Received: from [81.76.201.25] (helo=[171.171.0.2]) by cmailg1.svr.pol.co.uk with esmtp (Exim 3.35 #1) id 18glJ5-0005uu-00; Thu, 06 Feb 2003 12:39:07 +0000 Original-To: Puff Addison 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:6355 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6355 On Thu, 2003-02-06 at 08:28, Puff Addison wrote: > andrew dunn wrote: > > >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. > > > > > > > > > Try > > /username\\@domain.com@domain.com:/nameoffile.html > > i.e a double back slash. This ensures that the @ is still escaped after the input has been read. > > This is a common problem. \ may be parsed an removed before one expects. > > -- --andrew dunn andy@yage.net http://www.yage.net