https://github.com/aki2o/e2wm-sww.git
git clone 'git://github.com/aki2o/e2wm-sww.git'
This is a extension of Emacs that is a plugin of to switch plugin quickly.
2014/05/25 It's available by using melpa.
2014/05/26 It's available. But, master branch only.
(auto-install-from-url "https://raw.github.com/aki2o/e2wm-sww/master/e2wm-sww.el")
Download e2wm-sww.el and put it on your load-path.
- In this case, you need to install each of the following dependency.
(require 'e2wm-sww)
(setq e2wm:c-code-recipe
'(- (:upper-size-ratio 0.5)
(| (:right-max-size 70)
main
(- sw-helper helper))
sub))
(setq e2wm:c-code-winfo
'((:name main)
(:name helper :plugin files :sww sw-helper)
(:name helper :plugin imenu :sww sw-helper :sww-default t)
(:name helper :plugin history-list :sww sw-helper :sww-label "Hist")
(:name sw-helper :plugin sww)
(:name sub :buffer "*info*" :default-hide t)))
(add-hook 'emacs-lisp-mode-hook
'(lambda ()
(add-to-list 'e2wm-sww:default-plugins 'files))
t)
The plugin named sww
is provided by this extension.
The switched plugins have to set the window name of sww plugin to :sww
option.
You are able to set a default active plugin in each of buffer by the following way.
- Set e2wm-sww:default-plugins
that is a buffer local variable and the list of the symbol of the plugin
- Set t
to :sww-default
option for the plugin
The title of plugin is used to the lable of button.
You are able to change it using :sww-label
option.
Enjoy!!!