从今天开始,Emacs里面可以运行任何你想要的程序 (Linux & Windows & Mac & BSD)

怎么重现,有详细步骤吗?

已经修复了,是app支持任意路径这个补丁引起的

我试用一段时间再观察一下

文件管理器在路上,主要的增强在于:

  1. 支持子线程
  2. 支持双栏和文件预览
  3. 支持图形化状态展示
2 个赞

现在支持图片和文本文件预览,这种双栏的设计,在批量管理图片文件的时候非常高效。

其实查看文件目录和预览图片还好,我在 org-mode里就解决了 , 但像dired一样的操作方式标记文件移动复制粘贴重命名,这个就不知道怎么做了. 大佬有计划效仿dired的操作方式吗

是呀,效仿dired操作,也提供ranger类似的快速预览功能

同时,通过EAF的线程功能解决emacs浏览大文件,浏览大目录以及渲染大图片得性能问题。

Debugger entered--Lisp error: (void-variable hl-line-face)
  (list hl-line-face)
  (eaf-get-face-attribute (list hl-line-face) :background)
  (eaf-color-name-to-hex (eaf-get-face-attribute (list hl-line-face) :background))
  eaf-get-theme-select-color()
  (closure (eaf-mode-abbrev-table eaf-mode-syntax-table eaf-edit-mode-abbrev-table eaf-edit-mode-syntax-table t) nil (eaf-get-theme-select-color))()
  funcall((closure (eaf-mode-abbrev-table eaf-mode-syntax-table eaf-edit-mode-abbrev-table eaf-edit-mode-syntax-table t) nil (eaf-get-theme-select-color)))
  eval((funcall #'(closure (eaf-mode-abbrev-table eaf-mode-syntax-table eaf-edit-mode-abbrev-table eaf-edit-mode-syntax-table t) nil (eaf-get-theme-select-color))))
  custom-initialize-reset(eaf-emacs-theme-select-color (funcall #'(closure (eaf-mode-abbrev-table eaf-mode-syntax-table eaf-edit-mode-abbrev-table eaf-edit-mode-syntax-table t) nil (eaf-get-theme-select-color))))
  custom-declare-variable(eaf-emacs-theme-select-color (funcall #'(closure (eaf-mode-abbrev-table eaf-mode-syntax-table eaf-edit-mode-abbrev-table eaf-edit-mode-syntax-table t) nil (eaf-get-theme-select-color))) "" :type string)
  eval-buffer(#<buffer  *load*-843527> nil "/home/feng/projects/emacs-packages/emacs-applicati..." nil t)  ; Reading at buffer position 56159
  load-with-code-conversion("/home/feng/projects/emacs-packages/emacs-applicati..." "/home/feng/projects/emacs-packages/emacs-applicati..." t t)
  require(eaf nil t)
  (progn (setq eaf-find-alternate-file-in-dired t) (require 'eaf nil t) (eval-after-load "eaf" #'(lambda nil (setq eaf-buffer-title-format "EAF/%s") (eaf-bind-key scroll_up "RET" eaf-pdf-viewer-keybinding) (eaf-bind-key scroll_down_page "DEL" eaf-pdf-viewer-keybinding) (eaf-bind-key scroll_up "C-n" eaf-pdf-viewer-keybinding) (eaf-bind-key scroll_down "C-p" eaf-pdf-viewer-keybinding) (eaf-bind-key take_photo "p" eaf-camera-keybinding))))
  (if (eq system-type 'gnu/linux) (progn (setq eaf-find-alternate-file-in-dired t) (require 'eaf nil t) (eval-after-load "eaf" #'(lambda nil (setq eaf-buffer-title-format "EAF/%s") (eaf-bind-key scroll_up "RET" eaf-pdf-viewer-keybinding) (eaf-bind-key scroll_down_page "DEL" eaf-pdf-viewer-keybinding) (eaf-bind-key scroll_up "C-n" eaf-pdf-viewer-keybinding) (eaf-bind-key scroll_down "C-p" eaf-pdf-viewer-keybinding) (eaf-bind-key take_photo "p" eaf-camera-keybinding)))))
  eval-buffer(#<buffer  *load*-50440> nil "/home/feng/projects/emacs-packages/emacs-helper/eh..." nil t)  ; Reading at buffer position 5702
  load-with-code-conversion("/home/feng/projects/emacs-packages/emacs-helper/eh..." "/home/feng/projects/emacs-packages/emacs-helper/eh..." nil t)
  require(eh-misc)
  eval-buffer(#<buffer  *load*-862997> nil "/home/feng/projects/emacs-packages/emacs-helper/em..." nil t)  ; Reading at buffer position 1813
  load-with-code-conversion("/home/feng/projects/emacs-packages/emacs-helper/em..." "/home/feng/projects/emacs-packages/emacs-helper/em..." nil t)
  require(emacs-helper)
  eval-buffer(#<buffer  *load*> nil "/home/feng/.emacs" nil t)  ; Reading at buffer position 4454
  load-with-code-conversion("/home/feng/.emacs" "/home/feng/.emacs" t t)
  load("~/.emacs" noerror nomessage)
  startup--load-user-init-file(#f(compiled-function () #<bytecode 0xe897b8411deaba6>) #f(compiled-function () #<bytecode -0x1f3c686ddc0ce8b5>) t)
  command-line()
  normal-top-level()

图片

eaf terminal 字体怎么设置,我这边显示的字体很难看

你为啥很多face都没有?

再更新测试一下吧

更新到最新版,用(setq eaf-browser-font-family "WenQuanYi Micro Hei Mono") 来设置,最近重构好像把字体设置搞废了。

文件管理器支持PDF文件预览

不知道 :rofl:

file-manager 目前已经可以预览目录、文本文件、图片、PDF文件、视频文件

file-manager 会陆续增加更多文件的预览和一些常规操作(移动、删除、拷贝、重命名)、批量标记、操作进度等功能,wdired的功能可以通过弹出Emacs Buffer,执行Emacs编辑后通过文件diff做重命名即可

因为 file-manager 拥有真正的多线程能力,所以最终的性能会比dired好很多很多

2 个赞

音乐的预览已经加上了。

我试了一下,音乐播放器的字体倒是变了,但terminal中的没变

你设置一下这个 eaf-terminal-font-family

一个问题:在windows 的wsl下运行linux emacs能打开windows程序吗? :sweat_smile:

Wrote /home/feng/.emacs.d/recentf [5 times]
if: Symbol’s function definition is void: eaf-epc-live-pError during redisplay: (eaf-monitor-window-size-change #<frame *Org Agenda* - GNU Emacs at debian 0x56128031c7b0>) signaled (void-function eaf-epc-live-p)
and: Symbol’s function definition is void: eaf-epc-live-pError during redisplay: (eaf-monitor-window-size-change #<frame *Org Agenda* - GNU Emacs at debian 0x56128031c7b0>) signaled (void-function eaf-epc-live-p)
and: Symbol’s function definition is void: eaf-epc-live-p
Mark set