!ZmUSesoOjmVsKbzFbp:nixos.org

Nix Emacs

184 Members
All things Nix/Emacs! https://github.com/nix-community/emacs-overlay 58 Servers

Load older messages


SenderMessageTime
17 Oct 2021
@meccine:matrix.orgmeccine joined the room.06:17:47
@meccine:matrix.orgmeccine left the room.06:19:42
@psionic-lights:matrix.orgpsionic-lights
In reply to @gilganix:matrix.org

I tried to use the following, but it still launches with an empty config file as if it was unable to locate ~/.config/emacs:

    systemd.user.services.emacs = {
      unitConfig = {
        Description = "Emacs text editor.";
        Documentation = "man:emacs(1)";

        After = [ "graphical-session-pre.target" ];
        PartOf = [ "graphical-session.target" ];
      };

      wantedBy = [ "default.target" ];

      serviceConfig = {
        Type = "forking";
        ExecStart = "${emacsWithPackages}/bin/emacs --fg-daemon";
        ExecStop = "${emacsWithPackages}/bin/emacsclient --eval (kill-emacs)";
        Restart = "always";
      };
    };
Just symlink? If you also have an ~/.emacs.d then Emacs may try to load that first. I don't know the behavior in that case. ExecStart is the property you need to override to point at a specific config. The client would only need such configuration if the server was serving at a nonstandard location.
07:35:50
@codygman:matrix.orgcodygmanI know how to use trivialBuild in an overlay to get a newer emacsPackage like: https://github.com/codygman/hci/blob/master/overlays/org-roam-ui.nix I tried doing this with corfu, but it didn't work because the nixpkgs version adds an autoload maybe? How can I add an autoload or otherwise make Corfu work without having to call require before its use package block?10:42:20
@earne:envs.netearne left the room.13:07:34
@gilganix:matrix.org-(𝕂eloτ)-
In reply to @psionic-lights:matrix.org
Just symlink? If you also have an ~/.emacs.d then Emacs may try to load that first. I don't know the behavior in that case. ExecStart is the property you need to override to point at a specific config. The client would only need such configuration if the server was serving at a nonstandard location.
How would you do that through ExecStart?
18:08:41
@mars:jupiterbroadcasting.commars joined the room.18:53:53
18 Oct 2021
@psionic-lights:matrix.orgpsionic-lights
In reply to @gilganix:matrix.org
How would you do that through ExecStart?
The code you posted is the unit itself. You can just modify ExecStart in that snippet to point to where your configs are
03:38:50
@gilganix:matrix.org-(𝕂eloτ)-
In reply to @psionic-lights:matrix.org
The code you posted is the unit itself. You can just modify ExecStart in that snippet to point to where your configs are
Instead I added emacsdir to environment variables pointing to the correct location and used services.emacs and now it seems to be working
03:40:23
@gilganix:matrix.org-(𝕂eloτ)-
In reply to @psionic-lights:matrix.org
The code you posted is the unit itself. You can just modify ExecStart in that snippet to point to where your configs are
* Instead I added emacsdir to environment variables pointing to the correct location and used services.emacs + correct package and now it seems to be working
03:40:28
@gilganix:matrix.org-(𝕂eloτ)-Appreciate it nonetheless!03:40:34
@gilganix:matrix.org-(𝕂eloτ)- * Appreciate it nonetheless!03:40:35
19 Oct 2021
@edwlan:m.edw.aiEd Langley changed their display name from edwlan to Ed Langley.05:07:25
@bkchr:matrix.parity.ioBasti joined the room.14:18:43
20 Oct 2021
@vherrmann:shmerver.deTisoxin changed their display name from Tosixon to Tisoxin.18:04:22
@nbardiuk:matrix.orgnazarii joined the room.20:43:37
@rycee:rycee.netryceeHi, if anybody has time I'd very much appreciate getting a bit more testing of https://github.com/NixOS/nixpkgs/pull/14118621:24:13
@rycee:rycee.netryceeI think it should be a safe change but I've mainly tested with my own Emacs setup21:24:45
21 Oct 2021
@argolargo:nerdsin.spaceArgoLargo changed their display name from philnum to ArgoLargo.02:04:16
@argolargo:nerdsin.spaceArgoLargo changed their profile picture.02:04:39
@balsoft:balsoft.rubalsoft set a profile picture.13:39:16
@NobbZ:matrix.orgNobbZ

I can not find anything else about this error (that would be recent enough to be relevant) therefore I have to assume its nix related, but when I try to start erlang-mode, then I get this message in the message buffer:

File mode specification error: (error Given parent class xref-file-location is not a class)

I use emacsGcc and all the erlang package as defined in commit ae1c1eeeb6168c9e1a13dd47c44781c0eb9ed8ed.

22:18:24
@NobbZ:matrix.orgNobbZSomeone has any idea about this?22:18:34
@NobbZ:matrix.orgNobbZ Hmpf… Seems to be either emacsGcc or git related… emacs 27 works without that error, lets check emacsGit22:24:29
@NobbZ:matrix.orgNobbZ emacsGi fails as well ☹️ 22:27:14
22 Oct 2021
@ultranix:matrix.orgultranixwow, i've been using emacs since 2013, and orgmode since 2018 or so. how have i not paid attention to magit04:30:30
@ultranix:matrix.orgultranixthis is incredible04:30:53
@viz:okash.itviz NobbZ: prolly related: https://lists.gnu.org/archive/html/bug-gnu-emacs/2021-10/msg01508.html 04:42:06
@NobbZ:matrix.orgNobbZIndeed, that seems to be related and describes exactly my issue.04:46:12
@ultranix:matrix.orgultranixi wish i could get kitty image support to display images in terminal emacs17:39:35

There are no newer messages yet.


Back to Room List