Live data from Hacker News

Emacs is sexy

emacs.sexy

81–90 of 97 posts

Re: Emacs is sexy

#81
post #66

I'm surprised the article doesn't also mention the theme gallery here: https://pawelbx.github.io/emacs-theme-gallery/ I actually used it yesterday and am currently using the heroku theme(coming from zenburn for a few years).

I'm the author of the site and I didn't know about the theme gallery you mentioned, but this other one is linked: http://emacsthemes.com/

I'll add pawelbx's gallery on the next update. Thanks!

Re: Emacs is sexy

#82

Earlier quoted context omitted.

What package are you using for your Emacs back end for completion? I've tried several and never really found them stable or even working in some cases. I write a couple thousand lines of C++ every week in emacs and I've actually become very productive without auto completion, so perhaps I'm not missing it anymore at all.

I code in C so can't speak for C++, but I imagine it works well for that too: irony-mode as a backend and company-mode as frontend. It pretty much gives the Xcode auto-complete experience, and I think it works great!

I tried irony mode, but my autocomplete pop-ups would contain all kinds of nonsense, and I noticed at least two other issues on the irony mode github page that showed other people with the same experience as mine, on Mac. So I eventually gave up after not tracking down a resolution.

Re: Emacs is sexy

#83
post #33
post #29

Earlier quoted context omitted.

I really hate the key combos though. Why not change them?

A beginner would not want to break compatibility with every tutorial/instruction manual. They would be faced with decisions about the placement of shortcuts they're not even sure what they do. They definitely wouldn't have the perspective to create logical families of shortcuts. So of course the solution is to suffer the bad shortcut placement in Emacs long enough to not need tutorials and fully understand what you'r…

Oh, the beauty of emacs, the self-documenting editor...This is highlighted at the top of the built in tutorial if you change your keybindings:

>NOTICE: The main purpose of the Emacs tutorial is to teach you the most important standard Emacs commands (key bindings). However, your Emacs has been customized by changing some of these basic editing commands, so it doesn't correspond to the tutorial. We have inserted colored notices where the altered commands have been introduced. [More]

[More] is a list of the default keybinding, the command, and how to access the command in "your" emacs.

The keybindings are also changed throughout the entire manual (C-h i) I believe.

Re: Emacs is sexy

#84

Can't access this at work - it's blocked as pornography. Hope I don't have to explain that in the log to anyone - "No really, it's a text editor..."

Sounds like you would have proof of a pretty major privacy problem at your job if someone confronted you about that.

Re: Emacs is sexy

#85
post #44

Yeah right. Elisp was dynamic-scoping-only until version 24.1. That means elisp code written before that (i.e., 99.999% of emacs code that's not in C) as well as most of the code written after that, has essentially the feel of hacky cruft which will drown a modern programmer into an abyss of cognitive pain and headache when (s)he attempts to understand, modify, or debug it. (not unlike GOTO ridden spaghetti) How many…

Hey at least Elisp wasn't ever as bad as Mock Lisp, the extension language in Gosling (aka UniPress aka Evil Software Hoarder) Emacs. It had ultra-dynamic lazy scoping: It would defer evaluating the function parameters until they were actually needed by the callee (((or a function it called))), at which time it would evaluate the parameters in the CALLEE's scope. James Gosling honestly copped to how terrible a langua…

That's why Java is the way it is. Like father, like abomination.

Re: Emacs is sexy

#86
post #44

Yeah right. Elisp was dynamic-scoping-only until version 24.1. That means elisp code written before that (i.e., 99.999% of emacs code that's not in C) as well as most of the code written after that, has essentially the feel of hacky cruft which will drown a modern programmer into an abyss of cognitive pain and headache when (s)he attempts to understand, modify, or debug it. (not unlike GOTO ridden spaghetti) How many…

That's nonsense. Emacs Lisp has served well as programming language for 30 years. There is some really fantastic code written in Emacs Lisp. Dynamic Binding is a minor issue. People have been writing whole operating systems in dynamically bound Lisp and I'm not talking about GNU Emacs itself.

There is no GNU Emacs based on Guile in the sense that the Elisp code has been translated to Scheme. All there is is an Emacs based on the GNU Guile runtime. The code is still written in Emacs Lisp - it just runs on a different runtime.

From https://www.emacswiki.org/emacs/GuileEmacs

> Guile-based Emacs is a branch of GNU Emacs that replaces Emacs’s own EmacsLisp engine with the Elisp compiler of Guile.

It's a different compiler. You can write stuff in Scheme, too. But who would do it, since then it would not be compatible with the main GNU Emacs editor...

Re: Emacs is sexy

#87

In my experience, Emacs is excellent if you take the time to set it up to do as much as possible. Manage work with OrgMode, read email with any number of packages, edit code in one of the supported languages, send and receive messages. The less you have to leave the application, the more productive you are. There are 2 issues with this, the first is the sheer number of packages you need to install. Packages are a mix…

> Packages are a mixed blessing because they add so much, but if the person who wrote it stops working on it, you now need to take over or find something else.

I know Spacemacs brings in a huge bunch, do they have any way to mitigate that?

Re: Emacs is sexy

#89

The page's domain and title are disappointing to me. Using sexualized language can create an environment that is unduly hostile to women, even if this is not intended. Many of the biases against women that such language provokes are totally unconscious, so even if the intent is not harmful, it can be bad regardless. More info here: http://geekfeminism.wikia.com/wiki/Sexualized_environment Wording in this comment borr…

With the same premise:

https://rms.sexy

The page's domain and title are disappointing to me.

Using sexualized language can create an environment that is unduly hostile to RMS, even if this is not intended. Many of the biases against RMS that such language provokes are totally unconscious, so even if the intent is not harmful, it can be bad regardless.

More info here: https://www.gnu.org/philosophy/philosophy.html

Re: Emacs is sexy

#90

Earlier quoted context omitted.

Is that a Java-specific thing? My experience with C++ is that ever since libclang became widely used, autocompletion works really well—but that's because libclang is so good. Is there an analog of libclang for Java?

What package are you using for your Emacs back end for completion? I've tried several and never really found them stable or even working in some cases. I write a couple thousand lines of C++ every week in emacs and I've actually become very productive without auto completion, so perhaps I'm not missing it anymore at all.

I use irony-mode (with its flycheck and company support) on OSX, and I think it works really well. It uses libclang as the backend, so for completion it's about as precise as a compiler can be.
Post reply on HN