Skip to content

My emacs derivation seems to have terminal issues I can't figure out #358

Closed Answered by 573
573 asked this question in Q&A
Discussion options

You must be logged in to vote

After figuring out that zellij in principal solves all my belated issues described above, but the version currently in nixos-unstable not working anymore I invented a very ugly yet effective workaround, note that it involves starting a screen session that terminates for whatever reason right in front of the emacs - side effect no more jumping cursors / garbled lines in emacs so far ref.:

pkgs.runCommand "emacs-no-el" {
	nativeBuildInputs = [ pkgs.makeWrapper ]; } ''
          mkdir -p $out/bin
          makeWrapper ${config.custom.programs.emacs-no-el.finalPackage.outPath}/bin/emacs $out/bin/emacs-no-el \
	    --argv0 emacs ${optionalString (isLinux && isAarch64) "--run ${pkgs.screen}/bin…

Replies: 5 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@573
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by 573
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants