From: andrew dunn <info@myperl.cc>
Cc: help-gnu-emacs@gnu.org
Subject: Re: using emacs/efs with@ in username
Date: 06 Feb 2003 03:00:01 +0000 [thread overview]
Message-ID: <1044500401.8105.10.camel@lewis> (raw)
In-Reply-To: <Pine.LNX.4.44.0302052033450.16795-100000@heidegger.mousecar.net>
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.
next prev parent reply other threads:[~2003-02-06 3:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-06 0:08 using emacs/efs with@ in username andrew dunn
2003-02-06 1:43 ` gebser
2003-02-06 3:00 ` andrew dunn [this message]
[not found] <mailman.1521.1044496601.21513.help-gnu-emacs@gnu.org>
2003-02-06 8:28 ` Puff Addison
2003-02-06 13:42 ` 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
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=1044500401.8105.10.camel@lewis \
--to=info@myperl.cc \
--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.
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.