From: Steinar Bang <sb@dod.no>
To: help-gnu-emacs@gnu.org
Subject: Re: Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian
Date: Sun, 19 Sep 2021 12:18:07 +0200 [thread overview]
Message-ID: <86k0jcvpgg.fsf@dod.no> (raw)
In-Reply-To: <86wnndufnk.fsf@dod.no> (Steinar Bang's message of "Sun, 19 Sep 2021 10:35:11 +0200")
>>>>> Steinar Bang <sb@dod.no>:
>>>>> 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!
Ok, I found the culprit, and it was kind of unexpected, in config not
related to tramp at all:
It's the line
(push (concat git-gnus-directory "/lisp") load-path)
in
;; Git version of Gnus:
;; Not in actual use but can't be removed as long as I use gnus-sync because
;; gnus-sync use gnus-gethash and this macro has been removed from gnus in emacs 27
(if (not running-emacs25-or-emacs26)
(let ((git-gnus-directory
(if running-xemacs
(concat git-workspace "/gnus.xemacs")
(concat git-workspace "/gnus"))))
(push (concat git-gnus-directory "/lisp") load-path)
(let ((git-gnus-info-dir (concat git-gnus-directory "/texi")))
(push git-gnus-info-dir Info-directory-list))))
The ~/git/gnus/ clone is an obsolete clone from 2016, and as the comment
says, have been left alone because I have code that uses gnus-gethash
from here.
The code that uses is, is something called gnus-sync.el from 2011 (or
therabouts), that was a stopgap solution for what is solved by cloud
gnus.
However, cloud gnus has never worked for me, and since gnus-sync
continued to work, I've procrastinated on the troubleshooting.
But I guess I have to figure it out now. The author of gnus-sync is
also the author (AFAIK) of the cloudy gnusy stuff (Hi Ted!), so I'm
probably the only user, 10 years on...?
next prev parent reply other threads:[~2021-09-19 10:18 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-11 15:00 Get "Args out of range" on remote file loaded with tramp on emacs 27 on debian Steinar Bang
2021-09-12 16:48 ` Michael Albinus
2021-09-19 8:35 ` Steinar Bang
2021-09-19 10:18 ` Steinar Bang [this message]
2021-09-14 13:38 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-09-19 8:36 ` Steinar Bang
2021-09-19 8:55 ` Eli Zaretskii
2021-09-19 10:20 ` Steinar Bang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86k0jcvpgg.fsf@dod.no \
--to=sb@dod.no \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.