News for hackers. Stuff that matters.
Re:Making My Emacs Start Faster by DannoHung on Wednesday December 09, 2015 @10:55AM (#10704333)
Since I moved to spacemacs, I've been doing this.

However, I am bummed by emacsclient's inability to open multiple files from the command line.

And apparently the total lack of a Tab-like experience on Emacs in general. I used to use "vim -p" SO MUCH.

Re:Making My Emacs Start Faster by ithkuil on Wednesday December 09, 2015 @11:24AM (#10704584)
Re:Making My Emacs Start Faster by DannoHung on Wednesday December 09, 2015 @12:17PM (#10705043)
Seems like that only really works for GUI emacs. I use command line. I tried enabling it and it doesn't seem to, y'know, work.

I've also tried evil-tabs, which doesn't work with spacemacs, at all. And eyebrowse doesn't actually use tabs (also it doesn't maintain working directory state when opening a new workspace, fun!)

I dunno, emacs is very much, "Here's a half-implemented solution that pays zero attention to ergonomics. Just... y'know, fix the rest of it so it doesn't totally suck."

And I just don't have the experience to do that yet. Which is why I'm using Spacemacs. Which more or less actually tries to do the ergonomics correctly.

edit: I'm also hoping Cunningham's Law works in my favor here.

Re:Making My Emacs Start Faster by eeperson on Wednesday December 09, 2015 @03:20PM (#10706421)
In the spirit of Cunningham's Law, you can open multiple files using emacsclient. Just list them after emacsclient (e.g. 'emacsclient file1.txt file2.txt'). This will open each file in its own buffer (roughly the equivalent to tabs).

Since I'm not very familiar with vim tabs, I'm curious what you get using using vim tabs that you don't get out of emacs buffers?

Re:Making My Emacs Start Faster by tomjakubowski on Wednesday December 09, 2015 @08:20PM (#10708215)
> In the spirit of Cunningham's Law, you can open multiple files using emacsclient. Just list them after emacsclient (e.g. 'emacsclient file1.txt file2.txt'). This will open each file in its own buffer (roughly the equivalent to tabs).

emacs buffers are (almost exactly) equivalent to vim buffers. vim tabs don't really have an analogue in emacs, but imagine several layouts of (emacs) windows (each window showing a single buffer) you can switch between in a single frame.

Re:Making My Emacs Start Faster by NoGravitas on Thursday December 10, 2015 @07:30AM (#10710291)
That's actually how emacs frames work on the terminal. There's no built-in equivalent on GUI. You could use either multiple GUI frames and a tiling window manager, or there are several packages on melpa for switching between window configurations.
Re:Making My Emacs Start Faster by DannoHung on Wednesday December 09, 2015 @08:12PM (#10708185)
The buffer list is shared across the entire emacs daemon. So if I have many files already open in different client sessions and start running buffer next commands, I'm cycling through a very long list.

Because you never ever start vim in a daemon mode, opening with -p creates a local list of files that you can cycle amongst. Additionally, the top line tells you which file you have open and which files are next and previous in the list of files you cycle through.

I've always just found it rather nice since I tend to jump around between the same handful of files while I'm working and hitting gt two or three times is often faster and more mindless than remembering the keystrokes to invoke helm-projectile-find-file and also the name of the file I want to switch to.

Re:Making My Emacs Start Faster by eeperson on Wednesday December 09, 2015 @09:00PM (#10708360)
That makes sense. I actually never use daemon mode because I don't want to share buffers. If want a faster start up time but don't want to share buffers you may want to look at use-package[1] which will lazy load plugins. Also, if you want a easy way to cycle through buffers that also works in the terminal I recommend iflipb[2]. When you start cycling, it shows a list of buffers in the mini-buffer. Both of those are available as packages in Melpa.

[1] - https://github.com/jwiegley/use-package [2] - https://github.com/jrosdahl/iflipb

Re:Making My Emacs Start Faster by DannoHung on Wednesday December 09, 2015 @09:42PM (#10708520)
iflipb sounds like it more or less scratches the thing that makes me itchy even if it's not quite my old itch scratcher. Thanks!
Re:Making My Emacs Start Faster by eeperson on Wednesday December 09, 2015 @12:06PM (#10704959)
Tab bar mode conflicts with a bunch of other modes. So a lot of times you will switch to a buffer and and the tabs will disappear. It also doesn't support 'most recent' tab ordering.