* bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature
@ 2022-05-12 18:35 Jonas Bernoulli
2022-05-13 12:45 ` Lars Ingebrigtsen
2023-09-17 23:15 ` Stefan Kangas
0 siblings, 2 replies; 7+ messages in thread
From: Jonas Bernoulli @ 2022-05-12 18:35 UTC (permalink / raw)
To: 55388
"lisp/emacs-lisp/shorthands.el" doesn't provide a feature and lacks
a "Package" library header. I think "Package: emacs" should be added.
Like other files in that directory "lisp/leim/quail/cham.el" neither
provides a feature nor is it explicitly made part of a package. Would
it make sense to add ("leim" . emacs) to `finder--builtins-alist'?
Maybe another such entry should be added for the "obsolete" directory?
Unlike other "epa-*" libraries, "lisp/epa-ks.el" isn't made part of
the "epa" package and fails to provide a feature.
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature
2022-05-12 18:35 bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature Jonas Bernoulli
@ 2022-05-13 12:45 ` Lars Ingebrigtsen
2022-06-28 21:37 ` Stefan Kangas
2023-09-17 23:15 ` Stefan Kangas
1 sibling, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-13 12:45 UTC (permalink / raw)
To: Jonas Bernoulli; +Cc: 55388
Jonas Bernoulli <jonas@bernoul.li> writes:
> "lisp/emacs-lisp/shorthands.el" doesn't provide a feature and lacks
> a "Package" library header. I think "Package: emacs" should be added.
>
> Like other files in that directory "lisp/leim/quail/cham.el" neither
> provides a feature nor is it explicitly made part of a package. Would
> it make sense to add ("leim" . emacs) to `finder--builtins-alist'?
Are all .el files supposed to have either a Package: header or a
`provides' these days? I wasn't aware of that...
Hm... I see that Chong did something like that with all the preloaded
.el files in bd78fa1d544, so I guess that's true?
> Maybe another such entry should be added for the "obsolete" directory?
>
> Unlike other "epa-*" libraries, "lisp/epa-ks.el" isn't made part of
> the "epa" package and fails to provide a feature.
I think it's separate thing, but it should have a provides, so I've now
added that.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature
2022-05-13 12:45 ` Lars Ingebrigtsen
@ 2022-06-28 21:37 ` Stefan Kangas
2022-06-29 9:58 ` Lars Ingebrigtsen
2022-06-29 11:35 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
0 siblings, 2 replies; 7+ messages in thread
From: Stefan Kangas @ 2022-06-28 21:37 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: 55388, Jonas Bernoulli
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Jonas Bernoulli <jonas@bernoul.li> writes:
>
>> "lisp/emacs-lisp/shorthands.el" doesn't provide a feature and lacks
>> a "Package" library header. I think "Package: emacs" should be added.
The same is true for smie.el, syntax.el, tabulated-list.el, testcover.el
and possibly others. Should they have such a header as well?
>> Like other files in that directory "lisp/leim/quail/cham.el" neither
>> provides a feature nor is it explicitly made part of a package. Would
>> it make sense to add ("leim" . emacs) to `finder--builtins-alist'?
>
> Are all .el files supposed to have either a Package: header or a
> `provides' these days? I wasn't aware of that...
>
> Hm... I see that Chong did something like that with all the preloaded
> .el files in bd78fa1d544, so I guess that's true?
It seems like it's not consistent. What do we use such a header for?
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature
2022-06-28 21:37 ` Stefan Kangas
@ 2022-06-29 9:58 ` Lars Ingebrigtsen
2022-06-29 11:35 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
1 sibling, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-29 9:58 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 55388, Jonas Bernoulli, Stefan Monnier
Stefan Kangas <stefan@marxist.se> writes:
>> Hm... I see that Chong did something like that with all the preloaded
>> .el files in bd78fa1d544, so I guess that's true?
>
> It seems like it's not consistent. What do we use such a header for?
The commit message only says:
Add "Package:" file headers to denote built-in packages.
So... I don't know? Perhaps Stefan M remembers; added to the CCs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature
2022-06-28 21:37 ` Stefan Kangas
2022-06-29 9:58 ` Lars Ingebrigtsen
@ 2022-06-29 11:35 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-30 8:58 ` Lars Ingebrigtsen
1 sibling, 1 reply; 7+ messages in thread
From: Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-06-29 11:35 UTC (permalink / raw)
To: Stefan Kangas; +Cc: Lars Ingebrigtsen, Jonas Bernoulli, 55388
>> Jonas Bernoulli <jonas@bernoul.li> writes:
>>> "lisp/emacs-lisp/shorthands.el" doesn't provide a feature and lacks
>>> a "Package" library header. I think "Package: emacs" should be added.
> The same is true for smie.el, syntax.el, tabulated-list.el, testcover.el
> and possibly others.
Hmm... smie.el, syntax.el, and tabulated-list.el do `provide`
themselves, AFAICT. Indeed it seems to be missing from `testcover.el`.
> Should they have such a header as well?
[...]
> It seems like it's not consistent. What do we use such a header for?
IIRC the question is whether we want to present these files as "a
package" or as "a file part of some other package" in things like
the finder.
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature
2022-06-29 11:35 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-06-30 8:58 ` Lars Ingebrigtsen
0 siblings, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-30 8:58 UTC (permalink / raw)
To: Stefan Monnier; +Cc: 55388, Jonas Bernoulli, Stefan Kangas
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Hmm... smie.el, syntax.el, and tabulated-list.el do `provide`
> themselves, AFAICT. Indeed it seems to be missing from `testcover.el`.
Yup. I've now added one.
>> Should they have such a header as well?
> [...]
>> It seems like it's not consistent. What do we use such a header for?
>
> IIRC the question is whether we want to present these files as "a
> package" or as "a file part of some other package" in things like
> the finder.
So somebody should go through all the files that lack a package: and see
if they feel it belongs in some package?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature
2022-05-12 18:35 bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature Jonas Bernoulli
2022-05-13 12:45 ` Lars Ingebrigtsen
@ 2023-09-17 23:15 ` Stefan Kangas
1 sibling, 0 replies; 7+ messages in thread
From: Stefan Kangas @ 2023-09-17 23:15 UTC (permalink / raw)
To: Jonas Bernoulli; +Cc: 55388-done
Version: 29.2
Jonas Bernoulli <jonas@bernoul.li> writes:
> "lisp/emacs-lisp/shorthands.el" doesn't provide a feature and lacks
> a "Package" library header. I think "Package: emacs" should be added.
Done.
> Like other files in that directory "lisp/leim/quail/cham.el" neither
> provides a feature nor is it explicitly made part of a package. Would
> it make sense to add ("leim" . emacs) to `finder--builtins-alist'?
>
> Maybe another such entry should be added for the "obsolete" directory?
Fixed in Bug#62751.
> Unlike other "epa-*" libraries, "lisp/epa-ks.el" isn't made part of
> the "epa" package and fails to provide a feature.
Done.
Thanks for paying attention to this aspect. I installed the fixes on
emacs-29 (commit 71a1f0fdc9e), and am consequently closing this bug
report.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2023-09-17 23:15 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-12 18:35 bug#55388: 28.1; New libraries that neither belong to a package nor provide a feature Jonas Bernoulli
2022-05-13 12:45 ` Lars Ingebrigtsen
2022-06-28 21:37 ` Stefan Kangas
2022-06-29 9:58 ` Lars Ingebrigtsen
2022-06-29 11:35 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-06-30 8:58 ` Lars Ingebrigtsen
2023-09-17 23:15 ` Stefan Kangas
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).