X-Loop: help-debbugs@HIDDEN Subject: bug#69366: 30.0.50; package.el reports wrong number of packages that can be upgraded Resent-From: Jim Porter <jporterbugs@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 25 Feb 2024 05:48:01 +0000 Resent-Message-ID: <handler.69366.B.17088400592404 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 69366 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 69366 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.17088400592404 (code B ref -1); Sun, 25 Feb 2024 05:48:01 +0000 Received: (at submit) by debbugs.gnu.org; 25 Feb 2024 05:47:39 +0000 Received: from localhost ([127.0.0.1]:42545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1re7MQ-0000ch-RH for submit <at> debbugs.gnu.org; Sun, 25 Feb 2024 00:47:39 -0500 Received: from lists.gnu.org ([209.51.188.17]:40748) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <jporterbugs@HIDDEN>) id 1re7MO-0000cY-LF for submit <at> debbugs.gnu.org; Sun, 25 Feb 2024 00:47:37 -0500 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 <jporterbugs@HIDDEN>) id 1re7Ly-0007au-UY for bug-gnu-emacs@HIDDEN; Sun, 25 Feb 2024 00:47:11 -0500 Received: from mail-pf1-x42e.google.com ([2607:f8b0:4864:20::42e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <jporterbugs@HIDDEN>) id 1re7Lx-0007fm-9D for bug-gnu-emacs@HIDDEN; Sun, 25 Feb 2024 00:47:10 -0500 Received: by mail-pf1-x42e.google.com with SMTP id d2e1a72fcca58-6da9c834646so2130365b3a.3 for <bug-gnu-emacs@HIDDEN>; Sat, 24 Feb 2024 21:47:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708840028; x=1709444828; darn=gnu.org; h=content-transfer-encoding:subject:from:to:content-language :mime-version:date:message-id:from:to:cc:subject:date:message-id :reply-to; bh=+pkzV/0m4uZnaZ8PAyEw8TmdExameq9lrPacugMCX0A=; b=ZWLBPXmEZYaDVK4hPZ9/kAN3ZKI9rsID6wCBNu1N6qH0iass0fKVHkFI3eJZKk24x4 rTA7VNxnJRsJMPtZuXYRKSJ09Zf09NZvc4gHjTrSqOYsujAVc0/nYj0VIKhqD4HgtvGh VD9UicVEVJ+NziVRvcAhulxzMktuI8pPg/6tT+zn8M2rEJNkesyKMolJyA5583WpmKJk 5wwrX+CtOs397MMKWThoHEx/q5Y72hiKpQGtraj3nBZRKzPGwgZEgegtA/iq+YD3ekJh PruYWZaFoc5UlVvVH0iy1EDgwz1fVvCfYeb9pjTljdN0vy3u0UlB9mEgxSP8lfS2i+oh fyNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708840028; x=1709444828; h=content-transfer-encoding:subject:from:to:content-language :mime-version:date:message-id:x-gm-message-state:from:to:cc:subject :date:message-id:reply-to; bh=+pkzV/0m4uZnaZ8PAyEw8TmdExameq9lrPacugMCX0A=; b=di6FYmKYnFmGB++rLprsdTAF+mVBKzOlBkZ3QLgtCOVHhdKK2V/9GerQoUMwQ5ZZMA T5hc00s4sxvqd4zUHvRdfzlMGl/8/jsFcToSpquCq7vQa9G7JzQ38QuHlYJrCcf/YgAi 71uvtAnmgL2W3pitWt3RYdZLSbqCReXyN0lUUKbDlsOFLSSilKrFZfh+qeI+qAFRYd3g VhTqkfg3d02+RJFPk6TOnLIFbKWiyOM+0+4h/pD2cUrE3xv2wVJu+tg/SvZyr8Ll3ByU WPPfLes4QlC7MBqDCIjZKYiD5g0+llukkFPceujrRVWiTNbe4iBeJKmNDUvZkUz3ZZAX 6tEQ== X-Gm-Message-State: AOJu0Yz6o/sllxQDejenssEN/rq1TA4N4V9IMkFFN/uU+xG3jRhCduy7 yp0cmcPMaCZlZ8BoLQG09iheFxdWO4N6k5xoLhoYccx3xpR5WvhkFBfcrFx7 X-Google-Smtp-Source: AGHT+IE8138rh6dg1qaht7Cfvxx196b9reLWMWqn19N+gFPznTHd4oqwoKQ02uuqg1eNc31b5e7/Kg== X-Received: by 2002:a05:6a20:6320:b0:1a0:d5f8:d212 with SMTP id h32-20020a056a20632000b001a0d5f8d212mr4181303pzf.33.1708840027850; Sat, 24 Feb 2024 21:47:07 -0800 (PST) Received: from [192.168.1.2] (076-168-148-233.res.spectrum.com. [76.168.148.233]) by smtp.googlemail.com with ESMTPSA id ci7-20020a17090afc8700b0029996fd70e2sm2036531pjb.45.2024.02.24.21.47.07 for <bug-gnu-emacs@HIDDEN> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 24 Feb 2024 21:47:07 -0800 (PST) Message-ID: <27ae5e17-5f1b-92ad-0a71-178d4396bd77@HIDDEN> Date: Sat, 24 Feb 2024 21:47:07 -0800 MIME-Version: 1.0 X-Mozilla-News-Host: news://news.gmane.io:119 Content-Language: en-US From: Jim Porter <jporterbugs@HIDDEN> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=2607:f8b0:4864:20::42e; envelope-from=jporterbugs@HIDDEN; helo=mail-pf1-x42e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) To reproduce this issue, you first need to install a built-in package from ELPA (Org and Tramp are good examples), and then wait until a new version is available. When calling 'list-packages', Emacs will then report that there are (say) 2 packages ready to upgrade. If you press "U" to mark the upgrades and then "x" to execute, it only upgrades a single package. This happens because a built-in package installed from ELPA is counted twice in 'package-menu--find-upgrades': first for the ELPA version, and second for the built-in version. This function uses the actual buffer contents to compute the result; maybe it would be easier to get right by looking at 'package-alist' and 'package--builtins' (though that seems to require a bit of finagling too).
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Jim Porter <jporterbugs@HIDDEN> Subject: bug#69366: Acknowledgement (30.0.50; package.el reports wrong number of packages that can be upgraded) Message-ID: <handler.69366.B.17088400592404.ack <at> debbugs.gnu.org> References: <27ae5e17-5f1b-92ad-0a71-178d4396bd77@HIDDEN> X-Gnu-PR-Message: ack 69366 X-Gnu-PR-Package: emacs Reply-To: 69366 <at> debbugs.gnu.org Date: Sun, 25 Feb 2024 05:48:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 69366 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 69366: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69366 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#69366: 30.0.50; package.el reports wrong number of packages that can be upgraded In-Reply-To: <27ae5e17-5f1b-92ad-0a71-178d4396bd77@HIDDEN> Resent-From: Andy Rosen <ajr@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 29 Mar 2024 04:08:05 +0000 Resent-Message-ID: <handler.69366.B69366.1711685259939 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 69366 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 69366 <at> debbugs.gnu.org <69366 <at> debbugs.gnu.org> Received: via spool by 69366-submit <at> debbugs.gnu.org id=B69366.1711685259939 (code B ref 69366); Fri, 29 Mar 2024 04:08:05 +0000 Received: (at 69366) by debbugs.gnu.org; 29 Mar 2024 04:07:39 +0000 Received: from localhost ([127.0.0.1]:41391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1rq3Wk-0000Ey-AL for submit <at> debbugs.gnu.org; Fri, 29 Mar 2024 00:07:38 -0400 Received: from a48-182.smtp-out.amazonses.com ([54.240.48.182]:48429) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <0100018e875ce152-72ba51be-ea90-4e6e-bcd6-e5f977cc291b-000000@HIDDEN>) id 1rpz2V-0007P8-9C for 69366 <at> debbugs.gnu.org; Thu, 28 Mar 2024 19:20:08 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=u6r7w6cca46qm7rqfrulg3c2jilw2t2x; d=corp.mlfs.org; t=1711667995; h=Subject:From:To:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:References:Message-Id; bh=7yDqe9XOQ5N57ZJjio+OgwEK8aUqV4UHa6cyXDAps0M=; b=A5bIp9KXPQcyK1IKnRPAdtBb4yFELYl/c7ZzGknlSp65FvlBwBLv3vNw2KUWIjpl 5/1gMa3nSJSGLwnFm7rkdTYoLfg474N7dWxsKD+xsWRiBIbvoAiq2tAFrkOn12epHu1 rOVdsIB+X3nTupzuH2LyjRqZISwLjwqygmXeYPSs= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/simple; s=ug7nbtf4gccmlpwj322ax3p6ow6yfsug; d=amazonses.com; t=1711667995; h=Subject:From:To:Date:Mime-Version:Content-Type:Content-Transfer-Encoding:References:Message-Id:Feedback-ID; bh=7yDqe9XOQ5N57ZJjio+OgwEK8aUqV4UHa6cyXDAps0M=; b=KOetYNqQG5nAnBmhWfQChCM5iZb5FyNujRKhLwYuRWDqYO2p6cltzZqZt0BQv7Nl clvl36erf97XcUsB5cqNbY1kGJVhDSvKRsRkRyX2b5mMLbcBF/Yq1l9txNrKsTOC4bG FgMR6mq1DkzSlSPfVjiLFfZU5EEMxR5Y0aGzI6zE= From: Andy Rosen <ajr@HIDDEN> Date: Thu, 28 Mar 2024 23:19:54 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable References: <CF2C19A9-3718-4AD9-987D-CFBF33DBD055@HIDDEN> X-Priority: 3 (Normal) X-Mailer: Amazon WorkMail Thread-Index: AQHagWZw+maD0ku8S4K7iRnCPcwetg== Thread-Topic: bug#69366: 30.0.50; package.el reports wrong number of packages that can be upgraded X-Original-Mailer: Apple Mail (2.3774.500.171.1.1) X-Wm-Sent-Timestamp: 1711667993 Message-ID: <0100018e875ce152-72ba51be-ea90-4e6e-bcd6-e5f977cc291b-000000@HIDDEN> Feedback-ID: 1.us-east-1.LF00NED762KFuBsfzrtoqw+Brn/qlF9OYdxWukAhsl8=:AmazonSES X-SES-Outgoing: 2024.03.28-54.240.48.182 X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Fri, 29 Mar 2024 00:07:26 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) =0D=0AA simple fix would be to change the last line of=0D=0A'package-menu= --find-upgrades', to return '(delete-dups upgrades)'=0D=0Ainstead of 'upg= rades=E2=80=99.=0D=0A=0D=0A
Received: (at control) by debbugs.gnu.org; 1 Mar 2025 03:19:21 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Fri Feb 28 22:19:21 2025 Received: from localhost ([127.0.0.1]:57128 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1toDNo-0007tN-Ny for submit <at> debbugs.gnu.org; Fri, 28 Feb 2025 22:19:21 -0500 Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]:59641) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1toDNm-0007sj-LI for control <at> debbugs.gnu.org; Fri, 28 Feb 2025 22:19:19 -0500 Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-5e4f88ea298so2267721a12.2 for <control <at> debbugs.gnu.org>; Fri, 28 Feb 2025 19:19:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1740799152; x=1741403952; darn=debbugs.gnu.org; h=to:subject:message-id:date:mime-version:from:from:to:cc:subject :date:message-id:reply-to; bh=SHuLlKKou/nQFJDeE1/Pt94acVSEwtLh5+Vc5Y2yfYE=; b=bZTMNUQfXkalLfErOTVq2w9pwEKprU39ErzyIVAyoXxW2IdDAoLuT1ql4pExcS9gpb ttdyYiMGc0e60ZC9B0zxKboy0pd1GBVs85JGye190N2qO+uNbGw0bvlia24bXSy36COw zg8IpRPSURkCOE/deUwHUSZerZJjoM/8N4a1vOxD1F2NFR8cpm/nHndCRbCcNYXudvG9 DMUnNJOAM9PNcSye7VbxJVPzCJMJKT4+cDbPxWfooGVdjtnI+Au9ig++Gl8PWqx2rn7H HfuUF+7ZiHjB9Eg3E8Qx1/iiDKIaCiNC6w945ijNpFv/dyM9wFnC22XlstnVPuKGAI3x WNbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1740799152; x=1741403952; h=to:subject:message-id:date:mime-version:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=SHuLlKKou/nQFJDeE1/Pt94acVSEwtLh5+Vc5Y2yfYE=; b=mNxISJ474EDnrwFc2vR7vY5wKA4vJhYQq4rRLMzAiPc6u7qWAmg5IVHBH09CT5RzwP +mSfoV0KJwACjroA/lOR/P/FrgQu07Y7dcUVcgfo18hD3Xz0ANQS7LcO+nsNLrA9BUNF /euy3T497x0KuQRvzXik7s1ZUMrVeEQASJ3A4cF9jnnAU6a4NuQdUn8kVwdg6VK/vl+h 5hJKzuXk+ADDqTkwnNd40h20wA3Ba0dmVWoeRIQpHbHx8+OAReTOR3i0+q35KANgmec9 c7cuUXvy8PTnUMxuycsmxASda3t+URS1fTumxJoUaRnZlwolCBnxpPlAfMeUEMeUCpeI 2LwQ== X-Gm-Message-State: AOJu0Yw7I6/W/HuwWV9MG4alVl4/kePcefLxzhffOvhqfr5XU0rZ2cH8 l5uwZUy9/m1Z/KdGaikFiQHtquQ1pOtA+EwGZSvcful1SnAidAMGvZnGUXXwoM0MOXzYhLrJNR8 8VOxcPaGs2gdLmtzRHpBl7/S2O66g0RQqK1w= X-Gm-Gg: ASbGncvXCVzAabfCz8paHadcWHZZgToPW9Y84p0aO+BWJ18OX3xqW95aVxA6T0D+L4/ /SgYmzjBq+LgTpr34jYSw2tfR1Bjlv/Dq535eIuxS+srNCptDgPFkd3c6a+FdFRfd6lsDBCjQnN c2uuW8xkgi4Fd9rhZpvZu937JEGdI= X-Google-Smtp-Source: AGHT+IFbo/UfyiZXSpTD0nyQPA66PNozmu3D/OByH97dXLRLMnQFmy7ryoU1QtKORXEA7EIbTyZ03DwO/R7s9ks9HCE= X-Received: by 2002:a05:6402:50c9:b0:5e5:c4d:6607 with SMTP id 4fb4d7f45d1cf-5e50c4d69eemr1972072a12.20.1740799152542; Fri, 28 Feb 2025 19:19:12 -0800 (PST) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Fri, 28 Feb 2025 19:19:12 -0800 From: Stefan Kangas <stefankangas@HIDDEN> MIME-Version: 1.0 Date: Fri, 28 Feb 2025 19:19:12 -0800 X-Gm-Features: AQ5f1JrXdYfvT8c2IZ8MSvtRVS6VCtAyjwI1lljesHbVl5DAjQ5wm2hr-jQH8MM Message-ID: <CADwFkm=yj4Mp_RQ8_WQYPFiVX5tJDdY4SJOsOX-hf4QuNm-8ow@HIDDEN> Subject: control message for bug #69366 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) severity 69366 minor quit
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.