all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Puff Addison <puff@theaddisons.demon.co.uk>
Subject: Re: using emacs/efs with@ in username
Date: Thu, 06 Feb 2003 08:28:11 +0000	[thread overview]
Message-ID: <b1t6ea$k1r$1$830fa17d@news.demon.co.uk> (raw)
In-Reply-To: <mailman.1521.1044496601.21513.help-gnu-emacs@gnu.org>

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 

       reply	other threads:[~2003-02-06  8:28 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1521.1044496601.21513.help-gnu-emacs@gnu.org>
2003-02-06  8:28 ` Puff Addison [this message]
2003-02-06 13:42   ` using emacs/efs with@ in username andrew dunn
2003-02-06 13:45   ` andrew dunn
     [not found] <mailman.1509.1044486317.21513.help-gnu-emacs@gnu.org>
2003-02-06 13:47 ` Kai Großjohann
2003-02-06 14:00 ` Johan Bockgård
2003-02-07  2:26 ` Bijan Soleymani
2003-02-06  0:08 andrew dunn
2003-02-06  1:43 ` gebser
2003-02-06  3:00   ` andrew dunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='b1t6ea$k1r$1$830fa17d@news.demon.co.uk' \
    --to=puff@theaddisons.demon.co.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.