From: andrew dunn <andy@yage.net>
Cc: help-gnu-emacs@gnu.org
Subject: Re: using emacs/efs with@ in username
Date: 06 Feb 2003 13:42:37 +0000 [thread overview]
Message-ID: <1044538957.2471.0.camel@lewis> (raw)
In-Reply-To: <b1t6ea$k1r$1$830fa17d@news.demon.co.uk>
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
next prev parent reply other threads:[~2003-02-06 13:42 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 ` using emacs/efs with@ in username Puff Addison
2003-02-06 13:42 ` andrew dunn [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1044538957.2471.0.camel@lewis \
--to=andy@yage.net \
--cc=help-gnu-emacs@gnu.org \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).