From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jim Porter Newsgroups: gmane.emacs.bugs Subject: bug#65023: 29.1.50; Tramp 2.6.1.1 cannot be installed as ELPA package Date: Sat, 5 Aug 2023 13:34:48 -0700 Message-ID: References: <877cqdmsvx.fsf@gmx.de> <91f76332-aea5-fb3c-2a0b-b2354aee7255@gmail.com> <83bkfmvgnj.fsf@gnu.org> <87a5v5rgmr.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3226"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 65023@debbugs.gnu.org, monnier@iro.umontreal.ca To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 05 22:35:19 2023 Return-path: Envelope-to: geb-bug-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 1qSNza-0000hi-Sl for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 05 Aug 2023 22:35:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qSNzM-0005D1-U8; Sat, 05 Aug 2023 16:35:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qSNzK-0005CZ-R2 for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 16:35:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qSNzK-0000V9-IO for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 16:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qSNzK-0006Ty-Dl for bug-gnu-emacs@gnu.org; Sat, 05 Aug 2023 16:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jim Porter Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 05 Aug 2023 20:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65023 X-GNU-PR-Package: emacs Original-Received: via spool by 65023-submit@debbugs.gnu.org id=B65023.169126769924905 (code B ref 65023); Sat, 05 Aug 2023 20:35:02 +0000 Original-Received: (at 65023) by debbugs.gnu.org; 5 Aug 2023 20:34:59 +0000 Original-Received: from localhost ([127.0.0.1]:58259 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSNzG-0006Td-RR for submit@debbugs.gnu.org; Sat, 05 Aug 2023 16:34:59 -0400 Original-Received: from mail-pg1-x531.google.com ([2607:f8b0:4864:20::531]:51449) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qSNzD-0006TN-HN for 65023@debbugs.gnu.org; Sat, 05 Aug 2023 16:34:57 -0400 Original-Received: by mail-pg1-x531.google.com with SMTP id 41be03b00d2f7-564b326185bso1267837a12.2 for <65023@debbugs.gnu.org>; Sat, 05 Aug 2023 13:34:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691267690; x=1691872490; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id:from:to:cc :subject:date:message-id:reply-to; bh=9I5ScWxnAKIo2IA9/O70ObWldqjbwCtjZ80E/owm2Vc=; b=qufZy/SlWRfUSCh+xrHzQhbMQo8DLjjuGvRn2NtMk8ORkpANso+SldxhexP6Mw9h4n s+E3iFZnhxTVTjgeVQ9pEj87WSR8Tld2E+f4zP2qnDFg5bopdUaEYwLkCwGYRfL6mB9p 1FcRV93LUlDPf3s9I7sFvpRCTkkq3Wo7/Xk57j9VaIqRXrCW+bg104+M76OLI4/CciO/ fmAUWsr5j5LZL3xD954Iidotf52bUF6wCHQZzg5kAp9EdcYI86hkFu36XdMeJSFUnhqX SzkXQHhDzsTcdqy/cxW9Ss4TTtraCUKg282nwt1UslqKeZZ1YyHsCJyAjmkqP6TC09kc QgMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691267690; x=1691872490; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9I5ScWxnAKIo2IA9/O70ObWldqjbwCtjZ80E/owm2Vc=; b=KtPcRiyWOdx4n3tZRMgJyjs6dtCArLloB3XnRrXIiWOCC1nWH1JKznrgMwLvJ744G+ 3xWRgPETpKQh6hAyKZD7ihYwFO7Pwrjv5D4ROS1BFZA5WJ2NoR+EwwwGnvMArvQCJ81g 5AXzHpKAucQm8+81Y18+gZDyOE+O7+h0lBs09jXk+Y/kIDzdUq2emFx4NoyQt8Gr5pIw hefu1FPD1XKRtQRPHdj4Q4xO42tuxuRu8zIH3szSO1uLL+ncOrqPDKhgdbtQBdywRqnD xoOqrCyHW9sdLrz9uipGFOFjID6w9xvJTvSZXV1f8FP3cGFRYwEhViW/nKU58zHyBsKt +kBg== X-Gm-Message-State: AOJu0YyhyaZxy+CgtD400B2w45aBqC+8IwRF9q0BGZQuNCzwY81sbCnO IbSqjr7g8hxPMffHsvhLnEA= X-Google-Smtp-Source: AGHT+IGALp/9K9vIgoGWH2wb7ua46gBt9nFf5CRUWyGUx6+ZNnILoFpsHaE3o8JxN+KXDxX1EfqLPQ== X-Received: by 2002:a17:90a:4587:b0:269:155a:c936 with SMTP id v7-20020a17090a458700b00269155ac936mr3907815pjg.28.1691267689766; Sat, 05 Aug 2023 13:34:49 -0700 (PDT) Original-Received: from [192.168.1.2] (cpe-76-168-148-233.socal.res.rr.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id 23-20020a17090a19d700b0025645ce761dsm6450845pjj.35.2023.08.05.13.34.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 05 Aug 2023 13:34:49 -0700 (PDT) Content-Language: en-US In-Reply-To: <87a5v5rgmr.fsf@gmx.de> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:266816 Archived-At: On 8/5/2023 2:19 AM, Michael Albinus wrote: > What could we do? Is it possible to release a small temporary ELPA > package which fixes the problem for Emacs 29.1, and Tramp pckages could > depend on? > > Or is it possible to publish a use-package recipe for Tramp ELPA > packages? I'm not sure if it's a good idea or not, but the following advice seems to fix things in Emacs 29.1 for me: (advice-add #'loaddefs-generate--parse-file :around (lambda (fn file main-outfile package-data) (funcall fn file main-outfile (or package-data t))) This makes the 'package-data' argument never be nil, which avoids running the broken code. I'd be a little worried about publishing this without further testing, but hopefully it (or something like it) could be a solution until 29.2 is released...