Live data from Hacker News

A CEO's Guide to Emacs (2015)

blog.fugue.co

81–90 of 180 posts

Re: A CEO's Guide to Emacs (2015)

#81

It is difficult to even describe a productive hand tuned to fit the individual Emails setup compared to standard. Here are some of my favorite Emacs things: Helm + Projectile. Helm will fuzzy complete almost anything in Emacs. Projectile is project management. Together get to any Git repo and file there in very quick. Helm is an option to compare to IDO. I rarely use IDO due to Helm. Magit, widely regarded as a good…

I haven't been able to use magit. I've tried and tried, but it's too slow for me. It literaly takes 30 seconds just to magit-status the project on a windows machine. So I'm using vc and git-gutter+ for this job. You can see the changes, stage them, view the log, annotate your file (what commit modified each line), commit, ammend, etc.

Re: A CEO's Guide to Emacs (2015)

#82
post #22

Seems like lots of people here are sharing their experience with #emacs. I like it a lot, and think that it would be part of the ideal #workingset for me. However, I have never found a nice 'jump-to-definition that worked for most languages I edit on emacs. I tried ggtags, ctags, pygments. I think I had trouble setting all of these up, and they would not work for many languages I was using. I have not found a good re…

I have good experience on ggtags with GnuGlobal. Here's my setup.

1. Install the ggtags.el package in Emacs and install GnuGlobal outside.

2. Make sure /GnuGlobal/bin is in the path environment variable, so that the global and gtags executables can be launched from Emacs.

3. Build the initial index database outside of Emacs. Emacs will update the index as you add new code. I usually just run the following commands on the root of the source directory. You can modify find to include or exclude certain files.

    find . -type f >> filelist
    gtags -f filelist
Now M-. should pick up the word at cursor and jump to its definition, or display a list of all its usage if cursor is already at the definition.

Re: A CEO's Guide to Emacs (2015)

#83

The tripping block that always gets me out of the emacs flow is integrating org-mode with things my co-workers use to communicate (lately that's and Asana, Jira, and Quip, tomorrow who knows, it's hard for me to dictate choice of issue trackers or wiki based on what integrates with my admittedly nutso setup). Even if I were to get everything working, then if I were to ever switch jobs suddenly I'm back at square one…

I once shared an office with another happy user of Emacs and org-mode. We did a small project together and used an org file to manage the project tasks inside the source repo. Even that did not work out so well, because I would also see his tasks on my agenda. I guess this could be improved with tags and filters, but my point is that collaboration with org-mode is difficult beyond the issue of agreeing on the same tool to use.

Re: A CEO's Guide to Emacs (2015)

#84
post #64

In addition to all the other things mentioned (helm, projectile, magit, org), I've found org-ref and interleave great for managing my notes when I read papers or articles. Roughly, I save the PDF to disk and create an org node for it, then add the metadata like file location and bibtex info. Then I have emacs open the PDF and as I'm reading it I can press 'i' to open a note on that page, and then close the note and k…

Very nice. I don't read PDF in Emacs, but I also use an org file for notes, with references to the file and a bibtex file. When I use org-mode to author articles, the references used are multi-purpose: from Emacs, they link to my notes, but when translated to LaTeX, they become citations. See:

https://github.com/leethargo/etc/blob/master/emacs/.emacs.d/...

Re: A CEO's Guide to Emacs (2015)

#85

Earlier quoted context omitted.

If you think vi does basic text editing better, try Spacemacs! I switched over recently (the emacs pinky was real...) and I've really gotten to like the vim-y experience (although now I get really frustrated when I vim on a server and the search doesn't work like Spacemacs search).

I used Spacemacs for a while, but switched to a custom configuration with evil, general.el, and which-key. Spacemacs was excessively slow and I also often ran into strange bugs.

The upcoming .3 release will support a custom package archive. A lot of the bugginess in Spacemacs is caused by frequently pulling 100+ bleeding-edge MELPA packages.

Re: A CEO's Guide to Emacs (2015)

#86
Has anybody quantified the efficiency gains from using emacs to do work rather than conventional means? Are there certain areas (e.g. Mail, todo, notes,calendar,scheduling) that gains more efficiency than others?

Re: A CEO's Guide to Emacs (2015)

#87

It is difficult to even describe a productive hand tuned to fit the individual Emails setup compared to standard. Here are some of my favorite Emacs things: Helm + Projectile. Helm will fuzzy complete almost anything in Emacs. Projectile is project management. Together get to any Git repo and file there in very quick. Helm is an option to compare to IDO. I rarely use IDO due to Helm. Magit, widely regarded as a good…

I haven't been able to use magit. I've tried and tried, but it's too slow for me. It literaly takes 30 seconds just to magit-status the project on a windows machine. So I'm using vc and git-gutter+ for this job. You can see the changes, stage them, view the log, annotate your file (what commit modified each line), commit, ammend, etc.

I've never tried it on Windows so that might be the issue. Windows is still somewhat a second-class citizen wrt Emacs and Git. Not as bad as is the past and getting better every day but still noticably worse than on a Unix.

I've aliased magit-status in my shell and it spawns a new Emacs instance (no demon) and magit in a few seconds.

Re: A CEO's Guide to Emacs (2015)

#88
post #3

The first time I got introduced to Emacs, I hated it. Who would like to read email inside a text editor with non-standard keybindings? I got it all wrong. It's not an editor, it's a text-mode virtual Lisp machine. The Emacs ecosystem has matured a lot lately. It has two applications I adore. Org, something impossible to describe in a few words, and Magit, the perfect Git porcelain. Plus it has 3 pretty darn good emai…

I also hated emacs when I first tried it, but once I started moving past my first programming language, I found myself sifting 30 IDEs and decided to give it an honest shot. I don't use it for much else than programming, so my must-haves are for that purpose. Just the various built-in interpreters make it worth the price of learning.

However nowadays IDE like Intellij Ultimate give good to best in class support for basically all mainstream languages.

I'm an emacs user (in case it matters).

Re: A CEO's Guide to Emacs (2015)

#89
post #29

It is difficult to even describe a productive hand tuned to fit the individual Emails setup compared to standard. Here are some of my favorite Emacs things: Helm + Projectile. Helm will fuzzy complete almost anything in Emacs. Projectile is project management. Together get to any Git repo and file there in very quick. Helm is an option to compare to IDO. I rarely use IDO due to Helm. Magit, widely regarded as a good…

Magit is the only thing that allows me to make enough sense of git to use it.

Have you tried tig? http://jonas.nitro.dk/tig/ Could not use git without it anymore.

Re: A CEO's Guide to Emacs (2015)

#90

Emacs is like Chinese to me, and truthfully to most developers I know. Is there a gentle intro somewhere? Most of what I've seen is just people throwing out package names with no real explanation.

If you try it, swap your caps lock and CTRL keys. It will make it much easier to use. Also have a look at this blog post. https://sites.google.com/site/steveyegge2/effective-emacs

If you don't try it, consider swapping control and caps lock too. Most people use control way more, but caps lock has the superior position on the keyboard. That is, the home row, where your pinky is naturally while resting your index fingers on F and J.
Post reply on HN