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

是重新执行一遍./install-eaf.py吗?不懂整体,还是得rm后重新git clong

建议整体删除后,git clone 后直接调用 ./install-eaf.py 即可,如果没有代理,可以用 ./install-eaf.py --use-gitee

为了避免你本地配置问题,建议删除再来一遍。

PS: KDE 不用加入 fix-wms 变量中,KDE和Gnome这种正常的桌面环境默认就可以工作。

现在这样了,

你用什么就开什么,用不上的先不开试试呢?我开的就 eaf-pdf-viewer 和 eaf-browser.

谢谢提醒,现在正在emacs -q排查

20220301151552screenshot 这个界面按 l o 导出的 pdf 怎么使用 eaf-pdf-viewer 打开?目前总是用 doc-view 打开。

我使用 find-file 打开 pdf 文件k是 eaf-pdf-viewer.

已经解决了,一开始是整体更新,然后把两个add-list注释掉就好了,之前install.py不自带browser和pdf.

看看这个界面的命令是啥吧,看看是不是写死代码的,只要是 find-file 接口的都会默认用EAF打开PDF文件。

今天合并了社区的补丁 https://github.com/emacs-eaf/emacs-application-framework/pull/866

Straight用户应该可以直接用 eaf-install-and-update 命令一键安装EAF了。

他用的是 org-open-file。。。。。我重新弄了个,不用这个界面了。

1 个赞

设置 org-file-apps

  (defun my-org-eaf-open-file(file link)
    "Open org export file with eaf."
    (eaf-open file))

  (add-to-list 'org-file-apps '("\\.pdf\\'" . my-org-eaf-open-file))
1 个赞

谢谢。 我用 (find-file (org-latex-export-to-pdf)) 编译也行。

@manateelazycat 发现一个问题。使用 eaf-pdf-viewer时,打开 pdf 后点击一下鼠标左键,然后使用滚轮上下滚动,eaf-pdf-viewer的窗口会被关闭。

eaf buffer 啥报错?

mupdf: expected object number

在Github上传一下出问题的PDF文件吧,我这边无法重现。

eaf.py内的core文件夹命名和python core名称冲突有什么好的解决办法吗?

manjaro ,昨天更新完系统后,eaf 报这种错

Cannot mix incompatible Qt library (5.15.2) with this library (5.15.3)

但是我系统与qt5 相关的库都是 5.15.3呀

→ ~/b/eaf (master) ✗ pacman -Qs qt5
local/appstream-qt 0.15.2-1
    Qt5 interface for AppStream
local/avahi 0.8+22+gfd482a7-3
    Service Discovery for Linux using mDNS/DNS-SD -- compatible with Bonjour
local/cantata 2.5.0-1
    Qt5 client for the music player daemon (MPD)
local/grantlee 5.2.0-3
    A string template engine based on the Django template system and written in Qt5
local/kimageformats 5.91.0-1 (kf5)
    Image format plugins for Qt5
local/libaccounts-qt 1.16-3
    Qt-based client library for accessing the online accounts database
local/libdbusmenu-qt5 0.9.3+16.04.20160218-6
    A library that provides a Qt implementation of the DBusMenu spec
local/phonon-qt5 4.11.1-3
    The multimedia framework by KDE
local/phonon-qt5-gstreamer 4.10.0-3
    Phonon GStreamer backend for Qt5
local/plasma-framework 5.91.0-1 (kf5)
    Plasma library and runtime components based upon KF5 and Qt5
local/polkit-qt5 0.114.0-1
    A library that allows developers to access PolicyKit API with a nice Qt-style API
local/poppler-qt5 22.03.0-1
    Poppler Qt5 bindings
local/python-pyqt5 5.15.6-7.1 (pyqt5)
    A set of Python bindings for the Qt5 toolkit
local/python-pyqt5-sip 12.9.1-1
    The sip module support for PyQt5
local/python-pyqt5-webengine 5.15.5-4 (pyqt5)
    Python bindings for QtWebEngine
local/python-qtpy 1.11.2-3
    Provides an uniform layer to support PyQt5 and PySide2 with a single codebase
local/qca-qt5 2.3.4-3
    Qt Cryptographic Architecture
local/qt5-base 5.15.3+kde+r133-1 (qt qt5)
    A cross-platform application and UI framework
local/qt5-declarative 5.15.3+kde+r20-1 (qt qt5)
    Classes for QML and JavaScript languages
local/qt5-graphicaleffects 5.15.3+kde+r0-1 (qt qt5)
    Graphical effects for use with Qt Quick 2
local/qt5-imageformats 5.15.3+kde+r0-1 (qt qt5)
    Plugins for additional image formats: TIFF, MNG, TGA, WBMP
local/qt5-location 5.15.3+kde+r0-1 (qt qt5)
    Provides access to position, satellite and area monitoring classes
local/qt5-multimedia 5.15.3+kde+r0-1 (qt qt5)
    Classes for audio, video, radio and camera functionality
local/qt5-quickcontrols 5.15.3+kde+r0-1 (qt qt5)
    Reusable Qt Quick based UI controls to create classic desktop-style user interfaces
local/qt5-quickcontrols2 5.15.3+kde+r4-1 (qt qt5)
    Next generation user interface controls based on Qt Quick
local/qt5-sensors 5.15.3+kde+r0-1 (qt qt5)
    Provides access to sensor hardware and motion gesture recognition
local/qt5-speech 5.15.3+kde+r1-1 (qt qt5)
    Qt module to make text to speech and speech recognition easy
local/qt5-styleplugins 5.0.0.20170311-26
    Additional style plugins for Qt5
local/qt5-svg 5.15.3+kde+r12-1 (qt qt5)
    Classes for displaying the contents of SVG files
local/qt5-tools 5.15.3+kde+r1-1 (qt qt5)
    A cross-platform application and UI framework (Development Tools, QtHelp)
local/qt5-translations 5.15.3+kde+r2-1 (qt qt5)
    A cross-platform application and UI framework (Translations)
local/qt5-virtualkeyboard 5.15.3+kde+r3-1 (qt qt5)
    Virtual keyboard framework
local/qt5-wayland 5.15.3+kde+r40-1 (qt qt5)
    Provides APIs for Wayland
local/qt5-webchannel 5.15.3+kde+r3-1 (qt qt5)
    Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients
local/qt5-webengine 5.15.8-10 (qt qt5)
    Provides support for web applications using the Chromium browser project
local/qt5-webkit 5.212.0alpha4-12
    Classes for a WebKit2 based implementation and a new QML API
local/qt5-x11extras 5.15.3+kde+r0-1 (qt qt5)
    Provides platform-specific APIs for X11
local/qt5-xmlpatterns 5.15.3+kde+r0-1 (qt qt5)
    Support for XPath, XQuery, XSLT and XML schema validation
local/signond 8.60-3
    A D-Bus service which performs user authentication on behalf of its clients
local/sonnet 5.91.0-1 (kf5)
    Spelling framework for Qt5

我这边也无法稳定复现了,可能和使用的 centaur-tabs 有关,滚轮切换了tab.

eaf-pdf-viewer 报了个问题,https://github.com/emacs-eaf/eaf-pdf-viewer/issues/66

白色主题下打开pdf 文件,需要再按一下 i ,切换 Inverted Mode,不然会显示不全。我有很多pdf 首页只有一个标题,eaf 打开后,导致不知道是这页没内容,还是没显示出来,要按 i 来看,有时候要按好几次。

@manateelazycat 大佬有空了,看看是怎么回事,谢谢。