EAF Git Client [Emacs高性能 Git 客户端]

是这么做的,但是中间别的 app 出错,想办法修正以后,再运行 ./install-eaf.py,就没再报错,就以为成功了。

碰到的问题是 eslint 版本冲突,在这里 Issues · emacs-eaf/emacs-application-framework · GitHub 好像几个 app 都是这个错。

现在单装了 git 还是一样的错,解决之后,得手动去 npm install, npm build, 然后 dist 下就有东西了。

但 eaf-open-git 出现了别的错:

qt.webenginecontext: 

GL Type: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
QSG RHI Backend: OpenGL
Using Supported QSG Backend: yes
Using Software Dynamic GL: no
Using Multithreaded OpenGL: yes

Init Parameters:
  *  application-name eaf.py 
  *  browser-subprocess-path <...>/.local/lib/python3.10/site-packages/PyQt6/Qt6/libexec/QtWebEngineProcess 
  *  create-default-gl-context  
  *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
  *  disable-setuid-sandbox  
  *  disable-speech-api  
  *  disable-web-security  
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
  *  enable-gpu-rasterization  
  *  enable-native-gpu-memory-buffers  
  *  enable-threaded-compositing  
  *  ignore-gpu-blocklist  
  *  in-process-gpu  
  *  use-gl desktop 

Traceback (most recent call last):
  File "<...>/config/emacs.d/packages/emacs-application-framework/app/git/buffer.py", line 266, in init_app
    self.init_vars()
  File "<...>/config/emacs.d/packages/emacs-application-framework/app/git/buffer.py", line 293, in init_vars
    (text_color, nav_item_color, info_color, date_color, id_color, match_color, author_color) = get_emacs_func_result(
  File "<...>/config/emacs.d/packages/emacs-application-framework/core/utils.py", line 290, in get_emacs_func_result
    result = epc_client.call_sync("eval-in-emacs", args)
  File "<...>/.local/lib/python3.10/site-packages/epc/handler.py", line 402, in call_sync
    return self._blocking_request(self.call, timeout, name, args)
  File "<...>/.local/lib/python3.10/site-packages/epc/handler.py", line 384, in _blocking_request
    return bc.result(timeout=timeout)
  File "<...>/.local/lib/python3.10/site-packages/epc/handler.py", line 116, in result
    raise reply
epc.handler.ReturnError: [Symbol('error'), 'Format specifier doesn’t match argument type']

Process *eaf* aborted

看到一个类似的错:eaf-open-file-manager run error. · Issue #723 · emacs-eaf/emacs-application-framework · GitHub

不懂 Python,暂时还不会解决。