Skip to content

Latest commit

 

History

History
108 lines (108 loc) · 3.12 KB

emacs.org

File metadata and controls

108 lines (108 loc) · 3.12 KB
title linktitle description categories keywords menu draft toc
emacs
emacs
documentation for emacs
editor
emacs
sidebar
parent name identifier
home-manager
emacs
emacs
false
true

emacs

ATTENTION

Disabling of elisp-block

because org mode is first exported and then tangled
‘commenting out’ a block has to be done with:

#+BEGIN_SRC elisp :tangle no :exports none

update emacs

depends on implementation

on DEVOS

nix flake lock --update-input emacsFlake
bud rebuild `hostname` switch
beu  ### Bud-Emacs-Update
bs   ### Bud-Switch

update emacs-overlay

newest version of emacs-overlay

nix flake lock --update-input emacs-overlay

use a specific revision of emacs-overlay

nix flake update --override-input emacs-overlay github:nix-community/emacs-overlay/c04830e91ab27bb98f66d936f36137275804a6e3

TODOS

rnix-lsp

https://github.com/nix-community/rnix-lsp/network/members

2-SORT

SOURCES

https://github.com/nix-community/emacs-overlay https://nixos.org/manual/nixpkgs/stable/#sec-emacs https://nixos.wiki/wiki/Emacs https://nixos.org/manual/nixos/stable/index.html#module-services-emacs https://www.emacswiki.org/emacs/GccEmacs

architecture

overlay

emacsOverlay.nix version using emacsOverlay configuration included in /etc/nixos

update

overlay is fixed in /etc/nixos/config/overlays/overlays.nix use a new git-commit-hash to update emacs and packages

build

some packages can take a realy long time to compile

just let it run cf. dap-mode process emacs will show up in monitor lsp-dap 3h+

configuration

emacsWithPackagesFromUsePackage

cannot handle unicode-chars in emacs-config (strings are fine)

error: Unrecognized token on line 1727: ?
NoNo
(?- . ?•)
use ?\uCODEPOINT instead

https://www.gnu.org/software/emacs/manual/html_node/elisp/Character-Type.html https://www.gnu.org/software/emacs/manual/html_node/elisp/General-Escape-Syntax.html The only issue is when you use unicode characters together with the char specifier ?. E.g. ?λ. When I either put the numeric representation of the char instead it worked, or wrapped the char in a string.

(org-superstar-item-bullet-alist
 '(
   ;; (?- . ?•)
   (?\u002D . ?\u2022)
   ;; (?+ . ?➤)
   (?\u002B . ?\u27A4)
   ;; (?* . ?•)
   (?\u002A . ?\u2022)
   )
 )
get unicode value of char

M-x describe-char

use packages not available from overlay

  1. clone into /etc/nixos/src/emacs/
  2. add required sources to /etc/nixos/config/users/config/homemanager/emacs/default.nix
  3. import in ~/.emacs.d/global/packages-local.org

TODOS

color

configuration

use org-babel directly

emacsWithPackagesFromUsePackage

currently only elpa-Packages are available to emacsGcc ??

create configuration with homemanager