Live data from Hacker News

Bad Emacs Advice

masteringemacs.org

91–100 of 148 posts

Re: Bad Emacs Advice

#91
post #79

Earlier quoted context omitted.

C-h i m 'Emacs Lisp Intro'

That doesn't work for me.

It should on a standard install.

If you have things remapped, try M-x info, then search for "Emacs List Intro" but it should be near the top anyway.

Re: Bad Emacs Advice

#93
post #43

Earlier quoted context omitted.

> snobs I don't like fruit as part of a main course (i.e. not a dessert) or appetizer. That doesn't make me a snob, it just means I don't think fruit belongs there and don't appreciate when it is.

Plums in chicken? Orange in sauces? Pear in a salad? Pineapple on ham? Lemon in anything?

Not the person who said it first, but I dislike all of those things except lemon[1]. In addition, my wife likes cranberry preserves with poultry and applesauce with pork, both of which I find distasteful.

However pineapple with anything savory is by far the worst for me. I prefer to not even sit next to my wife and kids when they are eating pizza with pineapple on it because the smell from it is enough to throw the taste off.

1: Okay, there are some sauces that technically have some orange or orange juice in them, but have so many other ingredients that it really just adds the tiniest hint of tangyness. but e.g. duck a l'orange is too much orange for me.

Re: Bad Emacs Advice

#94

Earlier quoted context omitted.

> ... don't have random keybindings triggering stuff. As a long time Emacs user, I feel that this is slightly unfair. When I first started out, I found that my documents from Emacs were far more common than in other editors. It took me two years to realise that I was often bumping C-t where trying to hit C-r or C-y and silently transposing two characters. In over twenty years of Emacs usage, I have never once used C-…

> In over twenty years of Emacs usage, I have never once used C-t on purpose. This is funny to me because, while I'm not an Emacs user, I'm a Mac user who's gotten used to the tiny subset of Emacs keybindings built into Cocoa text fields, and I use C-t fairly frequently! Apparently you do not make character transposition errors as often as I do.

That is really interesting. To be fair, I should have prefaced that I have cerebral palsy, so my typing patterns are likely different from most of the population.

Re: Bad Emacs Advice

#95
For those picking up emacs for lisp development, I'll add another piece of terrible advice: enabling paredit mode.

I think these all have a similar theme to them "I am more productive now since I have turned them on, so I wish I had switched sooner" but they ignore the fact that each of those things adds friction to learning the basics, and at some point people will just nope-out.

Re: Bad Emacs Advice

#97

Earlier quoted context omitted.

That doesn't work for me.

Don't use the quotes for the phrase, just type it verbatim. If that still doesn't work then either the info page isn't installed (weird) or something else is up. You can also, from the first info page at C-h i, type "C-s emacs lisp intro" which should bring you to it. And again, if it's not there then something is wonky with your install.

I have a totally standard Emacs install, but it's not there. C-h i and searching with C-s for "lisp" finds nothing either.

Re: Bad Emacs Advice

#99

Maybe it's me, but starting out with Emacs the previous month, I tried using Doom Emacs the other week, and the number of packages it was being used frightened me. Building your own init.el is much much better, because you know your Emacs in and out, and dont have random keybindings triggering stuff. Maybe I'll never get the popularity of Doom

Yes, gradually building your own config is a much better approach on the long run. Start lean, learn the basics and add one thing at a time as you learn. Always have complete mastery of your .emacs and understand every line: why it is there, what exactly it does. Never blindly copy random stuff wholesale without understanding it.

Re: Bad Emacs Advice

#100

Just to add: the built-in "Introduction to Programming in Emacs Lisp" is also really really great. I have been using emacs for a while, with one framework or another, but always hesitated actually learning lisp. I was too focused on learning the kinds of languages and systems that might get me a job, and it felt like too big of a venture in learning a whole language just for my development environment. Now, I have a…

How do you access the built-in "Introduction to Programming in Emacs Lisp"?

Using the menu bar, remember don't disable that,

    Help => More Manuals => Introduction to Emacs Lisp
Post reply on HN