all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* About `r' and `g' in Package Menu mode
@ 2014-03-06  5:50 Xue Fuqiao
  2014-03-06  7:44 ` Tassilo Horn
  0 siblings, 1 reply; 5+ messages in thread
From: Xue Fuqiao @ 2014-03-06  5:50 UTC (permalink / raw
  To: help-gnu-emacs

Hi,

In the `Package' menu (of Package Menu mode), there are two similar
entries:

* Refresh Package List     r
* Update Package List      g

Are there any differences between them?  I searched
`package-menu-refresh' but didn't get anything that looked promising.

TIA

-- 
http://www.gnu.org/software/emacs/




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

* Re: About `r' and `g' in Package Menu mode
  2014-03-06  5:50 About `r' and `g' in Package Menu mode Xue Fuqiao
@ 2014-03-06  7:44 ` Tassilo Horn
  2014-03-06 22:33   ` Xue Fuqiao
  2014-03-07  4:41   ` Stefan Monnier
  0 siblings, 2 replies; 5+ messages in thread
From: Tassilo Horn @ 2014-03-06  7:44 UTC (permalink / raw
  To: Xue Fuqiao; +Cc: help-gnu-emacs

Xue Fuqiao <xfq@gnu.org> writes:

Hi!

> In the `Package' menu (of Package Menu mode), there are two similar
> entries:
>
> * Refresh Package List     r
> * Update Package List      g
>
> Are there any differences between them?

I think the main difference is that `r' will download the archive
contents again, whereas `g' only rebuilds the tabulated list of packages
that have been downloaded previously.

So use `r' to check if some archive contains updated packages, and use
`g' for example to revert the install/delete marks you've made in the
buffer.

Bye,
Tassilo



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

* Re: About `r' and `g' in Package Menu mode
  2014-03-06  7:44 ` Tassilo Horn
@ 2014-03-06 22:33   ` Xue Fuqiao
  2014-03-06 22:39     ` Drew Adams
  2014-03-07  4:41   ` Stefan Monnier
  1 sibling, 1 reply; 5+ messages in thread
From: Xue Fuqiao @ 2014-03-06 22:33 UTC (permalink / raw
  To: help-gnu-emacs

Tassilo Horn <tsdh@gnu.org> writes:
> Hi!

Hi Tassilo,

>> In the `Package' menu (of Package Menu mode), there are two similar
>> entries:
>>
>> * Refresh Package List     r
>> * Update Package List      g
>>
>> Are there any differences between them?
>
> I think the main difference is that `r' will download the archive
> contents again, whereas `g' only rebuilds the tabulated list of packages
> that have been downloaded previously.
>
> So use `r' to check if some archive contains updated packages, and use
> `g' for example to revert the install/delete marks you've made in the
> buffer.

I see.  Thanks for your explanation.

-- 
http://www.gnu.org/software/emacs/




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

* RE: About `r' and `g' in Package Menu mode
  2014-03-06 22:33   ` Xue Fuqiao
@ 2014-03-06 22:39     ` Drew Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2014-03-06 22:39 UTC (permalink / raw
  To: Xue Fuqiao, help-gnu-emacs

> > I think the main difference is that `r' will download the archive
> > contents again, whereas `g' only rebuilds the tabulated list of packages
> > that have been downloaded previously.
> >
> > So use `r' to check if some archive contains updated packages, and use
> > `g' for example to revert the install/delete marks you've made in the
> > buffer.
> 
> I see.  Thanks for your explanation.

Now that you understand, maybe check the existing doc and see if you
think it makes things clear enough.  If you don't think so, consider
filing a bug report, to help others too: `M-x report-emacs-bug'.



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

* Re: About `r' and `g' in Package Menu mode
  2014-03-06  7:44 ` Tassilo Horn
  2014-03-06 22:33   ` Xue Fuqiao
@ 2014-03-07  4:41   ` Stefan Monnier
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Monnier @ 2014-03-07  4:41 UTC (permalink / raw
  To: help-gnu-emacs

> I think the main difference is that `r' will download the archive
> contents again, whereas `g' only rebuilds the tabulated list of packages
> that have been downloaded previously.

I think this distinction only makes sense when M-x list-packages does not
itself download the archive contents again.

IOW if M-x list-packages downloads the archive contents again, then
revert-buffer (aka `g') should too.  And vice-versa.


        Stefan




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

end of thread, other threads:[~2014-03-07  4:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-06  5:50 About `r' and `g' in Package Menu mode Xue Fuqiao
2014-03-06  7:44 ` Tassilo Horn
2014-03-06 22:33   ` Xue Fuqiao
2014-03-06 22:39     ` Drew Adams
2014-03-07  4:41   ` Stefan Monnier

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.