* bug#50936: "(emacs) Help" does say how to find external packages
@ 2021-10-01 11:48 Stefan Kangas
2021-10-01 12:31 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2021-10-01 11:48 UTC (permalink / raw)
To: 50936
In (info "(emacs) Help"), I read:
If you are looking for a certain feature, but don’t know what it is
called or where to look, we recommend three methods. First, try an
apropos command, then try searching the manual index, then look in the
FAQ and the package keywords.
[...]
‘C-h p’
This displays the available Emacs packages based on keywords.
*Note Package Keywords::.
The problem with this is that packages from GNU ELPA and NonGNU ELPA
aren't listed here, so the better place to look should actually be
'M-x list-packages'. Because that's where you'll find important modes
for programming languages, etc.
I'm not sure if the recommendation should be changed, or simply
amended to also mention M-x list-packages. Or perhaps finder should
list packages that are not installed?
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#50936: "(emacs) Help" does say how to find external packages
2021-10-01 11:48 bug#50936: "(emacs) Help" does say how to find external packages Stefan Kangas
@ 2021-10-01 12:31 ` Eli Zaretskii
2021-10-01 13:15 ` Stefan Kangas
2022-09-03 12:46 ` Lars Ingebrigtsen
0 siblings, 2 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-10-01 12:31 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 50936
> From: Stefan Kangas <stefan@marxist.se>
> Date: Fri, 1 Oct 2021 13:48:57 +0200
>
> In (info "(emacs) Help"), I read:
>
> If you are looking for a certain feature, but don’t know what it is
> called or where to look, we recommend three methods. First, try an
> apropos command, then try searching the manual index, then look in the
> FAQ and the package keywords.
> [...]
> ‘C-h p’
> This displays the available Emacs packages based on keywords.
> *Note Package Keywords::.
>
> The problem with this is that packages from GNU ELPA and NonGNU ELPA
> aren't listed here, so the better place to look should actually be
> 'M-x list-packages'. Because that's where you'll find important modes
> for programming languages, etc.
"Modes" and "features" are not the same. The latter refers to
features built into Emacs, i.e. to bundled packages. If that isn't
clear from the text, we could clarify that, although it should be
quite obvious that an Emacs manual talks about bundled features.
> I'm not sure if the recommendation should be changed, or simply
> amended to also mention M-x list-packages.
It's okay to also mention list-packages, but if so, the text should
explicitly say that it's for features and packages not included in
the core distribution.
More importantly, I think we should seriously consider whether such
text has its place in that section. That section is supposed to be a
cookbook for quickly and efficiently find Emacs features, so it should
be limited to methods and commands that accurate, in the sense that
they don't present the user with long lists of potential hits. By
contrast, list-packages shows a very long list of packages (more than
400 as of this writing), which can easily overwhelm the user. Even
"C-h p" doesn't show such long lists (the longest has 50 items), and
it is already too long, which is why it's the last in the list of
recommended methods.
> Or perhaps finder should list packages that are not installed?
Wouldn't that make "C-h p" less efficient, for the reason pointed out
above?
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#50936: "(emacs) Help" does say how to find external packages
2021-10-01 12:31 ` Eli Zaretskii
@ 2021-10-01 13:15 ` Stefan Kangas
2021-10-01 13:28 ` Eli Zaretskii
2022-09-03 12:46 ` Lars Ingebrigtsen
1 sibling, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2021-10-01 13:15 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 50936
Eli Zaretskii <eliz@gnu.org> writes:
> > I'm not sure if the recommendation should be changed, or simply
> > amended to also mention M-x list-packages.
>
> It's okay to also mention list-packages, but if so, the text should
> explicitly say that it's for features and packages not included in
> the core distribution.
I think this sounds like the best solution.
> More importantly, I think we should seriously consider whether such
> text has its place in that section. That section is supposed to be a
> cookbook for quickly and efficiently find Emacs features, so it should
> be limited to methods and commands that accurate, in the sense that
> they don't present the user with long lists of potential hits. By
> contrast, list-packages shows a very long list of packages (more than
> 400 as of this writing), which can easily overwhelm the user. Even
> "C-h p" doesn't show such long lists (the longest has 50 items), and
> it is already too long, which is why it's the last in the list of
> recommended methods.
That's a problem, but there is IMO no way around that as long as Emacs
doesn't bundle packages like php-mode, haskell-mode, eglot or
lsp-mode, markdown-mode, etc.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#50936: "(emacs) Help" does say how to find external packages
2021-10-01 13:15 ` Stefan Kangas
@ 2021-10-01 13:28 ` Eli Zaretskii
2021-10-01 14:42 ` Stefan Kangas
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2021-10-01 13:28 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 50936
> From: Stefan Kangas <stefan@marxist.se>
> Date: Fri, 1 Oct 2021 15:15:26 +0200
> Cc: 50936@debbugs.gnu.org
>
> > More importantly, I think we should seriously consider whether such
> > text has its place in that section. That section is supposed to be a
> > cookbook for quickly and efficiently find Emacs features, so it should
> > be limited to methods and commands that accurate, in the sense that
> > they don't present the user with long lists of potential hits. By
> > contrast, list-packages shows a very long list of packages (more than
> > 400 as of this writing), which can easily overwhelm the user. Even
> > "C-h p" doesn't show such long lists (the longest has 50 items), and
> > it is already too long, which is why it's the last in the list of
> > recommended methods.
>
> That's a problem, but there is IMO no way around that as long as Emacs
> doesn't bundle packages like php-mode, haskell-mode, eglot or
> lsp-mode, markdown-mode, etc.
I don't understand the relevance, please elaborate.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#50936: "(emacs) Help" does say how to find external packages
2021-10-01 13:28 ` Eli Zaretskii
@ 2021-10-01 14:42 ` Stefan Kangas
2021-10-01 15:46 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2021-10-01 14:42 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 50936
Eli Zaretskii <eliz@gnu.org> writes:
> > That's a problem, but there is IMO no way around that as long as Emacs
> > doesn't bundle packages like php-mode, haskell-mode, eglot or
> > lsp-mode, markdown-mode, etc.
>
> I don't understand the relevance, please elaborate.
As a user, I come to "Help" to learn how to find more information on
e.g. "I want indentation for Haskell code", or "how to enable syntax
highlighting for Markdown". The answer to many such questions is that
you need to look for and install an external package.
Users might also just want to explore existing features in Emacs. For
that, 'finder' is useful.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#50936: "(emacs) Help" does say how to find external packages
2021-10-01 14:42 ` Stefan Kangas
@ 2021-10-01 15:46 ` Eli Zaretskii
2021-10-01 17:28 ` Stefan Kangas
0 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2021-10-01 15:46 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 50936
> From: Stefan Kangas <stefan@marxist.se>
> Date: Fri, 1 Oct 2021 16:42:13 +0200
> Cc: 50936@debbugs.gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > > That's a problem, but there is IMO no way around that as long as Emacs
> > > doesn't bundle packages like php-mode, haskell-mode, eglot or
> > > lsp-mode, markdown-mode, etc.
> >
> > I don't understand the relevance, please elaborate.
>
> As a user, I come to "Help" to learn how to find more information on
> e.g. "I want indentation for Haskell code", or "how to enable syntax
> highlighting for Markdown". The answer to many such questions is that
> you need to look for and install an external package.
The manual explains what is available in Emacs. If the user looks for
features not in Emacs, it is okay not to find them in our
documentation. It is unrealistic for use to provide ways to find
features outside of Emacs, because they are too many. What if the
user is after something that's not on ELPA?
When we figure out how to more closely integrate with ELPA, we should
as part of that try to find ways of searching the documentation of
those packages as part of our "normal" Help commands. But until we
have done that, I see no reason to make that section in the manual
less efficient just so we could say we are more complete. I think
doing so will result in net loss.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#50936: "(emacs) Help" does say how to find external packages
2021-10-01 15:46 ` Eli Zaretskii
@ 2021-10-01 17:28 ` Stefan Kangas
2021-10-01 17:54 ` Eli Zaretskii
0 siblings, 1 reply; 9+ messages in thread
From: Stefan Kangas @ 2021-10-01 17:28 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 50936
Eli Zaretskii <eliz@gnu.org> writes:
> The manual explains what is available in Emacs. If the user looks for
> features not in Emacs, it is okay not to find them in our
> documentation. It is unrealistic for use to provide ways to find
> features outside of Emacs, because they are too many.
I'm not suggesting to list features, but to say that 'list-packages'
exist. That command is a part of Emacs.
> When we figure out how to more closely integrate with ELPA, we should
> as part of that try to find ways of searching the documentation of
> those packages as part of our "normal" Help commands. But until we
> have done that, I see no reason to make that section in the manual
> less efficient just so we could say we are more complete. I think
> doing so will result in net loss.
I don't think mentioning 'list-packages' would make the manual less efficient.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#50936: "(emacs) Help" does say how to find external packages
2021-10-01 17:28 ` Stefan Kangas
@ 2021-10-01 17:54 ` Eli Zaretskii
0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-10-01 17:54 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 50936
> From: Stefan Kangas <stefan@marxist.se>
> Date: Fri, 1 Oct 2021 19:28:30 +0200
> Cc: 50936@debbugs.gnu.org
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > The manual explains what is available in Emacs. If the user looks for
> > features not in Emacs, it is okay not to find them in our
> > documentation. It is unrealistic for use to provide ways to find
> > features outside of Emacs, because they are too many.
>
> I'm not suggesting to list features, but to say that 'list-packages'
> exist. That command is a part of Emacs.
Depends on what you say there, I guess.
^ permalink raw reply [flat|nested] 9+ messages in thread
* bug#50936: "(emacs) Help" does say how to find external packages
2021-10-01 12:31 ` Eli Zaretskii
2021-10-01 13:15 ` Stefan Kangas
@ 2022-09-03 12:46 ` Lars Ingebrigtsen
1 sibling, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-03 12:46 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 50936, Stefan Kangas
Eli Zaretskii <eliz@gnu.org> writes:
>> I'm not sure if the recommendation should be changed, or simply
>> amended to also mention M-x list-packages.
>
> It's okay to also mention list-packages, but if so, the text should
> explicitly say that it's for features and packages not included in
> the core distribution.
I've now done this in Emacs 29.
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2022-09-03 12:46 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-01 11:48 bug#50936: "(emacs) Help" does say how to find external packages Stefan Kangas
2021-10-01 12:31 ` Eli Zaretskii
2021-10-01 13:15 ` Stefan Kangas
2021-10-01 13:28 ` Eli Zaretskii
2021-10-01 14:42 ` Stefan Kangas
2021-10-01 15:46 ` Eli Zaretskii
2021-10-01 17:28 ` Stefan Kangas
2021-10-01 17:54 ` Eli Zaretskii
2022-09-03 12:46 ` Lars Ingebrigtsen
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.