unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Albinus <michael.albinus@gmx.de>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 48015@debbugs.gnu.org
Subject: bug#48015: 28.0.50; ELPA package compilation fails
Date: Tue, 27 Apr 2021 21:13:05 +0200	[thread overview]
Message-ID: <87r1ivczi6.fsf@gmx.de> (raw)
In-Reply-To: <jwvczufftg4.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Tue, 27 Apr 2021 14:58:25 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

>> BTW, maybe one option to circumvent both problems is to replace
>>
>>     (load "tramp" 'noerror 'nomessage)
>>
>> with
>>
>>     (load "tramp-compat" 'noerror 'nomessage)
>>     (load "tramp" 'noerror 'nomessage)
>
> Hmm... no I don't think this will make any difference when
> default-directory is not under the control of Tramp.

Well, I have just pushed this change. It seems to help partly. Emacs
27.2 isn't blocked any longer when installing an incompatible Tramp
version, even when default-directory is remote while installing. It
shows just an error message. And after restarting Emacs,
tramp-recompile-elpa does arrange everything. This is a scenario I could
explain to the users :-)

> Another approach is to add something like
>
>     ;; Reload `tramp-compat` when we reload `tramp-autoloads`.
>     ;;;###autoload (when (featurep 'tramp-compat)
>     ;;;###autoload   (load "tramp-compat"'noerror 'nomessage)
>
> This presumes that the only file that really needs to be reloaded is
> `tramp-compat`.

I'll test this tomorrow. It was a hard day ...

>     Stefan

Best regards, Michael.





  reply	other threads:[~2021-04-27 19:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-25 10:38 bug#48015: 28.0.50; ELPA package compilation fails Michael Albinus
2021-04-25 16:24 ` Stefan Monnier
2021-04-25 17:25   ` Michael Albinus
2021-04-26 22:16     ` Stefan Monnier
2021-04-27 12:05       ` Michael Albinus
2021-04-27 13:47         ` Stefan Monnier
2021-04-27 18:58           ` Stefan Monnier
2021-04-27 19:13             ` Michael Albinus [this message]
2021-04-28 14:22             ` Michael Albinus
2021-04-28 15:32               ` Stefan Monnier
2021-04-28 17:48                 ` Michael Albinus

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=87r1ivczi6.fsf@gmx.de \
    --to=michael.albinus@gmx.de \
    --cc=48015@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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).