> I think there is some nominal difference between configuring the
> variables VISUAL or EDITOR for your default editor.

I found what's the issue looking at git-cl code:

def UserEditedLog(starting_text):
  editor = os.getenv('EDITOR', 'vi')
  (file_handle, filename) = tempfile.mkstemp()
  file = os.fdopen(file_handle, 'w')
  file.write(starting_text)
  file.close()
  ret = subprocess.call(editor + ' ' + filename, shell=True)

git-cl reads the EDITOR environment variable which is 'gvim' for me.
Then it opens a temp file with this editor but gvim by default runs in
background so git-cl continue immediately! I will replace gvim by vim
and that will do. I could also use gvim -f (foreground).
Thanks,
Frédéric

_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to