all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Payas Relekar <relekarpayas@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 63536@debbugs.gnu.org, andrewgoh95@yahoo.com.sg
Subject: bug#63536: Feature Request
Date: Wed, 17 May 2023 21:10:15 +0530	[thread overview]
Message-ID: <87jzx7yn0p.fsf@gmail.com> (raw)
In-Reply-To: <1553770628.2069339.1684237196253@mail.yahoo.com>

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Payas Relekar <relekarpayas@gmail.com>
>> Cc: Andrew Goh <andrewgoh95@yahoo.com.sg>,  63536@debbugs.gnu.org
>> Date: Wed, 17 May 2023 19:34:06 +0530
>>
>> The idea itself is valid, as long as the update check happens only at
>> explicit user action. The command should only compare current version of
>> Emacs with the latest update and inform user about the difference. Then
>> the onus is on user to proceed with the update. Command output can point
>> them to relevant section of the manual, informing of ways to install
>> (and also update) Emacs.
>
> How will we know where to look?  That's the main technical issue with
> this, I think.
>
> Another possible issue is whether just to tell the user "A newer
> version XY.Z is available, you can download it at <URL>", or also
> offer a possibility of actually downloading the newer version?

The former is preferred. Emacs users more often than not use third party
mechanisms (e.g. package managers) to get it installed. Any action for
actually downloading would muddy the waters. Here's the flow that I
imagine:

1. User runs `M-x emacs-check-update`
2. Emacs checks GNU repo and provides somthing like:
   `Update for Emacs 29.1 is now available. Current version is 28.2.

   If you installed Emacs via a package manager like your GNU/linux
   distribution, homebrew, Guix etc, please follow their respective
   instructions.

   If you installed Emacs by compiling from source, follow _link to
   latest Emacs compilation instructions_.

   If you'd like to check for updates for Emacs-Lisp packages, please
   check 'package-upgrade'`
3. User chooses to follow or ignore the instructions.

The wording would play big part, but as long as we make it clear to
follow the path of original installation is preferred, I think most
users can figure it out, just like the rest of the manual.

At any point, Emacs providing built-in mechanism for update, while nice
to have, will be gigantic pain to implement and even bigger pain to
maintain. Something like rustup is well-desired, but Emacs has very
broad scope and dependency tree unlike rust toolchain, so I'd rather
avoid it.
--





  parent reply	other threads:[~2023-05-17 15:40 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1553770628.2069339.1684237196253.ref@mail.yahoo.com>
2023-05-16 11:39 ` bug#63536: Feature Request Andrew Goh via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-05-16 15:46   ` Eli Zaretskii
     [not found]     ` <2050007547.2204916.1684290974957@mail.yahoo.com>
2023-05-17 10:58       ` Eli Zaretskii
     [not found]         ` <1884442844.2472195.1684329429592@mail.yahoo.com>
2023-05-17 13:37           ` Eli Zaretskii
2023-05-17 16:53             ` Jim Porter
2023-05-19 13:36             ` Benjamin Riefenstahl
2023-05-17 14:04   ` Payas Relekar
2023-05-17 17:16     ` Eli Zaretskii
2023-05-17 15:40   ` Payas Relekar [this message]
2023-05-17 15:51   ` Payas Relekar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87jzx7yn0p.fsf@gmail.com \
    --to=relekarpayas@gmail.com \
    --cc=63536@debbugs.gnu.org \
    --cc=andrewgoh95@yahoo.com.sg \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.