Emacs / CVS / OpenSSH: preventing password popup

后端 未结 6 1386
失恋的感觉
失恋的感觉 2021-01-18 01:50

I\'m using GNU Emacs on my Ubuntu netbook in fullscreen mode. When I edit files that are under version control and hit C-x v v to commit the latest changes, an OpenSSH popup

6条回答
  •  遇见更好的自我
    2021-01-18 02:37

    I'm speculating here, as I neither use CVS or vc within Emacs, however I presume that Emacs is shelling out to the appropriate program to perform the commit, and the password prompt is something entirely external to Emacs. So I suspect what you want to do is firstly find out which options are needed to do a GUI-less commit from your shell without Emacs, and then modify vc-checkin-switches (or define vc-cvs-checkin-switches) in Emacs to match (see defun vc-switches).

提交回复
热议问题