## Changelog for org-mode: Branch: master Commits: [emacs-straight/org-mode@2a4578b1...a8df7670](2a4578b103...a8df7670c8
) * [`fd4eec03`](fd4eec036d
) Backport commit 79d04ae13 from Emacs * [`a97bb27f`](a97bb27f32
) Backport commit 61dca6e92 from Emacs * [`23896ba6`](23896ba683
) ox-odt: Drop another (function (lambda ...)) * [`9bb93006`](9bb93006ea
) Backport commit 844e82f5a from Emacs * [`c38fda99`](c38fda993d
) ob-java.el: Do not wrap a main method in a main method * [`dc223814`](dc2238144f
) ob-java.el: Allow for more whitespace in java code * [`b04667a3`](b04667a370
) contrib/lisp/: Fix some headers * [`8bade78c`](8bade78ce6
) lisp/org.el: Allow hiding #+SUBTITLE: keyword via `org-hidden-keywords' * [`104d9219`](104d92199e
) agenda: Fix toggling of archive files * [`93087e0b`](93087e0b3a
) lisp/ob-java.el: Make the default to write to the current directory * [`1a480e01`](1a480e01a4
) Remove redundant 'function's around lambda * [`a5d76548`](a5d765481d
) doc/org-manual.org: add reference to org-table-transpose-table-at-point * [`5272d97e`](5272d97e5c
) manual: Repeat cookies should be in the same order as the repeats * [`0abb6de0`](0abb6de0cf
) Backport commit 430eb2f85 from Emacs * [`2d23d55a`](2d23d55ac5
) ox-odt.el: quote output file name * [`96d2e01e`](96d2e01e7d
) lisp/ob-java.el: Fix java over tramp * [`bd7e16ca`](bd7e16ca21
) org-table: Remove unused org-tbl-calc-modes variable declaration * [`abd99494`](abd9949431
) org-table: Simplify mode string parsing * [`15469774`](15469774dd
) org-table: Add mode flag to enable Calc units simplification mode * [`9a154910`](9a154910ed
) fix cycling when providing numeric argument to org-shifttab * [`00bc3097`](00bc3097cd
) Backport commit affe9b225 from Emacs * [`a368bf11`](a368bf111a
) Backport commit 67a8bdb90 from Emacs * [`b2d38a82`](b2d38a822d
) doc/org-manual.org: Extend table formulas Lisp form documentation * [`ccf81be2`](ccf81be2a2
) org-capture.el: Add :tree-type 'month' in org-capture-templates description * [`b2717ca5`](b2717ca5a7
) Update customize-package-emacs-version-alist * [`546b2ba2`](546b2ba26b
) org-odt-planning: Fix scheduled item output * [`f7e286ab`](f7e286ab96
) ob-ruby.el: Don't reuse the same buffer among different named sessions * [`c974467f`](c974467fe5
) org-goto: Explicitly load org.el and org-refile.el * [`3bb073b6`](3bb073b638
) ol: Fix type error in org-link-search corner case * [`706ba901`](706ba90195
) Backport commit 0a4aa2894 from Emacs * [`7c8dce72`](7c8dce72bd
) ox-latex: Improve handling of footnotes within verse blocks * [`2eb5f074`](2eb5f0741f
) org-fixup-indentation: Fix regression in logbook adjustment * [`4f8ac0a7`](4f8ac0a7a3
) org.el: Fix cycling hang when %p is in frame-title-format * [`cf02219e`](cf02219e72
) org: Reset saved scroll position on new cycling sequence * [`e04aa833`](e04aa83309
) refile: Update remaining spots that use obsolete org-copy * [`a71ac14e`](a71ac14e46
) New startup options, #+startup: show<n>levels * [`0571aa70`](0571aa7010
) lisp/ob-C.el: Add Thierry Banel as the maintainer * [`a03f17e4`](a03f17e49f
) Fix org-in-archived-heading-p * [`dc1e037c`](dc1e037cd1
) ox: Add Turkish translation * [`7ce1a666`](7ce1a666d8
) lisp/ob-abc.el: Fix link to William Waites homepage * [`f6e41c1d`](f6e41c1d14
) org-id: org-id-get-with-outline-path-completion for file targets * [`8fde9fc9`](8fde9fc905
) Offer alternative to disabling electric-indent-mode * [`61f37f2e`](61f37f2e1a
) lisp/org.el: Bump version to 9.4.1 * [`5dc37543`](5dc375434c
) Clean up spacing to pass Emacs's pre-commit check * [`8fafb71f`](8fafb71fea
) org-startup-options: Fix docstring typo * [`d7d714c7`](d7d714c7d5
) Silence byte-compiler in Emacs repo * [`57a70d50`](57a70d5053
) ob-ruby.el: Funcall command if it's a function from inf-ruby-implementations * [`162e0e3e`](162e0e3e6e
) lisp/org.el: Bump version to 9.4.2 * [`34932216`](349322161d
) lisp/ob-perl.el: Add Corwin Brust as maintainer * [`93598350`](9359835001
) contrib/lisp/ob-julia.el: Add Alberto Ramos as maintainer * [`a64aa25f`](a64aa25fa5
) org-plot.el: make indentation method consistent * [`8d5122fc`](8d5122fc5e
) org-plot.el: add new option :transpose * [`a1d92bd9`](a1d92bd918
) org-plot.el: add new custom gnuplot preamble * [`bee7ef6f`](bee7ef6f46
) org-plot.el: abstract plot types into custom var * [`73c99bf4`](73c99bf42d
) org-plot.el: add utility functions for range,ticks * [`e905353d`](e905353d6e
) org-plot.el: add custom var for affecting the term * [`7b5113a3`](7b5113a3bc
) org-plot.el: tweak term, preamble custom vars * [`74f6a961`](74f6a9610e
) org-plot.el: add radar plot type * [`14a66b2b`](14a66b2b3a
) org-plot.el: fix logic error in transposition * [`1ac45d76`](1ac45d76e8
) org-plot.el: complete transition to softcoded type * [`c2fdf424`](c2fdf424a6
) org-plot.el: avoid arithmetic overflow error * [`a46cadfa`](a46cadfae3
) org-plot.el: add missing cl- prefixes * [`90815cc9`](90815cc948
) org-plot.el: radar plot, join last points to first * [`a831e763`](a831e763fa
) org-plot.el: Make min/max keywords consistent * [`1af809c5`](1af809c573
) org-manual.org: document org-plot changes * [`2af68d6a`](2af68d6a45
) etc/ORG-NEWS: Add an entry * [`01f57aa0`](01f57aa0df
) org-macs: Make org-mks window navigable when needed * [`678f4d4b`](678f4d4b35
) doc/org-manual.org: Remove a reference * [`a846152e`](a846152e4d
) doc/org-manual.org: Enhance examples * [`c822c80e`](c822c80ef8
) contrib/lisp/org-contacts.el: Add stardiviner as the maintainer * [`a4d0607e`](a4d0607e19
) contrib/org-mac-link.el: fix Mail.app link compatibility with macOS 11 * [`5ee39c35`](5ee39c3524
) ox-html: Add margin to fix overflow visibility problem * [`a4e6a6fa`](a4e6a6fa77
) lisp/org.el: Remove local variable `generated-autoload-file' * [`86af7e0c`](86af7e0c2f
) lisp/org.el: Bump version to 9.4.3 * [`11d186a7`](11d186a701
) Fix previous commit * [`baf1e7a6`](baf1e7a644
) ob-gnuplot: Fix error on non-string :var assignment * [`6ec2bb04`](6ec2bb04e3
) org-macs: Improve navigation in org-mks window * [`6bdb6644`](6bdb664406
) lisp/ob-haskell.el: Add Lawrence Bottorff as maintainer * [`de6d9022`](de6d90224c
) org-attach: Consider inlinetasks when calculating attach dir * [`e7f625d4`](e7f625d426
) org-contacts.el: Fix org-store-link error caused by org-contacts * [`6b83c6e4`](6b83c6e4ea
) org-contacts.el: Add support for org-id generated link. * [`b6e5ca28`](b6e5ca28ef
) lint: Remove unnecessary call to `tabulated-list-print' * [`713b3bf7`](713b3bf7a0
) org-contacts.el: Inherit face from org-link * [`1f4ea532`](1f4ea532a4
) Document changes of headline fontification introduced in 979e82fc3 * [`5e7c09e2`](5e7c09e277
) org-agenda.el and org-capture.el: Remove `generated-autoload-file' * [`abedf386`](abedf386b3
) lisp/org.el: Bump version to 9.4.4 * [`118da7d2`](118da7d280
) element: Fix table.el tables parsing * [`97f1d8e3`](97f1d8e340
) element: Improve table.el tables dectection * [`9140a712`](9140a712fb
) etc/ORG-NEWS: Add example for new startup option * [`bd1c3187`](bd1c3187cf
) .dir-locals.el: Set indent-tabs-mode to nil in Elisp sources * [`86184e2c`](86184e2cb6
) org-plot: Adjust pcase patterns for Emacs 24 compatibility * [`d631a51e`](d631a51e01
) org-attach: Silence byte-compiler * [`7a9a8a56`](7a9a8a56af
) org-plot.el: fix compiler warnings * [`99eafe37`](99eafe3787
) Update copyright year to 2021 * [`f948234c`](f948234cba
) org-contacts.el: Add usage comments * [`c3888a8b`](c3888a8b74
) org-contacts.el: replace obsolete alias `loop' with `cl-loop' * [`273391c9`](273391c978
) duration: Avoid recursive load error * [`e6e1c081`](e6e1c08116
) org-contacts.el: Only use org-id-store-link if org-id is loaded * [`00b4de32`](00b4de3294
) ol: Avoid initial input when completing function for storing link * [`38f14383`](38f143830c
) org-contacts.el: Use `bound-and-true-p' to check (unbound) var * [`94d1753e`](94d1753ec8
) org-contacts.el: Fix store link function does not return link. * [`332da69b`](332da69b3c
) element: Fix table.el parsing... again! * [`248dfcd7`](248dfcd711
) Backport commit 5ada3eece from Emacs * [`33de2bd8`](33de2bd8ef
) org-compat: Take in obsolete org-copy * [`9ea7ff5e`](9ea7ff5e2f
) Fix typo in f948234cb * [`d02c0218`](d02c0218ef
) testing/lisp/test-org-archive.el: Fix test * [`86ad8d27`](86ad8d2791
) org.el: Complete tags from both global and buffer local * [`1806abdc`](1806abdc39
) org-footnote: Fix inserting new footnote mangling drawers * [`d700dff7`](d700dff7ac
) ob-java: Include static imports in regex * [`7fa81732`](7fa8173282
) ob-java: Allow header to override commands * [`f4b9f980`](f4b9f98088
) lisp/ox-html.el: make html meta tag builder nicer * [`a8df7670`](a8df7670c8
) lisp/ox-html.el: make html meta tags customizable
nix-doom-emacs
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 exprerience as some dependenices 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/vlaci/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 ];
home.file.".emacs.d/init.el".text = ''
(load "default.el")
'';
}
Using flake.nix
:
{
inputs = {
home-manager.url = "github:rycee/home-manager";
nix-doom-emacs.url = "github:vlaci/nix-doom-emacs";
};
outputs = {
self,
nixpkgs,
home-manager,
nix-doom-emacs,
...
}: {
nixosConfigurations.exampleHost = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
home-manager.nixosModules.home-manager
{
home-manager.users.exampleUser = { pkgs, ... }: {
imports = [ 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 depdendencies. 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; # use programs.emacs.package instead if using home-manager
}
to connect to the daemon you can now run emacsclient -c