[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Adding a few more finder keywords
From: |
Oleh Krehel |
Subject: |
Re: Adding a few more finder keywords |
Date: |
Tue, 09 Jun 2015 16:47:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Drew Adams <address@hidden> writes:
> Again, let it do those things with a new file-header keyword.
> If some of the things finder will do are the same, then let it
> do them with both `Keywords:' and the new file-header keyword.
> IOW, to the extent that some part of the updated finder does not
> conflict with the normal interpretation/use of `Keywords:', let
> it be used for both.
I disagree. Redundancy leads to misuse and under-use. And it's a pain to
parse. Using `Keywords:' for tagging sections is good because most files
need not be touched: they're already fine.
On the other hand, if we introduce something like:
;; Section: python
with a tight list of exclusive sections (a file can belong to only one
section), I'd be fine with that. The key here that it needs to be small,
with little room for misinterpretation. As I mentioned before, there are
more than 1000 unique keywords for 2000 packages. Having so many unique
keywords hampers their functionality.
But then again, being too restrictive with `Section:' would probably
lead to 800 packages filed under "convenience". That's why I think that
`Keywords:' are still better. We just need to select a group of keywords
that are deemed "important" and make it easy to see all "important"
keywords at once and browse them.
> Should be a no-brainer. `Keywords:' ain't broke; don't "fix" it.
> Feel free to add new features that do something different and
> have a different motivation. But don't bother `Keywords:' just
> to implement what you need. It's not hard for you to leave
> `Keywords:' alone, for its original, more flexible, use cases.
I don't see how defining a subset of "important" ~50 keywords among the
current ~1000 keywords in use is doing anything against the "more
flexible" use cases.
Basically, I want something like `finder-list-keywords' to work for all
packages managed by package.el as well. I think it would be a great
interface to complement `package-list-packages'. Maybe call it
`package-list-categories'. It currently has 36 sections and looks great.
I wouldn't mind changing my ace-window.el from:
;; Keywords: window, location
to
;; Keywords: frames, window, location
or even just
;; Keywords: frames
to conform to `finder-list-keywords' convention.
- RE: Adding a few more finder keywords, (continued)
- Re: Adding a few more finder keywords, Artur Malabarba, 2015/06/08
- Re: Adding a few more finder keywords, Stefan Monnier, 2015/06/08
- RE: Adding a few more finder keywords, Drew Adams, 2015/06/09
- Re: Adding a few more finder keywords,
Oleh Krehel <=
- RE: Adding a few more finder keywords, Drew Adams, 2015/06/09
- Re: Adding a few more finder keywords, Oleh Krehel, 2015/06/09
- RE: Adding a few more finder keywords, Drew Adams, 2015/06/09
- Re: Adding a few more finder keywords, Stephen J. Turnbull, 2015/06/09