!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

748 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay | For Doom Emacs: https://matrix.to/#/#doom-emacs:nixos.org170 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
19 Apr 2024
@belak:matrix.org@belak:matrix.orgThere are some better ones later in that issue which also copy the icons21:58:55
@belak:matrix.org@belak:matrix.orgI'll update here when I have it working21:59:02
20 Apr 2024
@ngn999:matrix.orgngn
In reply to @belak:matrix.org
Oh interesting, yeah it seems to be symlinked into ~/Applications/Home Manager Apps/Emacs.app. Guess it's not being picked up by Alfred.
Raycast works.
00:15:28
@belak:matrix.org@belak:matrix.orgI already got nerdsniped switching to nix emacs today, I'll have to save Raycast for another time00:16:15
@treed:zenithia.nettreedYou know, I switched to Raycast and it didn't occur to me to even try to see if it handled that better. I got so used to just launching by a wrapper script I made.01:46:30
@azahi:azahi.ccazahi joined the room.16:09:23
@bestlem:matrix.orgbestlemI am trying to load emacs using home-manager, I get emacs toi run and it loads the default.el and my normal init.el17:44:05
@bestlem:matrix.orgbestlemHowever it complains when I try to use a tree-sitter mode that it cannfind the .so or. dylib17:44:34
@bestlem:matrix.orgbestlemMy config is17:44:44
@bestlem:matrix.orgbestlem
17:45:00
@bestlem:matrix.orgbestlem programs.emacs = {
enable = true;
package = pkgs.emacs;
17:45:33
@bestlem:matrix.orgbestlem extraPackages =
epkgs: with epkgs; [
emacsql
emacsql-sqlite
pdf-tools
vterm
treemacs
treesit-grammars.with-all-grammars
# straight # my version
];
};
17:45:45
@bestlem:matrix.orgbestlemWhat else do I need to set to get the treesit grammers loaded17:46:03
@bestlem:matrix.orgbestlemOn emacs treesit-extra-load-pat points to the nix-store that containes the native compilations of the packages etc but that store does not have any shared libraries17:48:09
@bestlem:matrix.orgbestlemI am on macOS if that matters17:48:26
21 Apr 2024
@azahi:azahi.ccazahi 21:49:12
22 Apr 2024
@willbush:matrix.orgwillbush changed their profile picture.07:10:26
@zeorin:matrix.orgXandor Schiefer Hey all πŸ‘‹, if you use dap-mode and code in JavaScript, please consider giving my PR for vscode-js-debug a πŸ‘ and/or a review. This standalone adapter can be used with dap-js. 07:32:06
23 Apr 2024
@pyrox:pyrox.devPyrox [Fox/It/She] joined the room.20:29:07
24 Apr 2024
@theutz:matrix.org@theutz:matrix.org joined the room.16:08:55
@zirpu:matrix.org@zirpu:matrix.org left the room.17:04:33
25 Apr 2024
@ldeck:matrix.orgldeck

Hey all, I'd like to be able to solve a macOS reboot issue with Emacs.app, built using home-manager, where modules like hm-init.el are somehow missing from the load-path along with a number of others that were defined via home-manager's emacs-init / use-package.

Opening the app via the terminal open -a ~/.nix-profile/Applications/Emacs.app or Finder at ~/Applications/Home\ Manager\ Apps/Emacs.app β€” both are finder aliases to /nix/store/irmcmk3ccmlawr8985nyll9x6g9v4dl0-emacs-with-packages-29.1/Applications/Emacs.app β€” works happily. Things go awry when the system reboots and restores apps/windows that were previously open (See below warnings).

Any ideas on how to solve this?

β›” Warning (initialization): An error occurred while loading β€˜/Users/ldeck/.emacs.d/early-init.el’:

File is missing: Cannot open load file, No such file or directory, hm-early-init

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file. Start Emacs with
the β€˜--debug-init’ option to view a complete error backtrace.
β›” Warning (initialization): An error occurred while loading β€˜/Users/ldeck/.emacs.d/init.el’:

File is missing: Cannot open load file, No such file or directory, hm-init

21:09:12
26 Apr 2024
@mjolnir:nixos.orgNixOS Moderation Bot banned @ultranix:matrix.org@ultranix:matrix.org (<no reason supplied>).09:39:50
@bestlem:matrix.orgbestlemWhat is in your /Users/ldeck/.emacs.d/early-init.el11:52:44
@belak:matrix.org@belak:matrix.org left the room.11:56:13
@ldeck:matrix.orgldeck
In reply to @bestlem:matrix.org
What is in your /Users/ldeck/.emacs.d/early-init.el
% cat ~/.emacs.d/early-init.el
(require 'hm-early-init)
(provide 'early-init)
12:29:58
@ldeck:matrix.orgldeck
In reply to @bestlem:matrix.org
What is in your /Users/ldeck/.emacs.d/early-init.el
*

% cat ~/.emacs.d/early-init.el
(require 'hm-early-init)
(provide 'early-init)

% cat ~/.emacs.d/init.el
(require 'hm-init)
(provide 'init)

12:32:00
@picnoir:alternativebit.fr@picnoir:alternativebit.fr left the room.18:20:24
@mhj:matrix.org@mhj:matrix.org left the room.21:37:36
@pxc:matrix.orgpxc changed their display name from pxc to pxc (why).23:32:09

Show newer messages


Back to Room ListRoom Version: 6