0

trying to commit using "M-x magit-status" followed by "c c", keep getting the following:

1 git.exe … "commit" "--"
Aborting commit due to empty commit message.
sh -c 'printf WITH-EDITOR:: $$: No such file or directory

M-x magit-version output:

Magit 20200501.2225, Git 2.26.0.windows.1, Emacs 26.2, windows-n 

git --version be like:

git version 2.26.0.windows.1

the output of "M-x with-editor-debug" is

with-editor: f:/Projects/elpa-personal/with-editor-20200217.1015/with-editor.el
emacs: c:/Tools/Emacs-26.2/bin/emacs (26.2)
system:
  system-type: windows-nt
  system-configuration: x86_64-w64-mingw32
  system-configuration-options: --without-dbus --host=x86_64-w64-mingw32 --without-compress-install 'CFLAGS=-O2 -static -g3'
server:
  server-running-p: t
  server-process: #<process server>
  server-use-tcp: t
  server-name: server
  server-socket-dir: nil
    WARNING: not an accessible directory
  server-auth-dir: ~/.emacs.d/server/
    server
    server16188
    server28788
    server8704
with-editor-emacsclient-executable:
 value:   c:/Tools/Emacs-26.2/bin/emacsclient.exe (26.2)
 default: c:/Tools/Emacs-26.2/bin/emacsclient.exe (26.2)
 funcall: c:/Tools/Emacs-26.2/bin/emacsclient.exe (26.2)
