all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: emacs-29 09d6070e56e: ; Improve and update documentation of built-in package upgrades
       [not found] ` <20230512123358.9ECA4C21705@vcs2.savannah.gnu.org>
@ 2023-05-12 14:09   ` Ruijie Yu via Emacs development discussions.
  2023-05-12 14:43     ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Ruijie Yu via Emacs development discussions. @ 2023-05-12 14:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel


Eli Zaretskii <eliz@gnu.org> writes:

> branch: emacs-29
> commit 09d6070e56ea21a5e9720bc619c439c09e5b2680
> Author: Eli Zaretskii <eliz@gnu.org>
> Commit: Eli Zaretskii <eliz@gnu.org>
>
>     ; Improve and update documentation of built-in package upgrades
>     
>     * doc/emacs/package.texi (Package Statuses, Package Menu)
>     (Package Installation):
>     * etc/NEWS: Document the options and caveats of upgrading built-in
>     packages.
> ---
>  doc/emacs/package.texi | 50 +++++++++++++++++++++++++++++++++++++++++++++++---
>  etc/NEWS               |  7 +++++++
>  2 files changed, 54 insertions(+), 3 deletions(-)

> [...]

> +In addition, when this option is non-nil, built-in packages for which
> +a new version is available in archives can be upgraded via the package
> +menu produced by 'M-x list-packages'.  If you do set this option
> +non-nil, we recommend not to use the 'U' command, but instead to use
> +'/ u' to show the packages which can be upgraded, and then unmark the
> +built-in packages which you don't need to overwrite from the archives.

> [...]

When you run `/ u' on the package list buffer, you don't automatically
mark anything for upgrading, so saying "unmark" out-of-the-blue is a bit
strange to me.

For reference, you "mark" upgrades by `U', and then "execute" all queued
actions (upgrades, installs, deletions, etc) by `x'.  `/ u' filters the
list of packages to only those which are upgradable, and nothing else.

Maybe we should say one of the following proof-of-concept changes?

    ... we recommend not to execute the 'x' command immediately after
    the 'U' command, but instead ....

    ... but instead to use '/ u' to show the packages which can be
    upgraded, and then mark the built-in packages which you are okay
    with upgrading from the archives.

    ... but instead to use '/ u' to show the packages which can be
    upgraded, then 'U' to mark all all upgradable packages, and then
    unmark the built-in packages which you don't need to overwrite ....

Hope this helps.

-- 
Best,


RY



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

* Re: emacs-29 09d6070e56e: ; Improve and update documentation of built-in package upgrades
  2023-05-12 14:09   ` emacs-29 09d6070e56e: ; Improve and update documentation of built-in package upgrades Ruijie Yu via Emacs development discussions.
@ 2023-05-12 14:43     ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2023-05-12 14:43 UTC (permalink / raw)
  To: Ruijie Yu; +Cc: emacs-devel

> From: Ruijie Yu <ruijie@netyu.xyz>
> Cc: emacs-devel@gnu.org
> Date: Fri, 12 May 2023 22:09:19 +0800
> 
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > +In addition, when this option is non-nil, built-in packages for which
> > +a new version is available in archives can be upgraded via the package
> > +menu produced by 'M-x list-packages'.  If you do set this option
> > +non-nil, we recommend not to use the 'U' command, but instead to use
> > +'/ u' to show the packages which can be upgraded, and then unmark the
> > +built-in packages which you don't need to overwrite from the archives.
> 
> > [...]
> 
> When you run `/ u' on the package list buffer, you don't automatically
> mark anything for upgrading, so saying "unmark" out-of-the-blue is a bit
> strange to me.

Thanks, fixed.

> Maybe we should say one of the following proof-of-concept changes?
> 
>     ... we recommend not to execute the 'x' command immediately after
>     the 'U' command, but instead ....
> 
>     ... but instead to use '/ u' to show the packages which can be
>     upgraded, and then mark the built-in packages which you are okay
>     with upgrading from the archives.
> 
>     ... but instead to use '/ u' to show the packages which can be
>     upgraded, then 'U' to mark all all upgradable packages, and then
>     unmark the built-in packages which you don't need to overwrite ....

I don't (yet) see the need for that.  I think telling people to stay
away of 'U' if they customize this new variable is good enough for
NEWS.  The manual tells more.



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

end of thread, other threads:[~2023-05-12 14:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <168389483830.11157.3184734522033933329@vcs2.savannah.gnu.org>
     [not found] ` <20230512123358.9ECA4C21705@vcs2.savannah.gnu.org>
2023-05-12 14:09   ` emacs-29 09d6070e56e: ; Improve and update documentation of built-in package upgrades Ruijie Yu via Emacs development discussions.
2023-05-12 14:43     ` 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.