A friend of mine asked me this recently: are there many young programmers investing in emacs? I only know a few... it's kind of depressing.
23 year old third year computer science student. I only know of two students (me included) that are emacs users.
Master Emacs in one year
61–70 of 121 posts
Re: Master Emacs in one year
#62Can anyone share what they feel are their top 3 greatest workflow improvements in productivity going from a point and click IDE to a shortcut based IDE like emacs?
2. First-class functions that can be bound to anything. I always bind "goto-line" to a single key (like f7). That alone saves me lots of time. And custom functions work the same way. You can put a macro to insert that if __name__ == '__main__' in python scripts with a single keypress, or with a "M-x ".
In addition to language boilerplate, you can use these facilities to help enforce arbitrary coding standards. I have a function template for C that adds a comment "/* end */" after the close bracket, for example.
These facilities apply to any file you might want to work with. This is in addition to whatever editing modes might already exist for the language.
3. Working in text-only terminal on a remote server is only slightly different from working on my desktop. Not having to manually sync files or mess with X configuration is a huge win for me.
Re: Master Emacs in one year
#63Once you have mastered Emacs, you are good at all other editors I haven't found that to be true at all. I find that due to archaic idiosyncrasies and the customization possible with emacs, the more time I spend with it the more difficult it becomes to use different editors.
I spent 5 years learning and using vi (n perhaps a dozen different Unix-like OSes, so they were all different, meaning I could only use a core set of features. I then spent a few years working on Windows where I had Vim, but other editors I used were, well, 'standard'. Then ViEmu came along and I now move between Vi-like editing in VS and Vim, and 'normal' editing in other apps. It's not too bad, to be honest. I'm ed…
Re: Master Emacs in one year
#64A friend of mine asked me this recently: are there many young programmers investing in emacs? I only know a few... it's kind of depressing.
Re: Master Emacs in one year
#65Once you have mastered Emacs, you are good at all other editors I haven't found that to be true at all. I find that due to archaic idiosyncrasies and the customization possible with emacs, the more time I spend with it the more difficult it becomes to use different editors.
I spent 5 years learning and using vi (n perhaps a dozen different Unix-like OSes, so they were all different, meaning I could only use a core set of features. I then spent a few years working on Windows where I had Vim, but other editors I used were, well, 'standard'. Then ViEmu came along and I now move between Vi-like editing in VS and Vim, and 'normal' editing in other apps. It's not too bad, to be honest. I'm ed…
Re: Master Emacs in one year
#66A friend of mine asked me this recently: are there many young programmers investing in emacs? I only know a few... it's kind of depressing.
I'll be using emacs as the sole text editor with my students in September, so there'll be a few more young programmers learning how to use it.
Re: Master Emacs in one year
#67Earlier quoted context omitted.
>I became more afraid of the sustainability of newer editors [such as Textmate]. I'm not afraid. After 22.5 years on Gnu Emacs, I'm considering a jump to Textmate 2. (I probably would not be considering a jump, however, without the boost to sustainability caused by Textmate 2's having been open-sourced. ADDED: also, being able to edit files on remote hosts is not important to me.)
I gave Sublime Text a shot (20 years emacs), but ran into the same thing that has kept me from using emacs x11 for more than a few weeks at a time, which is that I spend maybe 30% of my time editing files on remote machines, connected over ssh, often through complicated tunneling arrangements that make using Tramp a pain to use. I keep thinking that what I really need is to switch all the machines I use to Plan9 to a…
# stop ssh connections from freezing
KeepAlive yes
ServerAliveCountMax 10
ServerAliveInterval 10
# Lets you bounce through an arbitrary number of hosts.
# ex: ssh 1sthost/2ndhost/3rdhost
Host */*
ProxyCommand ssh $(dirname %h) nc -w1 $(basename %h) %pRe: Master Emacs in one year
#68This sounds like the first line of a Kafka-esque horror story.
Re: Master Emacs in one year
#69Earlier quoted context omitted.
If you do decide to try a lisp, don't start with Emacs Lisp. It's a mess. Go with Clojure, out of all lisps it's one of the least self-congratulatory about how awesome they all are for using lisp.
Well, Clojure also was a mess when I tried it (2 years ago maybe?). Leiningen (a/the build system) was pretty slow, and I couldn't find a way to use the language in a more lisp-like way easily, like editing a few files and (re)loading them into a running REPL (other than iterating through all buffers in Emacs and loading/evaluating them manually; there may have been other problems as well, I don't remember). You know…
I don't understand what age has to do with anything... CL is still a good language.
Re: Master Emacs in one year
#70Earlier quoted context omitted.
> nevermind why I should consider taking a year (an eternity in technological time) to master it. I don't want to proselytise, but maybe that hints at one of the core appeals of emacs. A year is nothing in terms of the span of time emacs has been around, and so time invested in making emacs your editor is effort that won't be discarded in the next technological cycle. The other aspect is what I mean by "making emacs…
Visual Studio, or Eclipse have been around for a fair while as well now. Its not like they will disappear with the next text cycle. And you can get productive with them in far less than a year.