### Changes for org On branch: main Commits:0737112852...42153ea2fe
- [4c40fc3d](4c40fc3d4d
) org: Allow spaces in #+LINK abbreviation definitions - [5347f4c7](5347f4c75a
) ob-core: Do not limit table size in babel output - [1d985406](1d985406d8
) Revert "ob-core: Do not limit table size in babel output" - [225d5834](225d58341b
) doc/org-manual.org: Fix keybinding - [62e1513b](62e1513b5a
) ox-html: Update from MathJax 2 to MathJax 3+ - [c53d752e](c53d752e61
) Backport commit 623db40dd from Emacs - [3d76d2ff](3d76d2ffbf
) Backport commit 93036209f from Emacs - [2e0fcc14](2e0fcc14e2
) Backport commit ba485eb94 from Emacs - [257df886](257df88645
) Backport commit 16318bfb5 from Emacs - [f78dfea6](f78dfea63d
) Remove 'org-speed-commands-user' warning - [f995425d](f995425d06
) org-table-convert-region: Update docstring - [b57674a8](b57674a847
) org-manual: Document `org-babel-pre-tangle-hook' and `org-babel-tangle-body-hook' - [07eced36](07eced3639
) org-make-parameter-alist: Change the argument name - [bd384d32](bd384d3267
) test-org-export/activate-smart-quotes: Uncomment working test - [89af7b11](89af7b11a4
) org-sbe: Fix when the macro is expanded outside Org file - [7f4d9104](7f4d91040a
) ox-html: Use accurate MathJax versions - [529c2a3d](529c2a3df1
) Backport commit beaa2e495 from Emacs - [28f220d1](28f220d1da
) org-manual: Deleting trailing space to pass Emacs's pre-commit check - [1cdac8ef](1cdac8ef6a
) * lisp/ob-eval.el (org-babel--get-shell-file-name): Update fixme - [50a35580](50a3558011
) org-manual: Clarify auto-detection of code block result type - [d4522dd4](d4522dd4df
) lisp/org.el: Fix toggling overlays in region - [f7831cc9](f7831cc9ac
) * testing/lisp/test-org-table.el: Uncomment working test - [670f68be](670f68bea2
) lisp/org-agenda.el: Obsolete unused `org-let' and `org-let2' - [52ebf6b4](52ebf6b45e
) org.el: Compute bounds exactly when converting LaTeX output to SVG - [5337a49f](5337a49f32
) org.el: Use long option names when launching dvisvgm - [c72d5ee8](c72d5ee840
) org-table-convert-refs-to-rc: Fix failing test - [b4e437f9](b4e437f968
) ob-core: Resolve named list references to simple lists - [9eed8567](9eed8567e8
) testing/lisp/test-org-element.el: Uncomment working test - [6db75d56](6db75d5602
) * etc/ORG-NEWS: Announce deprecation of python-mode.el (MELPA) support - [eed4708b](eed4708b66
) org-babel: Add new :results discard header argument - [92762191](9276219103
) org-export--get-subtree-options: Do not jump to parent subtree - [b3da427e](b3da427ebb
) Update version numbers for the 9.6 release - [5fd5912f](5fd5912fa4
) ob-core: Silence byte-compiler warning - [3b798186](3b79818691
) ORG-NEWS: Drop "Version 9.7" heading from bugfix branch - [a4d38e39](a4d38e3965
) ORG-NEWS: Fix location of some v9.6 entries - [7ba099a3](7ba099a3fd
) Backport commit c3466099c from Emacs - [c8ad9e4b](c8ad9e4b28
) Backport commit 8617edfff from Emacs - [9b856c27](9b856c273f
) Backport commit 4b2f5425d from Emacs - [3159ea29](3159ea296f
) Backport commit 8b3baadf6 from Emacs - [d122c2b5](d122c2b5b4
) ox-md: Tweak a defcustom type for compatibility with Emacs<28 - [9e941291](9e9412919e
) org-element: Prefer `org-element-with-disabled-cache' macro - [45646274](4564627415
) org-babel-comit-with-output: Fix when prompt is emitted partially - [4af24316](4af243166c
) org-clock-clocktable-language-setup: Fix Dutch translation - [461eb2a0](461eb2a0ec
) org-fold-core-cycle-over-indirect-buffers: Fix missing indirect capture buffers - [7e6b55b8](7e6b55b8fd
) org-element--cache-active-p: Fix when cache is disabled in indirect buffers - [81b083b0](81b083b083
) Improve Swedish entry in org-export-dictionary - [60de19f9](60de19f910
) ; Fix two typos - [c4de06ce](c4de06ce10
) lisp/org.el: Mention how to widen in docstrings of commands that do narrowing - [78d283e2](78d283e27d
) ob-core: Remove the confusing "result silenced" message - [4dddbc14](4dddbc1436
) org-clock-update-time-maybe: Preserve point position better - [cc5427b7](cc5427b7ef
) org-babel-result-to-file: Fix results file inside attachment dir - [5d14e88c](5d14e88c51
) org-make-tags-matcher: Fix regexp - [3176ed90](3176ed9052
) org-persist: Never write data associated with encrypted files - [97a780f0](97a780f0be
) org-table-justify-field-maybe: Do not allow newlines inside cells - [08433d9b](08433d9b0c
) test-ob-R.el: New function to test for :result output - [1ad16ffb](1ad16ffb95
) ob-R.el: Restore the handling of org-list in as var - [304f18cb](304f18cb72
) lisp/ox-latex.el: put labels inside example blocks - [8b6df19d](8b6df19dc7
) org-fold-core-get-regions: Search whole buffer when FROM and TO are nil - [34a81337](34a8133715
) Revert "lisp/ox-latex.el: put labels inside example blocks" - [1ce9da00](1ce9da0048
) Backport commit 8fb2afe05 from Emacs - [c056afc1](c056afc153
) Backport commit 262670405 from Emacs - [76a72531](76a725317e
) orgtbl-to-generic: Improve performance - [aba51fb5](aba51fb584
) org-fold-core-save-visibility: Fix macro expansion - [f01390cf](f01390cf05
) org-inside-LaTeX-fragment-p: Use more accurate org-element API - [0616b3c3](0616b3c375
) org-export-as: Fix edge case during subtree export - [337d8053](337d805354
) org-link-descriptive-ensure: Small refactoring - [7fefc302](7fefc3027b
) org-display-inline-images: Force-refresh image cache - [169333e1](169333e1cb
) org-footnote-sort: Improve performance - [4cb39ba2](4cb39ba282
) org-persist: Garbage-collect files outside index - [a1607a36](a1607a3609
) org-clock-clocktable-language-setup: Add Portuguese translation - [dbad11b3](dbad11b354
) org-manual: Update `org-table-blank-field' command description Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
nix-doom-emacs
Status | |
---|---|
Build on master |
|
Dependency updater | |
Matrix Chat |
Nix expression to install and configure doom-emacs.
The expression builds a doom-emacs
distribution with dependencies
pre-installed based on an existing ~/.doom.d
directory.
It is not a fully fledged experience as some dependencies are not installed and
some may not be fully compatible as the version available in NixOS or
emacs-overlay may not be
compatible with the doom-emacs
requirements.
Getting started
Using home-manager:
{ pkgs, ... }:
let
doom-emacs = pkgs.callPackage (builtins.fetchTarball {
url = https://github.com/nix-community/nix-doom-emacs/archive/master.tar.gz;
}) {
doomPrivateDir = ./doom.d; # Directory containing your config.el init.el
# and packages.el files
};
in {
home.packages = [ doom-emacs ];
}
./doom.d
should contain the following three files: config.el
, init.el
and
packages.el
. If you don't already have an existing doom-emacs
configuration,
you can use the contents of test/doom.d
as a template.
Using flake.nix
:
{
inputs = {
home-manager.url = "github:nix-community/home-manager";
nix-doom-emacs.url = "github:nix-community/nix-doom-emacs";
};
outputs = {
self,
nixpkgs,
lib,
home-manager,
nix-doom-emacs,
...
}: {
nixosConfigurations.exampleHost = lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
({
home-manager.users.exampleUser = lib.mkMerge [
nix-doom-emacs.hmModule
{ ... }: {
programs.doom-emacs = {
enable = true;
doomPrivateDir = ./doom.d;
};
}
];
})
];
};
};
}
Under the hood
This expression leverages nix-straight.el under the hood for installing dependencies. The restrictions of that package apply here too.
Usage
instead of running emacs.d/bin/doom, once you have update your config files (packages.el, init.el, config.el), rebuild doom-emacs with nix. If you are using home-manager, simply run home-manager switch
Troubleshooting
On macOS on a fresh install, you might run into the error Too many files open
. running ulimit -S -n 2048
will only work for the duration of your shell and will fix the error
Installing emacs packages
In the initial packages.el instructions for how to install packages can be
found. However some packages might require a particular software dependency to
be installed. Trying to install those would give you an error of the type:
Searching for program: No such file or directory, git
(Missing git dependency)
Here is how you would go installing
magit-delta for example (which
requires git).
Under the line:
doomPrivateDir = ./doom.d;
in your configuration, you would add the following:
{
emacsPackagesOverlay = self: super: {
magit-delta = super.magit-delta.overrideAttrs (esuper: {
buildInputs = esuper.buildInputs ++ [ pkgs.git ];
});
};
}
To make the git dependency available. trying to rebuild doom-emacs with
home-manager switch
should work correctly now.
Using the daemon
To use the daemon, simply enable the emacs service (with NixOS
, home-manager
or nix-darwin
) and use the doom emacs package. doom-emacs
will need to be
referenced at the top of your config file.
{
services.emacs = {
enable = true;
package = doom-emacs; # Not needed if you're using the Home-Manager module instead
};
}
to connect to the daemon you can now run emacsclient -c