From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Puff Addison Newsgroups: gmane.emacs.help Subject: Re: using emacs/efs with@ in username Date: Thu, 06 Feb 2003 08:28:11 +0000 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: main.gmane.org 1044520365 5682 80.91.224.249 (6 Feb 2003 08:32:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 6 Feb 2003 08:32:45 +0000 (UTC) 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 18ghSd-0001TV-00 for ; Thu, 06 Feb 2003 09:32:43 +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 18ghRh-0000oe-07 for gnu-help-gnu-emacs@m.gmane.org; Thu, 06 Feb 2003 03:31:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 60 Original-NNTP-Posting-Host: theaddisons.demon.co.uk Original-X-Trace: news.demon.co.uk 1044520202 20539 62.49.22.109 (6 Feb 2003 08:30:02 GMT) Original-X-Complaints-To: abuse@demon.net Original-NNTP-Posting-Date: Thu, 6 Feb 2003 08:30:02 +0000 (UTC) In-Reply-To: X-Accept-Language: en-us, en-gb User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021130 Original-Xref: shelby.stanford.edu gnu.emacs.help:109849 Original-To: help-gnu-emacs@gnu.org 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:6354 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6354 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. -- J. D. Addison email puff@theaddisons.demon.co.uk