emacs-devel
[Top][All Lists]
Advanced

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

display keywords in package.el


From: T.V. Raman
Subject: display keywords in package.el
Date: Sun, 15 Dec 2013 16:19:01 -0800

Would be nice to filter by archive.

I tried  a quick and dirty impl by let-binding package-archives
but sadly that didn't work.
-- 

-- 


On 12/14/13, Ted Zlatanov <address@hidden> wrote:
> 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...
> Ted
>
>
>



reply via email to

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