all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#66335: 29.1.50; Additional known keywords for finder
@ 2023-10-04 10:20 Daniel Mendler
  2023-10-04 17:21 ` Eli Zaretskii
  2023-10-06  8:21 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
  0 siblings, 2 replies; 7+ messages in thread
From: Daniel Mendler @ 2023-10-04 10:20 UTC (permalink / raw)
  To: 66335

Hello,

I propose to add a few more commonly used keywords to finder.el. For
example "tree-sitter" is used by all the newly introduced major modes.
Besides that the following additional keywords might be useful and could
be added to `finder-known-keywords':

(accessibility . "Features improving accessibility")
(completion    . "Minibuffer and code completion")
(network       . "Features accessing the network")
(theme         . "Themes and styling")
(tree-sitter   . "Modes based Tree-Sitter")

For reference, a list of unknown keywords sorted by usage can be
obtained as follows:

(seq-sort-by
 #'cdr #'>
 (seq-filter (lambda (x) (> (cdr x) 1))
             (finder-unknown-keywords)))

Thanks!

In GNU Emacs 29.1.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.18.0, Xaw scroll bars) of 2023-10-03
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: Debian GNU/Linux trixie/sid





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#66335: 29.1.50; Additional known keywords for finder
  2023-10-04 10:20 bug#66335: 29.1.50; Additional known keywords for finder Daniel Mendler
@ 2023-10-04 17:21 ` Eli Zaretskii
  2023-10-04 18:43   ` Stefan Kangas
  2023-10-06  8:21 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2023-10-04 17:21 UTC (permalink / raw)
  To: Daniel Mendler; +Cc: 66335

> From: Daniel Mendler <mail@daniel-mendler.de>
> Date: Wed, 04 Oct 2023 12:20:35 +0200
> 
> Hello,
> 
> I propose to add a few more commonly used keywords to finder.el. For
> example "tree-sitter" is used by all the newly introduced major modes.
> Besides that the following additional keywords might be useful and could
> be added to `finder-known-keywords':
> 
> (accessibility . "Features improving accessibility")
> (completion    . "Minibuffer and code completion")
> (network       . "Features accessing the network")
> (theme         . "Themes and styling")
> (tree-sitter   . "Modes based Tree-Sitter")

I think adding meaningful keywords is always welcome, the only problem
is to go over all the packages and add the new keywords to those which
need it.

Thanks.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#66335: 29.1.50; Additional known keywords for finder
  2023-10-04 17:21 ` Eli Zaretskii
@ 2023-10-04 18:43   ` Stefan Kangas
  2023-10-04 18:53     ` Daniel Mendler
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Kangas @ 2023-10-04 18:43 UTC (permalink / raw)
  To: Eli Zaretskii, Daniel Mendler; +Cc: 66335

Eli Zaretskii <eliz@gnu.org> writes:

>> I propose to add a few more commonly used keywords to finder.el. For
>> example "tree-sitter" is used by all the newly introduced major modes.
>> Besides that the following additional keywords might be useful and could
>> be added to `finder-known-keywords':
>>
>> (accessibility . "Features improving accessibility")
>> (completion    . "Minibuffer and code completion")
>> (network       . "Features accessing the network")
>> (theme         . "Themes and styling")
>> (tree-sitter   . "Modes based Tree-Sitter")
>
> I think adding meaningful keywords is always welcome, the only problem
> is to go over all the packages and add the new keywords to those which
> need it.

Daniel, would you like to propose a patch?





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#66335: 29.1.50; Additional known keywords for finder
  2023-10-04 18:43   ` Stefan Kangas
@ 2023-10-04 18:53     ` Daniel Mendler
  2023-10-04 20:33       ` Stefan Kangas
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel Mendler @ 2023-10-04 18:53 UTC (permalink / raw)
  To: Stefan Kangas, Eli Zaretskii; +Cc: 66335

