Skip to content

wi24rd/emacs-application-framework

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Installation

  1. Install python libraries (below commands use for archlinux)
sudo pacman -S python-xlib python-pyqt5 python-pymediainfo
  1. Clone this repository and add below code in your ~/.emacs
(require 'eaf)

Usage

M-x eaf-open

Such as,

  • type www.google.com to open browser, Ctrl + LeftButton open link in new tab
  • type /path/image_file to open image viewer, and press key j or k to select other image in same directory
  • type /path/video_file to open video player, press space to toggle play/pause status, press H or L to seek video position.

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!

About

Emacs application framework

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 72.0%
  • Emacs Lisp 28.0%