GNU bug report logs - #50936
"(emacs) Help" does say how to find external packages

Previous Next

Package: emacs;

Reported by: Stefan Kangas <stefan <at> marxist.se>

Date: Fri, 1 Oct 2021 11:50:01 UTC

Severity: wishlist

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50936 in the body.
You can then email your comments to 50936 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Fri, 01 Oct 2021 11:50:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stefan Kangas <stefan <at> marxist.se>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 01 Oct 2021 11:50:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: bug-gnu-emacs <at> gnu.org
Subject: "(emacs) Help" does say how to find external packages
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.

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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Fri, 01 Oct 2021 12:32:02 GMT) Full text and rfc822 format available.

Message #8 received at 50936 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50936 <at> debbugs.gnu.org
Subject: Re: bug#50936: "(emacs) Help" does say how to find external packages
Date: Fri, 01 Oct 2021 15:31:20 +0300
> From: Stefan Kangas <stefan <at> 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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Fri, 01 Oct 2021 13:16:02 GMT) Full text and rfc822 format available.

Message #11 received at 50936 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50936 <at> debbugs.gnu.org
Subject: Re: bug#50936: "(emacs) Help" does say how to find external packages
Date: Fri, 1 Oct 2021 15:15:26 +0200
Eli Zaretskii <eliz <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Fri, 01 Oct 2021 13:30:03 GMT) Full text and rfc822 format available.

Message #14 received at 50936 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50936 <at> debbugs.gnu.org
Subject: Re: bug#50936: "(emacs) Help" does say how to find external packages
Date: Fri, 01 Oct 2021 16:28:49 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Fri, 1 Oct 2021 15:15:26 +0200
> Cc: 50936 <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Fri, 01 Oct 2021 14:43:02 GMT) Full text and rfc822 format available.

Message #17 received at 50936 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50936 <at> debbugs.gnu.org
Subject: Re: bug#50936: "(emacs) Help" does say how to find external packages
Date: Fri, 1 Oct 2021 16:42:13 +0200
Eli Zaretskii <eliz <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Fri, 01 Oct 2021 15:48:02 GMT) Full text and rfc822 format available.

Message #20 received at 50936 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50936 <at> debbugs.gnu.org
Subject: Re: bug#50936: "(emacs) Help" does say how to find external packages
Date: Fri, 01 Oct 2021 18:46:36 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Fri, 1 Oct 2021 16:42:13 +0200
> Cc: 50936 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Fri, 01 Oct 2021 17:29:01 GMT) Full text and rfc822 format available.

Message #23 received at 50936 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50936 <at> debbugs.gnu.org
Subject: Re: bug#50936: "(emacs) Help" does say how to find external packages
Date: Fri, 1 Oct 2021 19:28:30 +0200
Eli Zaretskii <eliz <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Fri, 01 Oct 2021 17:55:01 GMT) Full text and rfc822 format available.

Message #26 received at 50936 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 50936 <at> debbugs.gnu.org
Subject: Re: bug#50936: "(emacs) Help" does say how to find external packages
Date: Fri, 01 Oct 2021 20:54:18 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Fri, 1 Oct 2021 19:28:30 +0200
> Cc: 50936 <at> debbugs.gnu.org
> 
> Eli Zaretskii <eliz <at> 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.




Severity set to 'wishlist' from 'minor' Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Tue, 05 Oct 2021 23:27:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50936; Package emacs. (Sat, 03 Sep 2022 12:47:01 GMT) Full text and rfc822 format available.

Message #31 received at 50936 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50936 <at> debbugs.gnu.org, Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#50936: "(emacs) Help" does say how to find external packages
Date: Sat, 03 Sep 2022 14:46:34 +0200
Eli Zaretskii <eliz <at> 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.





bug marked as fixed in version 29.1, send any further explanations to 50936 <at> debbugs.gnu.org and Stefan Kangas <stefan <at> marxist.se> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sat, 03 Sep 2022 12:47:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 02 Oct 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 207 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.