The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

i3 and emacs integration

asked 2013-02-28 15:03:50 +0000

kevin gravatar image

I just found this Github repository "vava/i3-emacs" and I think that the idead behind it is quite great:

emacs was built at a time when i3 and tiling WMs did not exist, and it does quite a good job at faking it.

C-x 2 splits the editor horizontally 
C-x 3 splits it vertically
C-x o jumps to the other side
C-x 1 only keeps the active buffer

Vadim Atlygin worked on integrating i3 in emacs, certainly by, somehow, delegating the execution of these commands to i3 through IPC messages.

However, I can't get it working, and I don't know emacs enough to be able to fix anything in his code.

Any idea how to install it propertly ?, anything else than that:

(require 'i3)
(require 'i3-integration)
(i3-one-window-per-frame-mode-on)
(i3-advise-visible-frame-list-on)

Any idea what's wrong ? maybe it's just version conflicts ?

$ i3 -v
i3 version 4.4 (2012-12-12, branch "tags/4.4")
$ emacs --version
GNU Emacs 24.2.1
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-03-04 05:31:49 +0000

What's the error you are receiving?

Putting those files in your ~/.emacs.d folder and adding:

(require 'i3)
(require 'i3-integration)
(i3-one-window-per-frame-mode-on)
(i3-advise-visible-frame-list-on)

To your .emacs should be enough. If you are receiving start-up errors try running Emacs with the --debug-init flag and post the backtrace.

edit flag offensive delete link more

Comments

I don't see any error, and that's what is bothering me! My `C-x n` commands work the same way as usual and the `*Messages*` buffer doesn't have anything suspicious, I can even see `i3.el (source)...done` and `i3.el (source)...done` ...

kevin gravatar imagekevin ( 2013-03-04 08:35:30 +0000 )edit

@kevin: the `C-x n` commands are not supposed to change. The `i3-one-window-per-frame-mode` only affects where Emacs opens new popup windows.

npostavs gravatar imagenpostavs ( 2013-08-11 18:10:57 +0000 )edit

Question Tools

1 follower

Stats

Asked: 2013-02-28 15:03:50 +0000

Seen: 1,062 times

Last updated: Mar 04 '13