From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: master 5183123: Add Tramp recompilation Date: Fri, 23 Apr 2021 19:58:52 +0200 Message-ID: <87mttonaqr.fsf@gmx.de> References: <20210419095256.30298.23862@vcs0.savannah.gnu.org> <20210419095259.0651220FD4@vcs0.savannah.gnu.org> <878s59m0lq.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28074"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 23 20:00:01 2021 Return-path: Envelope-to: ged-emacs-devel@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 1la05w-000796-4F for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Apr 2021 20:00:00 +0200 Original-Received: from localhost ([::1]:55534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1la05v-0000BW-80 for ged-emacs-devel@m.gmane-mx.org; Fri, 23 Apr 2021 13:59:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la04y-0008BS-CH for emacs-devel@gnu.org; Fri, 23 Apr 2021 13:59:02 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:36603) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1la04v-000701-If for emacs-devel@gnu.org; Fri, 23 Apr 2021 13:58:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1619200733; bh=GZOXnFlStJjiug57RhLFhUqOKS8jfYJHX/F/gb7ytc8=; h=X-UI-Sender-Class:From:To:Cc:Subject:References:Date:In-Reply-To; b=J9LjFjZ0D3MRrz1uQBrR7LEj6D4i/YFY9U3NiUPKLP5CIn/RFvre3prG0t5QJfYvR NqAWvNMvmy8rnkzCwbLdvPQx3H+2QmkTf6KEUq/oofwRfG4n8W0ZE25qCLZopfImzF 4htctCULSKtBcFQv42PVEcgIN5MuLtSMbAH6VxKI= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from gandalf.gmx.de ([212.86.54.40]) by mail.gmx.net (mrgmx004 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N33Il-1lUSiu04WT-013QhQ; Fri, 23 Apr 2021 19:58:53 +0200 In-Reply-To: <878s59m0lq.fsf@tcd.ie> (Basil L. Contovounesios's message of "Fri, 23 Apr 2021 17:23:13 +0100") X-Provags-ID: V03:K1:UDI64vN/lljAYF//i4CgMwWU3yrp3S78e+vkDF3/SY+gls25zYM ku1dnv2Mp/LgSMnLLKEz0ad4/hFMZnHPBYyrD7Nrw309lX+XlUFcR5EXf7YU5s9wgUjFBb/ P4Ygpc1b/FVFBM3GlBjzJQq71SlzQNazxvYldvWLydbLNLufPkIj8UA/li0vecdLyxARo/B UB2fQGXqMXf4UAJcL3LFQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:QX56UvIK6yo=:07hKixJUL2lGqCAuqb9CR3 1OZjeeHs466JVM2vXjfGe/Bk38lx+wiAu3e9E988asOBLpKclwQXXk0tx9jyH7aRwbaZWCCdu 4nMiaF2E7WtUT495EBlerqNytBOPmmGXMIZjxGPS2I2WJkKj2voFEEpWZdffM3JiDcGmsefaz efwpCcKW8T5gIVePhFmnFpkEFx0Qc/fWqTeM6ECU4YkcGNAASSeGVdf6XT5pVeIWa2pYLTl+Z pTuUZ3etbPJQDnzMOAEZHTKeeJoPod+A26YbmTJzhSDzP4g1q93LoDqig1nNWEAtipPXTPzgE gCZlm56tsd5l3z832OyHLsGInq7djlkgQya080jI8pm9fPAGUjH8qyPClGo7RIeJLnPRe25pq Egg1cXIGbtlFmguQTMWmYA0BTjm5Vo6ZeJi2y6k2TeeXQOyaQdV/gHEkndjgUOK5L08tIm6lm qTujKKJrQf3mMcJfDujzi8d0q1Vvryyl0rO9+bdG7gTAHrzZtiiLkc8z0cZnOChJvLJaBc9gb ntj1zu2NXiNNqTk8CZo+n2V1BSd2EZ/Iyu00u2dKzrQIDkZk/grnnV1rKRpdDPL9PalQgI86x X1pHuLrRVyCms8ZvK7TweOe4W3qvClVU8s7CK6y1zxs4jrsmeagXWRJ0jdA+Y/BknkkmKBdjc DBXIr/FnwX2AtHHriX6gPpzJ78Yv5tK98llGCaj/N6FeI/lnH3cZwcJUmXFbEH++EhovQ+XSZ lUDCRnCGXOZmkJ9bK+bbebqCeZd5UKlZeDC5Ni7is+B5J2j/tJfQ4yeyZsXBha9JzAobSmIt Received-SPF: pass client-ip=212.227.15.19; envelope-from=michael.albinus@gmx.de; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:268325 Archived-At: "Basil L. Contovounesios" writes: Hi Basil, > It looks like package--user-installed-p isn't currently designed to be > used in this way: > > 0. emacs -Q > 1. (progn > (require 'package) > (require 'tramp) > (setq read-extended-command-predicate > #'command-completion-default-include-p) > (read-extended-command)) > 2. C-j C-i > > Debugger entered--Lisp error: (wrong-type-argument package-desc nil) > signal(wrong-type-argument (package-desc nil)) > package--user-installed-p(tramp) > tramp-recompile-elpa-command-completion-p(tramp-recompile-elpa > #) > command-completion-default-include-p(tramp-recompile-elpa > #) > > Should package--user-installed-p simply guard against a nil package > descriptor? That would be fine. But since Tramp must be backward compatible, I have added a check in tramp-recompile-elpa-command-completion-p. > Thanks, Best regards, Michael.