GNU bug report logs - #39436
27.0.60; Documentation error for package-menu-hide-package

Previous Next

Package: emacs;

Reported by: Pieter van Oostrum <pieter <at> vanoostrum.org>

Date: Wed, 5 Feb 2020 15:12:01 UTC

Severity: normal

Found in version 27.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Pieter van Oostrum <pieter-l <at> vanoostrum.org>
Cc: 39436 <at> debbugs.gnu.org
Subject: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
Date: Sat, 08 Feb 2020 16:32:28 +0200
> From: Pieter van Oostrum <pieter-l <at> vanoostrum.org>
> Cc: eliz <at> gnu.org,  pieter <at> vanoostrum.org
> Date: Sat, 08 Feb 2020 14:58:27 +0100
> 
> This part isn't correct.
> 
> The default value of the
> regexp will hide only the package whose name is at point, so just
> pressing @key{RET} to the prompt will hide the current package.
> 
> It will hide every package whose name STARTS WITH the name of the
> current package

Which is a bug in the code, not in the documentation, IMO.  It makes
no sense to show as default a regexp that will hide more than just the
package at point.

This is why I said in the documentation what I think should happen,
although I did see the regexp we offer as the default.  Patches to
make the code do what it should are welcome.




This bug report was last modified 5 years and 133 days ago.

Previous Next


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