Live System User <[email protected]> writes:
Hi,

        Sorry, I sent the wrong file as the second attachment.

        Here it is.

        Thanks.

Tramp: Inserting ‘/ssh:localhost.localdomain:/tmp/malb.txt’...
Tramp: Encoding remote file ‘/ssh:localhost.localdomain:/tmp/malb.txt’ with 
‘(env GZIP= gzip <%s | base64)’...done
Tramp: Decoding local file ‘/tmp/tramp.7X961A.txt’ with ‘(lambda (beg end) 
(base64-decode-region beg end) (let ((coding-system-for-write 'binary) 
(coding-system-for-read 'binary)) (apply 'tramp-call-process-region 
'(tramp-file-name ssh nil nil localhost.localdomain nil /tmp/malb.txt nil) 
(point-min) (point-max) (car (split-string env GZIP= gzip -d)) t t nil (cdr 
(split-string env GZIP= gzip -d)))))’...done
Tramp: Inserting ‘/ssh:localhost.localdomain:/tmp/malb.txt’...done

Tramp: Checking ‘vc-registered’ for /ssh:localhost.localdomain:/tmp/malb.txt...
Not a Tramp file name: "~"
Tramp: Error in 1st pass of ‘vc-registered’: (user-error Not a Tramp file name: 
"~")
Not a Tramp file name: "~"
Not a Tramp file name: "/sys/class/power_supply/"
Not a Tramp file name: "/sys/class/power_supply/AC/online"
Tramp: Checking ‘vc-registered’ for 
/ssh:localhost.localdomain:/tmp/malb.txt...failed
Tramp: Inserting ‘/ssh:localhost.localdomain:/tmp/malb.txt’...done
Error: (user-error "Not a Tramp file name: \"~\"")

> Hi,
>
> Michael Albinus <[email protected]> writes:
>
>> Live System User <[email protected]> writes:
>>
>>> Hi,
>>
>> Hi,
>>
>>>   "emacs -Q" works fine with the already opened file...
>>>
>>>    ...and with a minimal config:
>>>
>>>     So what can it be?
>>
>> As said in my first analysis, Tramp stumbled over the not-remote-file
>> "~". Maybe some file abbreviation is at work? Don't know, it depends on
>> whatever package has been loaded silently in your default config.
>
>   I tried again, this time using the ssh method.
>
>   This works:
>
>       C-x C-r /ssh::/tmp/malb.txt
>
>   in thar it opens the file in readonly mode.
>
>
>
>
>   However, I still see the "Not a Tramp file name" messages, even
>   for the SAVEHIST file ~/.emacs.d/savehist".
>
>   I did this twice -- the results in the files ssh-ibfo.txt and
>   ssh-info2.txt, respectively (see attachments).
>
>   Both logfiles appears to have mostly the same results except that
>   the second invocation uses the already-created shared connection
>   and complains about "savehist" mode.  It doesn't complain the
>   secind tume.
>
>   Bur both times it complains about Not a Tramp file name: "~"
>
>   So why is "savehist mode" getting in the way of TRAMP?
>
>   And why does the ssh method "work" (even though it causes a
>   "Not a Tramp file name" message to be emitted) whereas the
>   sudo method doesn't work at all?
>
>   Can the sudo method be made to protect itself againts "savehist"
>   mode similiar to how the ssh method deals with it and allows
>   the ssh method to work?
>
>   Thanks.
>
>
>>>     Thanks.
>>
>> Best regards, Michael.
_______________________________________________
Tramp-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/tramp-devel

Reply via email to