help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: package.el sort order


From: Michael Bach
Subject: Re: package.el sort order
Date: Sat, 27 Apr 2013 13:02:34 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5

On 4/26/13 8:24 PM, Michael Bach wrote:
Dear Emacs Users,

After doing a package-list-packages, how can I sort the package list to
be sorted alphabetically instead of by package status?  I did the usual
google + manual search, but found nothing.  Best would be a variable
that specifies default sorting when the list is updated.

Could someone give me a shove?


Just for reference, I solved this one via

--8<---------------cut here---------------start------------->8---
(add-hook 'package-menu-mode-hook
             (lambda ()
               (forward-word)
               (Buffer-menu-sort)))
--8<---------------cut here---------------end--------------->8---

sorry for the noise.

Best Regards,
Michael








reply via email to

[Prev in Thread] Current Thread [Next in Thread]