unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Subject: Re: Warning (comp): tramp-loaddefs.el.gz:719:180: Warning: reference to free variable ‘tramp-default-remote-shell’
Date: Sat, 01 Oct 2022 22:02:53 +0200	[thread overview]
Message-ID: <878rlzfh1u.fsf@gmx.de> (raw)
In-Reply-To: <87ill6dqpg.fsf@dataswamp.org> (Emanuel Berg's message of "Thu, 29 Sep 2022 19:40:27 +0200")

Emanuel Berg <incal@dataswamp.org> writes:

Hi Emanuel,

>> tramp-default-remote-shell is declared in tramp-loaddefs.el
>> before using it, at least in my environment. Could you pls
>> check whether this is also the case for you?
>
> Maybe it has to do with the order, it is mentioned before that.

Indeed, the order of autoloads in tramp-loaddefs.el is different in my
case.

I've pushed a fix to master in order to declare
tramp-default-remote-shell in every file where it is used, and to add
the ;;;###tramp-autoload cookie to this declaration. Could you pls check
whether this helps?

Best regards, Michael.



      reply	other threads:[~2022-10-01 20:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-27 21:27 Warning (comp): tramp-loaddefs.el.gz:719:180: Warning: reference to free variable ‘tramp-default-remote-shell’ Emanuel Berg
2022-09-28  9:02 ` Michael Albinus
2022-09-29 17:40   ` Emanuel Berg
2022-10-01 20:02     ` Michael Albinus [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878rlzfh1u.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).