[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#36981: 26.2; request: add searching by package name to list-packages
From: |
Federico Tedin |
Subject: |
bug#36981: 26.2; request: add searching by package name to list-packages |
Date: |
Mon, 30 Sep 2019 23:26:49 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) |
Hey Stefan, thanks again for the input.
> Perhaps just:
>
> * test/lisp/emacs-lisp/package-tests.el (package-test-list-filter-by-name)
> (package-test-list-clear-filter): New tests.
>
>> +@item / s
>> +Filter the package list by name (@code{package-menu-filter-by-name}).
>
> That should be "/ n" as below.
Good catch!
>> ++++
>> +*** New function 'package-menu-filter-by-name'.
>> +Allows users to filter packages by name on the packages list. By
>> +default, it is bound to '/ n'. To clear the filter, use '/ /'.
>> +
>> ++++
>> +*** Function 'package-menu-fiter-by-keyword' has been renamed
>> +from 'package-menu-filter'. Its keybinding has also been changed to
>> +'/ k' (from 'f'). To clear the filter, '/ /' must now be used instead
>> +of 'q'.
>> +
>> ++++
>> +*** New function 'package-menu-clear-filter'
>> +Allows users to clear a filter applied with 'package-menu-filter-by-name' or
>> +'package-menu-filter-by-keyword'.
>
> Perhaps this would be better as just one item where all changes are
> explained together?
>
>> @@ -2699,7 +2701,9 @@ package-menu-mode-map
>> ["Unmark" package-menu-mark-unmark :help "Clear any marks on a package
>> and move to the next line"]
>>
>> "--"
>> - ["Filter Package List" package-menu-filter :help "Filter package
>> selection (q to go back)"]
>> + ["Filter Packages by Keyword" package-menu-filter-by-keyword :help
>> "Filter packages by keyword"]
>> + ["Filter Packages by Name" package-menu-filter-by-name :help "Filter
>> packages by name"]
>> + ["Clear Packages Filter" package-menu-clear-filter :help "Clear package
>> list filter"]
>
> This is fine by me, but perhaps it would be better to add a submenu
> for filtering?
Good idea, I've changed the menu entries so that they're part of a
submenu now. I'm attaching the new patch.
Thanks!
search.patch
Description: patch
- bug#36981: 26.2; request: add searching by package name to list-packages, (continued)
bug#36981: 26.2; request: add searching by package name to list-packages, Stefan Kangas, 2019/09/15
- bug#36981: 26.2; request: add searching by package name to list-packages, Federico Tedin, 2019/09/18
- bug#36981: 26.2; request: add searching by package name to list-packages, Stefan Kangas, 2019/09/18
- bug#36981: 26.2; request: add searching by package name to list-packages, Juri Linkov, 2019/09/19
- bug#36981: 26.2; request: add searching by package name to list-packages, Federico Tedin, 2019/09/20
- bug#36981: 26.2; request: add searching by package name to list-packages, Stefan Kangas, 2019/09/20
- bug#36981: 26.2; request: add searching by package name to list-packages, Federico Tedin, 2019/09/26
- bug#36981: 26.2; request: add searching by package name to list-packages, Stefan Kangas, 2019/09/27
- bug#36981: 26.2; request: add searching by package name to list-packages,
Federico Tedin <=
- bug#36981: 26.2; request: add searching by package name to list-packages, Stefan Kangas, 2019/09/30