Commit Graph

20 Commits

Author SHA1 Message Date
Madeleine Sydney
76a7182506 fix(emacs): Wrap emacs
- Previously, `emacs-VERSION` would be wrapped correctly, but not `emacs`.
2025-03-06 10:55:45 -07:00
Madeleine Sydney
e102d66797 refactor,feat(emacs): Refactor emacs.nix
- Added Tree-sitter grammars.
- Attempting to do so led to discovering how janky the previous setup was.
- Previous package "bootstrapping" process looked like

    emacsPackage (The selected Emacs build from Nixpkgs)
         ↓
    emacs-wrapper (My wrapper that set envvars and included external deps)
         ↓
    programs.emacs.finalPackage (The package created by the HM module, which
                                 included Nix-managed Emacs packages)

  Now, we have

    emacsBasePackage (The selected build from Nixpkgs)
         ↓
    my-emacs (My wrapper that manages envvars, external packages, Nix-managed
              Emacs packages, and everything else)
   
  `programs.emacs.finalPackage` still exists, but it doesn't do anything that
  `my-emacs` doesn't.
2025-03-06 08:48:37 -07:00
Madeleine Sydney
04a74b86e3 feat(emacs): pdf-tools 2025-02-25 19:32:21 -07:00
Madeleine Sydney
bd714e19a7 feat(emacs): Org + LaTeX 2025-02-25 17:22:25 -07:00
Madeleine Sydney
c7b5479388 wip(lldap): Consultant 2025-02-19 18:05:59 -07:00
Madeleine Sydney
fee272e1e8 fix(emacs): Use correct package for daemon 2025-02-18 21:44:46 -07:00
Madeleine Sydney
e730599357 feat(emacs): Spell-checking
- Uses Aspell and Jinx.
2025-02-17 21:55:48 -07:00
Madeleine Sydney
12caaa6097 feat(emacs): Org theming 2025-02-17 18:47:04 -07:00
Madeleine Sydney
276cd7fbec feat(emacs): Persist data and cache dirs
This will now persist the project list.
2025-02-17 10:00:36 -07:00
Madeleine Sydney
84df241cfe feat(emacs): Set {EDITOR,VISUAL} to Emacs
- Includes a tiny wrapper script which connects to the Emacs daemon if it's
  running, or simply runs `emacs` otherwise.
2025-02-15 12:49:22 -07:00
Madeleine Sydney
41029d72a0 Update flake 2025-02-03 12:31:24 -07:00
Madeleine Sydney
28a2e3bb88 feat: Straight.el lockfile 2025-02-02 14:51:14 -07:00
Madeleine Sydney
542d329c24 feat: Configure fonts 2025-02-02 13:47:16 -07:00
Madeleine Sydney
46d6c129c1 wip: Add host deertopia 2025-01-19 18:41:38 -07:00
Madeleine Sydney
386779ce9b feat: Customise scratch buffer 2025-01-17 16:28:45 -07:00
Madeleine Sydney
ca8ddd8f44 fix: Properly persist Straight.el dir 2025-01-17 16:28:45 -07:00
Madeleine Sydney
cc759a73ea wip: feat: Autosaving and recent files 2025-01-17 16:28:45 -07:00
Madeleine Sydney
ae74a9a15a wip: fix: Fix and refactor emacs-wrapper and Straight.el things 2025-01-17 16:28:45 -07:00
Madeleine Sydney
1aee1366c2 wip: feat: Just use straight.el...
Every Nixy solution I could find or conceive had too many points spread across
these various facets:
  - Flimsy (emacsWithPackagesFromUsePackage)
  - Inelegant (builtins.exec, manual listings)
  - Inflexible (emacsWithPackagesFromUsePackage)
  - Otherwise unergonomic (everything }:D)

Straight.el is sufficiently declarative, flexible, and Nix-friendly without
blindly bowing down to the imperialist NixOS user.  Now, Convenience and
ergonomics shan't be forsaken for the dogma that is total Nixation.
2025-01-17 16:28:45 -07:00
Madeleine Sydney
b23492e42b wip: feat: Emacs config (from scratch }:3)
Working:
  - The daemon
  - Mutable config — well, kinda. I'm not yet sure how it will interact with
    `emacsWithPackagesFromUsePackage`.
  - Packages via Nixpkgs
2025-01-17 16:28:45 -07:00