e2wm-sww

https://github.com/aki2o/e2wm-sww.git

git clone 'git://github.com/aki2o/e2wm-sww.git'
3

What's this?

This is a extension of Emacs that is a plugin of e2wm.el to switch plugin quickly.

demo

Install

If use package.el

2014/05/25 It's available by using melpa.

If use el-get.el

2014/05/26 It's available. But, master branch only.

If use auto-install.el

(auto-install-from-url "https://raw.github.com/aki2o/e2wm-sww/master/e2wm-sww.el")

Manually

Download e2wm-sww.el and put it on your load-path.
- In this case, you need to install each of the following dependency.

Dependency

Configuration

Sample

(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)

Added Plugin Symbol

The plugin named sww is provided by this extension.

Required Option

The switched plugins have to set the window name of sww plugin to :sww option.

Default Plugin

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

Label Of Button

The title of plugin is used to the lable of button.
You are able to change it using :sww-label option.

Tested On

Enjoy!!!