Emacs, naked
81–90 of 201 posts
Re: Emacs, naked
#82Earlier quoted context omitted.
Slow emacs startup isn't a problem thanks to the new emacs-server stuff. Running emacs with the "--daemon" flag will cause it to do initialization, fork into the background, and become persistent; now edit files using commands like "emacsclient $filename". Eamcsclient will connect to the daemonized emacs server and have it open $filename, bringing it forward either in an existing frame or (using the "-nw" or "-nc" fl…
There are serious problems trying to run it as a server on Mac OS X. Basically it's not a real option on this platofrm.
I use the "ec" script show here: http://emacsformacosx.com/tips
Re: Emacs, naked
#83Ì wonder if some Emacs people intend to migrate to LightTable in a few years?
I love the concept of LightTable, basically a new Emacs with a redesigned architecture and plugin system. I don't love that it's written inside a WebView. I don't love that the best cross-platform graphics library we have is the mess we call HTML+CSS+JS. I don't love that I have to compile Clojure to JavaScript and run it inside a WebView in order to do anything to customize it. On the other hand, I love the simplici…
Re: Emacs, naked
#84Earlier quoted context omitted.
I love the concept of LightTable, basically a new Emacs with a redesigned architecture and plugin system. I don't love that it's written inside a WebView. I don't love that the best cross-platform graphics library we have is the mess we call HTML+CSS+JS. I don't love that I have to compile Clojure to JavaScript and run it inside a WebView in order to do anything to customize it. On the other hand, I love the simplici…
If you're on a mac, the railwaycat port of emacs has pixel scrolling with the trackpad/mouse out-of-the-box. It's not as crystal smooth as you'd hope for, but it's decent. http://snag.gy/g8NIF.jpg
Re: Emacs, naked
#85Earlier quoted context omitted.
I try out emacs every few years. Every time, I get discouraged whenever I attempt to do something simple (change the theme, etc) by the amount of configuration necessary. I may try your repo, since it seems to have a lot of stuff already configured. The other thing is that Emacs is really slow to start as soon as you have a few plugins, compared to vim.
The slow emacs startup problem can be mitigated by lazily loading custom modes as much as possible. The two big things to use here are autoload (instead of require) and eval-after-load. On my machine, a vanilla emacs startup is ~70ms, and one with my fully-loaded .emacs is ~240ms. Still not as fast as I would like, but not terrible. (You can benchmark emacs startup from the command line with "time emacs --eval '(save…
A few years ago I went through my 10 years of accumulated .emacs cruft and switched everything I could to customize, and everything I couldn't to the technique you describe. I sped my emacs startup time from eight seconds down to one.
On top of that I switched to using emacsclient which makes startup instant.
Re: Emacs, naked
#86nice stuff. My .emacs keeps the mode line, which I like, but turns off the scrollbars and menu bars, and sets a wide fringe (though not quite as wide as shown). I don't like text jammed right up to the edge of the window. Anyone know how to achieve a "fringe" on the top and bottom? And also how to do it in xterm windows?
-b number
This option specifies the size of the inner border (the
distance between the outer edge of the characters and the
window border) in pixels. That is the vt100 internalBorder
resource. The default is ``2''.Re: Emacs, naked
#87Earlier quoted context omitted.
I've been running emacs server for at least a year or two now on OSX using homebrew. "$(brew --prefix)/opt/emacs/Emacs.app/Contents/MacOS/Emacs" --daemon
If you accidentally quit the Emacs GUI, does it still kill the daemon?
Re: Emacs, naked
#88Earlier quoted context omitted.
There are serious problems trying to run it as a server on Mac OS X. Basically it's not a real option on this platofrm.
I've been running emacs server for at least a year or two now on OSX using homebrew. "$(brew --prefix)/opt/emacs/Emacs.app/Contents/MacOS/Emacs" --daemon
Re: Emacs, naked
#89Earlier quoted context omitted.
An excellent point; having a command line in your editor is something whose value is hard to recognize until you've tried it, and hard to overstate once you're used to it. It might, though, be worth using the typical Emacs nomenclature for key sequences, i.e. M-x where you use 'MX' and (assuming your Command key is bound to Meta, as is ordinary for OS X Emacs users) M-. where you use 'CMD-.' -- your choice of preferr…
I changed this because I found M-x to be really really difficult to type. It may be my hands or my fingers, but I have a hard time doing that key sequence correctly. Apart from that I think that you're absolutely right. I shouldn't have advertised this as it will probably confuse users.
Re: Emacs, naked
#90Earlier quoted context omitted.
Very interesting thing you've got going there, and I love the visual aesthetic. Two quick tips that you probably already know, but just in case it's useful to you or someone else: * Emacs can wrap lines at word boundaries, while intelligently preserving/extending indentation (something like this: https://gist.github.com/anonymous/8581161 ) * If you're using emacs on the mac, it's worth taking a look at the railwaycat…
I think you need to "brew tap railwaycat/emacsmacport" first to install that.