### Changes for org On branch: main Commits:48b237d9e2...f83e45526b
- [2b9f9646](2b9f9646ef
) org-cite: Fix style completion - [d4e7bcb4](d4e7bcb4bd
) org-clock.el: Rename org-clock-get-file-title - [55767b79](55767b792e
) org-agenda.el: Show document title in outline path - [c3aa6a6d](c3aa6a6d43
) org-refile.el: Show refile targets with a title - [cd835dca](cd835dcad8
) org-babel-demarcate-block: Fix when within blank after src block - [e022a0ce](e022a0cea1
) org-make-tags-matcher: Do not treat PROPERTY="[X]" as timestamp match - [bb408484](bb40848458
) org-odt-plain-text: Fix stripping spaces around plain-text segments - [9490baa8](9490baa8bc
) ob-python: Handle newer version of python-mode.el - [46b71f91](46b71f9108
) org.el: Support auto display inline images when cycling - [87e50f46](87e50f467a
) test-org-fold.el: Add test for inline image displaying when cycling - [6bbd08f5](6bbd08f5aa
) org-datetree-insert-line: Fix blank line insertion - [d87a496b](d87a496b54
) org-babel-eval-error-notify: Always display exit code - [efcfaca7](efcfaca72d
) lisp/ob-clojure.el: Update headers - [0e175f11](0e175f11fd
) lisp/ob-clojure.el: Fix header argument :var binding - [b93a61af](b93a61af9c
) org-latex-line-break-safe: Use safer value of "\\[0pt]" - [a51bb2c4](a51bb2c448
) org-x11idle-exists-p: Do not demand X window system at load time - [c70a4220](c70a422082
) org-babel-execute-src-block: Ensure that buffer is not changed - [78806952](7880695221
) org-set-tags-command: Fix handling `org-loop-over-headlines-in-active-region' - [6156b57b](6156b57bdf
) ob-maxima.el: Fix execution on MS Windows - [5a358b3a](5a358b3a35
) org-manual: Detail one month response time in the mailing list - [4f0a4e07](4f0a4e07fd
) Backport commit db2ed9f33 from Emacs - [0b6a138b](0b6a138bd3
) ob-core: Silence byte-compiler - [bfc859fe](bfc859fedf
) org-cycle: Silence byte-compiler under 'make single' - [6ca9022d](6ca9022dc4
) ob-lob: Clean up spacing to pass Emacs's pre-commit check - [0681baba](0681babab4
) Fix recent doc string quoting issues - [a51cf1cc](a51cf1cc6b
) ob-clojure.el: Fix bug with inline comments - [a182add4](a182add4a4
) org-clock-x11idle-program-name: Fix link to x11idle source code - [e675affe](e675affe93
) org-macs: Add new macro `org-with-base-buffer' - [e0a87eba](e0a87eba18
) org-element-cache: Fix cache updates from indirect buffers - [bd68ece9](bd68ece99c
) ob-clojure.el: Auto detect backend - [2ab762e9](2ab762e93b
) ob-scheme: Use new `geiser' function when available - [c1217500](c12175003a
) org-ctags: Fix interactive calls to `visit-tags-table' - [5098404b](5098404b19
) org-manual: Document that hours are allowed in repeater intervals - [6ef33b6d](6ef33b6dd6
) org-latex-src-block--listings: Put options within lstlisting environment - [57abbd4b](57abbd4b92
) org.el: Fix first call of `org-paste-subtree' - [33cbb11d](33cbb11d5a
) org-kill-is-subtree-p: Handle clipboard - [5dc8ea0a](5dc8ea0abe
) org-paste-subtree: Fix when `kill-ring' is empty - [fbbc8b55](fbbc8b55cf
) ob-sql.el: Respect all params when using dbconnection - [99874512](9987451252
) org-babel-execute-src-block: Do not err on virtual src blocks - [5bc6741a](5bc6741a5a
) org-clock-update-time-maybe: Update the containing timestamps as well - [210630e5](210630e546
) org-odt-link: Fix relative file links - [aaccbb2f](aaccbb2f98
) ob-latex: Export the full area of the drawing - [17425599](17425599cf
) ob-latex: Call Inkscape with descriptive arguments - [bd468136](bd468136dd
) lisp/ob-sql.el: Add Daniel Kraus as the maintainer - [2924c778](2924c77848
) org-compat: Add missing argument to `connection-local-get-profiles' - [f7b16402](f7b16402e6
) org-babel: Never throw away standard error - [094ee449](094ee4490d
) org-attach-store-link-p: Explain all the values in the docstring - [0d60013f](0d60013f0e
) org-attach-attach: Fix when `org-attach-store-link-p' is t - [a3b9bb8f](a3b9bb8faa
) org-lint: Fix #+INCLUDE keyword parsing - [f5c89ba5](f5c89ba5f9
) org-manual: Clarify :results file graphics header argument meaning - [3e010d81](3e010d81dc
) org-element-adopt-elements: Skip nil children - [946abeb4](946abeb49a
) org-sting-width: Do no err in dedicated windows - [9abf1b51](9abf1b5167
) lisp/ob-maxima.el: correct placement of $ in command string - [eefb14f9](eefb14f9fa
) test-org-clock: Test DWIM update of days - [26a2811b](26a2811b06
) org-cite-basic-export-bibliography: Skip missing bibliography keys - [5e0c5c18](5e0c5c186d
) org-babel: Add new "strip-tangle" :noweb argument value - [155dc778](155dc778e8
) * lisp/org.el: (org-get-indirect-buffer) Allow indirect base buffers - [e3a7c018](e3a7c01874
) Refactor `org-time-stamp-custom-formats' and `org-time-stamp-formats' - [0de063a5](0de063a521
) org-babel-interpret-haskell: Don't remove outputs that match inputs - [8a827437](8a827437a5
) org--at-headline-data-p: Fix when at :post-blank after heading - [5a6d00a3](5a6d00a3a3
) test-org-num.el: Do not rely on fixed overlay order in `overlays-in' - [7f72807a](7f72807aea
) lisp/ob-haskell.el: Fix org-babel-script-escape expects a string - [620a96dd](620a96dd68
) org-babel-insert-result: Avoid errors in `unwind-protect' unwindforms - [044f09aa](044f09aa6d
) org-manual: Use "subtree" everywhere instead of "sub-tree" - [6c285af9](6c285af9fb
) ox-icalendar: Create export backend options for deadline/scheduled-summary-prefix defcustoms - [51bb2222](51bb222260
) ob-tangle: Update docstrings - [10e857d4](10e857d428
) org-babel-read: Obey `org-confirm-babel-evaluate' - [f85865e5](f85865e59f
) testing/lisp/test-ob-java.el: Skip when ob-java is not loaded - [d620c30e](d620c30e6f
) fixup! testing/lisp/test-ob-java.el: Skip when ob-java is not loaded - [4517fba4](4517fba441
) org-html-htmlize-output-type: Mark safe as buffer-local - [c41a2198](c41a2198f2
) testing: Provide more debug info for diary sexps - [f83e4552](f83e45526b
) org-toggle-item: Move footnote-definitions out of the lists 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