From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Steinar Bang Newsgroups: gmane.emacs.help 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 Message-ID: <86wnndufnk.fsf@dod.no> References: <87tuirqhqx.fsf@dod.no> <87ilz5rb8c.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15863"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (windows-nt) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 19 10:36:17 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mRsJ6-0003uf-Q6 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 10:36:16 +0200 Original-Received: from localhost ([::1]:54860 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRsJ5-00088A-K1 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 19 Sep 2021 04:36:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mRsIR-00086n-IG for help-gnu-emacs@gnu.org; Sun, 19 Sep 2021 04:35:35 -0400 Original-Received: from cadalora.default.sbang.bv.iomart.io ([46.43.15.90]:59338 helo=cadalora.default.sbang.uk0.bigv.io) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mRsIK-0004Be-UQ for help-gnu-emacs@gnu.org; Sun, 19 Sep 2021 04:35:35 -0400 Original-Received: from mccoy (unknown [84.210.87.211]) by cadalora.default.sbang.uk0.bigv.io (Postfix) with ESMTPSA id 5A51A1000E1 for ; Sun, 19 Sep 2021 09:35:12 +0100 (BST) In-Reply-To: <87ilz5rb8c.fsf@gmx.de> (Michael Albinus's message of "Sun, 12 Sep 2021 18:48:35 +0200") Received-SPF: none client-ip=46.43.15.90; envelope-from=sb@dod.no; helo=cadalora.default.sbang.uk0.bigv.io X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.399, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:133102 Archived-At: >>>>> Michael Albinus : > 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 () #)() 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(# #("/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)