help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Get "Args out of range" on remote file loaded with tramp on emacs 27


From: Steinar Bang
Subject: Re: Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian
Date: Sun, 19 Sep 2021 10:35:11 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt)

>>>>> Michael Albinus <michael.albinus@gmx.de>:

> Does it also happen if you call "emacs -Q"?

No, it does not.  With "emacs -Q" the file loads fine.

> If not, bisect your ~/.emacs in order to find the
> culprit. Otherwise, enable backtraces, and show them.

Whew... my .emacs has a history that goes back to 1987 or 1989 or
thereabouts... lots of obsolete config that has never been cleaned up. :-)

But I will try!

> (setq debug-on-error t)

Debugger entered--Lisp error: (args-out-of-range 1628771269 -1 0)
  set-visited-file-modtime(1628771269)
  apply(set-visited-file-modtime 1628771269)
  tramp-run-real-handler(set-visited-file-modtime (1628771269))
  tramp-sh-handle-set-visited-file-modtime(nil)
  apply(tramp-sh-handle-set-visited-file-modtime nil)
  tramp-sh-file-name-handler(set-visited-file-modtime nil)
  apply(tramp-sh-file-name-handler set-visited-file-modtime nil)
  tramp-file-name-handler(set-visited-file-modtime nil)
  set-visited-file-modtime()
  #f(compiled-function () #<bytecode 0x15929a718f4d>)()
  
tramp-handle-insert-file-contents(#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile"
 1 4 (tramp-default t)) t nil nil nil)
  apply(tramp-handle-insert-file-contents 
(#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 
(tramp-default t)) t nil nil nil))
  tramp-sh-file-name-handler(insert-file-contents 
#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 
(tramp-default t)) t nil nil nil)
  apply(tramp-sh-file-name-handler insert-file-contents 
(#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 
(tramp-default t)) t nil nil nil))
  tramp-file-name-handler(insert-file-contents 
#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 
(tramp-default t)) t nil nil nil)
  
insert-file-contents(#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile"
 1 4 (tramp-default t)) t)
  find-file-noselect-1(#<buffer somefile> 
#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 
(tramp-default t)) nil nil 
#("/scp:myuser@somehost.somedomain.com:/home/myuser/somefile" 1 4 
(tramp-default t)) (414310 (-1 . 1)))
  find-file-noselect(#("/scp:myuser@somehost.somedomain.com:somefile" 1 4 
(tramp-default t)) nil nil t)
  find-file(#("/scp:myuser@somehost.somedomain.com:somefile" 1 4 (tramp-default 
t)) t)
  funcall-interactively(find-file 
#("/scp:myuser@somehost.somedomain.com:somefile" 1 4 (tramp-default t)) t)
  call-interactively(find-file nil nil)
  command-execute(find-file)



reply via email to

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