From debbugs-submit-bounces@debbugs.gnu.org Wed Feb 05 10:11:49 2020 Received: (at submit) by debbugs.gnu.org; 5 Feb 2020 15:11:49 +0000 Received: from localhost ([127.0.0.1]:46513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izMLE-0006GA-Ju for submit@debbugs.gnu.org; Wed, 05 Feb 2020 10:11:49 -0500 Received: from lists.gnu.org ([209.51.188.17]:40660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izMLC-0006G3-QT for submit@debbugs.gnu.org; Wed, 05 Feb 2020 10:11:47 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:60024) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izML9-0002UU-0z for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 10:11:46 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.6 required=5.0 tests=BAYES_50,RDNS_NONE, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izML5-0006Tx-6i for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 10:11:42 -0500 Received: from [145.132.212.31] (port=50216 helo=cochabamba.vanoostrum.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1izMKz-0005A8-8m for bug-gnu-emacs@gnu.org; Wed, 05 Feb 2020 10:11:39 -0500 Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 58BE9A90AC01 for ; Wed, 5 Feb 2020 16:11:04 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <24122.56063.455926.185727@cochabamba.vanoostrum.org> Date: Wed, 5 Feb 2020 16:10:55 +0100 From: Pieter van Oostrum To: bug-gnu-emacs@gnu.org Subject: 27.0.60; Documentaion error for package-menu-hide-package X-Mailer: VM undefined under 27.0.60 (i686-apple-darwin10.0.0) X-detected-operating-system: by eggs.gnu.org: Mac OS X [generic] [fuzzy] X-Received-From: 145.132.212.31 X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Pieter van Oostrum Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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: """ =E2=80=98H=E2=80=99 Permanently hide packages that match a regexp (=E2=80=98package-menu-hide-package=E2=80=99). """ (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 on= e 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 "=3F" 'package-menu-describe-package) (define-key map "(" #'package-menu-toggle-hiding) """ Is there a reason for this discrepancy=3F 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 minibuffe= r Mark saved where search started command-execute: Buffer is read-only: # 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=3Dyes,glyphs --enable-check-lisp-object-type 'CFLAGS=3D-pipe -march=3Dnocona -O0 -g3' build=5Falias=3Di686-apple-darwin10.0.0 PKG=5FCONFIG=5FPATH=3D/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=5FSCROLL=5FBARS= XIM NS MODULES THREADS PDUMPER LCMS2 Important settings: value of $LC=5FCTYPE: UTF-8 value of $LANG: en=5FGB.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 hi= des /Users/pieter/.emacs.d/elpa/isend-mode-20190201.832/isend-mode /Users/pieter/.emacs.d/elpa/el-get-20181006.225/el-get-install hides /U= sers/pieter/.emacs.d/elpa/load-relative-20190601.1221/el-get-install /Users/pieter/Library/Application Support/Emacs/site-lisp/web-mode hide= s /Users/pieter/.emacs.d/elpa/web-mode-20191104.1859/web-mode /Users/pieter/Library/Application Support/Emacs/site-lisp/websocket hid= es /Users/pieter/.emacs.d/elpa/websocket-20200102.637/websocket /Users/pieter/.emacs.d/elpa/org-9.3.3/ox hides /Applications/Emacs27.ap= p/Contents/Resources/lisp/org/ox /Users/pieter/.emacs.d/elpa/org-9.3.3/ox-texinfo hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/ox-texinfo /Users/pieter/.emacs.d/elpa/org-9.3.3/ox-publish hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/ox-publish /Users/pieter/.emacs.d/elpa/org-9.3.3/ox-org hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ox-org /Users/pieter/.emacs.d/elpa/org-9.3.3/ox-odt hides /Applications/Emacs2= 7.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/Emacs2= 7.app/Contents/Resources/lisp/org/ox-man /Users/pieter/.emacs.d/elpa/org-9.3.3/ox-latex hides /Applications/Emac= s27.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/Emacs= 27.app/Contents/Resources/lisp/org/ox-html /Users/pieter/.emacs.d/elpa/org-9.3.3/ox-beamer hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ox-beamer /Users/pieter/.emacs.d/elpa/org-9.3.3/ox-ascii hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/ox-ascii /Users/pieter/.emacs.d/elpa/org-9.3.3/org hides /Applications/Emacs27.a= pp/Contents/Resources/lisp/org/org /Users/pieter/.emacs.d/elpa/org-9.3.3/org-version hides /Applications/E= macs27.app/Contents/Resources/lisp/org/org-version /Users/pieter/.emacs.d/elpa/org-9.3.3/org-timer hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/org-timer /Users/pieter/.emacs.d/elpa/org-9.3.3/org-tempo hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/org-tempo /Users/pieter/.emacs.d/elpa/org-9.3.3/org-table hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/org-table /Users/pieter/.emacs.d/elpa/org-9.3.3/org-src hides /Applications/Emacs= 27.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/Emac= s27.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/Emacs= 27.app/Contents/Resources/lisp/org/org-num /Users/pieter/.emacs.d/elpa/org-9.3.3/org-mouse hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/org-mouse /Users/pieter/.emacs.d/elpa/org-9.3.3/org-mobile hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/org-mobile /Users/pieter/.emacs.d/elpa/org-9.3.3/org-macs hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/org-macs /Users/pieter/.emacs.d/elpa/org-9.3.3/org-macro hides /Applications/Ema= cs27.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/Emac= s27.app/Contents/Resources/lisp/org/org-list /Users/pieter/.emacs.d/elpa/org-9.3.3/org-lint hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/org-lint /Users/pieter/.emacs.d/elpa/org-9.3.3/org-keys hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/org-keys /Users/pieter/.emacs.d/elpa/org-9.3.3/org-install hides /Applications/E= macs27.app/Contents/Resources/lisp/org/org-install /Users/pieter/.emacs.d/elpa/org-9.3.3/org-inlinetask hides /Application= s/Emacs27.app/Contents/Resources/lisp/org/org-inlinetask /Users/pieter/.emacs.d/elpa/org-9.3.3/org-indent hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/org-indent /Users/pieter/.emacs.d/elpa/org-9.3.3/org-id hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/org-id /Users/pieter/.emacs.d/elpa/org-9.3.3/org-habit hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/org-habit /Users/pieter/.emacs.d/elpa/org-9.3.3/org-goto hides /Applications/Emac= s27.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/Emac= s27.app/Contents/Resources/lisp/org/org-feed /Users/pieter/.emacs.d/elpa/org-9.3.3/org-faces hides /Applications/Ema= cs27.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/E= macs27.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/Ema= cs27.app/Contents/Resources/lisp/org/org-ctags /Users/pieter/.emacs.d/elpa/org-9.3.3/org-crypt hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/org-crypt /Users/pieter/.emacs.d/elpa/org-9.3.3/org-compat hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/org-compat /Users/pieter/.emacs.d/elpa/org-9.3.3/org-colview hides /Applications/E= macs27.app/Contents/Resources/lisp/org/org-colview /Users/pieter/.emacs.d/elpa/org-9.3.3/org-clock hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/org-clock /Users/pieter/.emacs.d/elpa/org-9.3.3/org-capture hides /Applications/E= macs27.app/Contents/Resources/lisp/org/org-capture /Users/pieter/.emacs.d/elpa/org-9.3.3/org-attach hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/org-attach /Users/pieter/.emacs.d/elpa/org-9.3.3/org-attach-git hides /Application= s/Emacs27.app/Contents/Resources/lisp/org/org-attach-git /Users/pieter/.emacs.d/elpa/org-9.3.3/org-archive hides /Applications/E= macs27.app/Contents/Resources/lisp/org/org-archive /Users/pieter/.emacs.d/elpa/org-9.3.3/org-agenda hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/org-agenda /Users/pieter/.emacs.d/elpa/org-9.3.3/ol hides /Applications/Emacs27.ap= p/Contents/Resources/lisp/org/ol /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-w3m hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ol-w3m /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-rmail hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/ol-rmail /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-mhe hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ol-mhe /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-irc hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ol-irc /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-info hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ol-info /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-gnus hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ol-gnus /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-eww hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ol-eww /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-eshell hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ol-eshell /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-docview hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/ol-docview /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-bibtex hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ol-bibtex /Users/pieter/.emacs.d/elpa/org-9.3.3/ol-bbdb hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ol-bbdb /Users/pieter/.emacs.d/elpa/org-9.3.3/ob hides /Applications/Emacs27.ap= p/Contents/Resources/lisp/org/ob /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-vala hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-vala /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-tangle hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-tangle /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-table hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/ob-table /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-stan hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-stan /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-sqlite hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-sqlite /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-sql hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-sql /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-shen hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-shen /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-shell hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/ob-shell /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-sed hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-sed /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-screen hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-screen /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-scheme hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-scheme /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-sass hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-sass /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ruby hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-ruby /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ref hides /Applications/Emacs2= 7.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/Ema= cs27.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/E= macs27.app/Contents/Resources/lisp/org/ob-plantuml /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-picolisp hides /Applications/E= macs27.app/Contents/Resources/lisp/org/ob-picolisp /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-perl hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-perl /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-org hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-org /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-octave hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-octave /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ocaml hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/ob-ocaml /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-mscgen hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-mscgen /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-maxima hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-maxima /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-matlab hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-matlab /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-makefile hides /Applications/E= macs27.app/Contents/Resources/lisp/org/ob-makefile /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-lua hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-lua /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-lob hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-lob /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-lisp hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-lisp /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-lilypond hides /Applications/E= macs27.app/Contents/Resources/lisp/org/ob-lilypond /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ledger hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-ledger /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-latex hides /Applications/Emac= s27.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/Emacs= 27.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/Em= acs27.app/Contents/Resources/lisp/org/ob-hledger /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-haskell hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/ob-haskell /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-groovy hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-groovy /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-gnuplot hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/ob-gnuplot /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-fortran hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/ob-fortran /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-forth hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/ob-forth /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-exp hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-exp /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-eval hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-eval /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-eshell hides /Applications/Ema= cs27.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/Emacs= 27.app/Contents/Resources/lisp/org/ob-ebnf /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-dot hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-dot /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-ditaa hides /Applications/Emac= s27.app/Contents/Resources/lisp/org/ob-ditaa /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-css hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-css /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-core hides /Applications/Emacs= 27.app/Contents/Resources/lisp/org/ob-core /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-coq hides /Applications/Emacs2= 7.app/Contents/Resources/lisp/org/ob-coq /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-comint hides /Applications/Ema= cs27.app/Contents/Resources/lisp/org/ob-comint /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-clojure hides /Applications/Em= acs27.app/Contents/Resources/lisp/org/ob-clojure /Users/pieter/.emacs.d/elpa/org-9.3.3/ob-calc hides /Applications/Emacs= 27.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/Emacs2= 7.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/Emacs2= 7.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/p= ieter/Library/Application Support/Emacs/site-lisp/company-mode-master/c= ompany /Users/pieter/.emacs.d/elpa/company-20200110.929/company-xcode hides /U= sers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-ma= ster/company-xcode /Users/pieter/.emacs.d/elpa/company-20200110.929/company-tempo hides /U= sers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-ma= ster/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 /Us= ers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-mas= ter/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-m= aster/company-ispell /Users/pieter/.emacs.d/elpa/company-20200110.929/company-gtags hides /U= sers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-ma= ster/company-gtags /Users/pieter/.emacs.d/elpa/company-20200110.929/company-files hides /U= sers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-ma= ster/company-files /Users/pieter/.emacs.d/elpa/company-20200110.929/company-etags hides /U= sers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-ma= ster/company-etags /Users/pieter/.emacs.d/elpa/company-20200110.929/company-elisp hides /U= sers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-ma= ster/company-elisp /Users/pieter/.emacs.d/elpa/company-20200110.929/company-eclim hides /U= sers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-ma= ster/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 h= ides /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 /Use= rs/pieter/Library/Application Support/Emacs/site-lisp/company-mode-mast= er/company-css /Users/pieter/.emacs.d/elpa/company-20200110.929/company-clang hides /U= sers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-ma= ster/company-clang /Users/pieter/.emacs.d/elpa/company-20200110.929/company-capf hides /Us= ers/pieter/Library/Application Support/Emacs/site-lisp/company-mode-mas= ter/company-capf /Users/pieter/.emacs.d/elpa/company-20200110.929/company-abbrev hides /= Users/pieter/Library/Application Support/Emacs/site-lisp/company-mode-m= aster/company-abbrev /Users/pieter/.emacs.d/elpa/tabbar-20180726.1735/tabbar hides /Users/pi= eter/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-bibte= x 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-tangl= e 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-archiv= e 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-mod= e 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 n= s 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)) --=20 Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4] From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 08 04:42:12 2020 Received: (at 39436-done) by debbugs.gnu.org; 8 Feb 2020 09:42:12 +0000 Received: from localhost ([127.0.0.1]:50627 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0Mct-0003dp-QM for submit@debbugs.gnu.org; Sat, 08 Feb 2020 04:42:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48544) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0Mcr-0003dc-K5 for 39436-done@debbugs.gnu.org; Sat, 08 Feb 2020 04:42:09 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j0Mcl-0003XR-Vu; Sat, 08 Feb 2020 04:42:04 -0500 Received: from [176.228.60.248] (port=3639 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j0Mcl-0006AE-5W; Sat, 08 Feb 2020 04:42:03 -0500 Date: Sat, 08 Feb 2020 11:41:42 +0200 Message-Id: <83eev5e7qh.fsf@gnu.org> From: Eli Zaretskii To: Pieter van Oostrum In-reply-to: <24122.56063.455926.185727@cochabamba.vanoostrum.org> (message from Pieter van Oostrum on Wed, 5 Feb 2020 16:10:55 +0100) Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39436-done Cc: 39436-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > Date: Wed, 5 Feb 2020 16:10:55 +0100 > From: Pieter van Oostrum > > 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 08 08:58:37 2020 Received: (at 39436) by debbugs.gnu.org; 8 Feb 2020 13:58:37 +0000 Received: from localhost ([127.0.0.1]:50720 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0Qd3-0003Lx-32 for submit@debbugs.gnu.org; Sat, 08 Feb 2020 08:58:37 -0500 Received: from [145.132.212.31] (port=58865 helo=cochabamba.vanoostrum.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0Qd1-0003Lj-60 for 39436@debbugs.gnu.org; Sat, 08 Feb 2020 08:58:36 -0500 Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 45521A936B61; Sat, 8 Feb 2020 14:58:28 +0100 (CET) From: Pieter van Oostrum To: 39436@debbugs.gnu.org Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> Date: Sat, 08 Feb 2020 14:58:27 +0100 In-Reply-To: <83eev5e7qh.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Feb 2020 11:41:42 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii writes: >> Date: Wed, 5 Feb 2020 16:10:55 +0100 >> From: Pieter van Oostrum >> >> The documentation (C-h f) for package-menu-hide-package says: >> >> """ >> Hide a package under point [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 39436 Cc: eliz@gnu.org, pieter@vanoostrum.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Eli Zaretskii writes: >> Date: Wed, 5 Feb 2020 16:10:55 +0100 >> From: Pieter van Oostrum >>=20 >> The documentation (C-h f) for package-menu-hide-package says: >>=20 >> """ >> Hide a package under point in Package Menu. >> If optional arg BUTTON is non-nil, describe its associated package. >> """ >>=20 >> 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: >>=20 >> """ >>=20 >> =E2=80=98H=E2=80=99 >> Permanently hide packages that match a regexp >> (=E2=80=98package-menu-hide-package=E2=80=99). >> """ >> (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 \`; for the description to be correct it should be \`\'. 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. --=20 Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4] From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 08 09:32:57 2020 Received: (at 39436) by debbugs.gnu.org; 8 Feb 2020 14:32:57 +0000 Received: from localhost ([127.0.0.1]:50741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0RAH-0004Ap-Da for submit@debbugs.gnu.org; Sat, 08 Feb 2020 09:32:57 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41251) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0RAF-0004Aa-Ra for 39436@debbugs.gnu.org; Sat, 08 Feb 2020 09:32:56 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45746) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j0RA8-0001Rk-5h; Sat, 08 Feb 2020 09:32:48 -0500 Received: from [176.228.60.248] (port=1397 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j0RA6-0006Ce-5v; Sat, 08 Feb 2020 09:32:47 -0500 Date: Sat, 08 Feb 2020 16:32:28 +0200 Message-Id: <83zhdtcfpf.fsf@gnu.org> From: Eli Zaretskii To: Pieter van Oostrum In-reply-to: (message from Pieter van Oostrum on Sat, 08 Feb 2020 14:58:27 +0100) Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Pieter van Oostrum > 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 11:08:15 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 16:08:15 +0000 Received: from localhost ([127.0.0.1]:53124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0p83-0006hh-G0 for submit@debbugs.gnu.org; Sun, 09 Feb 2020 11:08:15 -0500 Received: from [145.132.212.31] (port=65206 helo=cochabamba.vanoostrum.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0p82-0006hU-FO for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 11:08:15 -0500 Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id AE43FA93C8A2; Sun, 9 Feb 2020 17:08:08 +0100 (CET) From: Pieter van Oostrum To: Eli Zaretskii Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> Date: Sun, 09 Feb 2020 17:08:08 +0100 In-Reply-To: <83zhdtcfpf.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 08 Feb 2020 16:32:28 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii 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. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: gnu.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) --=-=-= Content-Type: text/plain Eli Zaretskii 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: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Correct-default-regexp-in-package-menu-hide-package.patch >From 8dd8dc4950f3ad265623684307b322af53200598 Mon Sep 17 00:00:00 2001 From: Pieter van Oostrum 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 --=-=-= Content-Type: text/plain -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4] --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 11:51:18 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 16:51:18 +0000 Received: from localhost ([127.0.0.1]:53144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0pni-0007is-JP for submit@debbugs.gnu.org; Sun, 09 Feb 2020 11:51:18 -0500 Received: from eggs.gnu.org ([209.51.188.92]:44296) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0png-0007ie-2u for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 11:51:17 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60229) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j0pna-0006Eg-4S; Sun, 09 Feb 2020 11:51:10 -0500 Received: from [176.228.60.248] (port=1953 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j0pnY-0001qo-3F; Sun, 09 Feb 2020 11:51:09 -0500 Date: Sun, 09 Feb 2020 18:50:52 +0200 Message-Id: <83imkfd7rn.fsf@gnu.org> From: Eli Zaretskii To: Pieter van Oostrum , Stefan Monnier In-reply-to: (message from Pieter van Oostrum on Sun, 09 Feb 2020 17:08:08 +0100) Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Pieter van Oostrum > 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? From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 11:52:39 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 16:52:39 +0000 Received: from localhost ([127.0.0.1]:53148 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0pp0-0007kt-V9 for submit@debbugs.gnu.org; Sun, 09 Feb 2020 11:52:39 -0500 Received: from [145.132.212.31] (port=49284 helo=cochabamba.vanoostrum.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0poz-0007ke-Py for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 11:52:38 -0500 Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 593F8A93D115; Sun, 9 Feb 2020 17:52:29 +0100 (CET) From: Pieter van Oostrum To: Eli Zaretskii Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> Date: Sun, 09 Feb 2020 17:52:28 +0100 In-Reply-To: (Pieter van Oostrum's message of "Sun, 09 Feb 2020 17:08:08 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: 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. Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: vanoostrum.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) 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] From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 12:33:07 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 17:33:07 +0000 Received: from localhost ([127.0.0.1]:53159 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0qSB-0000FY-9k for submit@debbugs.gnu.org; Sun, 09 Feb 2020 12:33:07 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0qSA-0000F8-AR for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 12:33:06 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:60737) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j0qS4-00086G-Lw; Sun, 09 Feb 2020 12:33:00 -0500 Received: from [176.228.60.248] (port=4518 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j0qS2-0000uv-OL; Sun, 09 Feb 2020 12:33:00 -0500 Date: Sun, 09 Feb 2020 19:32:44 +0200 Message-Id: <83ftfjd5tv.fsf@gnu.org> From: Eli Zaretskii To: Pieter van Oostrum In-reply-to: (message from Pieter van Oostrum on Sun, 09 Feb 2020 17:52:28 +0100) Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Pieter van Oostrum > 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. From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 14:44:34 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 19:44:34 +0000 Received: from localhost ([127.0.0.1]:53201 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0sVO-0003L6-3f for submit@debbugs.gnu.org; Sun, 09 Feb 2020 14:44:34 -0500 Received: from [145.132.212.31] (port=51036 helo=cochabamba.vanoostrum.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0sVM-0003Kr-Qk for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 14:44:33 -0500 Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id CEC52A94469F; Sun, 9 Feb 2020 20:44:26 +0100 (CET) From: Pieter van Oostrum To: Eli Zaretskii Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> <83ftfjd5tv.fsf@gnu.org> Date: Sun, 09 Feb 2020 20:44:25 +0100 In-Reply-To: <83ftfjd5tv.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Feb 2020 19:32:44 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Eli Zaretskii writes: >> From: Pieter van Oostrum >> 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 w [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: vanoostrum.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) Eli Zaretskii writes: >> From: Pieter van Oostrum >> 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] From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 15:28:44 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 20:28:44 +0000 Received: from localhost ([127.0.0.1]:53257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tC8-0004QF-9l for submit@debbugs.gnu.org; Sun, 09 Feb 2020 15:28:44 -0500 Received: from [145.132.212.31] (port=51563 helo=cochabamba.vanoostrum.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tC5-0004Q1-TZ for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 15:28:42 -0500 Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id E5F84A945F3D; Sun, 9 Feb 2020 21:28:35 +0100 (CET) From: Pieter van Oostrum To: Eli Zaretskii Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> <83ftfjd5tv.fsf@gnu.org> Date: Sun, 09 Feb 2020 21:28:35 +0100 In-Reply-To: (Pieter van Oostrum's message of "Sun, 09 Feb 2020 20:44:25 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (darwin) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 1.3 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Proposed patch: From 56bb338bf9789450a70fc6319c8b67e7268c57c1 Mon Sep 17 00:00:00 2001 From: Pieter van Oostrum Date: Sun, 9 Feb 2020 21:22:55 +0100 Subject: [PATCH] Remove obsolete menu entry [...] Content analysis details: (1.3 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.0 URIBL_BLOCKED ADMINISTRATOR NOTICE: The query to URIBL was blocked. See http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more information. [URIs: vanoostrum.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 SPF_NONE SPF: sender does not publish an SPF Record 1.3 RDNS_NONE Delivered to internal network by a host with no rDNS X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) --=-=-= Content-Type: text/plain Proposed patch: --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-Remove-obsolete-menu-entry-Redisplay-buffer.patch >From 56bb338bf9789450a70fc6319c8b67e7268c57c1 Mon Sep 17 00:00:00 2001 From: Pieter van Oostrum 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 --=-=-= Content-Type: text/plain 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] --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 15:30:25 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 20:30:25 +0000 Received: from localhost ([127.0.0.1]:53265 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tDk-0004Un-Uu for submit@debbugs.gnu.org; Sun, 09 Feb 2020 15:30:25 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:45570) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tDj-0004Ua-Kd for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 15:30:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=cyLZvL/nc58Xw/ZlmzWizPPmzm2LSpkcJwF3CE14Bbg=; b=IqbO+yGtMcQr/vzWbQ+v+2rKQi 2Er4AQAe9PbKsZurVSBDdMjnrQakBO1SDsscPoGEx1ccSI/JBnt5Y47tN/WcGbsDOfIC3726Rzlzy lxl/83LC1YM57rMlJN4rnW2J0AgVrWBcq6cJdTCq6FhL62EMu543bxDRqAIYz1QLzD0PpZY/IWL4c lbZ+FQrKt+DNNZWlfiOMnz/YbuSrapC42R0VjeLnpBH0VrnRkDJPC/1jxVm6XQESfDaWa15ap25n6 djHr2JucGQ1mg3I728jUh1CzlMa8aP156r8pJpGUn6nIJGDDeh6iAsLWxtMqjwWYBfR6+jIqwyz5w pssdvlEQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:35988 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j0tDd-000Dq2-0z; Sun, 09 Feb 2020 15:30:17 -0500 From: Stefan Kangas To: Pieter van Oostrum Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package In-Reply-To: (Pieter van Oostrum's message of "Sun, 09 Feb 2020 20:44:25 +0100") References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> <83ftfjd5tv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sun, 09 Feb 2020 21:30:12 +0100 Message-ID: <877e0v7bcb.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: Eli Zaretskii , 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pieter van Oostrum 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 15:36:11 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 20:36:11 +0000 Received: from localhost ([127.0.0.1]:53274 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tJK-0004d2-QC for submit@debbugs.gnu.org; Sun, 09 Feb 2020 15:36:11 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:46204) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tJJ-0004cp-7W for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 15:36:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=SdJER/4XsKEAPLhZ+6enTsS20HoovhMub0GHVa7OWX8=; b=CVLdegOB50KV1RcW6DJ00ZCjOT nmM1GL2ZWttL5gHh1aRfksUa1HmZuaovv72cdrp3ZQx88He+BlyPaEznyhUqpnd9MRzUT3mPNE8ub t9eVpRvzE1q2k5K378h/NghRuX5nIP107rTbJckBAdR61s8lPZ9joD3tt6q+zDBTvX1mpokPq48S9 vxpghYBy8tIL1yKsCQRGhQxAPsCQ7GZSAXT5C361AvA4bZUqb+nBK1vFbgtiClVSFPhfj/uUyPfxM 0/ARN3CiLih+yseM2q3VwPMxH9+QCkrwbboeylXmYOjNDKraK+dLNg59yNAKTOo44KuBo47jj+4fL ZLPIbYZQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:39692 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j0tJD-000FD8-Iw; Sun, 09 Feb 2020 15:36:03 -0500 From: Stefan Kangas To: Pieter van Oostrum Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package In-Reply-To: (Pieter van Oostrum's message of "Sun, 09 Feb 2020 21:28:35 +0100") References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> <83ftfjd5tv.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sun, 09 Feb 2020 21:36:01 +0100 Message-ID: <87zhdr5wi6.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: Eli Zaretskii , 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pieter van Oostrum 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 15:50:58 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 20:50:58 +0000 Received: from localhost ([127.0.0.1]:53286 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tXe-0004xt-4s for submit@debbugs.gnu.org; Sun, 09 Feb 2020 15:50:58 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:47412) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tXc-0004xg-2Q for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 15:50:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=W6iZmbWw5rROQEXq8XAv+59TSEiNwL3vpjiApPDHbME=; b=RpTWhqXVgCwrlp+m/V08btOdmJ 5sSMC16g7o7XtysKE7Gh4DRHvz2GDAJLv9arrSL3VTp1MC+lqWlAZA4laYLy2XXc96fro7TfEn+8H G1bifUi7N8STZWAZvN0Xb/odK7e1uMMFax61tYBHqJtzde6GouUJGhKN0R14pIeQ1dY+BPow73VzN EyE9ncxZUkZsbRpDzSB85Ogo4vIt8hM2AI9PFE3mt/8lUwT5mri60csCwe8foR8rH4o5WWRHqQRBT OwaGyBnHHnJQZXWjJnUaij/YdRp/zTVYHZpnygXCMkcm7gsxNfT20dQN9Bm+36OImWe1jJX7dN8Kd cmWs9dsQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:46414 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j0tXV-000IPl-63; Sun, 09 Feb 2020 15:50:49 -0500 From: Stefan Kangas To: Eli Zaretskii Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package In-Reply-To: <83imkfd7rn.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 09 Feb 2020 18:50:52 +0200") References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> <83imkfd7rn.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sun, 09 Feb 2020 21:50:46 +0100 Message-ID: <87wo8v5vtl.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: Pieter van Oostrum , 39436@debbugs.gnu.org, Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli Zaretskii 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 16:00:37 2020 Received: (at 39436) by debbugs.gnu.org; 9 Feb 2020 21:00:37 +0000 Received: from localhost ([127.0.0.1]:53300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tgz-0005Dv-4A for submit@debbugs.gnu.org; Sun, 09 Feb 2020 16:00:37 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:48122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tgx-0005Di-Td for 39436@debbugs.gnu.org; Sun, 09 Feb 2020 16:00:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=oWxfCWivboN6OQ9k8JES7ycpnadbOVDKaxU8bwM8RVY=; b=HKosM29jqBm6iaosaTszjWvbk2 9R8hqzDanP6CeiTCklzYXVJ1FfvJAIufI6yNKvrqwm5AozcBwvh5kkwYB731Im7vjtqrQ8nuE4q8N x3AK80+6drVHBqCiLFv3XlphS7A8khXfnby0gw4ALUrA4dqEYYjV5mA+Sj5KVXBIjPrakZkIRUzTe dAUyXfpCwKU1z8mq2fbUI/klvh5nNSC1brPbjpPlwWI6Nt0vtqpmfYULP9WrWQqhXZCSBaH6yENhT 84u5SF1R3zsZ5ss4fHO35e3KAoNcMwyWCxTqJSOjFtnRdNCnqJR2G3AfyKU+6tM8846uma6JqXA0O uuloSZOQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:52280 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j0tgr-000KbT-L1; Sun, 09 Feb 2020 16:00:30 -0500 From: Stefan Kangas To: Eli Zaretskii Subject: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) In-Reply-To: (GNU bug Tracking System's message of "Sat, 08 Feb 2020 09:43:02 +0000") References: <83eev5e7qh.fsf@gnu.org> <24122.56063.455926.185727@cochabamba.vanoostrum.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sun, 09 Feb 2020 22:00:27 +0100 Message-ID: <87tv3z5vdg.fsf@marxist.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org, Pieter van Oostrum X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Sun Feb 09 16:02:33 2020 Received: (at control) by debbugs.gnu.org; 9 Feb 2020 21:02:33 +0000 Received: from localhost ([127.0.0.1]:53304 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tir-0005Gv-Gk for submit@debbugs.gnu.org; Sun, 09 Feb 2020 16:02:33 -0500 Received: from ted.gofardesign.uk ([67.225.143.91]:48264) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j0tiq-0005Gj-1p for control@debbugs.gnu.org; Sun, 09 Feb 2020 16:02:32 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Subject:From:To:Date:Sender:Reply-To:Message-ID:Cc:MIME-Version :Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=r5BCd+qol2ggZl5qDFZDLP0vcHGUhPIlwYAy3v6+5wI=; b=q48YBqNquJCBlQ12F840eYN1PU 4aDj+eZSnrAtET9Or9hiO7GjyYVqInT8R8lFtHidWVNY0yyD4iriBOmqyhUM30KPzTp2zKwHKszI+ ZAZdK+p2aGbzyM4PvXw5ewWVmw0w7op1tc4yWwD0ni4Fjap52xY86K4vRHa6DiB2UDscays7LqTkT +drVbkQMEuUDLmGSuSM6xpqO/+lKqbewiU4pgF643vEcRWPz7yrUordOUce27y/owhmMPdGNvpM7S CW+Paz+f4UOKWUf8tRq2+B8V01ONY+6P14106b+SIqR19CaYyFIlTG8p8REN7Gjdfg6w01CQ7CzJX Aw2fQ9hQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:52852 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1j0tik-000Kzt-D2 for control@debbugs.gnu.org; Sun, 09 Feb 2020 16:02:26 -0500 Date: Sun, 09 Feb 2020 22:02:24 +0100 To: control@debbugs.gnu.org From: Stefan Kangas Subject: control message for bug #39436 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.1 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" Message-Id: X-Spam-Score: -1.0 (-) retitle 39436 27.0.60; Documentation error for package-menu-hide-package quit From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 15 03:16:42 2020 Received: (at 39436) by debbugs.gnu.org; 15 Feb 2020 08:16:42 +0000 Received: from localhost ([127.0.0.1]:34995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2scz-0008GK-T5 for submit@debbugs.gnu.org; Sat, 15 Feb 2020 03:16:42 -0500 Received: from eggs.gnu.org ([209.51.188.92]:46270) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2scy-0008G7-CT for 39436@debbugs.gnu.org; Sat, 15 Feb 2020 03:16:40 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2scr-000659-PR; Sat, 15 Feb 2020 03:16:33 -0500 Received: from [176.228.60.248] (port=4796 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2scr-0004KY-7E; Sat, 15 Feb 2020 03:16:33 -0500 Date: Sat, 15 Feb 2020 10:16:38 +0200 Message-Id: <83eeuwnu3d.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: <87wo8v5vtl.fsf@marxist.se> (message from Stefan Kangas on Sun, 09 Feb 2020 21:50:46 +0100) Subject: Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package References: <24122.56063.455926.185727@cochabamba.vanoostrum.org> <83eev5e7qh.fsf@gnu.org> <83zhdtcfpf.fsf@gnu.org> <83imkfd7rn.fsf@gnu.org> <87wo8v5vtl.fsf@marxist.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39436 Cc: pieter-l@vanoostrum.org, 39436@debbugs.gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Stefan Kangas > Cc: Pieter van Oostrum , Stefan Monnier > , 39436@debbugs.gnu.org > Date: Sun, 09 Feb 2020 21:50:46 +0100 > > Eli Zaretskii 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. From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 15 03:25:05 2020 Received: (at 39436) by debbugs.gnu.org; 15 Feb 2020 08:25:05 +0000 Received: from localhost ([127.0.0.1]:34999 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2sl6-0008St-Qd for submit@debbugs.gnu.org; Sat, 15 Feb 2020 03:25:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:47233) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2sl5-0008SK-3B for 39436@debbugs.gnu.org; Sat, 15 Feb 2020 03:25:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:47705) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1j2sky-0003iB-Pi; Sat, 15 Feb 2020 03:24:56 -0500 Received: from [176.228.60.248] (port=1331 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1j2sky-0004zx-92; Sat, 15 Feb 2020 03:24:56 -0500 Date: Sat, 15 Feb 2020 10:25:03 +0200 Message-Id: <83d0agntpc.fsf@gnu.org> From: Eli Zaretskii To: Stefan Kangas In-reply-to: <87tv3z5vdg.fsf@marxist.se> (message from Stefan Kangas on Sun, 09 Feb 2020 22:00:27 +0100) Subject: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) References: <83eev5e7qh.fsf@gnu.org> <24122.56063.455926.185727@cochabamba.vanoostrum.org> <87tv3z5vdg.fsf@marxist.se> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org, pieter@vanoostrum.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) > From: Stefan Kangas > Cc: Pieter van Oostrum , 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? From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 15 05:31:52 2020 Received: (at 39436) by debbugs.gnu.org; 15 Feb 2020 10:31:52 +0000 Received: from localhost ([127.0.0.1]:35042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2ujo-0002wC-Dw for submit@debbugs.gnu.org; Sat, 15 Feb 2020 05:31:52 -0500 Received: from smarthost-b.hosting2go.nl ([83.137.198.202]:55902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1j2ujn-0002w0-BF for 39436@debbugs.gnu.org; Sat, 15 Feb 2020 05:31:51 -0500 X-ASG-Debug-ID: 1581762705-0a9db43b8a28a0060001-A7qDng Received: from server24.hosting2go.nl (server24.hosting2go.nl [83.137.194.11]) by smarthost-b.hosting2go.nl with ESMTP id FEKIBDYxL19QX1Xt (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39436@debbugs.gnu.org>; Sat, 15 Feb 2020 11:31:45 +0100 (CET) X-Barracuda-Envelope-From: pieter@vanoostrum.org X-Barracuda-Effective-Source-IP: server24.hosting2go.nl[83.137.194.11] X-Barracuda-Apparent-Source-IP: 83.137.194.11 Received: (qmail 17494 invoked from network); 15 Feb 2020 10:31:45 -0000 Received: from unknown (HELO ?172.16.89.251?) (195.76.196.163) by server24.hosting2go.nl with ESMTPS (ECDHE-RSA-AES256-GCM-SHA384 encrypted); 15 Feb 2020 10:31:45 -0000 Received-SPF: unknown (server24.hosting2go.nl: domain at 83.137.194.9 does not designate permitted sender hosts) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (1.0) Subject: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) From: Pieter van Oostrum X-ASG-Orig-Subj: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) X-Mailer: iPad Mail (16G161) In-Reply-To: <83d0agntpc.fsf@gnu.org> Date: Sat, 15 Feb 2020 11:31:12 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <83eev5e7qh.fsf@gnu.org> <24122.56063.455926.185727@cochabamba.vanoostrum.org> <87tv3z5vdg.fsf@marxist.se> <83d0agntpc.fsf@gnu.org> To: Eli Zaretskii X-Barracuda-Connect: server24.hosting2go.nl[83.137.194.11] X-Barracuda-Start-Time: 1581762705 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://83.137.198.202:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at hosting2go.nl X-Barracuda-Scan-Msg-Size: 1314 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.5 tests=BSF_SC0_MISMATCH_TO, MIME_QP_LONG_LINE B-X-Hosting2GO-Smarthost: Clean X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.80016 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 MIME_QP_LONG_LINE RAW: Quoted-printable line longer than 76 chars 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org, Stefan Kangas X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On 15 Feb 2020, at 09:25, Eli Zaretskii wrote: >> From: Stefan Kangas >> Cc: Pieter van Oostrum , 39436@debbugs.gnu.org >> Date: Sun, 09 Feb 2020 22:00:27 +0100 >>=20 >> help-debbugs@gnu.org (GNU bug Tracking System) writes: >>=20 >>>> (although "permanently" sounds quite strong to me.) >>>=20 >>> I've removed "Permanently" and made the description more detailed. >>=20 >> Thanks. But in the new text, there seems to be no indication that the >> hidden status is saved for future sessions. >>=20 >> 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. >>=20 >> WDYT? >=20 > 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 se= ssions. --=20 Pieter van Oostrum= From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 10 22:07:58 2020 Received: (at 39436) by debbugs.gnu.org; 11 Mar 2020 02:07:58 +0000 Received: from localhost ([127.0.0.1]:53528 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBqmr-0003HB-P0 for submit@debbugs.gnu.org; Tue, 10 Mar 2020 22:07:58 -0400 Received: from ted.gofardesign.uk ([67.225.143.91]:57390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBqmq-0003Gy-GJ for 39436@debbugs.gnu.org; Tue, 10 Mar 2020 22:07:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OLUBMwOxVjlubux+73uZ/OTFD13q+U7mvRRV0jBdcz0=; b=Fs6MkFvd4q3WUXbjgKe6aPhXk3 150EV1sf/IqRr0lCMiAN9IwjScMD2GFTzNuT2Wgijj7bhN/1QZFLpUrR1VoN+jPK0bKSoEvubvyqX u06XjRu+lBERJijvgWKSnARouLlpIBbve0Ki4x9WEix/ZAhKR7Qoyp5Aa6DYJllggbkWLo0WedVmD /sAAUUeHBlacXsEA1pK3yY6pJofcyFP3Yf8bYDjfblsv1AsxHRGXyQqFHjNQx1dji1i/qODVuNq13 +a/nm3LYTMzdq8tzORwaFE2St95veC3P0mi71XzCRr+iN+0mYmfCDFFe4aJyjIgSnp8AVP2c+5sNs Sc7Z64Kg==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:58912 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jBqmk-001Aa5-CZ; Tue, 10 Mar 2020 22:07:50 -0400 From: Stefan Kangas To: Eli Zaretskii Subject: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) In-Reply-To: <83d0agntpc.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 15 Feb 2020 10:25:03 +0200") References: <83eev5e7qh.fsf@gnu.org> <24122.56063.455926.185727@cochabamba.vanoostrum.org> <87tv3z5vdg.fsf@marxist.se> <83d0agntpc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Wed, 11 Mar 2020 03:07:48 +0100 Message-ID: <87y2s73aq3.fsf@stefankangas.se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: pieter@vanoostrum.org, 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Eli Zaretskii 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 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-Clarify-package-menu-hide-package-docstring.patch >From a0250312753fa4a31e1861561570d56c6843aa39 Mon Sep 17 00:00:00 2001 From: Stefan Kangas 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 11 03:37:56 2020 Received: (at 39436) by debbugs.gnu.org; 11 Mar 2020 07:37:56 +0000 Received: from localhost ([127.0.0.1]:53590 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBvwC-0002jH-8L for submit@debbugs.gnu.org; Wed, 11 Mar 2020 03:37:56 -0400 Received: from smarthost-b.hosting2go.nl ([83.137.198.202]:42807) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jBvwA-0002j4-3s for 39436@debbugs.gnu.org; Wed, 11 Mar 2020 03:37:54 -0400 X-ASG-Debug-ID: 1583912249-0a9db43b8b332bfe0001-A7qDng Received: from server24.hosting2go.nl (server24.hosting2go.nl [185.135.241.24]) by smarthost-b.hosting2go.nl with ESMTP id e4SFcAGrGQ33Dn3B (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39436@debbugs.gnu.org>; Wed, 11 Mar 2020 08:37:29 +0100 (CET) X-Barracuda-Envelope-From: pieter-l@vanoostrum.org X-Barracuda-Effective-Source-IP: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Apparent-Source-IP: 185.135.241.24 Received: (qmail 12690 invoked from network); 11 Mar 2020 07:37:05 -0000 Received: from static-145.132.212.31.ip.telfort.nl (HELO cochabamba.vanoostrum.org) (145.132.212.31) by server24.hosting2go.nl with SMTP; 11 Mar 2020 07:37:05 -0000 Received-SPF: unknown (server24.hosting2go.nl: domain at 83.137.194.9 does not designate permitted sender hosts) Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 2C5DCAACD972; Wed, 11 Mar 2020 08:36:54 +0100 (CET) From: Pieter van Oostrum To: Stefan Kangas Subject: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) References: <83eev5e7qh.fsf@gnu.org> <24122.56063.455926.185727@cochabamba.vanoostrum.org> <87tv3z5vdg.fsf@marxist.se> <83d0agntpc.fsf@gnu.org> <87y2s73aq3.fsf@stefankangas.se> X-ASG-Orig-Subj: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) Date: Wed, 11 Mar 2020 08:36:53 +0100 In-Reply-To: <87y2s73aq3.fsf@stefankangas.se> (Stefan Kangas's message of "Wed, 11 Mar 2020 03:07:48 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Barracuda-Connect: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Start-Time: 1583912249 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://83.137.198.202:443/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at hosting2go.nl X-Barracuda-Scan-Msg-Size: 1124 X-Barracuda-BRTS-Status: 1 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.5 tests=BSF_SC0_MISMATCH_TO B-X-Hosting2GO-Smarthost: Clean X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.80596 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: pieter@vanoostrum.org, Eli Zaretskii , 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Kangas 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] From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 11 16:37:19 2020 Received: (at 39436) by debbugs.gnu.org; 11 Mar 2020 20:37:19 +0000 Received: from localhost ([127.0.0.1]:55628 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC86R-0003Du-85 for submit@debbugs.gnu.org; Wed, 11 Mar 2020 16:37:19 -0400 Received: from ted.gofardesign.uk ([67.225.143.91]:41356) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC86P-0003Dg-0C for 39436@debbugs.gnu.org; Wed, 11 Mar 2020 16:37:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ofO/mKOu6gWOh6oVmzoe7wnvBk/zTn08P+LEoZpydSg=; b=OoIwUY9SdnnYNuK4EW++wGcI7S FP186OyG6Fk4e1HX0OCi23HJbf/J/soo7u+AG7vxWZGoedxvp2ZxKTn32nMsnWVguoeTobSM+bqy0 uPhDTmH4dIURaQppzVJ9hOkxG+cgrxJjhQBOgMRtVFzApNsQ3oV0+HphfQMzmbRQTVFTYcFsq0KPZ xxd15sZ0BG2Jyxuq7OJuy00dvgYK6Lc3Mo/+nRC7N5BG3RrMCMSTM6HwQ/6+Tll5YFPIzb/VwTaPC 70JFw125evnXgcNamRtvzFFvNHjPAxklL++PY7sYvp5WQJQiBKyAUjVI/S+LP3WFN/Np/M2awBTkY kx5qGYTQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:36540 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jC86H-000Age-IX; Wed, 11 Mar 2020 16:37:09 -0400 From: Stefan Kangas To: Pieter van Oostrum Subject: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) In-Reply-To: (Pieter van Oostrum's message of "Wed, 11 Mar 2020 08:36:53 +0100") References: <83eev5e7qh.fsf@gnu.org> <24122.56063.455926.185727@cochabamba.vanoostrum.org> <87tv3z5vdg.fsf@marxist.se> <83d0agntpc.fsf@gnu.org> <87y2s73aq3.fsf@stefankangas.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) Date: Wed, 11 Mar 2020 21:37:07 +0100 Message-ID: <87v9na39xo.fsf@stefankangas.se> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org, Eli Zaretskii , pieter@vanoostrum.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain Pieter van Oostrum 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 --=-=-= Content-Type: text/x-diff Content-Disposition: attachment; filename=0001-Improve-Package-Menu-hiding-docstrings.patch >From 5d3131c6658183863bc80b873f334bb5a70b152e Mon Sep 17 00:00:00 2001 From: Stefan Kangas 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 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 11 18:10:46 2020 Received: (at 39436) by debbugs.gnu.org; 11 Mar 2020 22:10:46 +0000 Received: from localhost ([127.0.0.1]:55659 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC9Yr-0005Ol-4Z for submit@debbugs.gnu.org; Wed, 11 Mar 2020 18:10:45 -0400 Received: from smarthost-b.hosting2go.nl ([83.137.198.202]:58517) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jC9Yp-0005OX-NI for 39436@debbugs.gnu.org; Wed, 11 Mar 2020 18:10:44 -0400 X-ASG-Debug-ID: 1583964637-0a9db43b89338daa0001-A7qDng Received: from server24.hosting2go.nl (server24.hosting2go.nl [185.135.241.24]) by smarthost-b.hosting2go.nl with ESMTP id ew36w1lQzh3DRknf (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for <39436@debbugs.gnu.org>; Wed, 11 Mar 2020 23:10:37 +0100 (CET) X-Barracuda-Envelope-From: pieter-l@vanoostrum.org X-Barracuda-Effective-Source-IP: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Apparent-Source-IP: 185.135.241.24 Received: (qmail 20651 invoked from network); 11 Mar 2020 22:10:37 -0000 Received: from static-145.132.212.31.ip.telfort.nl (HELO cochabamba.vanoostrum.org) (145.132.212.31) by server24.hosting2go.nl with SMTP; 11 Mar 2020 22:10:37 -0000 Received-SPF: unknown (server24.hosting2go.nl: domain at 83.137.194.9 does not designate permitted sender hosts) Received: from cochabamba.vanoostrum.org (localhost [IPv6:::1]) by cochabamba.vanoostrum.org (Postfix) with ESMTP id 144A5AAE0348; Wed, 11 Mar 2020 23:10:36 +0100 (CET) From: Pieter van Oostrum To: Stefan Kangas Subject: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) References: <83eev5e7qh.fsf@gnu.org> <24122.56063.455926.185727@cochabamba.vanoostrum.org> <87tv3z5vdg.fsf@marxist.se> <83d0agntpc.fsf@gnu.org> <87y2s73aq3.fsf@stefankangas.se> <87v9na39xo.fsf@stefankangas.se> X-ASG-Orig-Subj: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) Date: Wed, 11 Mar 2020 23:10:36 +0100 In-Reply-To: <87v9na39xo.fsf@stefankangas.se> (Stefan Kangas's message of "Wed, 11 Mar 2020 21:37:07 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.90 (darwin) MIME-Version: 1.0 Content-Type: text/plain X-Barracuda-Connect: server24.hosting2go.nl[185.135.241.24] X-Barracuda-Start-Time: 1583964637 X-Barracuda-Encrypted: ECDHE-RSA-AES256-GCM-SHA384 X-Barracuda-URL: https://83.137.198.202:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at hosting2go.nl X-Barracuda-Scan-Msg-Size: 193 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=4.5 tests=BSF_SC0_MISMATCH_TO B-X-Hosting2GO-Smarthost: Clean X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.80609 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.00 BSF_SC0_MISMATCH_TO Envelope rcpt doesn't match header X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: 39436@debbugs.gnu.org, Eli Zaretskii , pieter@vanoostrum.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) There is a double full stop at the end of the first docstring: +use `package-menu-hide-package'.." -- Pieter van Oostrum www: http://pieter.vanoostrum.org/ PGP key: [8DAE142BE17999C4] From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 14 05:05:26 2020 Received: (at 39436) by debbugs.gnu.org; 14 Mar 2020 09:05:27 +0000 Received: from localhost ([127.0.0.1]:60608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jD2jW-0002WZ-N8 for submit@debbugs.gnu.org; Sat, 14 Mar 2020 05:05:26 -0400 Received: from ted.gofardesign.uk ([67.225.143.91]:56764) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jD2jU-0002WI-Sr for 39436@debbugs.gnu.org; Sat, 14 Mar 2020 05:05:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zDfxMU4PGb5WpJ+ixbdzJ68Qmu8cHixwTCQrZBwmTjA=; b=ROP1e00uHvrV+0ReEdJgC6rV5d 1u+YqI+XPkwUmKdASZH/utk+m9FnU/XXLXdQ16qH4o/T0UHHShnMiX9sdO0e90nZMtg04Pf2OCIyJ kJlulrpX26NHQs09Eg8bOeZihi/rclT/eTRLx56OuNlwgVqV5iu/aKBjHu3Rc1T7lLQZKCq08MPX3 9BNjCy4Wb/uEO54zIPGZjiHFUQ+vABvdmFPjTMtSXwFqDdQee14OZp3rZMPL82YCs+Hef0Bq1tlUB MhDPz1DdJN5Y1cyT/1hBSi9hauGgqeTgnenW7hse0j1R4q+HMFdNJ8HSaItD80X5Kyno+ISw2avVt Bg0q4aQQ==; Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:42960 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jD2jN-000WXu-0M; Sat, 14 Mar 2020 05:05:17 -0400 From: Stefan Kangas To: Pieter van Oostrum Subject: Re: bug#39436: closed (Re: bug#39436: 27.0.60; Documentaion error for package-menu-hide-package) In-Reply-To: (Pieter van Oostrum's message of "Wed, 11 Mar 2020 23:10:36 +0100") References: <83eev5e7qh.fsf@gnu.org> <24122.56063.455926.185727@cochabamba.vanoostrum.org> <87tv3z5vdg.fsf@marxist.se> <83d0agntpc.fsf@gnu.org> <87y2s73aq3.fsf@stefankangas.se> <87v9na39xo.fsf@stefankangas.se> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Date: Sat, 14 Mar 2020 10:05:14 +0100 Message-ID: <87tv2r488l.fsf@stefankangas.se> MIME-Version: 1.0 Content-Type: text/plain X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 39436 Cc: pieter@vanoostrum.org, Eli Zaretskii , 39436@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Pieter van Oostrum writes: > There is a double full stop at the end of the first docstring: > > +use `package-menu-hide-package'.." Thanks. Fixed that and pushed to emacs-27 as cbe643104d. Best regards, Stefan Kangas From unknown Thu Aug 21 14:54:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 11 Apr 2020 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator