GNU bug report logs - #28959
25.3; Tramp not honoring `tramp-backup-directory-alist'

Previous Next

Package: emacs;

Reported by: "Matz, Daniel A. (JSC-EG511)" <daniel.a.matz <at> nasa.gov>

Date: Mon, 23 Oct 2017 19:47:01 UTC

Severity: normal

Found in version 25.3

Fixed in version 26.1

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Michael Albinus <michael.albinus <at> gmx.de>
To: "Matz\, Daniel A. \(JSC-EG511\)" <daniel.a.matz <at> nasa.gov>
Cc: 28959 <at> debbugs.gnu.org
Subject: bug#28959: 25.3; Tramp not honoring `tramp-backup-directory-alist'
Date: Thu, 26 Oct 2017 18:09:33 +0200
"Matz, Daniel A. (JSC-EG511)" <daniel.a.matz <at> nasa.gov> writes:

> Hi, Michael.

Hi Daniel,

[Pls keep 28959 <at> debbugs.gnu.org in Cc, for the archives]

> I built the emacs-26 branch and started emacs with -Q, and
> unfortunately the backup files are still being created on the remote
> system, in the same directory as the file I am visiting.
>
> Is there anything else I can do to help you debug this?

Could you pls check that your checkout is recent? It must contain

--8<---------------cut here---------------start------------->8---
~/src/emacs-26> git log
commit 646e56e150ca08978d6ce736b12867b4958a0cd8 (HEAD -> emacs-26, origin/emacs-26)
Author: Michael Albinus <michael.albinus <at> gmx.de>
Date:   Thu Oct 26 16:24:28 2017 +0200

    Fix Bug#28959
    
    * lisp/net/tramp.el (tramp-handle-find-backup-file-name):
    Use `tramp-tramp-file-p' rather than `tramp-file-name-p'.  Add
    hop to backup file name.  (Bug#28959)
--8<---------------cut here---------------end--------------->8---

Furthermore, you might run

--8<---------------cut here---------------start------------->8---
~/src/emacs-26> make -C test tramp-tests
--8<---------------cut here---------------end--------------->8---

There are several Tramp tests; the most interesting is

--8<---------------cut here---------------start------------->8---
   passed  43/58  tramp-test34-find-backup-file-name
--8<---------------cut here---------------end--------------->8---

Do you see this?

> Thanks!
>
> Daniel

Best regards, Michael.




This bug report was last modified 7 years and 266 days ago.

Previous Next


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