0

I'm using emacsclient. When I use git glog or git rebase -i in a shell within my emacs session, I see output that expects me to be able to scroll (and to exit with :q). I cannot exit this buffer, and interaction with it is challenging since it is somewhat mangled.

What setting do I need to change in my default editor or git settings for this unusable state to not arise?

3
  • Did you check the values of environment variables $EDITOR and $VISUAL? Commented Jan 21, 2023 at 9:32
  • I don’t know these. What should they be for reasonable behavior? Commented Jan 21, 2023 at 18:48
  • You can set $VISUAL from Emacs by running the following sexp: (setenv "VISUAL" "emacsclient"). Commented Jan 22, 2023 at 10:57

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.