* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
@ 2020-02-05 15:10 Pieter van Oostrum
2020-02-08 9:41 ` Eli Zaretskii
[not found] ` <handler.39436.D39436.158115493214005.notifdone@debbugs.gnu.org>
0 siblings, 2 replies; 22+ messages in thread
From: Pieter van Oostrum @ 2020-02-05 15:10 UTC (permalink / raw)
To: 39436
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.
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.)
and the menu entry correctly says "Hide by Regexp", and the associated
help info also is "Permanently hide all packages matching a regexp".
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?
In GNU Emacs 27.0.60 (build 1, i686-apple-darwin10.0.0, NS appkit-1561.61 Version 10.13.6 (Build 17G10021))
of 2020-02-05 built on cochabamba.vanoostrum.org
Repository revision: 831508422e26e6d88dd5d8960e2569c489604c85
Repository branch: emacs-27
Windowing system distributor 'Apple', version 10.3.1561
System Description: Mac OS X 10.13.6
Recent messages:
Info-search: Search failed: "package-menu-hide-package" [2 times]
Mark saved where search started
Mark set
command-execute: Command attempted to use minibuffer while in minibuffer
Mark saved where search started
command-execute: Buffer is read-only: #<buffer *Help*>
Quit [2 times]
C-M-g is undefined
Mark set
Mark saved where search started
Configured using:
'configure --build i686-apple-darwin10.0.0 --without-dbus --with-ns
--enable-checking=yes,glyphs --enable-check-lisp-object-type
'CFLAGS=-pipe -march=nocona -O0 -g3'
build_alias=i686-apple-darwin10.0.0
PKG_CONFIG_PATH=/opt/local/lib/pkgconfig/:/usr/X11R6/pkgconfig/:/usr/local/lib/pkgconfig/:/usr/lib/pkgconfig/'
Configured features:
RSVG GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS XIM
NS MODULES THREADS PDUMPER LCMS2
Important settings:
value of $LC_CTYPE: UTF-8
value of $LANG: en_GB.UTF-8
locale-coding-system: utf-8-unix
Major mode: Buffer Menu
Minor modes in effect:
global-magit-file-mode: t
magit-auto-revert-mode: t
global-git-commit-mode: t
async-bytecomp-package-mode: t
smartparens-global-mode: t
flycheck-pos-tip-mode: t
global-flycheck-mode: t
shell-dirtrack-mode: t
TeX-PDF-mode: t
recentf-mode: t
global-undo-tree-mode: t
undo-tree-mode: t
global-so-long-mode: t
show-paren-mode: t
display-time-mode: t
delete-selection-mode: t
desktop-save-mode: t
tooltip-mode: t
global-eldoc-mode: t
electric-indent-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
global-visual-line-mode: t
visual-line-mode: t
transient-mark-mode: t
Load-path shadows:
/Users/pieter/Library/Application Support/Emacs/site-lisp/isend-mode hides /Users/pieter/.emacs.d/elpa/isend-mode-20190201.832/isend-mode
/Users/pieter/.emacs.d/elpa/el-get-20181006.225/el-get-install hides /Users/pieter/.emacs.d/elpa/load-relative-20190601.1221/el-get-install
/Users/pieter/Library/Application Support/Emacs/site-lisp/web-mode hides /Users/pieter/.emacs.d/elpa/web-mode-20191104.1859/web-mode
/Users/pieter/Library/Application Support/Emacs/site-lisp/websocket hides /Users/pieter/.emacs.d/elpa/websocket-20200102.637/websocket
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-texinfo hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-texinfo
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-publish hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-publish
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-org hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-org
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-odt hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-odt
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-md hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-md
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-man hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-man
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-latex hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-latex
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-icalendar hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-icalendar
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-html hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-html
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-beamer hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-beamer
/Users/pieter/.emacs.d/elpa/org-9.3.3/ox-ascii hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ox-ascii
/Users/pieter/.emacs.d/elpa/org-9.3.3/org hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-version hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-version
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-timer hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-timer
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-tempo hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-tempo
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-table hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-table
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-src hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-src
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-protocol hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-protocol
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-plot hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-plot
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-pcomplete hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-pcomplete
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-num hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-num
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-mouse hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-mouse
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-mobile hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-mobile
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-macs hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-macs
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-macro hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-macro
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-loaddefs hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-loaddefs
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-list hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-list
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-lint hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-lint
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-keys hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-keys
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-install hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-install
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-inlinetask hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-inlinetask
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-indent hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-indent
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-id hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-id
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-habit hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-habit
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-goto hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-goto
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-footnote hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-footnote
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-feed hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-feed
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-faces hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-faces
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-entities hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-entities
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-element hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-element
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-duration hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-duration
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-datetree hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-datetree
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-ctags hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-ctags
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-crypt hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-crypt
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-compat hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-compat
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-colview hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-colview
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-clock hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-clock
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-capture hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-capture
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-attach hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-attach
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-attach-git hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-attach-git
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-archive hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-archive
/Users/pieter/.emacs.d/elpa/org-9.3.3/org-agenda hides /Applications/Emacs27.app/Contents/Resources/lisp/org/org-agenda
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-w3m hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-w3m
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-rmail hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-rmail
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-mhe hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-mhe
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-irc hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-irc
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-info hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-info
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-gnus hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-gnus
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-eww hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-eww
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-eshell hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-eshell
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-docview hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-docview
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-bibtex hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-bibtex
/Users/pieter/.emacs.d/elpa/org-9.3.3/ol-bbdb hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ol-bbdb
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-vala hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-vala
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-tangle hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-tangle
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-table hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-table
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-stan hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-stan
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-sqlite hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-sqlite
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-sql hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-sql
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-shen hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-shen
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-shell hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-shell
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-sed hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-sed
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-screen hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-screen
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-scheme hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-scheme
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-sass hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-sass
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ruby hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-ruby
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ref hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-ref
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-R hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-R
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-python hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-python
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-processing hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-processing
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-plantuml hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-plantuml
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-picolisp hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-picolisp
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-perl hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-perl
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-org hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-org
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-octave hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-octave
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ocaml hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-ocaml
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-mscgen hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-mscgen
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-maxima hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-maxima
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-matlab hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-matlab
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-makefile hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-makefile
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-lua hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-lua
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-lob hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-lob
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-lisp hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-lisp
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-lilypond hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-lilypond
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ledger hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-ledger
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-latex hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-latex
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-js hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-js
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-java hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-java
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-J hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-J
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-io hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-io
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-hledger hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-hledger
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-haskell hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-haskell
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-groovy hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-groovy
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-gnuplot hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-gnuplot
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-fortran hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-fortran
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-forth hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-forth
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-exp hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-exp
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-eval hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-eval
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-eshell hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-eshell
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-emacs-lisp hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-emacs-lisp
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ebnf hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-ebnf
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-dot hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-dot
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ditaa hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-ditaa
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-css hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-css
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-core hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-core
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-coq hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-coq
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-comint hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-comint
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-clojure hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-clojure
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-calc hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-calc
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-C hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-C
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-awk hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-awk
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-asymptote hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-asymptote
/Users/pieter/.emacs.d/elpa/org-9.3.3/ob-abc hides /Applications/Emacs27.app/Contents/Resources/lisp/org/ob-abc
/Users/pieter/Library/Application Support/Emacs/site-lisp/package hides /Applications/Emacs27.app/Contents/Resources/lisp/emacs-lisp/package
/Users/pieter/.emacs.d/elpa/company-20200110.929/company hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-xcode hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-xcode
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-tempo hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-tempo
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-template hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-template
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-semantic hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-semantic
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-oddmuse hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-oddmuse
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-nxml hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-nxml
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-keywords hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-keywords
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-ispell hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-ispell
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-gtags hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-gtags
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-files hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-files
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-etags hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-etags
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-elisp hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-elisp
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-eclim hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-eclim
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-dabbrev hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-dabbrev
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-dabbrev-code hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-dabbrev-code
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-css hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-css
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-clang hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-clang
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-capf hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-capf
/Users/pieter/.emacs.d/elpa/company-20200110.929/company-abbrev hides /Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-master/company-abbrev
/Users/pieter/.emacs.d/elpa/tabbar-20180726.1735/tabbar hides /Users/pieter/Library/Application Support/Emacs/site-lisp/tabbar/tabbar
/Users/pieter/Library/Application Support/Emacs/site-lisp/vcard hides /Users/pieter/Library/Application Support/Emacs/site-lisp/vm-trunk/lisp/vcard
Features:
(shadow bbdb-message sort smiley gnus-cite mail-extr gnus-async
gnus-bcklg qp gnus-ml nndraft nnmh nnfolder bbdb-gnus gnus-agent
gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu
mml2015 mm-view mml-smime smime dig nntp gnus-cache apropos emacsbug
magit-extras magit-submodule magit-obsolete magit-blame magit-stash
magit-reflog magit-bisect magit-push magit-pull magit-fetch magit-clone
magit-remote magit-commit magit-sequence magit-notes magit-worktree
magit-tag magit-merge magit-branch magit-reset magit-files magit-refs
magit-status magit magit-repos magit-apply magit-wip magit-log
which-func magit-diff smerge-mode magit-core magit-autorevert
magit-margin magit-transient magit-process magit-mode git-commit
texmathp with-editor async-bytecomp async transient magit-git
magit-section magit-utils log-edit pcvs-util add-log term disp-table
ehelp ol-eww ol-rmail ol-mhe ol-irc ol-info ol-gnus ol-docview ol-bibtex
ol-bbdb ol-w3m org-clock tempo ox-odt rng-loc rng-uri rng-parse
rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok
nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox
org-element org-agenda avl-tree org-attach org-id smartparens-org org
org-macro org-footnote org-pcomplete org-list org-faces org-entities
org-version ob-emacs-lisp org-table org-loaddefs cal-menu calendar
cal-loaddefs nnir gnus-sum shr svg xml dom gnus-group gnus-undo
gnus-start gnus-cloud nnimap netrc nnoo gnus-spec gnus-win esh-mode
bibtex ob-octave ebnf2ps ps-print ps-print-loaddefs ps-def lpr
calc-store calc-trail calc-ext calc calc-loaddefs calc-macs ob ob-tangle
ol org-src ob-ref ob-lob ob-table ob-exp ob-comint ob-core ob-eval
org-keys org-compat org-macs cc-mode cc-fonts cc-guess cc-menus cc-cmds
cc-styles cc-align cc-engine cc-vars cc-defs autoload lisp-mnt tar-mode
arc-mode archive-mode let-alist dired-aux misearch multi-isearch pp
cl-print eieio-opt speedbar sb-image ezimage dframe package-x mm-archive
gnutls network-stream url-http url-gw nsm url-cache url-auth url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap vm-delete w3m-cookie tapestry bug-reference
w3m-form vm-save vm-sort vm-pcrisis vm-w3m mailalias nnmail gnus-int
gnus-range mail-source vm-pine vm-rfaddons vm-undo vm-minibuf bbdb-vm
vm-message vm-macro vm-virtual vm-summary-faces vm-pop utf7 vm-imap
vm-thread vm-mouse vm-toolbar vm-menu vm-crypto vm-summary bbdb-mua vm
preview prv-emacs noutline outline font-latex tex-mode autorevert
filenotify vc-git diff-mode imenu server wgrep smartparens-config
smartparens-text smartparens-python smartparens-latex smartparens
multiple-cursors mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors
mc-edit-lines multiple-cursors-core rect flycheck-pos-tip pos-tip
flycheck find-func dash yasnippet-classic-snippets yasnippet
highlight-indentation company-capf company pcase help-fns radix-tree
elpy elpy-rpc pyvenv eshell esh-cmd esh-ext esh-opt esh-proc esh-io
esh-arg esh-module esh-groups esh-util elpy-shell elpy-profile
elpy-django s elpy-refactor python tramp-sh tramp tramp-loaddefs
trampver tramp-integration tramp-compat shell pcomplete parse-time
iso8601 ls-lisp ido grep files-x etags fileloop generator xref project
cus-edit info-look auctex-latexmk tex-buf latex latex-flymake
flymake-proc flymake compile comint ansi-color ring warnings thingatpt
tex-ispell tex-style tex ediff ediff-merg ediff-mult ediff-wind
ediff-diff ediff-help ediff-init ediff-util isend bbdb-vcard bbdb-com
crm vcard bbdb bbdb-site bbdb-loaddefs message-x message rmc puny
format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse
rfc2231 mailabbrev gmm-utils mailheader cl w3m doc-view image-mode exif
timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon
w3m-image w3m-proc w3m-util smtpmail sendmail vm-pgg vm-motion vm-reply
vm-mime vm-page vm-window vm-folder vm-misc pgg pgg-parse pgg-def
vm-autoloads vm-version vm-vars epa-file epa epg epg-config dired-x
dired dired-loaddefs neotree advice recentf tree-widget undo-tree
derived easy-mmode cl-extra help-mode edmacro kmacro diff flyspell
ispell so-long exec-path-from-shell jka-compr paren gnus nnheader
gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums
text-property-search time-date mail-utils mm-util mail-prsvr wid-edit
elec-pair time delsel cus-start cus-load finder-inf desktop frameset rx
tex-site info package easymenu browse-url url-handlers url-parse
auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs
password-cache json subr-x map url-vars seq byte-opt gv bytecomp
byte-compile cconv cl-loaddefs cl-lib tooltip eldoc electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win
ucs-normalize mule-util term/common-win tool-bar dnd fontset image
regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
timer select scroll-bar mouse jit-lock font-lock syntax facemenu
font-core term/tty-colors frame minibuffer cl-generic cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european
ethiopic indian cyrillic chinese composite charscript charprop
case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote threads kqueue cocoa ns
lcms2 multi-tty make-network-process emacs)
Memory information:
((conses 16 2377426 199680)
(symbols 48 80013 4)
(strings 32 421671 36602)
(string-bytes 1 16347375)
(vectors 16 177195)
(vector-slots 8 2740945 234138)
(floats 8 918 1038)
(intervals 56 252358 7090)
(buffers 1000 103))
--
Pieter van Oostrum <pieter@vanoostrum.org>
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
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
2020-02-08 13:58 ` Pieter van Oostrum
[not found] ` <handler.39436.D39436.158115493214005.notifdone@debbugs.gnu.org>
1 sibling, 1 reply; 22+ messages in thread
From: Eli Zaretskii @ 2020-02-08 9:41 UTC (permalink / raw)
To: Pieter van Oostrum; +Cc: 39436-done
> 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.
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-08 9:41 ` Eli Zaretskii
@ 2020-02-08 13:58 ` Pieter van Oostrum
2020-02-08 14:32 ` Eli Zaretskii
0 siblings, 1 reply; 22+ messages in thread
From: Pieter van Oostrum @ 2020-02-08 13:58 UTC (permalink / raw)
To: 39436; +Cc: pieter
Eli Zaretskii <eliz@gnu.org> writes:
>> 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.
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 The default regexp is \`<name>; for the description to
be correct it should be \`<name>\'. In fact I think this would be a
better default, but it would be an incompatible change (but not very
serious). Given the wrong previous documentation, it might even have
been the original intention.
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-08 13:58 ` Pieter van Oostrum
@ 2020-02-08 14:32 ` Eli Zaretskii
2020-02-09 16:08 ` Pieter van Oostrum
0 siblings, 1 reply; 22+ messages in thread
From: Eli Zaretskii @ 2020-02-08 14:32 UTC (permalink / raw)
To: Pieter van Oostrum; +Cc: 39436
> From: Pieter van Oostrum <pieter-l@vanoostrum.org>
> Cc: eliz@gnu.org, pieter@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.
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
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 16:52 ` Pieter van Oostrum
0 siblings, 2 replies; 22+ messages in thread
From: Pieter van Oostrum @ 2020-02-09 16:08 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 39436
[-- Attachment #1: Type: text/plain, Size: 243 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
> 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.
Here is a patch:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Correct-default-regexp-in-package-menu-hide-package.patch --]
[-- Type: text/x-patch, Size: 1228 bytes --]
From 8dd8dc4950f3ad265623684307b322af53200598 Mon Sep 17 00:00:00 2001
From: Pieter van Oostrum <pieter@vanoostrum.org>
Date: Sun, 9 Feb 2020 16:55:29 +0100
Subject: [PATCH] Correct default regexp in 'package-menu-hide-package'
* lisp/emacs-lisp/package.el (package-menu-mode-menu): Correct default
regexp, so it only selects the package at point.
(Bug#39436)
---
lisp/emacs-lisp/package.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 64d2001646..b652dc9d6e 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -3195,7 +3195,8 @@ package-menu-hide-package
(declare (interactive-only "change `package-hidden-regexps' instead."))
(let* ((name (when (derived-mode-p 'package-menu-mode)
(concat "\\`" (regexp-quote (symbol-name (package-desc-name
- (tabulated-list-get-id)))))))
+ (tabulated-list-get-id))))
+ "\\'")))
(re (read-string "Hide packages matching regexp: " name)))
;; Test if it is valid.
(string-match re "")
--
2.25.0
[-- Attachment #3: Type: text/plain, Size: 87 bytes --]
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
^ permalink raw reply related [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-09 16:08 ` Pieter van Oostrum
@ 2020-02-09 16:50 ` Eli Zaretskii
2020-02-09 20:50 ` Stefan Kangas
2020-02-09 16:52 ` Pieter van Oostrum
1 sibling, 1 reply; 22+ messages in thread
From: Eli Zaretskii @ 2020-02-09 16:50 UTC (permalink / raw)
To: Pieter van Oostrum, Stefan Monnier; +Cc: 39436
> From: Pieter van Oostrum <pieter-l@vanoostrum.org>
> Cc: 39436@debbugs.gnu.org
> Date: Sun, 09 Feb 2020 17:08:08 +0100
>
> * lisp/emacs-lisp/package.el (package-menu-mode-menu): Correct default
> regexp, so it only selects the package at point.
> (Bug#39436)
> ---
> lisp/emacs-lisp/package.el | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
> index 64d2001646..b652dc9d6e 100644
> --- a/lisp/emacs-lisp/package.el
> +++ b/lisp/emacs-lisp/package.el
> @@ -3195,7 +3195,8 @@ package-menu-hide-package
> (declare (interactive-only "change `package-hidden-regexps' instead."))
> (let* ((name (when (derived-mode-p 'package-menu-mode)
> (concat "\\`" (regexp-quote (symbol-name (package-desc-name
> - (tabulated-list-get-id)))))))
> + (tabulated-list-get-id))))
> + "\\'")))
> (re (read-string "Hide packages matching regexp: " name)))
> ;; Test if it is valid.
> (string-match re "")
Thanks!
Does anyone see a reason why this change could be unsafe on the
emacs-27 branch?
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-09 16:50 ` Eli Zaretskii
@ 2020-02-09 20:50 ` Stefan Kangas
2020-02-15 8:16 ` Eli Zaretskii
0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2020-02-09 20:50 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Pieter van Oostrum, 39436, Stefan Monnier
Eli Zaretskii <eliz@gnu.org> writes:
> Does anyone see a reason why this change could be unsafe on the
> emacs-27 branch?
FWIW, I don't see any reason to consider it unsafe.
Best regards,
Stefan Kangas
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-09 20:50 ` Stefan Kangas
@ 2020-02-15 8:16 ` Eli Zaretskii
0 siblings, 0 replies; 22+ messages in thread
From: Eli Zaretskii @ 2020-02-15 8:16 UTC (permalink / raw)
To: Stefan Kangas; +Cc: pieter-l, 39436, monnier
> From: Stefan Kangas <stefan@marxist.se>
> Cc: Pieter van Oostrum <pieter-l@vanoostrum.org>, Stefan Monnier
> <monnier@iro.umontreal.ca>, 39436@debbugs.gnu.org
> Date: Sun, 09 Feb 2020 21:50:46 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Does anyone see a reason why this change could be unsafe on the
> > emacs-27 branch?
>
> FWIW, I don't see any reason to consider it unsafe.
Thanks, installed on the emacs-27 branch.
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-09 16:08 ` Pieter van Oostrum
2020-02-09 16:50 ` Eli Zaretskii
@ 2020-02-09 16:52 ` Pieter van Oostrum
2020-02-09 17:32 ` Eli Zaretskii
1 sibling, 1 reply; 22+ messages in thread
From: Pieter van Oostrum @ 2020-02-09 16:52 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 39436
There is another strange thing in package.el. I wonder if it needs its own bug report or can be put under the current cover.
There are two menu entries for the operation revert-buffer (r), each with slightly different, and I would say not exactly consistent, descriptions.
["Refresh Package List" revert-buffer
:help "Redownload the ELPA archive"
:active (not package--downloads-in-progress)]
["Redisplay buffer" revert-buffer :help "Update the buffer with current list of packages"]
I guess one of them might be a legacy left-over.
Moreover, they should both have the (not package--downloads-in-progress) condition.
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-09 16:52 ` Pieter van Oostrum
@ 2020-02-09 17:32 ` Eli Zaretskii
2020-02-09 19:44 ` Pieter van Oostrum
0 siblings, 1 reply; 22+ messages in thread
From: Eli Zaretskii @ 2020-02-09 17:32 UTC (permalink / raw)
To: Pieter van Oostrum; +Cc: 39436
> From: Pieter van Oostrum <pieter-l@vanoostrum.org>
> Cc: 39436@debbugs.gnu.org
> Date: Sun, 09 Feb 2020 17:52:28 +0100
>
> There are two menu entries for the operation revert-buffer (r), each with slightly different, and I would say not exactly consistent, descriptions.
>
> ["Refresh Package List" revert-buffer
> :help "Redownload the ELPA archive"
> :active (not package--downloads-in-progress)]
> ["Redisplay buffer" revert-buffer :help "Update the buffer with current list of packages"]
>
> I guess one of them might be a legacy left-over.
Looks like that. Can you use the Git history commands to find out how
we arrived at this situation?
Thanks.
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
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:30 ` Stefan Kangas
0 siblings, 2 replies; 22+ messages in thread
From: Pieter van Oostrum @ 2020-02-09 19:44 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 39436
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Pieter van Oostrum <pieter-l@vanoostrum.org>
>> Cc: 39436@debbugs.gnu.org
>> Date: Sun, 09 Feb 2020 17:52:28 +0100
>>
>> There are two menu entries for the operation revert-buffer (r), each with slightly different, and I would say not exactly consistent, descriptions.
>>
>> ["Refresh Package List" revert-buffer
>> :help "Redownload the ELPA archive"
>> :active (not package--downloads-in-progress)]
>> ["Redisplay buffer" revert-buffer :help "Update the buffer with current list of packages"]
>>
>> I guess one of them might be a legacy left-over.
>
> Looks like that. Can you use the Git history commands to find out how
> we arrived at this situation?
This was changed in commit 0c293f1520, with a correction in d30f5e7eee, both by Stefan Kangas, as a response to bug #35504.
Before the change there were two functions:
(1) 'revert-buffer', bound to "g" and "Redisplay buffer", inherited from special-mode, via tabulated-list-mode. This reverted the buffer from the in-core data structure.
(2) package-menu-refresh, bound to 'r' and "Refresh Package List", that reloaded the package list from the archives.
The patch merged these functions into a single one, and bound it to "r", and changed the "Refresh Package List" menu entry to revert-buffer. The function is also still bound to "g" by inheritance from special-mode.
It also made 'package-menu-refresh' obsolete as an alias to 'revert-buffer'.
And it changed revert-buffer to also load the package list, by setting 'revert-buffer-function' to the internal function 'package-menu--refresh'. But the menu entry "Redisplay buffer" was not removed, and it actually is wrong now, because it doesn't conditionally activate it on '(not package--downloads-in-progress)'.
So I think this is the one that should be removed (also because it does more than just redisplaying the buffer). I think that's the only change that is necessary.
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
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
1 sibling, 1 reply; 22+ messages in thread
From: Pieter van Oostrum @ 2020-02-09 20:28 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 39436
[-- Attachment #1: Type: text/plain, Size: 17 bytes --]
Proposed patch:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Remove-obsolete-menu-entry-Redisplay-buffer.patch --]
[-- Type: text/x-patch, Size: 1239 bytes --]
From 56bb338bf9789450a70fc6319c8b67e7268c57c1 Mon Sep 17 00:00:00 2001
From: Pieter van Oostrum <pieter@vanoostrum.org>
Date: Sun, 9 Feb 2020 21:22:55 +0100
Subject: [PATCH] Remove obsolete menu entry "Redisplay buffer"
* lisp/emacs-lisp/package.el (package-menu-mode-menu): Remove obsolete
menu entry "Redisplay buffer".
(package-menu-mode-menu): Menu entry "Refresh Package List":
make the doc string more accurate.
(Bug#39436)
---
lisp/emacs-lisp/package.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index b652dc9d6e..10ce19525a 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2714,9 +2714,8 @@ package-menu-mode-menu
["Help" package-menu-quick-help :help "Show short key binding help for package-menu-mode"]
"--"
["Refresh Package List" revert-buffer
- :help "Redownload the ELPA archive"
+ :help "Redownload the package archive(s)"
:active (not package--downloads-in-progress)]
- ["Redisplay buffer" revert-buffer :help "Update the buffer with current list of packages"]
["Execute Marked Actions" package-menu-execute :help "Perform all the marked actions"]
"--"
--
2.25.0
[-- Attachment #3: Type: text/plain, Size: 185 bytes --]
I have also corrected the Refresh Package List doc string: there can be other archives than ELPA.
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
^ permalink raw reply related [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-09 20:28 ` Pieter van Oostrum
@ 2020-02-09 20:36 ` Stefan Kangas
0 siblings, 0 replies; 22+ messages in thread
From: Stefan Kangas @ 2020-02-09 20:36 UTC (permalink / raw)
To: Pieter van Oostrum; +Cc: 39436
Pieter van Oostrum <pieter-l@vanoostrum.org> writes:
> diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
> index b652dc9d6e..10ce19525a 100644
> --- a/lisp/emacs-lisp/package.el
> +++ b/lisp/emacs-lisp/package.el
> @@ -2714,9 +2714,8 @@ package-menu-mode-menu
> ["Help" package-menu-quick-help :help "Show short key binding help for package-menu-mode"]
> "--"
> ["Refresh Package List" revert-buffer
> - :help "Redownload the ELPA archive"
> + :help "Redownload the package archive(s)"
> :active (not package--downloads-in-progress)]
> - ["Redisplay buffer" revert-buffer :help "Update the buffer with current list of packages"]
> ["Execute Marked Actions" package-menu-execute :help "Perform all the marked actions"]
This looks correct to me.
Best regards,
Stefan Kangas
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: 27.0.60; Documentaion error for package-menu-hide-package
2020-02-09 19:44 ` Pieter van Oostrum
2020-02-09 20:28 ` Pieter van Oostrum
@ 2020-02-09 20:30 ` Stefan Kangas
1 sibling, 0 replies; 22+ messages in thread
From: Stefan Kangas @ 2020-02-09 20:30 UTC (permalink / raw)
To: Pieter van Oostrum; +Cc: 39436
Pieter van Oostrum <pieter-l@vanoostrum.org> writes:
> And it changed revert-buffer to also load the package list, by setting
> 'revert-buffer-function' to the internal function 'package-menu--refresh'. But
> the menu entry "Redisplay buffer" was not removed, and it actually is wrong now,
> because it doesn't conditionally activate it on '(not
> package--downloads-in-progress)'.
Indeed. Note that the condition here is probably a bit simplistic;
see Bug#39187. I'm working on implementing the fix suggested there,
and will add a reminder to also change this menu entry. IOW, we can
leave it as is in the context of this bug.
> So I think this is the one that should be removed (also because it
> does more than just redisplaying the buffer). I think that's the
> only change that is necessary.
Agreed.
Best regards,
Stefan Kangas
^ permalink raw reply [flat|nested] 22+ messages in thread
[parent not found: <handler.39436.D39436.158115493214005.notifdone@debbugs.gnu.org>]
* bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package)
[not found] ` <handler.39436.D39436.158115493214005.notifdone@debbugs.gnu.org>
@ 2020-02-09 21:00 ` Stefan Kangas
2020-02-15 8:25 ` Eli Zaretskii
0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2020-02-09 21:00 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Pieter van Oostrum, 39436
help-debbugs@gnu.org (GNU bug Tracking System) writes:
>> (although "permanently" sounds quite strong to me.)
>
> I've removed "Permanently" and made the description more detailed.
Thanks. But in the new text, there seems to be no indication that the
hidden status is saved for future sessions.
I'm not sure how to best describe that, if we feel that "permanently"
is not clear enough. Maybe we could say something along the lines of
"for all future sessions" or somesuch. It's probably also a good idea
to mention the variable package-hidden-regexps.
WDYT?
Best regards,
Stefan Kangas
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package)
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
0 siblings, 2 replies; 22+ messages in thread
From: Eli Zaretskii @ 2020-02-15 8:25 UTC (permalink / raw)
To: Stefan Kangas; +Cc: pieter, 39436
> From: Stefan Kangas <stefan@marxist.se>
> Cc: Pieter van Oostrum <pieter@vanoostrum.org>, 39436@debbugs.gnu.org
> Date: Sun, 09 Feb 2020 22:00:27 +0100
>
> help-debbugs@gnu.org (GNU bug Tracking System) writes:
>
> >> (although "permanently" sounds quite strong to me.)
> >
> > I've removed "Permanently" and made the description more detailed.
>
> Thanks. But in the new text, there seems to be no indication that the
> hidden status is saved for future sessions.
>
> I'm not sure how to best describe that, if we feel that "permanently"
> is not clear enough. Maybe we could say something along the lines of
> "for all future sessions" or somesuch. It's probably also a good idea
> to mention the variable package-hidden-regexps.
>
> WDYT?
Feel free to make such a change, although I don't particularly see why
we need to emphasize the "future sessions" part here. We don't
actually say anywhere anything to the contrary, and there are no other
commands that hide stuff only temporarily, do we?
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package)
2020-02-15 8:25 ` Eli Zaretskii
@ 2020-02-15 10:31 ` Pieter van Oostrum
2020-03-11 2:07 ` Stefan Kangas
1 sibling, 0 replies; 22+ messages in thread
From: Pieter van Oostrum @ 2020-02-15 10:31 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Stefan Kangas, 39436
On 15 Feb 2020, at 09:25, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Stefan Kangas <stefan@marxist.se>
>> Cc: Pieter van Oostrum <pieter@vanoostrum.org>, 39436@debbugs.gnu.org
>> Date: Sun, 09 Feb 2020 22:00:27 +0100
>>
>> help-debbugs@gnu.org (GNU bug Tracking System) writes:
>>
>>>> (although "permanently" sounds quite strong to me.)
>>>
>>> I've removed "Permanently" and made the description more detailed.
>>
>> Thanks. But in the new text, there seems to be no indication that the
>> hidden status is saved for future sessions.
>>
>> I'm not sure how to best describe that, if we feel that "permanently"
>> is not clear enough. Maybe we could say something along the lines of
>> "for all future sessions" or somesuch. It's probably also a good idea
>> to mention the variable package-hidden-regexps.
>>
>> WDYT?
>
> Feel free to make such a change, although I don't particularly see why
> we need to emphasize the "future sessions" part here. We don't
> actually say anywhere anything to the contrary, and there are no other
> commands that hide stuff only temporarily, do we?
I think the point is that the accumulated value in package-hidden-regexps is also written to customizations, and therefore preserved for future Emacs sessions.
--
Pieter van Oostrum
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package)
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
1 sibling, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2020-03-11 2:07 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 39436, pieter
[-- Attachment #1: Type: text/plain, Size: 1218 bytes --]
Eli Zaretskii <eliz@gnu.org> writes:
>> > I've removed "Permanently" and made the description more detailed.
>>
>> Thanks. But in the new text, there seems to be no indication that the
>> hidden status is saved for future sessions.
>>
>> I'm not sure how to best describe that, if we feel that "permanently"
>> is not clear enough. Maybe we could say something along the lines of
>> "for all future sessions" or somesuch. It's probably also a good idea
>> to mention the variable package-hidden-regexps.
>>
>> WDYT?
>
> Feel free to make such a change, although I don't particularly see why
> we need to emphasize the "future sessions" part here. We don't
> actually say anywhere anything to the contrary, and there are no other
> commands that hide stuff only temporarily, do we?
Well, the filter commands in the package menu only work in the current
buffer. If you close the buffer and open it again, the filters are
gone. That is, to my mind, temporary.
In this case, the filter is saved using customize-save-variable and
will therefore be there even if you restart Emacs. So I think it can
be a bit surprising if it's not documented.
I would suggest the attached patch.
Best regards,
Stefan Kangas
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Clarify-package-menu-hide-package-docstring.patch --]
[-- Type: text/x-diff, Size: 1244 bytes --]
From a0250312753fa4a31e1861561570d56c6843aa39 Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Wed, 11 Mar 2020 03:05:12 +0100
Subject: [PATCH] Clarify package-menu-hide-package docstring
* lisp/emacs-lisp/package.el (package-menu-hide-package): Clarify in
docstring that hiding is saved in a user option. (Bug#39436)
---
lisp/emacs-lisp/package.el | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 43eb038a86..7dbb99684f 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -3190,8 +3190,11 @@ 'package-menu-refresh
(defun package-menu-hide-package ()
"Hide in Package Menu packages that match a regexp.
-Prompts for the regexp to match against package names.
-The default regexp will hide only the package whose name is at point."
+Prompt for the regexp to match against package names.
+The default regexp will hide only the package whose name is at point.
+
+The regexp is saved for future Emacs sessions in the user option
+`package-hidden-regexps'."
(interactive)
(package--ensure-package-menu-mode)
(declare (interactive-only "change `package-hidden-regexps' instead."))
--
2.25.1
^ permalink raw reply related [flat|nested] 22+ messages in thread
* bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package)
2020-03-11 2:07 ` Stefan Kangas
@ 2020-03-11 7:36 ` Pieter van Oostrum
2020-03-11 20:37 ` Stefan Kangas
0 siblings, 1 reply; 22+ messages in thread
From: Pieter van Oostrum @ 2020-03-11 7:36 UTC (permalink / raw)
To: Stefan Kangas; +Cc: 39436, pieter
Stefan Kangas <stefan@marxist.se> writes:
> diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
> index 43eb038a86..7dbb99684f 100644
> --- a/lisp/emacs-lisp/package.el
> +++ b/lisp/emacs-lisp/package.el
> @@ -3190,8 +3190,11 @@ 'package-menu-refresh
>
> (defun package-menu-hide-package ()
> "Hide in Package Menu packages that match a regexp.
> -Prompts for the regexp to match against package names.
> -The default regexp will hide only the package whose name is at point."
> +Prompt for the regexp to match against package names.
> +The default regexp will hide only the package whose name is at point.
> +
> +The regexp is saved for future Emacs sessions in the user option
> +`package-hidden-regexps'."
This could be interpreted that only this regexp is saved. In reality it is the collective list of the regexps that have been entered in this way, that is saved, until the option is cleared/changed.
So it would be better to say something like
The collected regexps are saved...
--
Pieter van Oostrum
www: http://pieter.vanoostrum.org/
PGP key: [8DAE142BE17999C4]
^ permalink raw reply [flat|nested] 22+ messages in thread
* bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package)
2020-03-11 7:36 ` Pieter van Oostrum
@ 2020-03-11 20:37 ` Stefan Kangas
2020-03-11 22:10 ` Pieter van Oostrum
0 siblings, 1 reply; 22+ messages in thread
From: Stefan Kangas @ 2020-03-11 20:37 UTC (permalink / raw)
To: Pieter van Oostrum; +Cc: pieter, 39436
[-- Attachment #1: Type: text/plain, Size: 414 bytes --]
Pieter van Oostrum <pieter-l@vanoostrum.org> writes:
> This could be interpreted that only this regexp is saved. In reality
> it is the collective list of the regexps that have been entered in
> this way, that is saved, until the option is cleared/changed.
Good point, thanks. I've attached a revised version which goes a bit
further to document how this works. Feedback welcome.
Best regards,
Stefan Kangas
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Improve-Package-Menu-hiding-docstrings.patch --]
[-- Type: text/x-diff, Size: 2562 bytes --]
From 5d3131c6658183863bc80b873f334bb5a70b152e Mon Sep 17 00:00:00 2001
From: Stefan Kangas <stefankangas@gmail.com>
Date: Wed, 11 Mar 2020 03:05:12 +0100
Subject: [PATCH] Improve Package Menu hiding docstrings
* lisp/emacs-lisp/package.el (package-menu-toggle-hiding): Add
reference to 'package-menu-hidden-regexps'.
* lisp/emacs-lisp/package.el (package-menu-hide-package): Improve
docstring to say that hiding is saved in a user option. Fix a
typo. (Bug#39436)
---
lisp/emacs-lisp/package.el | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 43eb038a86..076129f57a 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -2861,7 +2861,11 @@ package-menu--hide-packages
Installed obsolete packages are always displayed.")
(defun package-menu-toggle-hiding ()
- "In Package Menu, toggle visibility of obsolete available packages."
+ "In Package Menu, toggle visibility of obsolete available packages.
+
+Also hide packages whose name matches a regexp in user option
+`package-hidden-regexps' (a list). To add regexps to this list,
+use `package-menu-hide-package'.."
(interactive)
(package--ensure-package-menu-mode)
(setq package-menu--hide-packages
@@ -3190,8 +3194,16 @@ 'package-menu-refresh
(defun package-menu-hide-package ()
"Hide in Package Menu packages that match a regexp.
-Prompts for the regexp to match against package names.
-The default regexp will hide only the package whose name is at point."
+Prompt for the regexp to match against package names.
+The default regexp will hide only the package whose name is at point.
+
+The regexp is added to the list in the user option
+`package-hidden-regexps' and saved for future sessions.
+
+To unhide a package, type
+`\\[customize-variable] RET package-hidden-regexps'.
+
+Type \\[package-menu-toggle-hiding] to toggle package hiding."
(interactive)
(package--ensure-package-menu-mode)
(declare (interactive-only "change `package-hidden-regexps' instead."))
@@ -3210,7 +3222,7 @@ package-menu-hide-package
package-archive-contents)))
(message "Packages to hide: %d. Type `%s' to toggle or `%s' to customize"
(length hidden)
- (substitute-command-keys "\\[package-menu-toggle-hidding]")
+ (substitute-command-keys "\\[package-menu-toggle-hiding]")
(substitute-command-keys "\\[customize-variable] RET package-hidden-regexps")))))
--
2.25.1
^ permalink raw reply related [flat|nested] 22+ messages in thread
end of thread, other threads:[~2020-03-14 9:05 UTC | newest]
Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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
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).