aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/emacs.scm
Commit message (Collapse)AuthorAge
* Revert "gnu: emacs-minimal: Update to 29.2."Liliana Marie Prikler2024-01-21
| | | | | | | This reverts commit b9bc400d85b1dbf3295f96aed9031527b6c59ba7. Fixes: Too many rebuilds <http://logs.guix.gnu.org/guix/2024-01-21.log#095235> Reported-by: Efraim Flashner <efraim@flashner.co.il>
* gnu: emacs-minimal: Update to 29.2.Liliana Marie Prikler2024-01-21
| | | | * gnu/packages/emacs.scm (emacs-minimal): Update to 29.2.
* gnu: emacs-minimal: Set upstream-name to “emacs”.Liliana Marie Prikler2024-01-21
| | | | * gnu/packages/emacs.scm (emacs-minimal)[properties]: Add ‘upstream-name’.
* gnu: emacs: Patch awk, find, sed and sh commands.Maxim Cournoyer2024-01-18
| | | | | | | | | | | | | | | | | | Before this change, using Emacs in a pure environment, e.g. 'guix shell --pure emacs', would cause problems such as: jka-compr-insert-file-contents: Uncompression program ‘sh’ not found And other problems were found requiring the other tools. * gnu/packages/emacs.scm (emacs-minimal) [arguments]: Extend the patch-program-file-names phase. [inputs]: Add findutils, gawk and sed. Series-changes: 2 - Patch references in place instead of wrapping via PATH Change-Id: Ifb4fe2fc12ddc9eae387adb3da3f7821fab78e65
* gnu: emacs-next-minimal: Apply Guix patches.Liliana Marie Prikler2023-10-08
| | | | | | | | | | | | * gnu/packages/patches/emacs-next-native-comp-driver-options.patch: Add file. * gnu/packages/patches/emacs-next-exec-path.patch: Add file. * gnu/local.mk (dist_patch_DATA): Register them here. * gnu/packages/emacs.scm (emacs-next-minimal)[origin](patches): Include the same patches as emacs-minimal, save for the variants specific to emacs-next introduced above. Co-Authored-By: Nicolas Graves <ngraves@ngraves.fr> Fixes: ‘emacs-next’ is almost unusable <https://bugs.gnu.org/66227>
* gnu: Add emacs-next-tree-sitter.Liliana Marie Prikler2023-09-09
| | | | | | | | | This package currently exists on master, where both emacs and emacs-next are built without tree-sitter. Since most of our Emacsen now build with tree-sitter, it is no longer needed, but let's issue a warning rather than a hard error to those who rely on it. * gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable.
* gnu: Add emacs-next-pgtk-xwidgets.Liliana Marie Prikler2023-09-09
| | | | * gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable.
* gnu: Add emacs-next-pgtk.Liliana Marie Prikler2023-09-09
| | | | * gnu/packages/emacs.scm (emacs-next-pgtk): New variable.
* gnu: Add emacs-next.Liliana Marie Prikler2023-09-09
| | | | * gnu/packages/emacs.scm (emacs->emacs-next, emacs-next): New variable.
* gnu: Add emacs-next-minimal.Liliana Marie Prikler2023-09-09
| | | | * gnu/packages/emacs.scm (emacs-next-minimal): New variable.
* gnu: emacs: Reload subdirs.el files in ‘guix-emacs-autoload-packages’.Maxim Cournoyer2023-09-07
| | | | | | | | | | | | | | | | | This fixes a regression introduced with 79cfe30f3 ("build-system: emacs: Use subdirectories again.") which caused the 'guix-emacs-autoload-packages' to no longer be able to autoload all packages. * gnu/packages/aux-files/emacs/guix-emacs.el (guix-emacs-autoload-packages): Reload subdirs.el files unless NO-RELOAD is provided. Update docstring. * doc/guix.texi (Application Setup): Document that ‘guix-emacs-autoload-packages’ can be invoked interactively to auto-reload newly installed Emacs packages. * gnu/packages/emacs.scm (emacs)[arguments]<#:phases>: Call guix-emacs-autoload-packages with an argument in the site-start.el file. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: emacs: Update to 29.1.Liliana Marie Prikler2023-08-02
| | | | | * gnu/packages/emacs.scm (emacs-minimal): Update to 29.1. [source]: Use url-fetch again.
* Merge branch 'master' into emacs-teamLiliana Marie Prikler2023-08-01
|\
| * gnu: emacs: Depend on libc-for-target.Janneke Nieuwenhuizen2023-07-18
| | | | | | | | * gnu/packages/emacs.scm (emacs)[inputs]: Change glibc to (libc-for-target).
* | Merge branch 'master' into emacs-teamLiliana Marie Prikler2023-07-13
|\|
| * gnu: emacs-next: Update to 29.0.92.Hilton Chain2023-07-10
| | | | | | | | | | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.92. Signed-off-by: Andrew Tropin <andrew@trop.in>
* | gnu: Construct Emacs packages from bottom up.Liliana Marie Prikler2023-06-09
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This makes relationships within the Emacs variants slightly easier to reason about. In particular, it makes it so that inputs get added on top of the previous stack rather than removed (which brings the risk of not adjusting changes downwards). * gnu/packages/emacs.scm (emacs-minimal): Expand package definition. [inputs]: Reorder and add bash-minimal. (emacs-no-x): Inherit from emacs-minimal. (emacs): Inherit from emacs-no-x. (emacs-motif, emacs-no-x-toolkit): Inherit from emacs-no-x. Only inherit inputs from emacs.
* | gnu: Make emacs-next-tree-sitter the new emacs.Liliana Marie Prikler2023-06-09
|/ | | | | | | | | | | | | | | | | * gnu/packages/patches/emacs-source-date-epoch.patch: Delete file * gnu/local.mk (dist_patch_DATA): Remove it from here. * gnu/packages/emacs.scm (emacs): Update to 29.0.91. [source]<patches>: Remove “emacs-source-date-epoch.patch”. Add “emacs-pgtk-super-key-fix.patch”. [arguments]: Use “--with-native-compilation=aot” instead of #:make-flags. [inputs]: Add sqlite and tree-sitter. (emacs-next-pgtk): Rename to… (emacs-pgtk): … this. (emacs-next-pgtk-xwidgets): Rename to… (emacs-pgtk-xwidgets): … this. (emacs-minimal)[native-inputs]: Add texinfo. (emacs-xwidgets): Inherit build system, configure-flags and phases normally. (emacs-next, emacs-next-tree-sitter): Remove variables.
* gnu: emacs-next-tree-sitter: "Downgrade" to 29.0.91.Liliana Marie Prikler2023-05-28
| | | | | * gnu/packages/emacs.scm (emacs-next-tree-sitter)[version, source]: Inherit fields from emacs-next.
* gnu: emacs-next: Update to 29.0.91.Liliana Marie Prikler2023-05-28
| | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.91.
* gnu: Add emacs-next-pgtk-xwidgets.Antero Mejr2023-05-07
| | | | | | * gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: emacs: Use librsvg-for-system.Efraim Flashner2023-04-30
| | | | | * gnu/packages/emacs.scm (emacs)[inputs]: Replace librsvg input logic with librsvg-for-system.
* gnu: emacs-next: Update to 29.0.90.Liliana Marie Prikler2023-04-19
| | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.90.
* Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge2023-03-20
|\
| * gnu: m17n-lib: Fix cross-compile.Z5722023-03-17
| | | | | | | | | | | | | | | | | | | | | | | | * gnu/packages/emacs.scm (m17n-lib) [source]: Add m17n-lib-1.8.0-use-pkg-config-for-freetype.patch. [native-inputs]: When cross-compile add pkg-config, libtool, gettext-minimal, autoconf, automake. [arguments]: When cross-compile, add phase to fix rpl_malloc undefined references. * gnu/packages/patches/m17n-lib-1.8.0-use-pkg-config-for-freetype.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
| * gnu: m17n-db: Fix cross-compile.Z5722023-03-17
| | | | | | | | | | | | | | | | * gnu/packages/emacs.scm (m17n-db) [inputs]: Move gettext-minimal to ... [native-inputs]: ... here. Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
| * gnu: emacs-next-pgtk: Inherit from emacs-next-tree-sitter.Andrew Tropin2023-03-12
| | | | | | | | | | | | | | | | | | Inherit pgtk emacs from tree-sitter to have both features available for wayland users. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-pgtk): Inherit from emacs-next-tree-sitter.
| * gnu: emacs-next-tree-sitter: Inherit from emacs-next.Andrew Tropin2023-03-12
| | | | | | | | | | | | | | | | | | Make tree-sitter emacs available without pgtk. It's part of ongoing iheritance hierarchy update, tree-sitter have less implications than pgtk and thus it should be placed earlier in inheritance chain. For more details: https://yhetil.org/guix-devel/87r0txr99u.fsf@inventati.org/T/#u * gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next.
| * gnu: emacs-next-tree-sitter: Inherit from emacs-next-pgtk.Andrew Tropin2023-03-09
| | | | | | | | | | | | | | | | Make emacs with tree-sitter work on wayland as well. * gnu/packages/emacs.scm (emacs-next-tree-sitter): Inherit from emacs-next-pgtk, remove uneeded native-inputs, add synopsis and description. [source]: Use inherited patches.
| * gnu: emacs-next-pgtk: Remove xwidgets support.Andrew Tropin2023-03-09
| | | | | | | | | | | | | | | | | | | | | | | | | | xwidgets is beefy and buggy, but emacs-next-pgtk is important for wayland users, so it seems a good idea to remove xwidgets from emacs-next-pgtk. Also, we have a separate emacs-xwidgets package for those who wants to experiment. * gnu/packages/emacs.scm (emacs-next-pgtk)[propagated-inputs]: Remove gsettings-desktop-schemas glib-networking. [arguments]<#:configure-flags>: Remove --with-xwidgets. [inputs]: Remove webkitgtk-with-libsoup2. [home-page]: PGTK is merged to upstream emacs repository now, so inherit home-page from emacs-next.
* | Merge remote-tracking branch 'savannah/master' into core-updatesChristopher Baines2023-03-02
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: gnu/local.mk gnu/packages/autotools.scm gnu/packages/cmake.scm gnu/packages/gnuzilla.scm gnu/packages/haskell.scm gnu/packages/pdf.scm gnu/packages/python-xyz.scm gnu/packages/samba.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/wxwidgets.scm
| * gnu: Add emacs-motif.Andy Tai2023-03-01
| | | | | | | | | | | | * gnu/packages/text-editors.scm (emacs-motif): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
| * gnu: emacs-next: Update to 29.0.60-1.f1f571e.Liliana Marie Prikler2023-02-26
| | | | | | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-1.f1f571e.
| * gnu: Add emacs-next-tree-sitter.Liliana Marie Prikler2023-02-26
| | | | | | | | | | * gnu/packages/emacs.scm (emacs-next-tree-sitter): New variable. (emacs-next): Remove tree sitter support.
| * gnu: Remove tree-sitter comment from emacs.scm imports.Pierre Langlois2023-02-12
| | | | | | | | | | | | * gnu/packages/emacs.scm: Remove tree-sitter comment. Signed-off-by: Andrew Tropin <andrew@trop.in>
| * gnu: emacs: Add TREE_SITTER_GRAMMAR_PATH support.Andrew Tropin2023-02-11
| | | | | | | | | | | | | | gnu/packages/emacs.scm (emacs)[native-search-paths]: Add a search-path for tree-sitter grammars. gnu/packages/aux-files/emacs/guix-emacs.el: Add directories from TREE_SITTER_GRAMMAR_PATH to treesit-extra-load-path.
| * gnu: tree-sitter: Move to its own module.Pierre Langlois2023-02-09
| | | | | | | | | | | | | | | | | | | | * gnu/packages/text-editors.scm (tree-sitter): Move to ... * gnu/packages/tree-sitter.scm: ... here, a new module. * gnu/packages/vim.scm: Use (gnu packages tree-sitter). * gnu/packages/emacs.scm: Use (gnu packages tree-sitter). * gnu/local.mk (GNU_SYSTEM_MODULES): Register tree-sitter.scm new module. Signed-off-by: Andrew Tropin <andrew@trop.in>
| * gnu: emacs-next: Enable tree-sitter support.Declan Tsien2023-02-04
| | | | | | | | | | | | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.60-0.ac7ec87. * gnu/packages/emacs.scm (emacs-next)[inputs]: Add tree-sitter. Signed-off-by: Andrew Tropin <andrew@trop.in>
* | Merge remote-tracking branch 'origin/master' into core-updatesEfraim Flashner2023-01-30
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: doc/guix.texi gnu/local.mk gnu/packages/admin.scm gnu/packages/base.scm gnu/packages/chromium.scm gnu/packages/compression.scm gnu/packages/databases.scm gnu/packages/diffoscope.scm gnu/packages/freedesktop.scm gnu/packages/gnome.scm gnu/packages/gnupg.scm gnu/packages/guile.scm gnu/packages/inkscape.scm gnu/packages/llvm.scm gnu/packages/openldap.scm gnu/packages/pciutils.scm gnu/packages/ruby.scm gnu/packages/samba.scm gnu/packages/sqlite.scm gnu/packages/statistics.scm gnu/packages/syndication.scm gnu/packages/tex.scm gnu/packages/tls.scm gnu/packages/version-control.scm gnu/packages/xml.scm guix/build-system/copy.scm guix/scripts/home.scm
| * gnu: emacs-next: Update to 29.0.50-4.6adc193.Fredrik Salomonsson2023-01-26
| | | | | | | | | | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-4.6adc193. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
| * gnu: emacs-minimal: Do not patch compilation driver.Liliana Marie Prikler2023-01-22
| | | | | | | | | | | | | | The ‘patch-compilation-driver’ phase pulls in libgccjit even though it has been deliberately removed from emacs-minimal. * gnu/packages/emacs.scm (emacs)[#:phases]: Delete ‘patch-compilation-driver’.
| * gnu: emacs-next: Update to 29.0.50-3.22e8a77.jgart2022-11-03
| | | | | | | | | | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-3.22e8a77. Signed-off-by: Christopher Baines <mail@cbaines.net>
| * gnu: emacs: Update to 28.2.Liliana Marie Prikler2022-10-16
| | | | | | | | * gnu/packages/emacs.scm (emacs): Update to 28.2.
| * Merge branch 'staging'Marius Bakke2022-10-16
| |\
| | * gnu: emacs-minimal: Reduce to minimal inputs.Liliana Marie Prikler2022-10-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This partly reverts dbcba75c0e96d8eb2b0bf9dbb3a49d15b38f80d2. In that commit, emacs-minimal gained a few inputs that weren't actually used as native compilation is disabled. Discovered by djeis in IRC, see also <http://logs.guix.gnu.org/guix/2022-10-02.log#170047>. * gnu/packages/emacs.scm (emacs-minimal)[inputs]: Remove ld-wrapper, binutils, glibc, libgccjit, and zlib. [arguments]<#:phases>: Delete ‘set-libgccjit-path’.
| * | gnu: emacs-next: Update to 29.0.50-2.4aeb80c.Liliana Marie Prikler2022-10-15
| |/ | | | | | | | | | | * gnu/packages/patches/emacs-native-comp-driver-options.patch: New file. * gnu/local.mk: Register it here. * gnu/packages/emacs.scm (emacs-next): Update to 29.0.50-2.4aeb80c.
* | Merge branch 'staging' into core-updatesMaxim Cournoyer2022-09-27
|\| | | | | | | | | | | | | | | | | | | | | | | Conflicts resolved in: gnu/local.mk gnu/packages/cran.scm gnu/packages/gnome.scm gnu/packages/gtk.scm gnu/packages/icu4c.scm gnu/packages/java.scm gnu/packages/machine-learning.scm gnu/packages/tex.scm
| * gnu: emacs-next-pgtk: Inherit patches from emacs-next.Andrew Tropin2022-09-19
| | | | | | | | | | * gnu/packages/emacs.scm (emacs-next-pgtk)[source]: Inherit patches from emacs-next.
* | Merge branch 'staging' into core-updatesMarius Bakke2022-09-18
|\|
| * gnu: emacs-next-pgtk: Fix super key problem.Andrew Tropin2022-09-16
| | | | | | | | | | | | | | | | | | | | Recent version of emacs 29 with pgtk flag has a problem with handling super key modifier, due to gtk bug: https://gitlab.gnome.org/GNOME/gtk/-/issues/4913 This commit workarounds it. * gnu/packages/patches/emacs-pgtk-super-key-fix.patch: New file. * gnu/packages/emacs.scm (emacs-next-pgtk): Use it here. * gnu/local.mk (dist_patch_DATA): Register it here.