Live data from Hacker News

Emacs, naked

bzg.fr

51–60 of 201 posts

Re: Emacs, naked

#52
post #42
post #21

Earlier quoted context omitted.

Emacs loves diversity. As a dinner.

this, but without the contentious overtones. wait, let me back up for a moment wrt the original article. that screenshot in the article is not emacs. i can't give you a screenshot of emacs, because emacs doesn't even depend on a windowing system for near-maximum awesomeness. it is my go-to text editor, and i very likely will (progn several of these snippets into my .el files. that said, we do have have windowing syst…

More than windowing systems it's a different abstraction layer using what appears to me as being dom trees with very capable yet uncoupled presentation capabilities (css) instead of emacs buffer + text-properties, font-lock etc. Hoping it will unleash ideas, just like lisp did in its days, by providing a better language for logic/code interactions.

Re: Emacs, naked

#53

Coming from Vim, when I switched to Emacs, I found the starting aesthetic experience more than lacking (or, ugly). It took me some time (and a helpful HN discussion) until I found good themes and good plugins to make it look aesthetically pleasing (to my eyes, at least, after all people's tastes differ). If somebody is looking for a nice Emacs theme and feels that the OP is a bit too minimal, have a look at my Emacs…

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-buffers-kill-emacs)'").

(Of course, even a 70ms startup for vanilla emacs is arguably pretty bad -- it's way slower than the ideal of "instant"; I just checked and vanilla vim is something like 8ms, for example, which is just-shy of imperceptible.)

Re: Emacs, naked

#54

If you reflect for a moment, obviously a minority of HN will be made alienated and uncomfortable by this sexualized humor. Do you really want this?

Well another minority might view strip teases as an act of empowerment and self expression, and be made alienated and uncomfortable by your sex-negative viewpoint. How would you balance the interests of these two minorities?

Evidently, by changing the title.

Personally I thought "striptease" was a much richer metaphor for what the linked article showed - the removal of "dressing", piece by piece. But then I'm not a prude with a stick up my ass.

Re: Emacs, naked

#55

Coming from Vim, when I switched to Emacs, I found the starting aesthetic experience more than lacking (or, ugly). It took me some time (and a helpful HN discussion) until I found good themes and good plugins to make it look aesthetically pleasing (to my eyes, at least, after all people's tastes differ). If somebody is looking for a nice Emacs theme and feels that the OP is a bit too minimal, have a look at my Emacs…

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.

Run emacs as a daemon. Then in a terminal type 'emacsclient -t'.

Instant on.

Re: Emacs, naked

#56
post #7

Ì wonder if some Emacs people intend to migrate to LightTable in a few years?

I like the concept of treating the smallest unit as a function. If only the emacs mode wasn't so light weight!

Re: Emacs, naked

#57

Coming from Vim, when I switched to Emacs, I found the starting aesthetic experience more than lacking (or, ugly). It took me some time (and a helpful HN discussion) until I found good themes and good plugins to make it look aesthetically pleasing (to my eyes, at least, after all people's tastes differ). If somebody is looking for a nice Emacs theme and feels that the OP is a bit too minimal, have a look at my Emacs…

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 fork ("brew install emacs-mac"). Some improvements over vanilla emacs: Emoji (and other fun unicode) display works, fullscreen and maximize work better, scrolling with the trackpad works in a reasonable way.

Re: Emacs, naked

#58
post #44
post #13

Nice! For vim I like to use " remove the toolbar set guioptions-=T " remove scrollbars set guioptions-=L set guioptions-=r

And in macvim: if has("gui_macvim") autocmd GUIEnter * set fullscreen endif

Ohh! I've been using Cmd-Ctrl-f like a loser all this time!

Re: Emacs, naked

#59
post #34

Earlier quoted context omitted.

If you try my repo, have a look at the custom keys that I defined, that helps things a lot. Also, the one great feature about Emacs is MX (which I bound to CMD-. This opens the minibuffer where you can execute arbitrary EmacsLisp functions. Everything you do in Emacs (even arrow up, left or right) is bound to an Emacs function. So if you start out, and you want to do something, but you don't know the shortcut, just d…

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

#60

If you reflect for a moment, obviously a minority of HN will be made alienated and uncomfortable by this sexualized humor. Do you really want this?

Well another minority might view strip teases as an act of empowerment and self expression, and be made alienated and uncomfortable by your sex-negative viewpoint. How would you balance the interests of these two minorities?

Obviously the professional way! By inviting them to the center of the office to discuss frankly their viewpoints on sex until everyone quits from misery. I'd also scatter conservative religious pamphlets and dildos around the office to encourage everyone to participate.

Because obviously it would deprive a reader to explain how to remove GUI widgets from an emacs frame [window], without making a metaphor of the window as a naked female, and the widgets as clothing, and the process as a striptease. This is exactly how a mature team of mixed-sex professionals discuses emacs widgets. An HN thread on removing emacs widgets without overt sexual analogies [0] would be a unnatural, stilted place full of repressed sad people.

[0] https://news.ycombinator.com/item?id=6983088

Post reply on HN