Emacs application framework
Python Emacs Lisp
Switch branches/tags
Nothing to show
Clone or download
Latest commit 7966504 Jun 29, 2018
Permalink
Failed to load latest commit information.
app eaf.el: e Jun 29, 2018
core eaf.el: e Jun 29, 2018
screenshot Update screenshot of demo app Jun 28, 2018
.gitignore Update gitignore Jun 25, 2018
HACKING.md Fix typo and grammar in HACKING.md Jun 27, 2018
LICENSE Initial commit Jun 24, 2018
README.md Update README.md Jun 28, 2018
TODOLIST.md Update todolist Jun 29, 2018
eaf.el Split window combinations proportionally. Jun 29, 2018

README.md

What is Emacs Application Framework?

Emacs Application Framework is a development framework that developers can develop any PyQt program and integrate into Emacs.

This framework mainly implements three functions:

  1. Integrate PyQt program window into Emacs Frame using Xlib Reparent technology
  2. Listening to EAF buffer's keyboard event flow and controlling the keyboard input of PyQt program via DBus IPC
  3. Created a window compositer to make the PyQt program window adapt Emacs's Window/Buffer design

Using this framework, you can use PyQt develop powerful graphics programs to extend Emacs

Some screenshots

Browser

img

Image Viewer

img

Video Player

img

PDF Player

img

Installation

  1. Install python libraries:
sudo pacman -S python-xlib python-pyqt5 python-pymediainfo
sudo pip install git+https://github.com/wbsoft/python-poppler-qt5.git
  1. Clone this repository and add below code in your ~/.emacs
(require 'eaf)

Usage

M-x eaf-open
App Key Event
Browser Left Button Open link current tab
Ctrl + Left Button Open link in new tab
Image Viewer j Load next image in current directory
k Load previous image in current directory
Video Player Space Play or Pause
h Seek backward
l Seek forward
Pdf Viewer j Scroll up
k Scroll down
Space Scroll up page
b Scroll down page
, Scroll to end
. Scroll to home
t Switch scale mode
- zoom out
= zoom in
0 zoomn reset

How to develop new plugins?

Developer manual

Join Us

Do you want to make Emacs a real operating system?

Do you want to live in emacs more comfortably?

Want to create unparalleled plugins to extend emacs?

Join us, happy hacking!