* Re: master 2ec9f025d2: Include the number of dependencies in the install prompt
[not found] ` <20220513133151.7C851C01687@vcs2.savannah.gnu.org>
@ 2022-05-13 13:47 ` Robert Pluim
2022-05-13 13:55 ` Lars Ingebrigtsen
2022-05-13 14:37 ` Stefan Monnier
1 sibling, 1 reply; 7+ messages in thread
From: Robert Pluim @ 2022-05-13 13:47 UTC (permalink / raw)
To: emacs-devel; +Cc: Lars Ingebrigtsen
>>>>> On Fri, 13 May 2022 09:31:51 -0400 (EDT), Lars Ingebrigtsen <larsi@gnus.org> said:
Lars> branch: master
Lars> commit 2ec9f025d242cf28098cf01c532d0cf4e6bd1661
Lars> Author: Lars Ingebrigtsen <larsi@gnus.org>
Lars> Commit: Lars Ingebrigtsen <larsi@gnus.org>
Lars> Include the number of dependencies in the install prompt
Lars> * lisp/emacs-lisp/package.el (package-menu--list-to-prompt): Add
Lars> the info to the prompt (bug#23346).
Lars> (package--dependencies): New function.
After going to all the trouble of calculating the dependencies, it
would be nice to show their names, not just how many there are, no?
Robert
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: master 2ec9f025d2: Include the number of dependencies in the install prompt
2022-05-13 13:47 ` master 2ec9f025d2: Include the number of dependencies in the install prompt Robert Pluim
@ 2022-05-13 13:55 ` Lars Ingebrigtsen
2022-05-13 14:03 ` Robert Pluim
0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-13 13:55 UTC (permalink / raw)
To: Robert Pluim; +Cc: emacs-devel
Robert Pluim <rpluim@gmail.com> writes:
> After going to all the trouble of calculating the dependencies, it
> would be nice to show their names, not just how many there are, no?
It would make the prompt really long, though.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: master 2ec9f025d2: Include the number of dependencies in the install prompt
2022-05-13 13:55 ` Lars Ingebrigtsen
@ 2022-05-13 14:03 ` Robert Pluim
2022-05-13 15:32 ` Lars Ingebrigtsen
0 siblings, 1 reply; 7+ messages in thread
From: Robert Pluim @ 2022-05-13 14:03 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: emacs-devel
>>>>> On Fri, 13 May 2022 15:55:40 +0200, Lars Ingebrigtsen <larsi@gnus.org> said:
Lars> Robert Pluim <rpluim@gmail.com> writes:
>> After going to all the trouble of calculating the dependencies, it
>> would be nice to show their names, not just how many there are, no?
Lars> It would make the prompt really long, though.
That wouldnʼt bother me particularly. I mean, I upgrade my packages
like twice a year, so just the list after doing 'U' is already
ginormous ;-)
Robert
--
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: master 2ec9f025d2: Include the number of dependencies in the install prompt
2022-05-13 14:03 ` Robert Pluim
@ 2022-05-13 15:32 ` Lars Ingebrigtsen
0 siblings, 0 replies; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-13 15:32 UTC (permalink / raw)
To: Robert Pluim; +Cc: emacs-devel
Robert Pluim <rpluim@gmail.com> writes:
> That wouldnʼt bother me particularly. I mean, I upgrade my packages
> like twice a year, so just the list after doing 'U' is already
> ginormous ;-)
When upgrading, the list is huge, but the patch doesn't include the
dependency thing then (because it's not particularly interesting in that
context). But if you're installing some-innocuous-package, and it turns
out to have a dependency tree that will install 300 more packages, you
may want to reconsider. So now it says:
Packages to install: 1 (some-innocuous-package) plus 300 dependencies. Proceed? (y or n)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: master 2ec9f025d2: Include the number of dependencies in the install prompt
[not found] ` <20220513133151.7C851C01687@vcs2.savannah.gnu.org>
2022-05-13 13:47 ` master 2ec9f025d2: Include the number of dependencies in the install prompt Robert Pluim
@ 2022-05-13 14:37 ` Stefan Monnier
2022-05-13 14:52 ` Lars Ingebrigtsen
1 sibling, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2022-05-13 14:37 UTC (permalink / raw)
To: emacs-devel; +Cc: Lars Ingebrigtsen
> + (if (length= deps 1)
> + (format " plus 1 dependency")
> + (format " plus %d dependencies" (length deps)))
Don't we have a function specifically for that (also kinda intended for
localization, tho AFAIK this part isn't actually implemented yet)?
Stefan
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: master 2ec9f025d2: Include the number of dependencies in the install prompt
2022-05-13 14:37 ` Stefan Monnier
@ 2022-05-13 14:52 ` Lars Ingebrigtsen
2022-05-13 15:24 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2022-05-13 14:52 UTC (permalink / raw)
To: Stefan Monnier; +Cc: emacs-devel
Stefan Monnier <monnier@iro.umontreal.ca> writes:
> Don't we have a function specifically for that (also kinda intended for
> localization, tho AFAIK this part isn't actually implemented yet)?
Yes, but I can never remember what it's called. 🫠
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: master 2ec9f025d2: Include the number of dependencies in the install prompt
2022-05-13 14:52 ` Lars Ingebrigtsen
@ 2022-05-13 15:24 ` Eli Zaretskii
0 siblings, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2022-05-13 15:24 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: monnier, emacs-devel
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: emacs-devel@gnu.org
> Date: Fri, 13 May 2022 16:52:38 +0200
>
> Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
> > Don't we have a function specifically for that (also kinda intended for
> > localization, tho AFAIK this part isn't actually implemented yet)?
>
> Yes, but I can never remember what it's called. 🫠
Unsurprisingly, ngettext.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-05-13 15:32 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <165244871112.23849.4200440632435978842@vcs2.savannah.gnu.org>
[not found] ` <20220513133151.7C851C01687@vcs2.savannah.gnu.org>
2022-05-13 13:47 ` master 2ec9f025d2: Include the number of dependencies in the install prompt Robert Pluim
2022-05-13 13:55 ` Lars Ingebrigtsen
2022-05-13 14:03 ` Robert Pluim
2022-05-13 15:32 ` Lars Ingebrigtsen
2022-05-13 14:37 ` Stefan Monnier
2022-05-13 14:52 ` Lars Ingebrigtsen
2022-05-13 15:24 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.