tramp-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tramp (2.2.11-24.5); auto-save remote buffer not respecting local direct


From: yary
Subject: tramp (2.2.11-24.5); auto-save remote buffer not respecting local directory
Date: Fri, 22 May 2015 11:42:58 -0400

Emacs is auto-saving remote buffers remotely, ignoring both
auto-save-file-name-transforms and tramp-auto-save-directory. The
enclosed session is from an "emacs -Q" session, so it has no
tramp-auto-save-directory and the default auto-save-file-name-transforms:

auto-save-file-name-transforms is a variable defined in `files.el'.
Its value is
(("\\`/[^/]*:\\([^/]*/\\)*\\([^/]*\\)\\'"
"c:/Users/yhluc00/AppData/Local/Temp/\\2" t))

I am editing a large shell-script file, its path is
/pscp:address@hidden:/appl/spool/devmsa/yhluc00/all_respon/prd2_td01_087_sfwy7_ov_aggregate.ksh

but emacs still auto-saves it remotely, pausing my session and asking
for a password. The Messages buffer shows me that it *is* matching the
auto-save-file-name-transforms variable and applying UNIQUIFY, just not
using the localk directory.

Auto-saving...
Copying c:/Users/yhluc00/AppData/Local/Temp/tramp.94442-y.ksh# to
/pscp:address@hidden:/appl/spool/devmsa/yhluc00/all_respon/address@hidden



Emacs  : GNU Emacs 24.5.1 (i686-pc-mingw32)
 of 2015-04-11 on LEG570
Package: tramp (2.2.11-24.5)

current state:
==============
State could not be dumped due to the following error:

(error Multibyte character in data for base64 encoding)

You should still send this bug report.
local variables:
================
;; *tramp/pscp address@hidden
(setq-local
 default-directory "/pscp:address@hidden:/"
 )

load-path shadows:
==================

<#part type="text/plain" buffer="*tramp/pscp address@hidden"
description="*tramp/pscp address@hidden">
prd2_td01_087_sfwy7_ov_aggregate
prd2_td01_087_sfwy7_ov_aggregate.ksh
prd2_td01_087_sfwy7_ov_aggregate.ksh~
ok
<#/part>

buffer="*debug tramp/pscp address@hidden" is in a pastebin at
http://pastebin.com/kcTZa9sn



reply via email to

[Prev in Thread] Current Thread [Next in Thread]