unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Autoloading M-x package-refresh-contents
@ 2011-10-28  3:42 Phil Hagelberg
  2011-10-28 12:50 ` Stefan Monnier
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Hagelberg @ 2011-10-28  3:42 UTC (permalink / raw)
  To: Emacs discussions

If you haven't already required package.el then M-x
package-refresh-contents will not be visible.

It seems like it would be reasonable to want to refresh the package list
before performing any other package-related operations, so perhaps an
autoload cookie should be added?

-Phil



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

* Re: Autoloading M-x package-refresh-contents
  2011-10-28  3:42 Autoloading M-x package-refresh-contents Phil Hagelberg
@ 2011-10-28 12:50 ` Stefan Monnier
  2011-10-28 16:36   ` Phil Hagelberg
  0 siblings, 1 reply; 5+ messages in thread
From: Stefan Monnier @ 2011-10-28 12:50 UTC (permalink / raw)
  To: Phil Hagelberg; +Cc: Emacs discussions

> If you haven't already required package.el then M-x
> package-refresh-contents will not be visible.

I think the intention is to use it via `r' in after M-x list-packages.


        Stefan



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

* Re: Autoloading M-x package-refresh-contents
  2011-10-28 12:50 ` Stefan Monnier
@ 2011-10-28 16:36   ` Phil Hagelberg
  2011-10-29  3:42     ` Chong Yidong
  0 siblings, 1 reply; 5+ messages in thread
From: Phil Hagelberg @ 2011-10-28 16:36 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: Emacs discussions

On Fri, Oct 28, 2011 at 5:50 AM, Stefan Monnier
<monnier@iro.umontreal.ca> wrote:
>> If you haven't already required package.el then M-x
>> package-refresh-contents will not be visible.
>
> I think the intention is to use it via `r' in after M-x list-packages.

That's one way to do it, but I personally find it more convenient to
use M-x package-install if I already know the name of the package. I
only use M-x list-packages when I'm browsing or I've forgotten what a
certain package is called. In this case it's pretty common to want to
refresh first.

-Phil



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

* Re: Autoloading M-x package-refresh-contents
  2011-10-28 16:36   ` Phil Hagelberg
@ 2011-10-29  3:42     ` Chong Yidong
  2011-10-29 20:19       ` Phil Hagelberg
  0 siblings, 1 reply; 5+ messages in thread
From: Chong Yidong @ 2011-10-29  3:42 UTC (permalink / raw)
  To: Phil Hagelberg; +Cc: Stefan Monnier, Emacs discussions

Phil Hagelberg <phil@hagelb.org> writes:

> That's one way to do it, but I personally find it more convenient to
> use M-x package-install if I already know the name of the package. I
> only use M-x list-packages when I'm browsing or I've forgotten what a
> certain package is called. In this case it's pretty common to want to
> refresh first.

Fair enough.  I've added the autoload.



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

* Re: Autoloading M-x package-refresh-contents
  2011-10-29  3:42     ` Chong Yidong
@ 2011-10-29 20:19       ` Phil Hagelberg
  0 siblings, 0 replies; 5+ messages in thread
From: Phil Hagelberg @ 2011-10-29 20:19 UTC (permalink / raw)
  To: Chong Yidong; +Cc: Stefan Monnier, Emacs discussions

On Fri, Oct 28, 2011 at 8:42 PM, Chong Yidong <cyd@gnu.org> wrote:
> Phil Hagelberg <phil@hagelb.org> writes:
>
>> That's one way to do it, but I personally find it more convenient to
>> use M-x package-install if I already know the name of the package. I
>> only use M-x list-packages when I'm browsing or I've forgotten what a
>> certain package is called. In this case it's pretty common to want to
>> refresh first.
>
> Fair enough.  I've added the autoload.

Thanks!

-Phil



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

end of thread, other threads:[~2011-10-29 20:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-28  3:42 Autoloading M-x package-refresh-contents Phil Hagelberg
2011-10-28 12:50 ` Stefan Monnier
2011-10-28 16:36   ` Phil Hagelberg
2011-10-29  3:42     ` Chong Yidong
2011-10-29 20:19       ` Phil Hagelberg

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).