all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sebastian Tennant <sebyte@smolny.plus.com>
To: help-gnu-emacs@gnu.org
Subject: ELPA package listings [formerly: Another 'best' practices question ??]
Date: Mon, 29 Oct 2007 14:29:29 +0200	[thread overview]
Message-ID: <87ir4qums6.fsf_-_@moley.moleskin.org> (raw)
In-Reply-To: m3irb8v3ca.fsf@fleche.redhat.com

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 <tromey@redhat.com>:
> Sebastian> Regarding ELPA, a couple of suggestions if I may be so bold:
> Sebastian>  1.  How about 'installed' rather than <blank> 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

  parent reply	other threads:[~2007-10-29 12:29 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-03 17:47 Another 'best' practices question ?? William Case
2007-05-03 17:59 ` Lennart Borgman (gmail)
2007-05-03 19:35   ` William Case
2007-05-03 20:27     ` Lennart Borgman (gmail)
2007-05-04  6:12     ` Christian Herenz
2007-05-04 14:18       ` Tom Tromey
2007-05-04 15:23         ` Sebastian Tennant
2007-05-04 17:04           ` Tom Tromey
2007-05-04 17:21             ` Tom Tromey
2007-05-04 18:46               ` Sebastian Tennant
2007-05-04 18:41                 ` Tom Tromey
2007-05-04 19:34                   ` Sebastian Tennant
2007-10-29 12:29                   ` Sebastian Tennant [this message]
2007-10-29 12:36                     ` ELPA package listings [formerly: Another 'best' practices question ??] Sebastian Tennant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ir4qums6.fsf_-_@moley.moleskin.org \
    --to=sebyte@smolny.plus.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.