[Top][All Lists]

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

Re: display keywords in package.el

From: Ted Zlatanov
Subject: Re: display keywords in package.el
Date: Sat, 14 Dec 2013 15:03:15 -0500
User-agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux)

On Thu, 12 Dec 2013 10:38:25 -0500 Ted Zlatanov <address@hidden> wrote: 

TZ> On Wed, 11 Dec 2013 22:34:38 -0500 Stefan Monnier <address@hidden> wrote: 
>>> But there's nothing else in Emacs that will browse packages
>>> by keyword.

SM> We should fix this, by adding a "filter by keyword" option to
SM> package-list.

TZ> That's my plan, but finder.el already does this.  It makes no sense to
TZ> keep two separate interfaces for browsing local-only (finder.el) and
TZ> local+remote packages (package.el).  So I was going to implement it more
TZ> generally ASAP (when I have the time).

TZ> Meanwhile we can simply remove the button action for the keywords or
TZ> leave it broken.  I opted to leave it broken temporarily because it's
TZ> a very "soft" failure and does not break anything AFAIK.

This is implemented properly now:

* `f' and a menu item will filter by keyword

* the header line shows "Package[keyword]" when the list is filtered

* `q' leaves the filtered view, kind of like finder

* only one level of filtering and one keyword are supported

* there is no keyword list menu like finder.el has

* remove finder.el dependency

* convenience `package-menu-filter-interactive' interactive function
  (maybe it should be `list-packages-keyword'?)

* very handy `package--mapc' helper function added
Future work (please do it if you're interested):

* `package-menu--generate' could use `package--mapc'

* merge finder.el and package.el and remove the need for finder-inf.el
  and the `finder-keywords-hash' and so on.

* keyword list menu like finder.el has

Let me know if you have issues...

reply via email to

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