Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

A long time ago my setup was StumpWM with Emacs with Slime connected to StumpWM's lisp image. The non-trivial part was getting one interface to navigate both buffers and windows using C-x b. It was non-trivial because of the somehow circuitous nature of the arrangement.

At some point I moved to a Mac because I realized that perfecting my window manager setup was just killing my productivity. I hope that one day I'll be able to get back to it – maybe when I retire.



> At some point I moved to a Mac because I realized that perfecting my window manager setup was just killing my productivity

Which is funny because macOS out of the box has some of the worst window management ever seen on any OS.


What you use on Mac for window management? Recently switched from Linux Mint Cinnamon, default window management feels like a downgrade, maybe I’m holding it wrong?


It is a downgrade, but it's a conscious trade-off for me. I've been fine with that for the last 14 years. I switched to the Mac to get a mostly adequate environment that I wouldn't be tempted to hack.

The thing I actually care about is navigating between windows by typing something that gets autocompleted. Spotlight or Alfred get me mostly there. In chrome I use Powerswitch to navigate between windows, and there's Cmd K for Slack. Having one interface for those would be grand, but I'm not holding my breath.


> What you use on Mac for window management? Recently switched from Linux Mint Cinnamon, default window management feels like a downgrade, maybe I’m holding it wrong?

You're not holding it wrong, it's just a very primitive desktop environment. No snapping, poor external monitor support, defaults to magically moving desktops in relation to each other, etc.

If you want good window management right out the box, you won't get it from MacOS.


To me the most annoying thing is that when I switch to a window of an application, it moves all other windows of this application to the top as well, covering anything else I had opened, making multitasking a fool’s errand.


I use Rectangle which makes it bearable, but its behaviour is still a bit annoying. And Hyperkey for both Escape & Ctrl on the Caps Lock key.

I'm still looking for an sxiv replacement, though.


I'm going to assume you probably made the right decision for you personally, but why did you choose Mac, rather than something like Linux Mint w/ Cinnamon, or KDE, or especially Gnome? Then you wouldn't have to leave Linux, but you'd have less to worry about configuring. And some objectively less cancerous window management.


Do you still happen to have the elisp for getting C-x b to list both X-windows & buffers in stumpwm? Would you please share?


EXWM is the natural way to do this, treating X11 windows as Emacs buffers is what it's all about. Or are you trying to get just the buffer switching part without going all the way to EXWM?


szopa[granparent] uses StumpWM, not EXWM. I am trying to get the EXWM's buffer switching behaviour in StumpWM.

By default, StumpWM lists normal buffers on C-x b, and X-windows using some other keybinding like C-t b


I'm afraid it's lost. However, note that I had never gotten it quite right, and it was for StumpWM 14 years ago.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: