all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Thierry Volpiatto <thierry.volpiatto@gmail.com>
Cc: 13636@debbugs.gnu.org
Subject: bug#13636: 24.3.50; tramp+ftp broken
Date: Wed, 06 Feb 2013 21:15:12 +0100	[thread overview]
Message-ID: <877gml42sv.fsf@gmx.de> (raw)
In-Reply-To: <877gmlie3u.fsf@gmail.com> (Thierry Volpiatto's message of "Wed,  06 Feb 2013 17:47:17 +0100")

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Hi Michael,

Hi Thierry,

>> What happens, if you move your ~/.netrc away (temporarily)?
> It is working when I remove .netrc
> (file-remote-p "/ftp:mafreebox.freebox.fr:")
> => "/ftp:mafreebox.freebox.fr:"
>
> Here the entry in .netrc:
>
> machine mafreebox.freebox.fr login freebox password xxxxx

Finally, it looks like this error has been introduced with revno
#111057. Tramp/ange-ftp is just a victim, the same error might happen in
other constellations as well.

The following patch cures it for me:

--8<---------------cut here---------------start------------->8---
*** /usr/local/src/emacs/lisp/vc/vc-hooks.el.~111682~	2013-02-06 21:11:32.205313196 +0100
--- /usr/local/src/emacs/lisp/vc/vc-hooks.el	2013-02-06 20:54:51.324349951 +0100
***************
*** 858,865 ****
  	  (set (make-local-variable 'backup-inhibited) t))
  	;; Let the backend setup any buffer-local things he needs.
  	(vc-call-backend backend 'find-file-hook))
!        ((let* ((truename (expand-file-name buffer-file-truename))
! 	       (link-type (and (not (equal buffer-file-name truename))
  			       (vc-backend truename))))
  	  (cond ((not link-type) nil)	;Nothing to do.
  		((eq vc-follow-symlinks nil)
--- 858,867 ----
  	  (set (make-local-variable 'backup-inhibited) t))
  	;; Let the backend setup any buffer-local things he needs.
  	(vc-call-backend backend 'find-file-hook))
!        ((let* ((truename (and buffer-file-truename
! 			      (expand-file-name buffer-file-truename)))
! 	       (link-type (and truename
! 			       (not (equal buffer-file-name truename))
  			       (vc-backend truename))))
  	  (cond ((not link-type) nil)	;Nothing to do.
  		((eq vc-follow-symlinks nil)
--8<---------------cut here---------------end--------------->8---

Could you, please, check?

Best regards, Michael.





  parent reply	other threads:[~2013-02-06 20:15 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-06 13:35 bug#13636: 24.3.50; tramp+ftp broken Thierry Volpiatto
2013-02-06 14:26 ` Michael Albinus
2013-02-06 14:42   ` Thierry Volpiatto
2013-02-06 14:54     ` Thierry Volpiatto
2013-02-06 15:39       ` Michael Albinus
2013-02-06 15:58         ` Thierry Volpiatto
2013-02-06 16:14           ` Michael Albinus
2013-02-06 16:47             ` Thierry Volpiatto
2013-02-06 18:36               ` Eli Zaretskii
2013-02-06 19:23                 ` Thierry Volpiatto
2013-02-06 18:59               ` Michael Albinus
2013-02-06 19:21                 ` Thierry Volpiatto
2013-02-06 20:15               ` Michael Albinus [this message]
2013-02-06 21:02                 ` Thierry Volpiatto
2013-02-07  8:56                   ` Michael Albinus
2013-02-08 12:36                     ` Thierry Volpiatto

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=877gml42sv.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=13636@debbugs.gnu.org \
    --cc=thierry.volpiatto@gmail.com \
    /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.