Live data from Hacker News

Emacs Is My New Window Manager

howardism.org

71–80 of 166 posts

Re: Emacs Is My New Window Manager

#71

Earlier quoted context omitted.

Yeah, I do find it annoying how many Emacs-based applications assume they're the only thing running. I'm developing an application built on ProofGeneral, which itself is built inside Emacs. I ran the test suite one day and one function turned out to quit Emacs if it encoutered an error! It took out all of my open shells, files, etc. (everything was saved, but I had to open them all again). Now I'm running the tests i…

Do you have any other example of an Emacs application assuming it is the only thing running? I ask because I use Emacs a fair bit and don't think I've ever come across something like that.

Emacs is unfortunately still single-threaded at its core, so it indeed happens that some subpar code can hang the whole editor while waiting for some network requests to finish, or take down everything in a crash (but this happens extremely rarely; I think I had only a few random crashes on Windows in years of using Emacs).

Re: Emacs Is My New Window Manager

#73
post #68

This is awesome and has opened my eyes to features of emacs I didn't know about. But I still have use for tmux because it lets me attach to the same long-running session on a remote host from multiple clients. I'll probably just start having emacs be the only window open in my tmux session.

Check out emacs-server then ;).

Re: Emacs Is My New Window Manager

#74
post #8

I'm always a little jealous when I see what people do with emacs. But I've never liked using emacs, so I've resigned myself to a permanent, mild case of emacs envy. I think you could get approximately his same functionality with a terminal (e.g urxvt) and tmux for the splitting. In fact I do essentially that at work on Windows, from a cygwin terminal and tmux. When it fits whatever workflow I'm doing from within cygw…

The nice thing about Emacs is how much it's open to modification. There are compatibility modes to make it work like other editors (eg. "evil mode" to make it work more like Vi, "cua mode" to use "normal" key combos instead of having to learn Emacs's, etc.). There are often a bunch of alternative ways to do things, which have their own pros and cons, so if something seems frustrating, it pays to Google around a littl…

M-x shell

is so useful for searching for text strings in outputs. (when grep alone will not do) like all things emacs/ terminal its a little awkward when trying to use the control keys (up arrow, ^r) and they get captured by emacs and not the shell.

Re: Emacs Is My New Window Manager

#75
post #65
post #56

Earlier quoted context omitted.

After years of using vim I made the switch last Friday when I stumbled across this fellow's blog post while randomly trying to figure out more about evil mode: http://juanjoalvarez.net/es/detail/2014/sep/19/vim-emacsevil... It took all day Saturday to configure things so they mostly behaved the same as my vim environment, mixed with learning emacs specific stuff along the way. There's a few quirks I still need to wor…

I just hit the same issue, and I started using desktop-save-mode for that ( https://www.gnu.org/software/emacs/manual/html_node/emacs/Sa... ). It may be a bit heavyweight for instant switching, depending on what you want. I found it among a list of possible solutions at http://www.reddit.com/r/emacs/comments/1m73gs/how_do_you_man... .

That is exactly what I was looking for. Thanks!

Re: Emacs Is My New Window Manager

#76
post #30

Earlier quoted context omitted.

I was a heavy Vim user, and what worked for me was forcing myself to use emacs for a project. Other people use evil-mode, but I kept the standard key bindings. Use the help as much as you can, and learn about functions like C-h k and C-h m. I stayed with emacs for org-mode, for buffer management, and then for projectile, magit, flycheck, mu4e, etc etc...

I'm a self-considered emacs user, but I like evil-mode. But I'd also recommend sticking to just emacs when switching (I think 20-30 days of "only emacs keybindings" may be enough) to learn a little about its normal keybindings. It's important to know where you are moving, even if then you change the furniture ;)

I've never tried evil-mode, but I always thought it would confuse me when using things like helm and magit and org-mode that (sometimes) use emacs-like bindings for their controls. Do you run into any problems with this?

Re: Emacs Is My New Window Manager

#77
post #35

One can get the same effect (full-screen emacs, no window decorations, Lisp) with stumpwm, a window manager written in Common Lisp. It's under active development, but it has not so far succumbed to creeping featuritis. And one can then run Firefox instead of Chrome…

I thought stumpwm was dead until just now! Thanks for that.

Did they ever fix the system tray situation? When I last used it (several years ago) there was refusal by the devs to implement any sort of systray support and the third-party tools did not fill the gap, so I switched to i3.

Re: Emacs Is My New Window Manager

#80
post #52

> Of course, I do not install personal software... > My remedy is to install a virtualization system... which is personal software.

He says that his work is virtualization systems, so the install of (e.g.) VirtualBox itself is not "personal software." It really comes down to whether or not you consider the guest OS image running in the virtualization system to be "installing personal software."

Most IP reassignments I've ever signed have included the clause "any IP developed with the company's resources belongs to the company".

This would include anything created in such a VM, unfortunately. So, if you're not worried about that, it's a great separation of concerns. If you are developing new IP, though, you would want to be very careful about using your work machine.

I'm even nervous about logging into a personal machine via SSH from my corporate laptop, if I'm honest. Might not be enough to legally take ownership, but its probably enough to draw you into a protracted legal battle.

Post reply on HN