Live data from Hacker News

My I3-Emacs Integration

khz.ac

21–30 of 53 posts

Re: My I3-Emacs Integration

#21
post #13

Ooo this is nice. I may have to try to get this working with my personal setup using Emacs and Sway. My long term vision is to make an Emacs implementation that is compatible only in philosophy. It would use Guile instead of Elisp, default to bindings that are more familiar to people coming from more modern systems, and would be built from the beginning with concurrency and graphics in mind. For now it remains a drea…

VSCode is pretty much this. But with typescript instead of Guile. After 30 years of Emacs, I switched .

after 30 years you say this? this cannot be serious.

Re: My I3-Emacs Integration

#22
post #13

Ooo this is nice. I may have to try to get this working with my personal setup using Emacs and Sway. My long term vision is to make an Emacs implementation that is compatible only in philosophy. It would use Guile instead of Elisp, default to bindings that are more familiar to people coming from more modern systems, and would be built from the beginning with concurrency and graphics in mind. For now it remains a drea…

I know, right? However, one of the strongest points of Emacs is the huge amount of existing packages.

Re: My I3-Emacs Integration

#23

Side note: I am really enjoying HN today with the set of stories with personal hacks like this i3-emacs integration, someone's desk setup, someone's writer-deck laptop install, the kinda hilarious but also hecka geeky thermal ttrpg thingamabob, and the 16 byte wake up demo. Fun geeky stuff that isn't AI,and I love AI, but it ain't everything.

I set up a crude set of Ublock Origin filters to nuke AI off the frontpage of HN a while ago.

It's been great, much more like HN used to be.

Re: My I3-Emacs Integration

#24

Side note: I am really enjoying HN today with the set of stories with personal hacks like this i3-emacs integration, someone's desk setup, someone's writer-deck laptop install, the kinda hilarious but also hecka geeky thermal ttrpg thingamabob, and the 16 byte wake up demo. Fun geeky stuff that isn't AI,and I love AI, but it ain't everything.

Can you pls link to them?

They are still on the front page, but here you go:

Two-part desk setup : https://news.ycombinator.com/item?id=48214311

Writerdeck: https://news.ycombinator.com/item?id=48250144

Wake-up demo: https://news.ycombinator.com/item?id=48253060

Re: My I3-Emacs Integration

#25

Unrelated, but me and Gemini just invented "C-x 4" for multiscreens. (defun my-external-readonly-split () "Open the current file in an external xfce4-terminal as read-only." (interactive) (if buffer-file-name (start-process "xfce-terminal-split" nil "xfce4-terminal" "-x" "emacs" "-nw" "--eval" "(find-file-read-only (pop command-line-args-left))" buffer-file-name) (message "Current buffer is not visiting a file!"))) (…

You should use emacsclient, so file will be actually shared. Or better yet - use GUI emacs with its ability to have multiple frames.

Re: My I3-Emacs Integration

#26
post #13

Ooo this is nice. I may have to try to get this working with my personal setup using Emacs and Sway. My long term vision is to make an Emacs implementation that is compatible only in philosophy. It would use Guile instead of Elisp, default to bindings that are more familiar to people coming from more modern systems, and would be built from the beginning with concurrency and graphics in mind. For now it remains a drea…

https://guile-emacs.org/

Re: My I3-Emacs Integration

#27

I just use super(win key)/hyper (bound to capslock) for i3-related commands and leave emacs to its own devices with normal binds

The problem some of us have is we get used to jumping between emacs windows/buffers using C-x o and C-x b and then without thinking about it try and use the same keys to jump between i3 windows and of course it doesn't work. Or vice versa, trying to use i3 shortcuts to switch emacs windows/buffers.

Re: My I3-Emacs Integration

#28

Unrelated, but me and Gemini just invented "C-x 4" for multiscreens. (defun my-external-readonly-split () "Open the current file in an external xfce4-terminal as read-only." (interactive) (if buffer-file-name (start-process "xfce-terminal-split" nil "xfce4-terminal" "-x" "emacs" "-nw" "--eval" "(find-file-read-only (pop command-line-args-left))" buffer-file-name) (message "Current buffer is not visiting a file!"))) (…

You should use emacsclient, so file will be actually shared. Or better yet - use GUI emacs with its ability to have multiple frames.

No Thank You

  export EDITOR="emacs -nw"

Re: My I3-Emacs Integration

#29
In case you don't understand the problem here, an emacs instance can be split into multiple "windows" and there are emacs key bindings to create and destroy these windows, move the "focus" from one window to another, resize the windows, etc. For many of us, this was our introduction to a tiling window manager experience before we'd ever heard of tiling window managers.

When we switched to using a tiling window manager for all our windows, we ran into a muscle memory problem. We were used to jumping between emacs windows/buffers using C-x o and C-x b and then without thinking about it we'd try and use the same keys to jump between i3/sway windows and of course it doesn't work. Or vice versa, trying to use i3/sway shortcuts to switch emacs windows/buffers.

To try and solve this problem I've been using less emacs windows and more i3/sway windows, so I can just use i3/sway keybindings everywhere, but emacs puts up some resistance to that. I like this approach

Re: My I3-Emacs Integration

#30

Earlier quoted context omitted.

You should use emacsclient, so file will be actually shared. Or better yet - use GUI emacs with its ability to have multiple frames.

No Thank You export EDITOR="emacs -nw"

export EDITOR="emacsclient -nw"

It really speeds things up

Post reply on HN