From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: guix.el: Key bindings for a "package list" Date: Sat, 06 Sep 2014 12:55:02 +0200 Message-ID: <878ulxt3w9.fsf@gnu.org> References: <87a96e7bu3.fsf@gmail.com> <87wq9ifn49.fsf@taylan.uni.cx> <87zjee5jlj.fsf@gmail.com> <87y4txu86l.fsf@gnu.org> <87oaut5fk0.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:60238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQDeD-0002FD-O2 for guix-devel@gnu.org; Sat, 06 Sep 2014 06:55:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XQDe4-0000Xq-74 for guix-devel@gnu.org; Sat, 06 Sep 2014 06:55:13 -0400 Received: from hera.aquilenet.fr ([2a01:474::1]:60692) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XQDe4-0000Wz-0H for guix-devel@gnu.org; Sat, 06 Sep 2014 06:55:04 -0400 In-Reply-To: <87oaut5fk0.fsf@gmail.com> (Alex Kost's message of "Sat, 06 Sep 2014 12:17:03 +0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2014-09-06 00:24 +0400) wrote: > >> BTW, M-x list-packages lists installed packages at the bottom, and with >> a different face. >> >> What about doing something similar for guix-newest-available-packages & = co.? > > No objection for a face, but I don't think such sorting should be the > default one. I think it is done in "package.el" just because there is > no way to display only installed or obsolete packages there. > > But as in "guix.el" we have "M-x guix-installed-packages" and "M-x > guix-obsolete-packages", in my opinion it would be better to leave the > current sorting by name. Right, makes sense. > Besides a user can easily sort a list by "Installed" column if he wants. > But of course if most people find such sort preferable, I will comply. Yes. > From eafaf96cf86eb353aa414da6773254aca648e260 Mon Sep 17 00:00:00 2001 > From: Alex Kost > Date: Sat, 6 Sep 2014 12:08:42 +0400 > Subject: [PATCH] emacs: Add a face for installed packages. > > * emacs/guix-list.el (guix-package-list-installed): New face. > (guix-package-list-get-name): Use it. Nice, OK to push. Thanks! Ludo=E2=80=99.