all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Powe <michael+gnus@trollope.org>
Subject: editing files remotely
Date: 07 Aug 2003 19:10:05 +0000	[thread overview]
Message-ID: <878yq5l1wy.fsf@hervieu.trollope.org> (raw)

hello,

i'm trying to understand how emacs handles links when editing files
remotely.  i have some web sites where i typically edit remotely with
emacs.  many times i just log into the shell directory and then dired
into the www directory.  this directory is typically a link from the
shell home directory to the actual www dir, which may be like this:

lrwxrwxrwx  1 tr0921ea tr0921ea  16 May 10 17:41 cgi -> /var/www/cgi-bin

now, if i'm on this machine (slackware 9.0), trying to follow that
link does not work, emacs treats it like a file.  if i go upstairs to
my winders machine and do the same thing with ntemacs, it will follow
the link to the cgi-bin directory.  ???

however, that's not the end of the story.  from this machine, i can
follow this link:

lrwxrwxrwx 1 root root  21 Sep 22  2002 mainwebsite_cgi -> \
../../var/www/cgi-bin

both machines are on the same network & going out the same dsl
connection. 

but wait, there's more.

sometimes, when i edit a file from this machine (but never from the
other one), i can't save it.  emacs gives a message in the minibuffer
about a keyboard macro -- something like, "bell rung at end of
keyboard macro" -- and the file is not saved.  i can write to the
directory; iow, if i save the file to a different name, that will
work. but it won't overwrite.

any suggestions would be appreciated.  thanks.

mp

-- 
Michael Powe				    Naugatuck CT USA
------------------------------------------------------------
"Perl is obviously my attempt to help other people be creative. 
In my little way, I'm sneakily helping people understand a bit 
more about the sort of people God likes." -- Larry Wall

             reply	other threads:[~2003-08-07 19:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-07 19:10 Michael Powe [this message]
2003-08-07 19:27 ` editing files remotely Michael Powe

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=878yq5l1wy.fsf@hervieu.trollope.org \
    --to=michael+gnus@trollope.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.