summaryrefslogtreecommitdiff
path: root/gnu/packages/emacs.scm
Commit message (Collapse)AuthorAgeFilesLines
* gnu: Add emacs-lucid.Divya Ranjan12 days1-0/+15
| | | | | | * gnu/packages/emacs.scm (emacs-lucid): New variable. Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: emacs-next: Disable jit compilation.Liliana Marie Prikler12 days1-1/+2
| | | | | * gnu/packages/emacs.scm (emacs-minimal)[patches]: Add “emacs-disable-jit-compilation.patch”.
* gnu: emacs-next: Pin natively compiled packages.Liliana Marie Prikler12 days1-0/+1
| | | | | * gnu/packages/emacs.scm (emacs)[patches]: Add “emacs-native-comp-pin-packages.patch”.
* gnu: emacs-next: Don't hash file names in native compilation.Liliana Marie Prikler12 days1-0/+1
| | | | | | * gnu/packages/patches/emacs-next-native-comp-fix-filenames.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/emacs.scm (emacs-minimal)[source]: Use it here.
* gnu: emacs: Pin natively compiled packages.Liliana Marie Prikler12 days1-10/+1
| | | | | | | | | * gnu/packages/patches/emacs-native-comp-pin-packages.patch: New patch. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/emacs.scm (emacs)[source]: Use it here. [#:phases]: Remove ‘disable-native-compilation’. Fixes: Emacs native-comp collisions <https://issues.guix.gnu.org/67292>
* gnu: Fix synopsis in various emacs packages.Gabriel Wicki2024-12-101-1/+1
| | | | | | | | | | | | | * gnu/packages/emacs-xyz.scm (emacs-0x0): Fix synopsis. (emacs-speed-type): Fix synopsis. (emacs-bbdb-vcard): Fix synopsis. (emacs-mediawiki-el): Fix synopsis. (emacs-capf-autosuggest): Fix synopsis. (emacs-org-rich-yank): Fix synopsis. (emacs-anakondo): Fix synopsis. (emacs-gnosis): Fix synopsis. (emacs-free-keys): Fix synopsis. (emacs-pgmacs): Fix synopsis. (emacs-jsdoc): Fix synopsis. (emacs-ox-reveal): Fix synopsis. (emacs-discomfort): Fix synopsis. * gnu/packages/emacs.scm (emacs-no-x-toolkit): Fix synopsis. Signed-off-by: Vagrant Cascadian <vagrant@debian.org>
* gnu: guile-emacs: Update home-page.Janneke Nieuwenhuizen2024-12-081-0/+1
| | | | | | * gnu/packages/emacs.scm (guile-emacs)[home-page]: New field. Change-Id: Icd092c0d1762f2a5853e2e77d21f50d47fcf8a41
* gnu: guile-emacs: Support running emacs from the store.Janneke Nieuwenhuizen2024-12-081-10/+34
| | | | | | | | * gnu/packages/emacs.scm (guile-emacs)[argumets]: Replace stage "wrap-emacs-paths" to restrict EMACSLOADPATH. [native-search-paths]: Remove. Change-Id: Ie2c222a53a5bd79b1a8a0b8424a90e6e06b77fb9
* gnu: guile-emacs: Remove hardcoded version from EMACSLOADPATH.Janneke Nieuwenhuizen2024-12-081-3/+6
| | | | | | | | | After a question by lilyp via IRC. * gnu/packages/emacs.scm (guile-emacs): Add "upstream-version" to outer let. [native-search-paths]: Use that for EMACSLOADPATH and add a comment. Change-Id: Ie2c222a53a5bd79b1a8a0b8424a90e6e06b77fb9
* gnu: guile-emacs: Update to 8f87cbc1dae6a9e77368afc5736df8c342e9153d.Janneke Nieuwenhuizen2024-12-081-14/+39
| | | | | | | | | | | | | | | | | * gnu/packages/patches/guile-emacs-build-fixes.patch: New file. * gnu/packages/patches/guile-emacs-fix-configure.patch: Remove file. * gnu/local.mk (dist_patch_DATA): Update accordingly. * gnu/packages/emacs.scm (guile-emacs): Update to 8f87cbc1dae6a9e77368afc5736df8c342e9153d and use new patch. [arguments]: Allow parallel-build. Do not strip-binaries. Use recommended #:configure-flags and #:make-flags. Add stages "help-patch-progam-file-names" and "touch-lisp/finder-inf.el". No longer delete non-existent stage "strip-double-wrap". Delete stages "patch-compilation-driver", "set-libgccjit-path", "validate-comp-integrity", "restore-emacs-pdmp", "build-trampolines", and "install-site-start". [native-search-paths]: New field. Change-Id: I8153a55ef0061720ffd3c4833eff3ae6df3eccfc
* gnu: emacs-next: Update to 30.0.92-0.881d593.Liliana Marie Prikler2024-11-241-4/+4
| | | | * gnu/packages/emacs.scm (emacs-next-minimal): Update to 30.0.92-0.881d593.
* gnu: emacs-next: Update to 30.0.91-1.9a1c76b.Arto Jantunen2024-10-061-3/+3
| | | | | | | * gnu/packages/emacs.scm (emacs-next-minimal): Update to 30.0.91-1.9a1c76b. Change-Id: Iba274ab45deea9edc4049b0cec2716655ba3e148 Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: emacs-minimal: Do not native-compile lisp/transient.el.Simon Tournier2024-09-031-0/+10
| | | | | | | | | | | * gnu/packages/emacs.scm (emacs-minimal)[#:phases]: Add ‘disable-native-compilation’ to turn off native-compilation for the file lisp/transient.el. Change-Id: I27c9d660cbad46be66df641816e4596346969dfc Fixes: transient-prefix-object is void <https://issues.guix.gnu.org/72333>. Reported-by: Daniel Szmulewicz <daniel.szmulewicz@gmail.com> Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
* gnu: emacs-minimal: Ungraft.Liliana Marie Prikler2024-07-211-15/+6
| | | | | | | | | | | The current graft breaks native compilation and would do so even if reduced to an ABI hash. Thus remove it, and rebuild all Emacsen. * gnu/packages/emacs.scm (emacs-minimal): Update to 29.4. [replacement]: Remove. Add note for future replacements. (emacs-minimal/fixed): Remove variable. Fixes: Emacs native compilation across grafts <https://bugs.gnu.org/72045>
* gnu: emacs-next: Update to 30.0.60-1.4e22ef8.Liliana Marie Prikler2024-07-071-5/+26
| | | | | | | | * gnu/packages/aux-files/emacs/comp-integrity-next.el: New file. * Makefile.am (AUX_FILES): Register it here. * gnu/packages/emacs.scm (emacs-next-minimal): Update to 30.0.60-1.4e22ef8. (emacs->emacs-next)[arguments]: Swap out ‘validate-comp-integrity’ phase, so as to refer to the new integrity check.
* Revert "gnu: emacs: Update to 29.4. (security fixes)"Liliana Marie Prikler2024-06-231-2/+2
| | | | | | This reverts commit 7e15704613b67ec54df8f1269916bc72b76bb785. It causes rebuilds to all of emacs-*, whereas a graft has already been applied in 868a022cdca164941a6fe8dcf205aefc693781cb.
* gnu: emacs: Update to 29.4. (security fixes)Liliana Marie Prikler2024-06-231-2/+2
| | | | | | | | This fixes an issue where org-mode would run arbitrary shell code on startup. See <https://lists.gnu.org/archive/html/emacs-devel/2024-06/msg00695.html> for the release announcement. * gnu/packages/emacs.scm (emacs-minimal): Update to 29.4.
* gnu: emacs-minimal: Graft with 29.4 [security fixes].Zheng Junjie2024-06-231-1/+14
| | | | | | | | | | Arbitrary shell commands are no longer run when turning on Org mode. This is for security reasons, to avoid running malicious commands. * gnu/packages/emacs.scm (emacs-minimal/fixed): New variable. (emacs-minimal)[replacement]: Graft. Change-Id: Idb74ee0a05486bfe5052c4dd804fbdaec8921774
* gnu: emacs: Also skip integrity check for i686-linux.Liliana Marie Prikler2024-03-301-1/+1
| | | | | | | The same cases fail as with armhf-linux. * gnu/packages/emacs.scm (emacs-no-x)[#:phases]<validate-comp-integrity>: Also skip check on i686-linux.
* gnu: emacs-no-x: Skip integrity test on armhf-linux.Liliana Marie Prikler2024-03-281-9/+13
| | | | | * gnu/packages/emacs.scm (emacs-no-x)[#:phases]<validate-runpath>: Move checks to GExpression expansion. Add check against armhf-linux.
* gnu: emacs: Update to 29.3.Liliana Marie Prikler2024-03-261-2/+2
| | | | * gnu/packages/emacs.scm (emacs-minimal): Update to 29.3.
* gnu: emacs-next-minimal: Update to 30.0.50-2.170c655.Liliana Marie Prikler2024-03-021-3/+3
| | | | | * gnu/packages/emacs.scm (emacs-next-minimal): Update to 30.0.50-2.170c655. * gnu/packages/aux-files/emacs/comp-integrity.el: Adjust accordingly.
* gnu: emacs: Disable jit compilation.Liliana Marie Prikler2024-02-241-1/+2
| | | | | | * gnu/packages/patches/emacs-disable-jit-compilation.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/emacs.scm (emacs-minimal)[patches]: Use it here.
* gnu: emacs: Check integrity of native-compiled files.Liliana Marie Prikler2024-02-241-1/+12
| | | | | | | | | | | In the previous commit, we've added a patch that potentially messes with how built-in (especially preloaded) Lisp libraries are loaded. Thus, we might want to assert that these files still load fine, as reported when querying the builtin documentation of functions provided by them. * gnu/packages/aux-files/emacs/comp-integrity.el: New file. * gnu/Makefile.am (dist_noinst_DATA): Register it here. * gnu/packages/emacs.scm (emacs-no-x)[#:phases]: Add ‘validate-comp-integrity’.
* gnu: emacs: Don't hash file names in native compilation.Liliana Marie Prikler2024-02-241-0/+1
| | | | | | | | * gnu/packages/patches/emacs-native-comp-fix-filenames.patch: New file. * gnu/local.mk (dist_patch_DATA): Register it here. * gnu/packages/emacs.scm (emacs-minimal)[source]: Use it here. Change-Id: I2b7f6b45742a985760f0097bb53910f068e3d8e5
* gnu: emacs: Build trampolines.Liliana Marie Prikler2024-02-241-1/+4
| | | | | | * gnu/packages/emacs.scm (emacs-no-x)[#:phases]: Add ‘build-trampolines’. Change-Id: I33303bcbaf6cbda15867a5546e793c05d1f0e67b
* gnu: emacs-minimal: Update to 29.2.Liliana Marie Prikler2024-01-211-2/+2
| | | | * gnu/packages/emacs.scm (emacs-minimal): Update to 29.2.
* gnu: emacs-minimal: Set upstream-name to “emacs”.Liliana Marie Prikler2024-01-211-1/+2
| | | | * gnu/packages/emacs.scm (emacs-minimal)[properties]: Add ‘upstream-name’.
* gnu: emacs: Patch awk, find, sed and sh commands.Maxim Cournoyer2024-01-181-4/+52
| | | | | | | | | | | | | | | | | | 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-081-1/+6
| | | | | | | | | | | | * 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-091-0/+2
| | | | | | | | | 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-091-0/+1
| | | | * gnu/packages/emacs.scm (emacs-next-pgtk-xwidgets): New variable.
* gnu: Add emacs-next-pgtk.Liliana Marie Prikler2023-09-091-0/+1
| | | | * gnu/packages/emacs.scm (emacs-next-pgtk): New variable.
* gnu: Add emacs-next.Liliana Marie Prikler2023-09-091-1/+17
| | | | * gnu/packages/emacs.scm (emacs->emacs-next, emacs-next): New variable.
* gnu: Add emacs-next-minimal.Liliana Marie Prikler2023-09-091-0/+17
| | | | * gnu/packages/emacs.scm (emacs-next-minimal): New variable.
* gnu: emacs: Reload subdirs.el files in ‘guix-emacs-autoload-packages’.Maxim Cournoyer2023-09-071-1/+1
| | | | | | | | | | | | | | | | | 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-021-10/+5
| | | | | * gnu/packages/emacs.scm (emacs-minimal): Update to 29.1. [source]: Use url-fetch again.
* Merge branch 'master' into emacs-teamLiliana Marie Prikler2023-08-011-2/+2
|\
| * gnu: emacs: Depend on libc-for-target.Janneke Nieuwenhuizen2023-07-181-2/+2
| | | | | | | | * gnu/packages/emacs.scm (emacs)[inputs]: Change glibc to (libc-for-target).
* | Merge branch 'master' into emacs-teamLiliana Marie Prikler2023-07-131-2/+2
|\|
| * gnu: emacs-next: Update to 29.0.92.Hilton Chain2023-07-101-2/+2
| | | | | | | | | | | | * 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-091-217/+178
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-091-74/+27
|/ | | | | | | | | | | | | | | | | * 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-281-22/+8
| | | | | * 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-281-2/+2
| | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.91.
* gnu: Add emacs-next-pgtk-xwidgets.Antero Mejr2023-05-071-0/+13
| | | | | | * 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-301-4/+2
| | | | | * 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-191-27/+25
| | | | * gnu/packages/emacs.scm (emacs-next): Update to 29.0.90.
* Merge remote-tracking branch 'origin/master' into core-updatesAndreas Enge2023-03-201-27/+38
|\
| * gnu: m17n-lib: Fix cross-compile.Z5722023-03-171-2/+23
| | | | | | | | | | | | | | | | | | | | | | | | * 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>