From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Bach Newsgroups: gmane.emacs.help Subject: Re: package.el sort order Date: Sat, 27 Apr 2013 13:02:34 +0200 Message-ID: <517BB04A.2090004@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1367060579 14460 80.91.229.3 (27 Apr 2013 11:02:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 27 Apr 2013 11:02:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 27 13:03:00 2013 Return-path: Envelope-to: geh-help-gnu-emacs@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 1UW2uB-0007Pa-Q0 for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Apr 2013 13:02:59 +0200 Original-Received: from localhost ([::1]:40621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW2uB-0002tF-Ek for geh-help-gnu-emacs@m.gmane.org; Sat, 27 Apr 2013 07:02:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW2tz-0002tA-GL for help-gnu-emacs@gnu.org; Sat, 27 Apr 2013 07:02:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UW2ty-0008PM-JH for help-gnu-emacs@gnu.org; Sat, 27 Apr 2013 07:02:47 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:38957) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UW2ty-0008PF-CK for help-gnu-emacs@gnu.org; Sat, 27 Apr 2013 07:02:46 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UW2tu-00076n-JD for help-gnu-emacs@gnu.org; Sat, 27 Apr 2013 13:02:42 +0200 Original-Received: from 80.123.100.202 ([80.123.100.202]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Apr 2013 13:02:42 +0200 Original-Received: from phaebz by 80.123.100.202 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 27 Apr 2013 13:02:42 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 28 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 80.123.100.202 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:17.0) Gecko/20130328 Thunderbird/17.0.5 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:90370 Archived-At: 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 > > >