~hp/issues#11: 
Save in external editor does not get picked up by mephisto

I have emacs set as my $EDITOR, to be precise, doom emacs, started with:

#!/nix/store/zcl19h06322c3kss6bvf05w2pxg4kfll-bash-4.4-p23/bin/bash
if [ -z "$1" ]; then
  exec /nix/store/mdmsz3637rwnpaq116wxn2i2iicm1xrn-emacs-with-packages-27.1/bin/emacsclient --create-frame --alternate-editor /nix/store/mdmsz3637rwnpaq116wxn2i2iicm1xrn-emacs-with-packages-27.1/bin/emacs
else
  exec /nix/store/mdmsz3637rwnpaq116wxn2i2iicm1xrn-emacs-with-packages-27.1/bin/emacsclient --alternate-editor /nix/store/mdmsz3637rwnpaq116wxn2i2iicm1xrn-emacs-with-packages-27.1/bin/emacs "$@"
fi

When I save the file, it does not get compiled. The internal editor works just fine, tested with nvim and emacs.

I was not able to test with nvim as the external editor, since when I "open in external editor", I still get emacs, even when nvim is used internally (so with $EDITOR set to nvim). I'm still looking into why that happens.

Status
REPORTED
Submitter
~hp
Assigned to
~hp
Submitted
1 year, 1 month ago
Updated
1 year, 1 month ago
Labels
mephisto