From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sebastian Tennant Newsgroups: gmane.emacs.help Subject: ELPA package listings [formerly: Another 'best' practices question ??] Date: Mon, 29 Oct 2007 14:29:29 +0200 Message-ID: <87ir4qums6.fsf_-_@moley.moleskin.org> References: <1178214443.3172.18.camel@CASE> <463A22EF.7060707@gmail.com> <1178220921.3172.31.camel@CASE> <463ACED2.3000006@physik.hu-berlin.de> <87hcqsd34h.fsf@moley.org> <878xc41l5p.fsf@moley.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193661089 18441 80.91.229.12 (29 Oct 2007 12:31:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 12:31:29 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 13:31:31 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ImTmE-0004sT-Ey for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2007 13:31:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImTm4-00026b-TL for geh-help-gnu-emacs@m.gmane.org; Mon, 29 Oct 2007 08:31:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImTlo-00024e-M2 for help-gnu-emacs@gnu.org; Mon, 29 Oct 2007 08:31:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImTln-00023m-28 for help-gnu-emacs@gnu.org; Mon, 29 Oct 2007 08:31:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImTlm-00023j-Sz for help-gnu-emacs@gnu.org; Mon, 29 Oct 2007 08:31:02 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ImTll-0005Sc-Tt for help-gnu-emacs@gnu.org; Mon, 29 Oct 2007 08:31:02 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1ImTlL-0002WY-CD for help-gnu-emacs@gnu.org; Mon, 29 Oct 2007 12:30:35 +0000 Original-Received: from 85.105.17.65 ([85.105.17.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Oct 2007 12:30:35 +0000 Original-Received: from sebyte by 85.105.17.65 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 29 Oct 2007 12:30:35 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 48 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 85.105.17.65 User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1 (gnu/linux) Cancel-Lock: sha1:EsHhDoiK/2L97iseYw1qQdh4PRQ= X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:48901 Archived-At: Hi Tom, Just upgraded to package.el version 0.6. Glad to see ELPA (Every Load-Path Answer) is going from strength to strength. Quoth Tom Tromey : > Sebastian> Regarding ELPA, a couple of suggestions if I may be so bold: > Sebastian> 1. How about 'installed' rather than in the status column. > > I chose blank because it looks sort of busy with "installed". But I > don't really know what is best -- "installed" is clearer. 'installed' may be clearer, but you're right, it makes it too busy... font-lock-highlighting to the rescue... (and this time I've found the time to do something about it myself!) diff -c /home/sebyte/.emacs.d/elpa/package.el\~ /home/sebyte/.emacs.d/elpa/package.el *** /home/sebyte/.emacs.d/elpa/package.el~ Mon Oct 29 11:15:02 2007 --- /home/sebyte/.emacs.d/elpa/package.el Mon Oct 29 13:40:10 2007 *************** *** 1044,1049 **** --- 1044,1051 ---- (defvar package-menu-mode-map nil "Local keymap for `package-menu-mode' buffers.") + (defvar package-menu-font-lock-keywords '(("^.*installed.*$" . font-lock-comment-face))) + (unless package-menu-mode-map (setq package-menu-mode-map (make-keymap)) (suppress-keymap package-menu-mode-map) *************** *** 1074,1079 **** --- 1076,1082 ---- (use-local-map package-menu-mode-map) (setq major-mode 'package-menu-mode) (setq mode-name "Package Menu") + (setq font-lock-defaults (list 'package-menu-font-lock-keywords t)) (setq truncate-lines t) (setq buffer-read-only t) ;; Support Emacs 21. Diff finished. Mon Oct 29 14:24:16 2007 Hope this is useful in some way. Sebastian