From unknown Tue Aug 19 21:02:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20930: 25.0.50; Package archive priorities not honored for upgrades Resent-From: Greg Lucas Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jun 2015 17:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 20930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 20930@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.143559901317399 (code B ref -1); Mon, 29 Jun 2015 17:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 29 Jun 2015 17:30:13 +0000 Received: from eggs.gnu.org ([208.118.235.92]:53489) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9cGG-0003Vg-I0 for submit@debbugs.gnu.org; Mon, 29 Jun 2015 12:50:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9cG9-00052U-Pn for submit@debbugs.gnu.org; Mon, 29 Jun 2015 12:50:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cG9-00052Q-My for submit@debbugs.gnu.org; Mon, 29 Jun 2015 12:50:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cG7-0004NU-Us for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 12:50:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9cG3-0004ka-99 for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 12:50:15 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:50018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cG3-0004aV-4G for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 12:50:11 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 8A470929 for ; Mon, 29 Jun 2015 12:50:08 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute6.internal (MEProxy); Mon, 29 Jun 2015 12:50:08 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=glucas.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=Q2j Zwm66aQsN8O6MLHCWzmwIvFg=; b=hIbPiZvymPpeQ1Y4Kd1OEHqfCXokYkp2Lwh lHohWiAR+iJmXX9keWjJo9Cg9Osv/z6RZqdknOWzXE5mlrEkCyvHcmAYS7pmsHEI gWSC7IvQ2JsAWF1mnn2cQANozMZBLqLIfCvbjsReZbqOKkYYWXmKTEM4Wu9Zwl3s 7/C0kPYU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=Q2jZwm66aQsN8O6MLHCWzmwIvFg=; b=MnqYN +X9kYt4cbyxKaMnN8Ss1DeW6XZYfOAuCAV32uGCc8+IkfxHblEQ+/DVprZAlV4vJ 6dsON6xD7PSsoIpHmwekWh5gLgZiYt1hySVe8APisfLaeX5hbMhZ8S6Ojtd3MmX/ irDaDBxtSX5Y9/L13KMpKNnVjhR3Ha2sIoVjr4= Received: by web3.nyi.internal (Postfix, from userid 99) id 0023E10376C; Mon, 29 Jun 2015 12:50:07 -0400 (EDT) Message-Id: <1435596607.895000.310693097.37CF3EB6@webmail.messagingengine.com> X-Sasl-Enc: HrScuclveA/lz3sVQghuKumz3hF0kgRjK2k6LSm5b/eU 1435596607 From: Greg Lucas MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-eecef38c Date: Mon, 29 Jun 2015 12:50:07 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) The new package archive priorities to not appear to be honored when I check for available upgrades. Steps to reproduce: 1. Start emacs -Q 2. configure-group package - Add melpa and melpa-stable to package-archives: (("gnu" . "http://elpa.gnu.org/packages/") ("melpa-stable" . "http://stable.melpa.org/packages/") ("melpa" . "http://melpa.org/packages/")) - Set priorities with melpa-stable highest: (("melpa-stable" . 20)) 3. list-packages and install something from melpa-stable for which there is a newer version on melpa. In my test: ace-jump-mode v2.0. ace-jump-mode 2.0 installed 4. Check for upgrades; get prompted to upgrade to melpa version: I ace-jump-mode 20140616.115 available melpa D ace-jump-mode 2.0 installed Since melpa has priority 0 and melpa-stable has priority 20, I would expect this upgrade not to be included. In my current setup I have a dozen or so packages from the gnu and melpa-stable archives and am prompted to update all of them. In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-06-19 on KAEL Repository revision: f95211e9a40b1c7d1beff0e15aa67450f80bd8bb Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=/z/emacs --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-sound=yes --with-file-notification=yes --without-dbus --without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Package Menu Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Type C-x 1 to delete the help window. Quit Importing package-keyring.gpg...done Package refresh done 12 packages can be upgraded; type `U' to mark them for upgrading. M-o C-x 1 is undefined Quit [2 times] 12 packages marked for upgrading. Making completion list... Quit Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail pp help-mode package-x misearch multi-isearch mail-utils network-stream nsm starttls url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-macs cl-seq eieio byte-opt gv bytecomp byte-compile cl-extra seq cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars mailcap epg finder-inf package epg-config help-fns cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 751841 24023) (symbols 56 25662 0) (miscs 48 722 215) (strings 32 68718 9681) (string-bytes 1 1511638) (vectors 16 23760) (vector-slots 8 536819 5652) (floats 8 204 257) (intervals 56 89643 864) (buffers 976 17)) From unknown Tue Aug 19 21:02:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20930: 25.0.50; Package archive priorities not honored for upgrades Resent-From: Artur Malabarba Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jun 2015 18:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Greg Lucas Cc: 20930@debbugs.gnu.org Reply-To: bruce.connor.am@gmail.com Received: via spool by 20930-submit@debbugs.gnu.org id=B20930.143560181924945 (code B ref 20930); Mon, 29 Jun 2015 18:17:02 +0000 Received: (at 20930) by debbugs.gnu.org; 29 Jun 2015 18:16:59 +0000 Received: from localhost ([127.0.0.1]:33319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9dc1-0006TP-SO for submit@debbugs.gnu.org; Mon, 29 Jun 2015 14:16:59 -0400 Received: from mail-la0-f53.google.com ([209.85.215.53]:33198) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9dby-0006N4-Do for 20930@debbugs.gnu.org; Mon, 29 Jun 2015 14:16:56 -0400 Received: by laar3 with SMTP id r3so73645232laa.0 for <20930@debbugs.gnu.org>; Mon, 29 Jun 2015 11:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=aJwKiVcleFDLmfibkiLSp/cnERkMxpdqf4Ay5xAhkPw=; b=CQ+zS5/2XFvFfR2HRyUvf1gecRhHo8q8zeUYwK4TPQMTC9uO3ZVCHw8RkL8jJtAFSw S7aYMB+cIvL0DhbWe6ZcGozt/6mJCfuW+56jgXwg4uBxGYm5CiDDXPSUnTfvIE7oxcue wzty60OeMQ2bIew3NkiyT/laDbzOi8NBGuc9+6u/UmL6AmqfhKhmW5+tSiEA6UuupBCK 9/y7b7VxktZ8sXfajR9NWWi2Vhq/nN56YPfYbsjJNAPslvEj7OMMjNYswLqlf45FNtiu Rb/ZVK1DNqvE4Y97DgFqeZBSbStxAiVxCKThXmxvhtkycOt1Ll7TWPiJzr8p67NFVkTV lMyQ== MIME-Version: 1.0 X-Received: by 10.152.26.163 with SMTP id m3mr15507722lag.86.1435601808068; Mon, 29 Jun 2015 11:16:48 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Mon, 29 Jun 2015 11:16:48 -0700 (PDT) In-Reply-To: <1435596607.895000.310693097.37CF3EB6@webmail.messagingengine.com> References: <1435596607.895000.310693097.37CF3EB6@webmail.messagingengine.com> Date: Mon, 29 Jun 2015 19:16:48 +0100 X-Google-Sender-Auth: 1voIVSwrAJz93FlE6ziR3aPsP2c Message-ID: From: Artur Malabarba Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Small sanity check. What are your values for the variables `package-menu-hide-low-priority' and `package-menu--hide-packages'? 2015-06-29 17:50 GMT+01:00 Greg Lucas : > > The new package archive priorities to not appear to be honored when I > check for available upgrades. > > Steps to reproduce: > > 1. Start emacs -Q > > 2. configure-group package > > - Add melpa and melpa-stable to package-archives: > > (("gnu" . "http://elpa.gnu.org/packages/") > ("melpa-stable" . "http://stable.melpa.org/packages/") > ("melpa" . "http://melpa.org/packages/")) > > - Set priorities with melpa-stable highest: > > (("melpa-stable" . 20)) > > 3. list-packages and install something from melpa-stable for which there > is a newer version on melpa. In my test: ace-jump-mode v2.0. > > ace-jump-mode 2.0 installed > > 4. Check for upgrades; get prompted to upgrade to melpa version: > > I ace-jump-mode 20140616.115 available melpa > D ace-jump-mode 2.0 installed > > Since melpa has priority 0 and melpa-stable has priority 20, I would > expect this upgrade not to be included. In my current setup I have a > dozen or so packages from the gnu and melpa-stable archives and am > prompted to update all of them. > > > > > In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) > of 2015-06-19 on KAEL > Repository revision: f95211e9a40b1c7d1beff0e15aa67450f80bd8bb > Windowing system distributor `Microsoft Corp.', version 6.3.9600 > Configured using: > `configure --prefix=/z/emacs --host=x86_64-w64-mingw32 > --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int > --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 > --with-gnutls --with-sound=yes --with-file-notification=yes > --without-dbus --without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer > -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s > -Wl,-s'' > > Configured features: > XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB > TOOLKIT_SCROLL_BARS > > Important settings: > value of $LANG: ENU > locale-coding-system: cp1252 > > Major mode: Package Menu > > Minor modes in effect: > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-mode: t > tool-bar-mode: t > menu-bar-mode: t > file-name-shadow-mode: t > global-font-lock-mode: t > font-lock-mode: t > blink-cursor-mode: t > auto-composition-mode: t > auto-encryption-mode: t > auto-compression-mode: t > buffer-read-only: t > line-number-mode: t > transient-mark-mode: t > > Recent messages: > Type C-x 1 to delete the help window. > Quit > Importing package-keyring.gpg...done > Package refresh done > 12 packages can be upgraded; type `U' to mark them for upgrading. > M-o C-x 1 is undefined > Quit [2 times] > 12 packages marked for upgrading. > Making completion list... > Quit > > Load-path shadows: > None found. > > Features: > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader > sendmail pp help-mode package-x misearch multi-isearch mail-utils > network-stream nsm starttls url-http tls mail-parse rfc2231 rfc2047 > rfc2045 ietf-drums url-gw url-cache url-auth url url-proxy url-privacy > url-expand url-methods url-history url-cookie url-domsuf url-util > url-parse auth-source cl-macs cl-seq eieio byte-opt gv bytecomp > byte-compile cl-extra seq cconv eieio-core gnus-util mm-util mail-prsvr > password-cache url-vars mailcap epg finder-inf package epg-config > help-fns cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs pcase > cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook > vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win > w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe > tabulated-list newcomment elisp-mode lisp-mode prog-mode register page > menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock > syntax facemenu font-core frame cl-generic cham georgian utf-8-lang > misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms > cp51932 hebrew greek romanian slovak czech european ethiopic indian > cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help > simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces > cus-face macroexp files text-properties overlay sha1 md5 base64 format > env code-pages mule custom widget hashtable-print-readable backquote > w32notify w32 multi-tty make-network-process emacs) > > Memory information: > ((conses 16 751841 24023) > (symbols 56 25662 0) > (miscs 48 722 215) > (strings 32 68718 9681) > (string-bytes 1 1511638) > (vectors 16 23760) > (vector-slots 8 536819 5652) > (floats 8 204 257) > (intervals 56 89643 864) > (buffers 976 17)) > > > From unknown Tue Aug 19 21:02:04 2025 X-Loop: help-debbugs@gnu.org Subject: bug#20930: 25.0.50; Package archive priorities not honored for upgrades Resent-From: Greg Lucas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Jun 2015 14:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20930 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Artur Malabarba Cc: 20930@debbugs.gnu.org Received: via spool by 20930-submit@debbugs.gnu.org id=B20930.143567558820623 (code B ref 20930); Tue, 30 Jun 2015 14:47:02 +0000 Received: (at 20930) by debbugs.gnu.org; 30 Jun 2015 14:46:28 +0000 Received: from localhost ([127.0.0.1]:34578 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9wnr-0005MY-Mq for submit@debbugs.gnu.org; Tue, 30 Jun 2015 10:46:28 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:38884) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9wnp-0005MP-5x for 20930@debbugs.gnu.org; Tue, 30 Jun 2015 10:46:26 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id DCAB21396 for <20930@debbugs.gnu.org>; Tue, 30 Jun 2015 10:46:22 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute6.internal (MEProxy); Tue, 30 Jun 2015 10:46:22 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=glucas.net; h=cc :content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=TFGTcpz/ILA9kjghmUSjkPcfKFU=; b=hKe1tV uSJrjbQpZjQb/Hn53xpsSt2VsY7/f8NaJzb2eCUhPcYaSJ7KrW7PoNpPXZhm0KnZ 60/TmPEFIJxDl1WO32YJT+J+UPqZORGMqMimhBHNtqrAeDm32elojGaJoYR1tcvc byG9MvheVjIU6YJeOhkmOdensqoxl6z4zpQTI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-sasl-enc:x-sasl-enc; s=smtpout; bh=TFGTcpz/ILA9kjg hmUSjkPcfKFU=; b=cYuzxAjXRlx6ZgXvGsoW37iH6qaGyrovxhLazw3b/dlNqHt JVo3pV/3PSE7Mrlgt7jX1ruRuQgGwqkmQfmDqgXLohmliFJRVMk9ioErsWlPdhn2 1pWAtCJhGC2U+tTHajtZUTLuFHziBsSjvisp4/FaSYAlIHpcI6V+0WlQiOZE= Received: by web3.nyi.internal (Postfix, from userid 99) id 2E0E610FC37; Tue, 30 Jun 2015 10:46:22 -0400 (EDT) Message-Id: <1435675582.2565400.311603513.6FAE9996@webmail.messagingengine.com> X-Sasl-Enc: h1kxFDF3oVAL296rVgtoCQlihh67NuXNE5073+2YyXqQ 1435675582 From: Greg Lucas MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-eecef38c Date: Tue, 30 Jun 2015 10:46:22 -0400 In-Reply-To: References: <1435596607.895000.310693097.37CF3EB6@webmail.messagingengine.com> X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Mon, Jun 29, 2015, at 02:16 PM, Artur Malabarba wrote: > What are your values for the variables > `package-menu-hide-low-priority' and `package-menu--hide-packages'? I'm using the defaults: package-menu-hide-low-priority = archive package-menu--hide-obsolete = t Your question prompted me to experiment. Changing `package-menu-hide-low-priority` to 't gives me the behavior I'd expected, which is that upgrades are suggested only for packages that I installed from melpa. Changing it back to 'archive and checking again presents upgrades for all my melpa-stable packages. > 2015-06-29 17:50 GMT+01:00 Greg Lucas : > > > > The new package archive priorities to not appear to be honored when I > > check for available upgrades. > > > > Steps to reproduce: > > > > 1. Start emacs -Q > > > > 2. configure-group package > > > > - Add melpa and melpa-stable to package-archives: > > > > (("gnu" . "http://elpa.gnu.org/packages/") > > ("melpa-stable" . "http://stable.melpa.org/packages/") > > ("melpa" . "http://melpa.org/packages/")) > > > > - Set priorities with melpa-stable highest: > > > > (("melpa-stable" . 20)) > > > > 3. list-packages and install something from melpa-stable for which there > > is a newer version on melpa. In my test: ace-jump-mode v2.0. > > > > ace-jump-mode 2.0 installed > > > > 4. Check for upgrades; get prompted to upgrade to melpa version: > > > > I ace-jump-mode 20140616.115 available melpa > > D ace-jump-mode 2.0 installed > > > > Since melpa has priority 0 and melpa-stable has priority 20, I would > > expect this upgrade not to be included. In my current setup I have a > > dozen or so packages from the gnu and melpa-stable archives and am > > prompted to update all of them. > > > > > > > > > > In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) > > of 2015-06-19 on KAEL > > Repository revision: f95211e9a40b1c7d1beff0e15aa67450f80bd8bb > > Windowing system distributor `Microsoft Corp.', version 6.3.9600 > > Configured using: > > `configure --prefix=/z/emacs --host=x86_64-w64-mingw32 > > --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int > > --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 > > --with-gnutls --with-sound=yes --with-file-notification=yes > > --without-dbus --without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer > > -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s > > -Wl,-s'' > > > > Configured features: > > XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB > > TOOLKIT_SCROLL_BARS > > > > Important settings: > > value of $LANG: ENU > > locale-coding-system: cp1252 > > > > Major mode: Package Menu > > > > Minor modes in effect: > > tooltip-mode: t > > global-eldoc-mode: t > > electric-indent-mode: t > > mouse-wheel-mode: t > > tool-bar-mode: t > > menu-bar-mode: t > > file-name-shadow-mode: t > > global-font-lock-mode: t > > font-lock-mode: t > > blink-cursor-mode: t > > auto-composition-mode: t > > auto-encryption-mode: t > > auto-compression-mode: t > > buffer-read-only: t > > line-number-mode: t > > transient-mark-mode: t > > > > Recent messages: > > Type C-x 1 to delete the help window. > > Quit > > Importing package-keyring.gpg...done > > Package refresh done > > 12 packages can be upgraded; type `U' to mark them for upgrading. > > M-o C-x 1 is undefined > > Quit [2 times] > > 12 packages marked for upgrading. > > Making completion list... > > Quit > > > > Load-path shadows: > > None found. > > > > Features: > > (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml > > mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader > > sendmail pp help-mode package-x misearch multi-isearch mail-utils > > network-stream nsm starttls url-http tls mail-parse rfc2231 rfc2047 > > rfc2045 ietf-drums url-gw url-cache url-auth url url-proxy url-privacy > > url-expand url-methods url-history url-cookie url-domsuf url-util > > url-parse auth-source cl-macs cl-seq eieio byte-opt gv bytecomp > > byte-compile cl-extra seq cconv eieio-core gnus-util mm-util mail-prsvr > > password-cache url-vars mailcap epg finder-inf package epg-config > > help-fns cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs pcase > > cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook > > vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win > > w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe > > tabulated-list newcomment elisp-mode lisp-mode prog-mode register page > > menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock > > syntax facemenu font-core frame cl-generic cham georgian utf-8-lang > > misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms > > cp51932 hebrew greek romanian slovak czech european ethiopic indian > > cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help > > simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces > > cus-face macroexp files text-properties overlay sha1 md5 base64 format > > env code-pages mule custom widget hashtable-print-readable backquote > > w32notify w32 multi-tty make-network-process emacs) > > > > Memory information: > > ((conses 16 751841 24023) > > (symbols 56 25662 0) > > (miscs 48 722 215) > > (strings 32 68718 9681) > > (string-bytes 1 1511638) > > (vectors 16 23760) > > (vector-slots 8 536819 5652) > > (floats 8 204 257) > > (intervals 56 89643 864) > > (buffers 976 17)) > > > > > > From unknown Tue Aug 19 21:02:04 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Greg Lucas Subject: bug#20930: closed (Re: bug#20930: 25.0.50; Package archive priorities not honored for upgrades) Message-ID: References: <1435596607.895000.310693097.37CF3EB6@webmail.messagingengine.com> X-Gnu-PR-Message: they-closed 20930 X-Gnu-PR-Package: emacs Reply-To: 20930@debbugs.gnu.org Date: Tue, 30 Jun 2015 18:24:05 +0000 Content-Type: multipart/mixed; boundary="----------=_1435688645-13883-1" This is a multi-part message in MIME format... ------------=_1435688645-13883-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #20930: 25.0.50; Package archive priorities not honored for upgrades which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 20930@debbugs.gnu.org. --=20 20930: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20930 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1435688645-13883-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 20930-done) by debbugs.gnu.org; 30 Jun 2015 18:23:38 +0000 Received: from localhost ([127.0.0.1]:34745 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZA0C1-0003b5-T7 for submit@debbugs.gnu.org; Tue, 30 Jun 2015 14:23:38 -0400 Received: from mail-la0-f47.google.com ([209.85.215.47]:36722) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZA0Bz-0003as-Py for 20930-done@debbugs.gnu.org; Tue, 30 Jun 2015 14:23:36 -0400 Received: by lagc2 with SMTP id c2so24361950lag.3 for <20930-done@debbugs.gnu.org>; Tue, 30 Jun 2015 11:23:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=kgTJmuCprn/IHZDML005TlSJRj5+7YO8nEt8VpIUJ2I=; b=uN1G8hdx/jPtPdB8PBVWW0eJLbSui8+b2BAilhs/zSBUDmj5N4xkYpQNnHagbFd33y ZbZpH3wWLMlpxh+I9gVyfJxFzga3VAQFl6HPXgZGn8Z0y+ztznV7ESQzjpia2ib2Svfl HK8FAq6nZKji7fzCtXCXRBymxNZh3tvEgrhtZEnJse5PQBjfEn+u89M/Vd6SxqtFcbZ4 xGQ1p/E6JPtl8uCbzhjLZE2I8rTZgaihGa2tiiOORpYU96FSrnM27KjfEK1GPkXhbOBg z6Mm45GjSL06pFA3TckEnjRXGwaFeQc7diiHS63N1ZBL5Vs4YeNcYZmomoQ2Fn8y9K0m 8BKQ== MIME-Version: 1.0 X-Received: by 10.112.210.137 with SMTP id mu9mr17167534lbc.95.1435688609455; Tue, 30 Jun 2015 11:23:29 -0700 (PDT) Received: by 10.25.214.133 with HTTP; Tue, 30 Jun 2015 11:23:29 -0700 (PDT) In-Reply-To: <1435675582.2565400.311603513.6FAE9996@webmail.messagingengine.com> References: <1435596607.895000.310693097.37CF3EB6@webmail.messagingengine.com> <1435675582.2565400.311603513.6FAE9996@webmail.messagingengine.com> Date: Tue, 30 Jun 2015 19:23:29 +0100 X-Google-Sender-Auth: t-6pwxXRXiCvSqZt9yz8JzxDaDA Message-ID: Subject: Re: bug#20930: 25.0.50; Package archive priorities not honored for upgrades From: Artur Malabarba To: Greg Lucas Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 20930-done Cc: 20930-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: bruce.connor.am@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) 2015-06-30 15:46 GMT+01:00 Greg Lucas : > Your question prompted me to experiment. Changing > `package-menu-hide-low-priority` to 't gives me the behavior I'd > expected, which is that upgrades are suggested only for packages that I > installed from melpa. Changing it back to 'archive and checking again > presents upgrades for all my melpa-stable packages. Thanks, this helped me find the source. Should be fixed on latest master: * lisp/emacs-lisp/package.el (package--remove-hidden): Fix logic Let us know if it worked! ------------=_1435688645-13883-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 29 Jun 2015 17:30:13 +0000 Received: from eggs.gnu.org ([208.118.235.92]:53489) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9cGG-0003Vg-I0 for submit@debbugs.gnu.org; Mon, 29 Jun 2015 12:50:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9cG9-00052U-Pn for submit@debbugs.gnu.org; Mon, 29 Jun 2015 12:50:19 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:38629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cG9-00052Q-My for submit@debbugs.gnu.org; Mon, 29 Jun 2015 12:50:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cG7-0004NU-Us for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 12:50:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9cG3-0004ka-99 for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 12:50:15 -0400 Received: from new1-smtp.messagingengine.com ([66.111.4.221]:50018) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9cG3-0004aV-4G for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 12:50:11 -0400 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 8A470929 for ; Mon, 29 Jun 2015 12:50:08 -0400 (EDT) Received: from web3 ([10.202.2.213]) by compute6.internal (MEProxy); Mon, 29 Jun 2015 12:50:08 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=glucas.net; h= content-transfer-encoding:content-type:date:from:message-id :mime-version:subject:to:x-sasl-enc:x-sasl-enc; s=mesmtp; bh=Q2j Zwm66aQsN8O6MLHCWzmwIvFg=; b=hIbPiZvymPpeQ1Y4Kd1OEHqfCXokYkp2Lwh lHohWiAR+iJmXX9keWjJo9Cg9Osv/z6RZqdknOWzXE5mlrEkCyvHcmAYS7pmsHEI gWSC7IvQ2JsAWF1mnn2cQANozMZBLqLIfCvbjsReZbqOKkYYWXmKTEM4Wu9Zwl3s 7/C0kPYU= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=Q2jZwm66aQsN8O6MLHCWzmwIvFg=; b=MnqYN +X9kYt4cbyxKaMnN8Ss1DeW6XZYfOAuCAV32uGCc8+IkfxHblEQ+/DVprZAlV4vJ 6dsON6xD7PSsoIpHmwekWh5gLgZiYt1hySVe8APisfLaeX5hbMhZ8S6Ojtd3MmX/ irDaDBxtSX5Y9/L13KMpKNnVjhR3Ha2sIoVjr4= Received: by web3.nyi.internal (Postfix, from userid 99) id 0023E10376C; Mon, 29 Jun 2015 12:50:07 -0400 (EDT) Message-Id: <1435596607.895000.310693097.37CF3EB6@webmail.messagingengine.com> X-Sasl-Enc: HrScuclveA/lz3sVQghuKumz3hF0kgRjK2k6LSm5b/eU 1435596607 From: Greg Lucas To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-eecef38c Subject: 25.0.50; Package archive priorities not honored for upgrades Date: Mon, 29 Jun 2015 12:50:07 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit The new package archive priorities to not appear to be honored when I check for available upgrades. Steps to reproduce: 1. Start emacs -Q 2. configure-group package - Add melpa and melpa-stable to package-archives: (("gnu" . "http://elpa.gnu.org/packages/") ("melpa-stable" . "http://stable.melpa.org/packages/") ("melpa" . "http://melpa.org/packages/")) - Set priorities with melpa-stable highest: (("melpa-stable" . 20)) 3. list-packages and install something from melpa-stable for which there is a newer version on melpa. In my test: ace-jump-mode v2.0. ace-jump-mode 2.0 installed 4. Check for upgrades; get prompted to upgrade to melpa version: I ace-jump-mode 20140616.115 available melpa D ace-jump-mode 2.0 installed Since melpa has priority 0 and melpa-stable has priority 20, I would expect this upgrade not to be included. In my current setup I have a dozen or so packages from the gnu and melpa-stable archives and am prompted to update all of them. In GNU Emacs 25.0.50.1 (x86_64-w64-mingw32) of 2015-06-19 on KAEL Repository revision: f95211e9a40b1c7d1beff0e15aa67450f80bd8bb Windowing system distributor `Microsoft Corp.', version 6.3.9600 Configured using: `configure --prefix=/z/emacs --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --build=x86_64-w64-mingw32 --with-wide-int --with-jpeg --with-xpm --with-png --with-tiff --with-rsvg --with-xml2 --with-gnutls --with-sound=yes --with-file-notification=yes --without-dbus --without-imagemagick 'CFLAGS=-O3 -fomit-frame-pointer -g0 -pipe' 'LDFLAGS=-static-libgcc -static-libstdc++ -static -s -Wl,-s'' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS Important settings: value of $LANG: ENU locale-coding-system: cp1252 Major mode: Package Menu Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Type C-x 1 to delete the help window. Quit Importing package-keyring.gpg...done Package refresh done 12 packages can be upgraded; type `U' to mark them for upgrading. M-o C-x 1 is undefined Quit [2 times] 12 packages marked for upgrading. Making completion list... Quit Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail pp help-mode package-x misearch multi-isearch mail-utils network-stream nsm starttls url-http tls mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-gw url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util url-parse auth-source cl-macs cl-seq eieio byte-opt gv bytecomp byte-compile cl-extra seq cconv eieio-core gnus-util mm-util mail-prsvr password-cache url-vars mailcap epg finder-inf package epg-config help-fns cus-edit easymenu cus-start cus-load wid-edit cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote w32notify w32 multi-tty make-network-process emacs) Memory information: ((conses 16 751841 24023) (symbols 56 25662 0) (miscs 48 722 215) (strings 32 68718 9681) (string-bytes 1 1511638) (vectors 16 23760) (vector-slots 8 536819 5652) (floats 8 204 257) (intervals 56 89643 864) (buffers 976 17)) ------------=_1435688645-13883-1--