Live data from Hacker News

Ask HN: Resources to grok Emacs and use it well?

news.ycombinator.com

171–179 of 179 posts

Re: Ask HN: Resources to grok Emacs and use it well?

#171
post #119

Earlier quoted context omitted.

This advice is fine for the first year or so, but afterwards I would start trying out various packages and customizations. There are packages that can make your experience much better (projectile, swiper, ace-window, ace-jump, move-border, eyebrowse, winner, color-identifier-mode, off the top of my init.el). And, of course, if you do any programming at all, you should install magit immediately. It is the best git exp…

Typical Emacs user experience: sees a list of packages some other user likes, picks one with a name he finds intriguing (in my case eyebrowse), checks it, finds it cool, adopts it (possibly for a long time).

I've done this so many times. This is why I name-drop packages :-)

Re: Ask HN: Resources to grok Emacs and use it well?

#172

I am keen to crowdsource a study of emacs workflow practices, where we can collect, compare and analyse different development practices among emacs users. This should help other emacs users to borrow modes/keybindings/specific techniques/tricks. * Motivation This is inspired by an ongoing conversation about emacs with a friend and a debugging interview that I really enjoyed. * Exchanging emacs tips with a friend A fr…

In general, I avoid coding contests, especially if they focus on speed. This idea, however, caught my attention as something I'd like to both participate in, and obviously, to see the results. I'm a reasonably proficient Emacs user, and my config is (just checked) just shy of 5k loc mark. I would love to see if all the hours I put into writing that code make any difference. I'll have more comments later, but the firs…

Hey, great to see some interest and thanks for the ideas. I am going to keep the conversation going here instead of a private email thread, in case anyone else shows interest in this. I am also thinking about refining the design and asking for more participants on r/emacs + r/spacemacs or even language-specific subs.

I remember checking the thread several hours after posting my comment and assumed that it was so offtopic people didn't engage, hence the delayed reply.

> Are you sure using just one language for the code is a good idea?

The more languages the better, I was only assuming that I would be preparing the codebase myself, hence wanted to maximise ROI by choosing a popular language that I can write.

Adding more languages would be great, however, we would need to keep the code + tests + failures as consistent as possible i.e. no language-specific test failures due to multi-threading unsafety of C++, which Python's GIL prevents. Also I am not sure how useful cross-language comparisons are.

> how much time would participants have to prepare?

Prepare what? Ideally nothing in their language + emacs setup. The whole point is to learn about people's natural emacs workflow and what tricks they use when in the state of flow. I think each participant should only do it once in their "first-class" language, otherwise participants won't enter flow. That way, we control for no previous familiarity with the problem and get the best emacs knowledge and maybe even some elisp snippets others can follow.

To borrow a sports metaphor - I am sure that Tiger Woods can play a decent game of tennis, I would rather get tips from him to improve my golf swing.

> Starts a fresh emacs instance

That was a suggestion born from my workflow that minimises the risk of other buffers getting in the way of the test and preventing users' from leaking personal data during the screen recording.

> commands and functions would be quite enough

Yes and no. Some of Mike Zamansky's youtube videos have an on-screen feed of keypresses, which is interesting to watch for evil-vimlike navigation practices. I cannot promise I will be good at analysing a stream of keypresses and extracting meaningful analyses though, so commands and functions is what I can promise to analyse.

> I'd prefer a short chat with a participant afterward, maybe coupled viewing the replay at 10x the speed.

A chat is a great idea, however, if we manage to get a decent number of participants (ideally 40+ for each language for meaningful stats), my availability for a sync chat will become the bottleneck of the experiment.

I am thinking about replacing it with an async Q&A that the participant can add after completiion.

Re: Ask HN: Resources to grok Emacs and use it well?

#173
post #84

I am keen to crowdsource a study of emacs workflow practices, where we can collect, compare and analyse different development practices among emacs users. This should help other emacs users to borrow modes/keybindings/specific techniques/tricks. * Motivation This is inspired by an ongoing conversation about emacs with a friend and a debugging interview that I really enjoyed. * Exchanging emacs tips with a friend A fr…

OP here, so I’m completely useless for this. It sounds wonderful. Whenever you get this done, please do a Show HN or Tell HN on this.

hey, it will be interesting to see how you would tackle the problem as well to compare emacs novices to proficient users.

Re: Ask HN: Resources to grok Emacs and use it well?

#174
post #165
post #146

Earlier quoted context omitted.

In case you weren't aware, winner-mode is now part of Emacs, and as far as I can tell the Emacs 27 tab-bar-mode makes eyebrowse redundant. For me project.el that ships with Emacs is enough for my project needs.

Hmm. Do you mean that tab-bar-mode lets me have a full-screen Emacs (no UI elements whatsoever, as one does) and switch between window configs like if they were workspaces (which is what eyebrowse does)? If so, I might want to try it.

Yes exactly, by default it has a tab-bar UI element, but you just have to set tab-bar-show to nil and you can use it to switch between window configs without the UI.

Re: Ask HN: Resources to grok Emacs and use it well?

#176
If you are comfortable with vi (like I am), you will definitely like Doom Emacs. I started using it recently for org(-roam) and I really like the experience.

I installed Emacs from brew and apt (on two machines) and just ran doom installation script which you can find in Doom's GitHub repo.

To find your way around you can just follow command descriptions when you press .

Re: Ask HN: Resources to grok Emacs and use it well?

#177

I've been using emacs for several years. If you saw my init file, you'd think it was kind of funny. It's mostly to change the look from default to a black box. I do have some functions for connecting to databases, but for the most part, there are no deep customizations. I also have avy (think that's jump mode in vim), ldo for file browsing, yasnippet (for snippets), multiple-cursors, and some language-specific major…

Thanks so much. There are very rare tricks and tips that's comes across ones way which becomes part of a person's habit. This is one of them.

Re: Ask HN: Resources to grok Emacs and use it well?

#178

I've been using Emacs for everything since highschool and through University and my career. The best way to get used to it is to bootstrap with tutorials and then just keep using it. I learned a lot about it from doing basic projects and then homework assignments, and then at work. I started out by following basic tutorials, like this one [0], and working my way up. You may want to find a guide to get themes setup, a…

I've been trying to read the article you wrote about spacemacs for several days, but it appears your site is down! Any chance you can fix it? :)

Re: Ask HN: Resources to grok Emacs and use it well?

#179

I've been using Emacs for everything since highschool and through University and my career. The best way to get used to it is to bootstrap with tutorials and then just keep using it. I learned a lot about it from doing basic projects and then homework assignments, and then at work. I started out by following basic tutorials, like this one [0], and working my way up. You may want to find a guide to get themes setup, a…

I've been trying to read the article you wrote about spacemacs for several days, but it appears your site is down! Any chance you can fix it? :)

Hey my apologies: The site should be back up. If you get a cloudflare error try reloading a few times.

Otherwise you can read it here on Github: https://github.com/dpbriggs/dpbriggs-blog/blob/master/blog/2...

Post reply on HN