Saturday, July 21, 2012

Coding with Emacs and e2wm, a brilliant emacs windows manager

I've been using emacs for a while now and never intend to move on to vi, and especially other gui IDEs, because I simply just cant move my pinky finger from ctrl, it just automatically gets stuck there lol. and the IDEs editors are just too fancy for me.

Anyway the most annoying problem when developing with emacs is the project management, right? Since I believe you don't wanna ctrl+x ctrl+c to grep for some stuffs, and just split the emacs window to then do some shell stuffs there. It's pretty troublesome when you quit your emacs and then you have to split the windows to your preference again. Times like these, you have to define the splitting functions to .emacs and it's gonna suck more of your precious time again.




Well brace yourself, this tool is the perfect tool for project management for emacs, e2wm! Basically there are 5 kinds of perspectives you can choose for splitting the windows, Code, Two, Doc, Dashboard, and Array perspective, which is respectively equipped with various emacs tools.

To use e2wm is simple, what you have to do is just download e2wm-config.el, e2wm-vcs.el, and e2wm.el and then put it in your emacs path, and then add:
(require 'e2wm)
(global-set-key (kbd "M-+") 'e2wm:start-management)
to your .emacs file!

this is the link to kiwanami's github (the author of e2wm, thanks!):  https://github.com/kiwanami
and this is the link to e2wm's github repo: https://github.com/kiwanami/emacs-window-manager

4 comments:

  1. hye. i dont know how to contact you so i write at this comment box.
    just now i read your post at http://stackoverflow.com/questions/4907124/openssl-client-smtp-with-gmail-port-587-no-response-250-ok-from-after-crlf

    i face the same problem now. so can i ask if you found the solution for the problem? really appreciate your help. :)

    This is my email
    zakimcsb@hotmail.com

    Thanks.

    ReplyDelete
  2. Hi there,

    I did exactly just as the accepted answer said, by adding the '-crlf' parameter to the command. So it'll make:

    openssl s_client -host smtp.gmail.com -port 587 -starttls smtp -crlf

    and that resolved my problem.
    Bump me up if you have any further questions.

    Best of luck :)

    ReplyDelete
  3. Very useful tutorial, worked like a charm, however I installed e2wm system-wide (on Linux Mint 16):

    sudo apt-get install e2wm

    I got autocomplete a fine .dict file for that too I am a happy man! :-D

    ReplyDelete
  4. I am a happy user of emacs/e2wm inside screen session. I have few questions:
    1. is there an option to use mouse clicks for navigating across various windows (directory view/work area/history/methods window)?
    2. What short cuts do you use for navigation on e2wm?

    ReplyDelete