unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#55919: 29.0.50; package-menu-filter-by-archive fails to exclude nongnu when filtering for gnu
@ 2022-06-12  6:26 ` Eshel Yaron
  2022-06-12 10:27   ` Lars Ingebrigtsen
       [not found]   ` <handler.55919.C.165512288816848.notifdonectrl.0@debbugs.gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Eshel Yaron @ 2022-06-12  6:26 UTC (permalink / raw)
  To: 55919


1. Run emacs -Q
2. Type M-x list-packages
3. Type / a
4. Type gnu RET
5. Only packages from the "gnu" archive should appear, but "nongnu"
entries remain


In GNU Emacs 29.0.50 (build 1, x86_64-apple-darwin21.5.0, NS appkit-2113.50 Version 12.4 (Build 21F79))
 of 2022-06-06 built on Some-MacBook-Pro.local
Repository revision: 138d2f22f731bc3faf6de26b67e2b50ce9131541
Repository branch: master
Windowing system distributor 'Apple', version 10.3.2113
System Description:  macOS 12.4

Configured using:
 'configure --with-native-compilation --enable-link-time-optimization
 --with-json --with-xwidgets --with-mailutils'

Configured features:
ACL GMP GNUTLS JSON LIBXML2 MODULES NATIVE_COMP NOTIFY KQUEUE NS PDUMPER
SQLITE3 THREADS TOOLKIT_SCROLL_BARS XWIDGETS ZLIB

Important settings:
  value of $LC_CTYPE: UTF-8
  locale-coding-system: utf-8-unix

Major mode: Package Menu

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  isearch-fold-quotes-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  buffer-read-only: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
None found.

Features:
(mailalias mailclient textsec uni-scripts idna-mapping uni-confusable
textsec-check dabbrev shadow sort mail-extr shortdoc help-fns radix-tree
emacsbug crm mm-archive message sendmail yank-media dired dired-loaddefs
rfc822 mml mml-sec epa derived gnus-util text-property-search time-date
mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils
cus-edit pp cus-start cus-load wid-edit gnutls network-stream url-http
mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw
nsm rmc puny url-cache url-auth epg rfc6068 epg-config
display-line-numbers comp comp-cstr warnings rx cl-extra help-mode
finder-inf package browse-url url url-proxy url-privacy url-expand
url-methods url-history url-cookie generate-lisp-file url-domsuf
url-util mailcap url-handlers url-parse auth-source cl-seq eieio
eieio-core cl-macs eieio-loaddefs password-cache json map url-vars seq
gv subr-x byte-opt bytecomp byte-compile cconv cl-loaddefs cl-lib
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode 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 lisp-mode prog-mode register
page tab-bar menu-bar rfn-eshadow isearch easymenu timer select
scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors
frame minibuffer nadvice simple cl-generic indonesian philippine 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 emoji-zwj charscript
charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure
cl-preloaded button loaddefs faces cus-face macroexp files window
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget keymap hashtable-print-readable backquote threads
xwidget-internal kqueue cocoa ns multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 235934 40305)
 (symbols 48 11375 6)
 (strings 32 57430 2090)
 (string-bytes 1 1381815)
 (vectors 16 27221)
 (vector-slots 8 587297 27137)
 (floats 8 164 153)
 (intervals 56 13158 72)
 (buffers 992 16))





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55919: 29.0.50; package-menu-filter-by-archive fails to exclude nongnu when filtering for gnu
  2022-06-12  6:26 ` bug#55919: 29.0.50; package-menu-filter-by-archive fails to exclude nongnu when filtering for gnu Eshel Yaron
@ 2022-06-12 10:27   ` Lars Ingebrigtsen
  2022-06-13 11:48     ` Stefan Kangas
       [not found]   ` <handler.55919.C.165512288816848.notifdonectrl.0@debbugs.gnu.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-12 10:27 UTC (permalink / raw)
  To: Eshel Yaron; +Cc: 55919, Stefan Kangas

Eshel Yaron <eshelshay.yaron@gmail.com> writes:

> 1. Run emacs -Q
> 2. Type M-x list-packages
> 3. Type / a
> 4. Type gnu RET
> 5. Only packages from the "gnu" archive should appear, but "nongnu"
> entries remain

The doc string doesn't mention that the ARCHIVE argument here is a
regexp, and "gnu" matches "nongnu", too.

But does it make sense to use a regexp here?  I think that's pretty
surprising -- there aren't that many archives out there, and while a
regexp is more flexible (i.e., you can say \`gnu\|melpa to get both of
them), I don't think anybody would actually type anything like that.

I've added Stefan (who added this command) to the CCs; perhaps he has
comments.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55919: 29.0.50; package-menu-filter-by-archive fails to exclude nongnu when filtering for gnu
  2022-06-12 10:27   ` Lars Ingebrigtsen
@ 2022-06-13 11:48     ` Stefan Kangas
  2022-06-13 12:21       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2022-06-13 11:48 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 55919, Eshel Yaron

Lars Ingebrigtsen <larsi@gnus.org> writes:

> But does it make sense to use a regexp here?  I think that's pretty
> surprising -- there aren't that many archives out there, and while a
> regexp is more flexible (i.e., you can say \`gnu\|melpa to get both of
> them), I don't think anybody would actually type anything like that.

I can't remember any real reason for why I made it a regexp; I suspect
it was just an accident (as in: "why not?").

Changing it makes sense to me, as you will scarcely have any need for
searching over the three or so archives that exist.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55919: 29.0.50; package-menu-filter-by-archive fails to exclude nongnu when filtering for gnu
  2022-06-13 11:48     ` Stefan Kangas
@ 2022-06-13 12:21       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2022-06-13 12:21 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: 55919, Eshel Yaron

Stefan Kangas <stefan@marxist.se> writes:

> Changing it makes sense to me, as you will scarcely have any need for
> searching over the three or so archives that exist.

Thanks; I've now changed the command to use the input string as a string
instead of a regexp in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#55919: acknowledged by developer (control message for bug #55919)
       [not found]   ` <handler.55919.C.165512288816848.notifdonectrl.0@debbugs.gnu.org>
@ 2022-06-13 13:24     ` Eshel Yaron
  0 siblings, 0 replies; 5+ messages in thread
From: Eshel Yaron @ 2022-06-13 13:24 UTC (permalink / raw)
  To: 55919


Thank you very much for the quick resolution!

Best,
Eshel





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-06-13 13:24 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87wndkn48y.fsf@gnus.org>
2022-06-12  6:26 ` bug#55919: 29.0.50; package-menu-filter-by-archive fails to exclude nongnu when filtering for gnu Eshel Yaron
2022-06-12 10:27   ` Lars Ingebrigtsen
2022-06-13 11:48     ` Stefan Kangas
2022-06-13 12:21       ` Lars Ingebrigtsen
     [not found]   ` <handler.55919.C.165512288816848.notifdonectrl.0@debbugs.gnu.org>
2022-06-13 13:24     ` bug#55919: acknowledged by developer (control message for bug #55919) Eshel Yaron

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).