GNU bug report logs - #4846
23.1; File Shadow: Shadowing to FTP server does not work

Previous Next

Package: emacs;

Reported by: Martin Apel <martin.apel <at> web.de>

Date: Sun, 1 Nov 2009 18:00:04 UTC

Severity: normal

Tags: fixed

Merged with 4526

Fixed in version 26.1

Done: Michael Albinus <michael.albinus <at> gmx.de>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 4846 in the body.
You can then email your comments to 4846 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#4846; Package emacs. (Sun, 01 Nov 2009 18:00:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Martin Apel <martin.apel <at> web.de>:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. (Sun, 01 Nov 2009 18:00:04 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Martin Apel <martin.apel <at> web.de>
To: bug-gnu-emacs <at> gnu.org
Subject: 23.1; File Shadow: Shadowing to FTP server does not work
Date: Sun, 01 Nov 2009 18:51:15 +0100
I have tried to set up file shadowing so a local file is shadowed to an FTP account.
The file .shadows looks as follows:

(setq shadow-clusters nil)

(setq shadow-literal-groups
  '(("/ftp:mylogin <at> myftpserver:~/private/test" "/martin <at> gandalf:~/test")))

(setq shadow-regexp-groups nil)

After modifying the test file locally and invoking 'shadow-copy-files' the message buffer contains the following:
Tramp: Opening connection for martin <at> ftp using scp...
Tramp: Waiting 60s for local shell to come up...
Tramp: Sending command `ssh ftp -l martin  -q -e none && exit || exit'
Tramp: Waiting for prompts from remote shell
File error: Process died
Shadow /ftp:mylogin <at> myftpserver:~/private/test not updated!
Wrote /home/martin/.shadow_todo

Unfortunately the documentation is rather vague, so I might not have set up shadowing correctly.



In GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.16.5)
 of 2009-09-14 on raven, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.10605000
configured using `configure  '--build=i486-linux-gnu' '--host=i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.1/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.1/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'host_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default-enable-multibyte-characters: t

Major mode: Apropos

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  which-function-mode: t
  show-paren-mode: t
  desktop-save-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
M-< C-s r e p o r t C-s C-s C-s C-s C-s C-s C-s C-s 
C-s C-s C-s C-s M-x <help-echo> r e p r t <backspace> 
<backspace> o r t - e m <tab> <return>

Recent messages:
Lazy desktop load complete
Mark set
Scheduled to <2009-11-03 Tue>
Type C-x 4 C-o RET to restore the other window.  
Mark set
Mark saved where search started






Merged 4526 4846. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Nov 2009 17:50:07 GMT) Full text and rfc822 format available.

Removed tag(s) moreinfo. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> emacsbugs.donarmstrong.com. (Wed, 04 Nov 2009 18:00:05 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 4526 <at> debbugs.gnu.org and Bill Pemberton <wfp5p <at> viridian.itc.Virginia.EDU> Request was from Lars Magne Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 18 Sep 2011 08:40:02 GMT) Full text and rfc822 format available.

Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 18 Sep 2011 17:22:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4846; Package emacs. (Wed, 18 Jul 2018 15:16:02 GMT) Full text and rfc822 format available.

Message #16 received at 4846 <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Bill Pemberton <wfp5p <at> viridian.itc.Virginia.EDU>,
 Martin Apel <martin.apel <at> web.de>
Cc: 4846 <at> debbugs.gnu.org, 4526 <at> debbugs.gnu.org
Subject: Re: bug#4526: 23.1; shadowfile always fails
Date: Wed, 18 Jul 2018 17:15:26 +0200
Bill Pemberton <wfp5p <at> viridian.itc.Virginia.EDU> writes:

Hi,

> Shadowfile is always failing because it is somehow always trying to
> to run ssh scp -l wfp5p  -q -e none, which is wrong since there is no
> hostname given.  I get the same error if I start emacs with -q, so it
> doesn't appear to be anything in my startup files. 

It took several years, but now I have done it. Shadowfile.el has been
rewritten to use Tramp file names.

If you are using the latest Emacs 26.1, and you want to test this, you
could download the changed shadowfile.el from
<http://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/shadowfile.el?h=emacs-26>.
Otherwise, it will appear with the next Emacs release.

Best regards, Michael.




Added tag(s) fixed. Request was from Michael Albinus <michael.albinus <at> gmx.de> to control <at> debbugs.gnu.org. (Wed, 18 Jul 2018 15:16:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#4846; Package emacs. (Thu, 30 Aug 2018 12:56:03 GMT) Full text and rfc822 format available.

Message #21 received at 4846-done <at> debbugs.gnu.org (full text, mbox):

From: Michael Albinus <michael.albinus <at> gmx.de>
To: Bill Pemberton <wfp5p <at> viridian.itc.Virginia.EDU>
Cc: 4846-done <at> debbugs.gnu.org, 4526-done <at> debbugs.gnu.org,
 Martin Apel <martin.apel <at> web.de>
Subject: Re: bug#4526: 23.1; shadowfile always fails
Date: Thu, 30 Aug 2018 14:54:46 +0200
Version:26.1

Michael Albinus <michael.albinus <at> gmx.de> writes:

Hi,

> It took several years, but now I have done it. Shadowfile.el has been
> rewritten to use Tramp file names.
>
> If you are using the latest Emacs 26.1, and you want to test this, you
> could download the changed shadowfile.el from
> <http://git.savannah.gnu.org/cgit/emacs.git/plain/lisp/shadowfile.el?h=emacs-26>.
> Otherwise, it will appear with the next Emacs release.

No response, I'm closing the bugs. Feel free to report if you encounter
further problems with shadowfile.el.

Best regards, Michael.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 28 Sep 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.