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:yhluc00@slsudv53:/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:yhluc00@slsudv53:/appl/spool/devmsa/yhluc00/all_respon/#_apscp_byhluc00@slsudv53_b_aappl_aspool_adevmsa_ayhluc00_aall__respon_aprd2__td01__087__sfwy7__ov__aggregate.ksh#...



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 yhluc00@slsudv53*
(setq-local
 default-directory "/pscp:yhluc00@slsudv53:/"
 )

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

<#part type="text/plain" buffer="*tramp/pscp yhluc00@slsudv53*"
description="*tramp/pscp yhluc00@slsudv53*">
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 yhluc00@slsudv53*" is in a pastebin at
http://pastebin.com/kcTZa9sn

_______________________________________________
Tramp-devel mailing list
Tramp-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to