all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Pieter van Oostrum <pieter@vanoostrum.org>
Cc: 39436-done@debbugs.gnu.org
Subject: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
Date: Sat, 08 Feb 2020 11:41:42 +0200	[thread overview]
Message-ID: <83eev5e7qh.fsf@gnu.org> (raw)
In-Reply-To: <24122.56063.455926.185727@cochabamba.vanoostrum.org> (message from Pieter van Oostrum on Wed, 5 Feb 2020 16:10:55 +0100)

> Date: Wed, 5 Feb 2020 16:10:55 +0100
> From: Pieter van Oostrum <pieter@vanoostrum.org>
> 
> The documentation (C-h f) for package-menu-hide-package says:
> 
> """
> Hide a package under point in Package Menu.
> If optional arg BUTTON is non-nil, describe its associated package.
> """
> 
> This is incorrect. (1) There is no optional arg BUTTON.
> (2) It doesn't hide package under point. Instead it asks for a regpexp
> (defaulting to the name of the package under point), and hides packages
> that match the regexp.

Fixed.

> This is also the description in the Emacs info file:
> 
> """
> 
> ‘H’
>      Permanently hide packages that match a regexp
>      (‘package-menu-hide-package’).
> """
> (although "permanently" sounds quite strong to me.)

I've removed "Permanently" and made the description more detailed.

> and the menu entry correctly says "Hide by Regexp", and the associated
> help info also is "Permanently hide all packages matching a regexp".

Removed "Permanently" here as well.

> On a side node, in the package-menu-mode-map, this entry and another one uses #', whereas the other just use '.
> 
> """
>     (define-key map "h" 'package-menu-quick-help)
>     (define-key map "H" #'package-menu-hide-package)
>     (define-key map "?" 'package-menu-describe-package)
>     (define-key map "(" #'package-menu-toggle-hiding)
> """
> Is there a reason for this discrepancy?

This is the "brave new world" of function quoting advancing slowly
through our sources.

Thanks.





  reply	other threads:[~2020-02-08  9:41 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-05 15:10 bug#39436: 27.0.60; Documentaion error for package-menu-hide-package Pieter van Oostrum
2020-02-08  9:41 ` Eli Zaretskii [this message]
2020-02-08 13:58   ` Pieter van Oostrum
2020-02-08 14:32     ` Eli Zaretskii
2020-02-09 16:08       ` Pieter van Oostrum
2020-02-09 16:50         ` Eli Zaretskii
2020-02-09 20:50           ` Stefan Kangas
2020-02-15  8:16             ` Eli Zaretskii
2020-02-09 16:52         ` Pieter van Oostrum
2020-02-09 17:32           ` Eli Zaretskii
2020-02-09 19:44             ` Pieter van Oostrum
2020-02-09 20:28               ` Pieter van Oostrum
2020-02-09 20:36                 ` Stefan Kangas
2020-02-09 20:30               ` Stefan Kangas
     [not found] ` <handler.39436.D39436.158115493214005.notifdone@debbugs.gnu.org>
2020-02-09 21:00   ` bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) Stefan Kangas
2020-02-15  8:25     ` Eli Zaretskii
2020-02-15 10:31       ` Pieter van Oostrum
2020-03-11  2:07       ` Stefan Kangas
2020-03-11  7:36         ` Pieter van Oostrum
2020-03-11 20:37           ` Stefan Kangas
2020-03-11 22:10             ` Pieter van Oostrum
2020-03-14  9:05               ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83eev5e7qh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=39436-done@debbugs.gnu.org \
    --cc=pieter@vanoostrum.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.