On 10/4/23 20:43, Stefan Kangas wrote:
>>> I propose to add a few more commonly used keywords to finder.el. For
>>> example "tree-sitter" is used by all the newly introduced major modes.
>>> Besides that the following additional keywords might be useful and could
>>> be added to `finder-known-keywords':
>>>
>>> (accessibility . "Features improving accessibility")
>>> (completion    . "Minibuffer and code completion")
>>> (network       . "Features accessing the network")
>>> (theme         . "Themes and styling")
>>> (tree-sitter   . "Modes based Tree-Sitter")
>>
>> I think adding meaningful keywords is always welcome, the only problem
>> is to go over all the packages and add the new keywords to those which
>> need it.
> 
> Daniel, would you like to propose a patch?

A patch to finder.el or to *all* packages? My proposal aims to add a few
keywords to finder.el, which seem to be used already, also across
ELPA/MELPA.

Besides that, the finder keyword list is not regenerated when installing
packages. This could be improved by calling `finder-compile-keywords',
taking the `finder-keywords-hash' and dumping it to some file which is
loaded by the init.el.

Daniel





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#66335: 29.1.50; Additional known keywords for finder
  2023-10-04 18:53     ` Daniel Mendler
@ 2023-10-04 20:33       ` Stefan Kangas
  2023-10-05  5:34         ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Kangas @ 2023-10-04 20:33 UTC (permalink / raw)
  To: Daniel Mendler, Eli Zaretskii; +Cc: 66335

Daniel Mendler <mail@daniel-mendler.de> writes:

> A patch to finder.el or to *all* packages? My proposal aims to add a few
> keywords to finder.el, which seem to be used already, also across
> ELPA/MELPA.

If we add new keywords, we should at the very least also add them to the
relevant built-in packages, I think.  It shouldn't be too many for the
above keywords, I expect?

> Besides that, the finder keyword list is not regenerated when installing
> packages. This could be improved by calling `finder-compile-keywords',
> taking the `finder-keywords-hash' and dumping it to some file which is
> loaded by the init.el.

Please file a separate feature request for this.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#66335: 29.1.50; Additional known keywords for finder
  2023-10-04 20:33       ` Stefan Kangas
@ 2023-10-05  5:34         ` Eli Zaretskii
  0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2023-10-05  5:34 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 66335, mail

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Wed, 4 Oct 2023 20:33:10 +0000
> Cc: 66335@debbugs.gnu.org
> 
> Daniel Mendler <mail@daniel-mendler.de> writes:
> 
> > A patch to finder.el or to *all* packages? My proposal aims to add a few
> > keywords to finder.el, which seem to be used already, also across
> > ELPA/MELPA.
> 
> If we add new keywords, we should at the very least also add them to the
> relevant built-in packages, I think.  It shouldn't be too many for the
> above keywords, I expect?

Yes, exactly my thoughts.





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#66335: 29.1.50; Additional known keywords for finder
  2023-10-04 10:20 bug#66335: 29.1.50; Additional known keywords for finder Daniel Mendler
  2023-10-04 17:21 ` Eli Zaretskii
@ 2023-10-06  8:21 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors
  1 sibling, 0 replies; 7+ messages in thread
From: Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-10-06  8:21 UTC (permalink / raw)
  To: Daniel Mendler, 66335

Daniel Mendler <mail@daniel-mendler.de> writes:

> (tree-sitter   . "Modes based Tree-Sitter")

Note that Tree-sitter is spelled with lowercase 'l' as per:

https://tree-sitter.github.io/tree-sitter/

Rudy
-- 
"Chop your own wood and it will warm you twice."
-- Henry Ford; Francis Kinloch, 1819; Henry David Thoreau, 1854

Rudolf Adamkovič <salutis@me.com> [he/him]
Studenohorská 25
84103 Bratislava
Slovakia





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2023-10-06  8:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-04 10:20 bug#66335: 29.1.50; Additional known keywords for finder Daniel Mendler
2023-10-04 17:21 ` Eli Zaretskii
2023-10-04 18:43   ` Stefan Kangas
2023-10-04 18:53     ` Daniel Mendler
2023-10-04 20:33       ` Stefan Kangas
2023-10-05  5:34         ` Eli Zaretskii
2023-10-06  8:21 ` Rudolf Adamkovič via Bug reports for GNU Emacs, the Swiss army knife of text editors

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.