Notices: This section not yet converted to new layout. Download stats are rolling back out.

Emacs

26.1.0.20180701

Package test results are passing.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator gep13 on 1/22/2019.

GNU Emacs is an extensible, customizable text editor—and more. At its core is an interpreter for Emacs Lisp, a dialect of the Lisp programming language with extensions to support text editing. Chocolatey package source: https://github.com/enko/EmacsChocolateyPackage

To install Emacs, run the following command from the command line or from PowerShell:

C:\> choco install emacs

To upgrade Emacs, run the following command from the command line or from PowerShell:

C:\> choco upgrade emacs

Files

Hide
  • tools\chocolateyInstall.ps1 Show
    $packageName = 'emacs'
    
    $majorVersion = '26'
    $minorVersion = '1'
    
    $emacsNameVersion = "$($packageName)-$($majorVersion).$($minorVersion)"
    $installDir = $(Split-Path -parent $MyInvocation.MyCommand.Definition) + '/' + $packageName
    
    $packageArgs = @{
      packageName    = $packageName
      unzipLocation  = $installDir
      url            = "http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-$($majorVersion)/$($emacsNameVersion)-i686.zip"
      url64bit       = "http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-$($majorVersion)/$($emacsNameVersion)-x86_64.zip"
      checksum       = 'd8c1486304462a368911acc4628ba5433d5d6af6a25511504f324a3cd405131b'
      checksumType   = 'sha256'
      checksum64     = '995a9da608c8dca75c385769c1c7bf212ac39713c0d14e9af2e718363b5e8264'
      checksumType64 = 'sha256'
    }
    
    Install-ChocolateyZipPackage @packageArgs
    
    $emacsDepsVersion = "emacs-$($majorVersion)"
    
    $packageArgs = @{
      packageName    = $packageName
      unzipLocation  = $installDir
      url            = "http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-$($majorVersion)/$($emacsDepsVersion)-i686-deps.zip"
      url64bit       = "http://ftp.gnu.org/pub/gnu/emacs/windows/emacs-$($majorVersion)/$($emacsDepsVersion)-x86_64-deps.zip"
      checksum       = '4ff9057d4407f2d1149f158a2920acd09c31eff12a09ba25dc1776a3978f41ad'
      checksumType   = 'sha256'
      checksum64     = '3501E0C7F31CBF98EF7AC5CBBC8BAE04EF4A72F52B00898965A8D702C4A5FAE7'
      checksumType64 = 'sha256'
    }
    
    # Exclude executables from getting shim
    $guiExes = @("emacs.exe", "emacsclientw.exe")
    $shimExes = @("runemacs.exe", "emacsclient.exe")
    
    $guiFilter = "^" + $($guiExes -join "$|^") + "$"
    $shimFilter = "^" + $($shimExes -join "$|^") + "$"
    
    $files = Get-Childitem $installDir -include *.exe -recurse
    
    foreach ($file in $files) {
        if ($file.Name -match $guiFilter) {
            #generate an gui file
            New-Item "$file.gui" -type file -force | Out-Null
        }
        elseif (-not ($file.Name -match $shimFilter)) {
            #generate an ignore file
            New-Item "$file.ignore" -type file -force | Out-Null
        }
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

This package has no dependencies.

Package Maintainer(s)

Software Author(s)

  • The GNU Project

Copyright

Copyright (C) 2018 Free Software Foundation, Inc.

Tags

Version History

Version Downloads Last updated Status
Emacs 24.5.0.20150611 14090 Thursday, June 11, 2015 approved
Emacs 24.4.0.20141122 5498 Sunday, November 23, 2014 approved
Emacs 24.3.0.20140722 1816 Monday, July 21, 2014 approved
Emacs 24.3.0.20140721 298 Monday, July 21, 2014 approved
Emacs 24.3.0.20140716 368 Wednesday, July 16, 2014 approved
Emacs 24.3 2331 Wednesday, June 5, 2013 approved
Emacs 24.2 810 Wednesday, September 26, 2012 approved
Emacs 24.1.50.1-SNAPSHOT 375 Wednesday, May 16, 2012 approved
Show More

Discussion for the Emacs Package

Ground rules:

  • This discussion is only about Emacs and the Emacs package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Emacs, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok