User Tools

Site Tools


other:emacs_doc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
other:emacs_doc [2025/08/05 16:12] – [Windows installation] jypeterother:emacs_doc [2025/12/03 17:16] (current) – [Windows] Added details for 30.1 jypeter
Line 300: Line 300:
   * [[https://github.com/rougier#emacs-hacking|Emacs hacking]] by Nicolas Rougier   * [[https://github.com/rougier#emacs-hacking|Emacs hacking]] by Nicolas Rougier
  
-===== Updating emacs =====+===== Updating (or uninstalling) emacs =====
  
 ==== Linux ==== ==== Linux ====
Line 310: Line 310:
 ==== Windows ==== ==== Windows ====
  
-<note tip>''winget list'' returns a result, **after installing ''Emacs 30.1''**, so it is possible that ''winget upgrade'' will workat last! :-)+<note tip>''winget'' and ''Emacs'' seem to be completely compatible, starting with ''Emacs 30.2'' (August 2025) !!\\ \\ ''winget list'' returns a result, **and** finds the correct Version information!\\ \\ 
 + 
 +<code>> winget list --id GNU.Emacs 
 +Nom            ID        Version Source 
 +---------------------------------------- 
 +GNU Emacs 30.2 GNU.Emacs 30.2    winget</code> 
 +</note> 
 + 
 +=== Emacs 30.2 end newer === 
 + 
 +Just use ''winget list'' and ''winget upgrade'' to check the currently installed version, and get a more recent version, if available 
 + 
 +<code>> winget list --id GNU.Emacs 
 +Nom            ID        Version Source 
 +---------------------------------------- 
 +GNU Emacs 30.2 GNU.Emacs 30.2    winget 
 + 
 +> winget upgrade --id GNU.Emacs 
 +Mise à niveau disponible introuvable. 
 +Aucune version de package plus récente n’est disponible à partir des sources configurées</code> 
 + 
 +=== Emacs 30.1 === 
 + 
 +<note tip>''winget list'' returns a result, **after installing ''Emacs 30.1''**\\ \\ ''winget upgrade'' can later install ''Emacs 30.2'', but will not uninstall ''Emacs 30.1'' automaticallybecause the Version information for ''30.1'' is ''Unknown''
  
 <code>> winget list --id GNU.Emacs <code>> winget list --id GNU.Emacs
Line 316: Line 339:
 -------------------------------------------------- --------------------------------------------------
 GNU Emacs 30.1 GNU.Emacs Unknown 30.1       winget</code></note> GNU Emacs 30.1 GNU.Emacs Unknown 30.1       winget</code></note>
 +
 +When you upgrade ''Emacs 30.1'' with ''winget'', you end up with both ''Emacs 30.1'' and ''Emacs 30.2'' installed! You can go to the Windows applications panel, and manually uninstall ''Emacs 30.1''
 +
 +{{ :other:emacs_30.1_uninstall.png?direct&400 |}}
 +
 +=== Before Emacs 30.1 ===
  
 Using ''winget upgrade'' for updating emacs on Windows unfortunately [[https://github.com/microsoft/winget-pkgs/issues/88443#issuecomment-1688257680|does not work yet (August 2024)]]. The easiest way to update Emacs is: Using ''winget upgrade'' for updating emacs on Windows unfortunately [[https://github.com/microsoft/winget-pkgs/issues/88443#issuecomment-1688257680|does not work yet (August 2024)]]. The easiest way to update Emacs is:
other/emacs_doc.1754403174.txt.gz · Last modified: by jypeter

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki