From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#75142: 31.0.50; package-refresh-contents is not async when using interactively. Date: Sat, 04 Jan 2025 13:59:12 +0200 Message-ID: <867c7aeqnj.fsf@gnu.org> References: <58238e831c03d6a78f50012711eff12c.squirrel@mx.sdf.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4845"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 75142@debbugs.gnu.org To: tusharhero@sdf.org, Philip Kaludercic , Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 13:00:22 2025 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 1tU2pK-00011e-95 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 13:00:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU2p4-0003yX-Cn; Sat, 04 Jan 2025 07:00:06 -0500 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 1tU2p1-0003u9-Hp for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 07:00:03 -0500 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 1tU2p1-0001Uq-4I for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 07:00:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=gYbR1vPkVUXZkRZOdjiDbDD55BgbsXzeSSDyJU7jmlE=; b=I6R+vivejGhLUakyeKSTFL/Dt+QI1RhTRQiHKBjTn3557c5W/yWFiU9/LGt/HvZRNZPoeB0gI2rAfxCJ2n9PmOfXtfwvayt3xKgfZhAm0cFuQYV4p5sBB7Yiwn91DR2cZSjvYrhuIDOhiGW2M7pJL46bEQzA54kiqB636uzm3mRnUTwqT5SDb3W+IPJzQAZqQr5Dntxt7EX/Y3i28uQos/g8ohVGBZNLe7ULALB+Y2VSzIR45cDc37cVag/p8/UlHc2k3/NJrdFMifx890yxj1KMCZYeH2PGVe3uDGA46Zi8w8HvRSZQSzLwgJzlXn86Kth0HkIHyRJ4GxVzN4uiIA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU2p0-0003vC-Tq for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 07:00:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 12:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75142 X-GNU-PR-Package: emacs Original-Received: via spool by 75142-submit@debbugs.gnu.org id=B75142.173599196314979 (code B ref 75142); Sat, 04 Jan 2025 12:00:02 +0000 Original-Received: (at 75142) by debbugs.gnu.org; 4 Jan 2025 11:59:23 +0000 Original-Received: from localhost ([127.0.0.1]:53725 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU2oM-0003tX-QD for submit@debbugs.gnu.org; Sat, 04 Jan 2025 06:59:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38628) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU2oL-0003tL-Ng for 75142@debbugs.gnu.org; Sat, 04 Jan 2025 06:59:22 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU2oG-0001RC-25; Sat, 04 Jan 2025 06:59:16 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=gYbR1vPkVUXZkRZOdjiDbDD55BgbsXzeSSDyJU7jmlE=; b=NEUguEGNNjea rJaPlfBjokub7hbnZhvOxsOgx4zPgVseUvNb0tFWMQC2ATfEmQsjgwUSOoXLjqRkNhnS41SEeNwjx gmzdASZziAklfTP55ZDQ8TEy3bk7bYwJxTZycQ+euEjglWCDh+hnfw6Id+53SOlBDDahm3HuoYaD3 l6LzaYKiHoUoKAkWbhqdOsZ0tvD7buQ5Al54dVZeBIZYI0VjMddiwVsoy9xALOsTkrzcnROf/doTm eugB5ozmpsyrnoe7uEvoyhGaAh1Jl5th0GOVuPL+MS3JAGz1t3Snvba5YjWWAtcitZTkprbagK+tO JRDE0E+n3yWLN7aCDq4ScQ==; In-Reply-To: <58238e831c03d6a78f50012711eff12c.squirrel@mx.sdf.org> (bug-gnu-emacs@gnu.org) 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:298380 Archived-At: > Date: Fri, 27 Dec 2024 15:15:38 +0530 > From: tusharhero--- via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > > When running `M-x package-refresh-contents RET', my Emacs session > freezes for a long time. But it is possible to run this async, we need > to give it an argument. I think when the function should be async, I > understand that when using this in emacs lisp program, that maybe not be > desirable. So maybe you can have a separate functions for emacs lisp > programs, or have different behavior for interactive use. Philip and Stefan, any comments?