News for hackers. Stuff that matters.
Re:Why GNU Emacs? by kstrauser on Sunday February 14, 2016 @05:05PM (#11100201)
I went from Emacs to Sublime and back to Emacs. The UI could be improved, maybe, but there's a lot to be said for knowing that your editor will still exist next year. I'm frankly not confident in ST3, but I'm 100% certain that Emacs will be there.

But beyond that, I find that a lot more stuff Just Works in Emacs. I spend my days working in Python, and both major Python modes for Emacs are miles ahead of ST's equivalents. Things like linters work as expected and there are lot more packages available for niche things. Emacs is subjectively better, even if the UI doesn't feel as platform-native as other editors.

I don't use Emacs because I'm a graybeard afraid to learn something new. I use it because I've tried every new hotness to come along and I've yet to find something as powerful, well-supported, and ubiquitous.

Re:Why GNU Emacs? by oblio on Sunday February 14, 2016 @05:23PM (#11100269)
The thing is, in this day and age most people don't need their editor to last 100 years. Because of https://en.wikipedia.org/wiki/IBM_Common_User_Access & friends, you can just switch to another editor.

Meanwhile, if you're used to Vi's modal editing or Emacs's elisp, you're basically going to hate the other tools forever if for whatever reason. For example if you need IDE features for your project or the Vim/Emacs extensions for language X are no stable/flexible enough.

Re:Why GNU Emacs? by to3m on Sunday February 14, 2016 @06:14PM (#11100467)
Once you're past the basic navigation cluster + cut/copy/paste/undo/save (which tend to be more Windows-style, I'd say, than CUA!) every editor is different.

Ctrl+F for Find is a common standard, for example, but it's hit or miss whether this is Ctrl+F for Find (and that's your lot! Find & Replace is something entirely different), Ctrl+F for Find (and you have a checkbox for Replace), Ctrl+F for Find (and you have a checkbox for Replace... and this is how you search across multiple files as well). And there are multiple standards for all of these additional options. Your muscle memory will be useless no matter what you're used to. You're welcome to describe emacs as unusual... but don't assume everything else is a nirvana of UI consistency. The process of "just" switching can be a bit more inconvenient than you might think ;)

Re:Why GNU Emacs? by criddell on Monday February 15, 2016 @12:33AM (#11101686)
Do you really use one editor for everything?

When I'm working on Python code, I'm in PyCharm. My C++ work on Windows is in Visual Studio. When I ssh into the Linux machine that serves our in-house documentation to make changes, I'm using vim. On OSX, I use BBEDit most of the time. When I'm writing a letter, I'm usually in Word or Google Docs.

I think if I spent all day every day in one environment, I would get bored.

Re:Why GNU Emacs? by gcommer on Monday February 15, 2016 @01:30AM (#11101823)
> Do you really use one editor for everything?

Yes, at least whenever possible.

> I think if I spent all day every day in one environment, I would get bored.

The opposite perspective: It's extremely frustrating constantly switching between significantly different environments with different UIs, different hotkeys, subtly different jargon, etc.

Re:Why GNU Emacs? by criddell on Monday February 15, 2016 @10:13AM (#11103735)
> It's extremely frustrating constantly switching

Maybe that's the difference. I'm not a productive multitasker. When I have some Python to work on, that's all I'm doing for the next day or two. I'm not jumping from Word to PyCharm to Vim all day.

Re:Why GNU Emacs? by merpnderp on Sunday February 14, 2016 @05:34PM (#11100316)
Nearly every IDE of importance has either a full VIM plugin or is working hard on it. Not having to take your hands off the keyboard line to hit the arrows or mouse is a big deal to a lot of devs. Having easy and powerful regex is nearly as important. And having buffers is probably a close number three.
Re:Why GNU Emacs? by jjnoakes on Sunday February 14, 2016 @10:57PM (#11101436)
How do you reach the escape key?
Re:Why GNU Emacs? by rodelrod on Monday February 15, 2016 @04:29AM (#11102376)
http://vim.wikia.com/wiki/Avoid_the_escape_key

Personally, mapping Caps Lock to Ctrl (which I do anyway) and using Ctrl-C works best. I use vim and IntelliJ's vim emulation on an international keyboard where Ctrl-[ won't work.

Re:Why GNU Emacs? by jjnoakes on Monday February 15, 2016 @07:54AM (#11103071)
So the entire argument about not moving one's hands is moot then, since in emacs you get navigation via control-key for free, and in vi you need to remap the most important key to something near home row.

Got it. Thanks.

Re:Why GNU Emacs? by rodelrod on Monday February 15, 2016 @12:29PM (#11104599)
Oh, I'm sorry, I thought you were actually interested in the answer. I won't get into an emacs/vim war, thank you, I got tired of it circa 1999.
Re:Why GNU Emacs? by jjnoakes on Wednesday February 17, 2016 @11:23AM (#11118903)
I'm not interested in a war either. I'm only interested in both sides presenting fair arguments. If one side says "but the other side has to move their hands" and leaves out "oh, my side does too, unless I rebind keys", then that's unfair, and I'll say something.

If you think that places me on the other side of the argument (it doesn't), that's on you. It simply puts me in the middle.

Re:Why GNU Emacs? by losvedir on Sunday February 14, 2016 @05:34PM (#11100318)
> The UI could be improved, maybe, but there's a lot to be said for knowing that your editor will still exist next year. I'm frankly not confident in ST3, but I'm 100% certain that Emacs will be there.

This is misleading. In the era of JetBrains and its perpetual licensing and Steam and whatnot, it's worth pointing out that ST3 is a binary that you download and have complete access to, so of course it will be there next year.

You're probably getting at the fact that development may stop on it next year, and that's true, but the product is still pretty polished and useful now.

I also don't have your confidence that Emacs will always be there. I don't have statistics - but have contributions been increasing or decreasing in the last decade? In any case, I hope that Emacs fades away: text editing is great, but I think there's still plenty of room to advance our craft. Things like Lamdu and Eve (nee Light Table) are interesting explorations.

Re:Why GNU Emacs? by benaiah on Sunday February 14, 2016 @05:37PM (#11100330)
Emacs is actually having a bit of a renaissance - ever since package.el came out and became widely adopted, Emacs adoption seems to have increased significantly, and Emacs development is quite active these days.
Re:Why GNU Emacs? by gkya on Sunday February 14, 2016 @06:40PM (#11100579)
And 25 is near and with xwidget support, i.e. embedding things like a Webkit instance in a buffer. I guess I will be able to "exec emacs --debug-init" in my .xsession soon.
Re:Why GNU Emacs? by rekado on Monday February 15, 2016 @04:38AM (#11102410)
There is EXWM, an X window manager for Emacs: https://github.com/ch11ng/exwm

Here are some screenshots: https://github.com/ch11ng/exwm/wiki/Screenshots

Re:Why GNU Emacs? by snaky on Monday February 15, 2016 @04:39AM (#11102420)
Actually you can - http://www.howardism.org/Technical/Emacs/new-window-manager....

All you need to do is to set up a couple of hotkeys for things that Emacs cannot do (yet), like (start-process "" nil "xdg-open" "http://some.flashy.javascript.website")

Re:Why GNU Emacs? by gpderetta on Monday February 15, 2016 @07:04AM (#11102867)
I'm eagerly waiting for the day I can use emacs as my window manager.
Re:Why GNU Emacs? by gkya on Monday February 15, 2016 @04:35PM (#11106203)
You're waiting for a day in the past: See EXWM, links in a sibling comment. With it, you can use emacs as your window manager already.
Re:Why GNU Emacs? by gpderetta on Tuesday February 16, 2016 @10:00AM (#11110206)
That would be awesome! Is it actually stable and/or usable?
Re:Why GNU Emacs? by gkya on Tuesday February 16, 2016 @04:15PM (#11113178)
I tried it very early and it was unstable, but I'm following its development, and it seems that it'll be stable shortly. I'm using ratpoison nowadays, though I'll switch to it when it's stable enough and emacs gets multithreading.
Re:Why GNU Emacs? by copperx on Sunday February 14, 2016 @06:20PM (#11100493)
> it's worth pointing out that ST3 is a binary that you download and have complete access to, so of course it will be there next year

This is not "being there." Popular architectures change, as do operating systems. Unless you intend to freeze your current computing environment for posterity, a working executable means nothing.