From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Artur Malabarba Newsgroups: gmane.emacs.devel Subject: For a less repetitive package menu (was: Improving browsing and discoverability in the Packages Menu) Date: Sat, 25 Apr 2015 16:25:20 +0100 Message-ID: Reply-To: bruce.connor.am@gmail.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1429975644 10480 80.91.229.3 (25 Apr 2015 15:27:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Apr 2015 15:27:24 +0000 (UTC) Cc: emacs-devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 25 17:27:23 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ym1zF-0006EF-91 for ged-emacs-devel@m.gmane.org; Sat, 25 Apr 2015 17:27:21 +0200 Original-Received: from localhost ([::1]:48647 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ym1zE-0006Qa-Jh for ged-emacs-devel@m.gmane.org; Sat, 25 Apr 2015 11:27:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ym1z1-0006Jg-GY for emacs-devel@gnu.org; Sat, 25 Apr 2015 11:27:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ym1xJ-00081C-OF for emacs-devel@gnu.org; Sat, 25 Apr 2015 11:25:22 -0400 Original-Received: from mail-lb0-x22e.google.com ([2a00:1450:4010:c04::22e]:34755) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ym1xJ-000815-Fa for emacs-devel@gnu.org; Sat, 25 Apr 2015 11:25:21 -0400 Original-Received: by lbcga7 with SMTP id ga7so55628276lbc.1 for ; Sat, 25 Apr 2015 08:25:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:date:message-id:subject:from:cc :content-type; bh=3tDZH0Z90rbdAxXv1i0Y8ap0rjDbYx464RHSWkBxqsg=; b=eH4/u2YmqbuG0uOoEp2Y0D5bGQGb+DNfDnU83I1F4ebjS4fsM0VcnKkjquAIrg0iVn zCe6oLlO6cxUCDgDgtY577rGP0ROBitMrv8wMT8hfWiULagum65+1m5+LvQ/2sfPiF9S 3NhY3KL+WylcABozPIjVkF6ac0xm8Q28Ha6064Yx+2EZotAT1LP0L8uMGQqgdad88DHl kAc8dvPKlyhFLKYLCbPCD83FEn59rZIzFnzQu8ChKgX/mwmtso62CjFa7H7mhEfm8o2g j+kg9y0Plo0Va2RREMg3eOBd9mmoINVIMOdN9/RN81ubNTSg518ffpRdYBGu3CemnLwo 45AQ== X-Received: by 10.152.22.229 with SMTP id h5mr3119560laf.21.1429975520618; Sat, 25 Apr 2015 08:25:20 -0700 (PDT) Original-Received: by 10.25.150.1 with HTTP; Sat, 25 Apr 2015 08:25:20 -0700 (PDT) X-Google-Sender-Auth: 7E_2R4WUApf72IL9LIikUQV90lo X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::22e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:185874 Archived-At: Those of you who use the `package-archive-priorities' variable may have noticed the package-menu is a little less repetitive, so I figured I owed an explanation. This is because of a new variable/functionality: `package-menu-hide-low-priority'. In short, if a package is available on multiple archives and one has higher priority (as per `package-archive-priorities') only that one is listed. The main use of this is that the user who has both Melpa and Melpa-stable configured can hide the Melpa packages where a Stable version is also available (despite being lower version) by configuring the priorities: (add-to-list 'package-archive-priorities '("melpa-stable" . 10)) The variable also can be configured to additionally hide a lower-version package if both archives have the same priority. Cheers