path:
  $PATH: #("C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files\\Microsoft DNX\\Dnvm\\;C:\\Program Files\\Microsoft SQL Server\\120\\Tools\\Binn\\;C:\\Program Files (x86)\\Windows Kits\\10\\Windows Performance Toolkit\\;C:\\Program Files\\Microsoft SQL Server\\110\\Tools\\Binn\\;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\AOMEI Backupper;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;C:\\Program Files\\Git\\bin;C:\\Program Files\\Git\\cmd;C:\\Compilers\\LLVM-10.0.0\\bin;C:\\Program Files\\nodejs\\;C:\\Program Files\\PuTTY\\;C:\\Program Files\\TortoiseGit\\bin;C:\\ProgramData\\chocolatey\\bin;C:\\Tools\\CMake\\bin;C:\\Tools\\Ruby22-x64\\bin;C:\\Tools\\7-Zip;C:\\Tools\\Perl64\\site\\bin;C:\\Tools\\Perl64\\bin;C:\\Tools\\Vagrant\\bin;C:\\Tools\\Python36;C:\\Tools\\Jom;C:\\Tools\\Subversion\\bin;C:\\Tools\\Emacs-26.2\\bin;C:\\Tools\\Python36\\Scripts;C:\\Tools\\Subversion\\bin;C:\\Users\\Сергей Речицкий\\Dropbox;C:\\Users\\Сергей Речицкий\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Program Files\\JetBrains\\CLion 2019.1\\bin;;C:\\Program Files\\JetBrains\\WebStorm 2019.2.3\\bin;;C:\\Users\\Сергей Речицкий\\AppData\\Roaming\\npm;C:\\Program Files\\JetBrains\\PyCharm 2019.3.3\\bin;;F:\\Projects\\Arduino;C:\\Program Files\\JetBrains\\IntelliJ IDEA 2019.3.4\\bin;" 0 1705 (charset windows-1251))
  exec-path: (c:/Program Files (x86)/Intel/iCLS Client/ C:/Program Files/Intel/iCLS Client/ C:/WINDOWS/system32 C:/WINDOWS C:/WINDOWS/System32/Wbem C:/WINDOWS/System32/WindowsPowerShell/v1.0/ C:/Program Files/Microsoft DNX/Dnvm/ C:/Program Files/Microsoft SQL Server/120/Tools/Binn/ C:/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/ C:/Program Files/Microsoft SQL Server/110/Tools/Binn/ C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL C:/Program Files/Intel/Intel(R) Management Engine Components/DAL C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT C:/Program Files/Intel/Intel(R) Management Engine Components/IPT C:/Program Files (x86)/AOMEI Backupper C:/WINDOWS/System32/OpenSSH/ C:/Program Files/NVIDIA Corporation/NVIDIA NvDLISR C:/Program Files/Git/cmd C:/Compilers/LLVM-10.0.0/bin C:/Program Files/nodejs/ C:/Program Files/PuTTY/ C:/Program Files/TortoiseGit/bin C:/ProgramData/chocolatey/bin C:/Tools/CMake/bin C:/Tools/Ruby22-x64/bin C:/Tools/7-Zip C:/Tools/Perl64/site/bin C:/Tools/Perl64/bin C:/Tools/Vagrant/bin C:/Tools/Python36 C:/Tools/Jom C:/Tools/Subversion/bin C:/Tools/Emacs-26.2/bin C:/Tools/Python36/Scripts C:/Tools/Subversion/bin C:/Users/Сергей Речицкий/Dropbox C:/Users/Сергей Речицкий/AppData/Local/Microsoft/WindowsApps C:/Program Files/JetBrains/CLion 2019.1/bin . C:/Program Files/JetBrains/WebStorm 2019.2.3/bin . C:/Users/Сергей Речицкий/AppData/Roaming/npm C:/Program Files/JetBrains/PyCharm 2019.3.3/bin . F:/Projects/Arduino C:/Program Files/JetBrains/IntelliJ IDEA 2019.3.4/bin . c:/Tools/Emacs-26.2/libexec/emacs/26.2/x86_64-w64-mingw32)
  with-editor-emacsclient-path:
    c:/Tools/Emacs-26.2/bin (t)
      c:/Tools/Emacs-26.2/bin/emacsclient.exe (26.2)
    c:/Program Files (x86)/Intel/iCLS Client/ (t)
    C:/Program Files/Intel/iCLS Client/ (t)
    C:/WINDOWS/system32 (t)
    C:/WINDOWS (t)
    C:/WINDOWS/System32/Wbem (t)
    C:/WINDOWS/System32/WindowsPowerShell/v1.0/ (t)
    C:/Program Files/Microsoft DNX/Dnvm/ (t)
    C:/Program Files/Microsoft SQL Server/120/Tools/Binn/ (t)
    C:/Program Files (x86)/Windows Kits/10/Windows Performance Toolkit/ (t)
    C:/Program Files/Microsoft SQL Server/110/Tools/Binn/ (t)
    C:/Program Files (x86)/NVIDIA Corporation/PhysX/Common (t)
    C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/DAL (t)
    C:/Program Files/Intel/Intel(R) Management Engine Components/DAL (t)
    C:/Program Files (x86)/Intel/Intel(R) Management Engine Components/IPT (t)
    C:/Program Files/Intel/Intel(R) Management Engine Components/IPT (t)
    C:/Program Files (x86)/AOMEI Backupper (t)
    C:/WINDOWS/System32/OpenSSH/ (t)
    C:/Program Files/NVIDIA Corporation/NVIDIA NvDLISR (t)
    C:/Program Files/Git/bin (t)
    C:/Program Files/Git/cmd (t)
    C:/Compilers/LLVM-10.0.0/bin (t)
    C:/Program Files/nodejs/ (t)
    C:/Program Files/PuTTY/ (t)
    C:/Program Files/TortoiseGit/bin (t)
    C:/ProgramData/chocolatey/bin (t)
    C:/Tools/CMake/bin (t)
    C:/Tools/Ruby22-x64/bin (t)
    C:/Tools/7-Zip (t)
    C:/Tools/Perl64/site/bin (t)
    C:/Tools/Perl64/bin (t)
    C:/Tools/Vagrant/bin (t)
    C:/Tools/Python36 (t)
    C:/Tools/Jom (t)
    C:/Tools/Emacs-26.2/bin (t)
      C:/Tools/Emacs-26.2/bin/emacsclient.exe (26.2)
    C:/Tools/Python36/Scripts (t)
    C:/Tools/Subversion/bin (t)
    C:/Users/Сергей Речицкий/Dropbox (t)
    C:/Users/Сергей Речицкий/AppData/Local/Microsoft/WindowsApps (t)
    C:/Program Files/JetBrains/CLion 2019.1/bin (t)
    C:/Program Files/JetBrains/PyCharm Community Edition 2019.2.3/bin (t)
    C:/Program Files/JetBrains/WebStorm 2019.2.3/bin (t)
    C:/Users/Сергей Речицкий/AppData/Roaming/npm (t)
    C:/Program Files/JetBrains/PyCharm 2019.3.3/bin (t)
    F:/Projects/Arduino (t)
    C:/Program Files/JetBrains/IntelliJ IDEA 2019.3.4/bin (t)
    . (t)
    c:/Tools/Emacs-26.2/libexec/emacs/26.2/x86_64-w64-mingw32 (t)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.