GNU Coughs Up Emacs 22 After Six Year Wait
lisah writes "After keeping users waiting for nearly six years, Emacs 22 has been released and includes a bunch of updates and some new modes as well. In addition to support for GTK+ and a graphical interface to the GNU Debugger, 'this release includes build support for Linux on AMD64, S/390, and Tensilica Xtensa machines, FreeBSD/Alpha, Cygwin, Mac OS X, and Mac OS 9 with Carbon support. The Leim package is now part of GNU Emacs, so users will be able to get input support for Chinese, Tibetan, Vietnamese, Thai, Korean, and other languages without downloading a separate package. New translations of the Emacs tutorial are also available in Brasilian Portuguese, Bulgarian, simplified and traditional Chinese, Italian, French, and Russian.'"
Nobody cares. We're all using VI now.
Long wait.
There's gotta be an easter egg in there somewhere...
Use the unicode2 branch from emacs CVS, not this release. Hopefully emacs 23 won't take as long as emacs 22. 8-(
Available NOW at a cheap introductory price of $199.99!
Remember kids, free software is a matter of freedom, not price.
Release early, release often. Don't end up like Emacs.
Well, that certainly explains things...
Did they finally add the "write my code for me" command? It seems to be one of the few things emacs hasn't implemented. I suppose a "materialize a 5'4 asian Girl Friend" command would be useful too. I think we should push for that in the next revision.
"There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy."
Vi users get by fine without needing a psychiatrist.
Or even better, does it run linux?
My business: Farstrider Studios.
I will only use emacs when it supports eperanto.
Some day it's going to achieve sentience... Don't say I didn't warn you.
Deleted
Not needing and not having are two different things. Considering the way VI works drives you to schizophrenia, the lack of Eliza is just one of many things VI users have going against them!
"There is more worth loving than we have strength to love." - Brian Jay Stanley
And it takes about as long for GNU to release a new version as it takes Microsoft to release Vista.
But who shed more features before going gold?
You see? You see? Your stupid minds! Stupid! Stupid!
Does it still (E)ventually (M)alloc (A)ll (C)ore (S)torage?
:-)
Or is it just now Eight Hundred Megs And Constantly Swapping?
Oolite: Elite-like game. For Mac, Linux and Windows
But then once in a while, some among us elevated to a higher plane - the Emacs User. :-)
Emacs 22 took six years, just to find anything Emacs 21 didn't already offer...
"There is more worth loving than we have strength to love." - Brian Jay Stanley
On the upside, matching our carpet to the color of the catfood has turned out to be a brilliant strategy so far.
I Am My Own Worst Enemy
Don't compare apples to.. operating systems.
Why choose?
...but is it art?
(E)scape (M)eta (A)lt (C)ontrol (S)hift
Was it JWZ who said a program was never done until it did email?
The modern version would be that a program is never done until it boots linux
EMACS is a great operating system, it just needs a good editor.
All former Emacs users switched to Windows long time ago and are using M$Word nowadays.... Forgetaboutit.
So easy to use, no wonder it's number one!
Too busy staying alive... ~ R.A.
For the longest time, "learn emacs" has been on my list. I want to hack lisp (an incredibly easy language) and emacs seems to be the editor for it (not so easy) and the tutorial does not do it for me. Worse, I type in dvorak, so the keybindings won't work they are envisioned.
It is one of those rare programs that just don't click - any easy online tutorials or advice?
It's really one of the programs I want to start using.
...a good editor?
/me ducks
Ugh - now to see of all my .el files (emacs lisp; which I've forgotten decades ago) I wrote back in the 80s are still compatible.
Hope the changes aren't too major.
Some things - like plain text editors - are mature enough products that they don't really need ongoing changes.
Does it run Linux?
For those of you who have been holding your breath you may now exhale.
I think the invisible hand of the market has its middle finger extended
--A wise old fart named SC0RN
'nuff said
-- Will program for bandwidth
Gtk for the debugger GUI!? No wonder this version took them so long!
Why wait for Emacs... ..if you can use Vi.
I don't know what I'd do without emacs on my Beige G3 tower
M-x tetris
...if only it had a word processor. Then it'd be complete.
Weaselmancer
rediculous.
And it's really just the sources that are out; there's precious few binaries out there.
Can we post binary torrents in this thread? I want OS X, preferably Universal, but Intel-only will do.
Are you adequate?
As a non-flaming vi user, I just want to say what a terrific OS Emacs is and only hope they include an editor in this release for good measure!
You could use an older vi, but then you wouldn't get formatting and hilighting...
How do I turn that off?
The linux install my company did on my desktop has a true vi but simlinks "view" (the canonical "vi it in read-only mode") to "vim". Unfortunately, some of the files I need to work on come out in unreadable purple-on-black under vim, so when I "view" them to open them read-only they become unreadable-only. B-(
Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
Or is it just now Eight Hundred Megs And Constantly Swapping? :-)
Actually it's now eighty meg and that's the reason for the long delay: They had to put in a whole plumbers' supply of kitchen sinks to get from 8 meg to 80.
Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
The only OS X builds I have seen are still based on the 6 y/o version. Anyone know of an OS X build that stays current?
I just started a build on an Intel Tiger system with "./configure --sysconfdir=/etc --prefix=/usr --enable-carbon-app" and all seems OK so far, though I have never built emacs on OS X before and I am not sure if this is the way to build emacs on OS X.
General, you are listening to a machine! Do the world a favor and don't act like one.
It would run pretty slow though.
Engineering is the art of compromise.
i wish i could :q! you!
i wish i was but oh well
I use emacs for months now. When you install Color Theme, it's actually quite nice. I wish they fix the following issues:
1. No key combo to delete whole line you are currently on. Sure I can ctrl-a, ctrl-k, ctrl-k, but that blows.
2. When you do global search/replace, it's easy to screw up the minibuffer if you try to scroll the view, say by merely scrolling the mouse wheel. Then you've got to type in your search and replace terms all over again.
3. Speaking of search, maybe I'm just an idiot, but I don't know how to get emacs to search through the document based on some pattern I just happen to have in the copy buffer. This is infuriating to type ctrl-s and not be able to spit into the mini-buffer whatever text you've already got in the copy buffer.
4. non-standard cut/paste key sequences. I use both mac and win32, so the cut/paste keys (ctrl-W, ctrl-Y) are standard within emacs but incredibly unstandard within the mac (apple-c/apple-v) and win32 (ctrl-c, ctrl-v) ecosystem in which it is placed. This might have been fine in the 1980s, but not in the 200x's.
Is it just me or does emacs go completely against the grains of *nix philosophy? i.e. simple, modular, parsimony, etc. The emacs base distribution is 126 megabytes, larger then the FreeBSD operating system... How did emacs get to be like this?
Would be nice if there was a nice GDB GTK interface that could be used standalone or linked into other editors.
Or is it just an addition to KitchenSinkProgram?
...using a front-end loader to put out the cat.
I don't always use unix-like operating systems; but when I do, I prefer FreeBSD.
This must be the third horseman. Let's just hope the unimaginable doesn't happen, and GNU doesn't puke out Hurd. That would mean the end of us all.
But I _still_ can't get GRUB to load it...I _still_ have to use this useless 'linux thingy' to invoke it!
Won't someone please help me with replacing my Symbolics machine?
Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
Vote for ME -- I'm well-tapered, half-cocked, ill-conceived and
TAX-DEFERRED!
I don't understand.
I want to TAKE IT HOME and DRESS IT UP in HOT PANTS!!
What makes you believe you might want to take it?
I'm young.. I'm HEALTHY.. I can HIKE THRU CAPT GROGAN'S LUMBAR REGIONS!
Maybe your plans have something to do with this.
Hell, even The Beatles use Vi...
I've been using prerelease builds from this page for over a year now: http://www.porkrind.org/emacs/. Issues have been minor and obscure recently.
Are you adequate?
And lucky for me, I press those with my left hand, which doesn't have carpal tunnel.
I'm a VIthian and don't have RSIs yet. I started to get carpal just a bit in my right hand about '86 or so - but switching the mouse to the other side (along with folding in the feet so the keyboard lies flat flat and adding a minimal wrist pad) cleared it up and has held it off for another 20 years so far. I just celebrated my 60th and am still typing away furiously every day.
Switching sides on the mouse has a two minute learning curve once you've added these two aliases:
### "three-button" version of X:
### alias rightmouse 'xmodmap -e "pointer = 1 2 3"'
### alias leftmouse 'xmodmap -e "pointer = 3 2 1"'
### "five-button" version of X:
alias rightmouse 'xmodmap -e "pointer = 1 2 3 4 5"'
alias leftmouse 'xmodmap -e "pointer = 3 2 1 4 5"'
Mirroring the buttons lets you do mirror-motion on pressing them, which is just about automatic. I occasionally switch to the other side and am full speed either way.
But it wasn't carpal that made me stick with vi rather than switching to emacs.
Back when I bought my first unix box (in the early '70s) it only had two meg and used a motorola 8010 so it couldn't do demand paging to run a task bigger than the real RAM. Emacs wouldn't fit.
Since then I've occasionally looked into switching. But every time I do I see that EMACSians take about half-again as many keystrokes to do the things I do heavily. So in addition to the learning curve it would be a step backward in productivity, at least initially.
I considered using a vi emulation mode - until I discovered that (at the time) it had TWO of them, with different divergences from "real vi". B-b Rather than trying to solve the "donkey between two bales of hay" dilemma I stuck with vi.
Bantam Dominique roosters crow a four-note song. Once you've heard it as "Happy BIRTHday" you can't NOT hear it that way
What!? Its like the Universalist church. Some things shouldn't be pt together.
Or is it just now Eight Hundred Megs And Constantly Swapping?
---GEC
I'm but the humble pupil, seeking to snatch the scratchbuilt pebble from the master's fully articulated hand
Killed by the lawyers. The only message now is:
I'm not making this up. I wish I were.Emacs asian girlfriend will cook, clean, balance your checkbook, do your taxes, and never, ever complain... but she weighs 300 lbs.
Vi asian girlfriend just stands there looking pretty, but if you thought you were going to get anything done, you're sadly mistaken. It'll take you a week to figure out how to get that dress off...
Vim asian girlfriend will do anything you ask, as soon as you learn the language. Fortunately, most of us know words like "Bukakke" already, and it doesn't take much.
Don't thank God, thank a doctor!
I've been a regular visitor to the church of Emacs and paying my weekly tribute to RMS on Sundays.
.emacs has grown to have more than 1k lines.
.emacs but the joy is not there.
In the beginning emacs more than delighted with built-in debugger/mail/sokoban/all-language-modes and then I learned the power of lisp. Google for 5 minutes and then you can have your own scripts built in the editor to rotate the selection, crop 20% of the text from left, tranlsate the remaining junk into Russian and then to Polish or whatever you want, power is immense! Over time my
But, lately I've been thinking about converting to vim family. Vim is what I like in real life - quick (way faster than emacs), not-bloated (still in MBs) and above all cool features. In retrospect, emacs seem to be developed as really bloated thing, include all, nasty to use keyboard shortcuts (although I have replaced all of them with my custom settings).. things that you expect to get on your 10GB windows vista (RMS, pls pardon me for this insane comparison).
OTOH, vim has a taste of elegance, at least in default keyboard shortcuts.. that are rarely longer than 3-4 char. Looks like the developer really cared for what user really needed rather than stuffing everything down the throat. But, my tipping point was vim7.0's "time undo feature" -- something like you tell ":earlier 5m" and it'll take you (or rather your file) 5 minutes back in time. I'm sure I can do same thing in emacs after spending 2 hours on google and adding 10 more lines to
So, here I am in middle of my biggest decision of my life - should I continue emacs, where I am a power user or should I join enemy's camp.
PS: emacs users, pls dont kill me.. I have not YET switched and still visit emacs church. Vim user, you dont kill me either for I am your potential convert. Thanks!
Can we still compare Apples to computer systems? :-)
*ducks*
I've been happily using emacs for the past 9 years. I haven't been holding my breath waiting for the next release because frankly it does everything I need it to do and it does an outstanding job.
For years I've been watching this vi vs emacs debate pop-up here and there. It's slightly amusing and I really think most people aren't that seriously religious about it (at least I hope not). I took the time several years ago to learn vi, since I do Linux consulting and vi is always available no matter where I log in. I like it just fine. The one thing that keeps me from moving to it as my primary editor is dired. I can't live without it. It's so easy to open up the whole directory in Emacs and jump from file-to-file within the editor. I know vi (or is it vim?) has a pseudo dired like mode you can use, but it just doesn't quite feel as smooth - Most likely because I'm just so used to Emacs. Anyway, it's great to see that Emacs is still in active development. Perhaps I will find some great new thing I can do with it.
Vimacs is an affront to God...using it may very well bring about the Apocalypse. It's like what would happen if God came down to hang out with you for a while and you stole his wallet or coveted his ass or something: bad things are going to happen.
someone, anyone, can make it look and feel like Eclipse, but with EMACS macros!
That I would love.
Plug into visual studio(c) like VIM does?
;)
Or alternatively, can we blame emacs for all the MS patent violations in the OSS comunity. Im sure MS has a patent somewhere that states:
"a method for inputting ASCII text via an input device for later storage onto long-term or short-term physical media". Notepad, an invention worthy of Albert E himself.
Maybe they even have one like "a method for controlling storage media, physical input devices, display terminals, pointing devices and misc peripheral equipment for human use", though im not sure MS would really be willing to claim they actually invented windows (you'd be embaressed if you did right?).
Consume 1 grain of salt for each word in the above as it was my bad attempt at humor
this app can break
I'll probably be modded down for this...
Is this any indication of when Duke Nukem Forever might be released?
They're not the same thing, in much the same way that a pigeon and a bat aren't the same thing, despite the fact that they both can fly.
emacs-22 includes tramp by default.
The Website, RMSes Passport Portrait, Emacs itself, ... just looking at it makes it appear beyond bizar. As if I had taken some extremely mind altering substance. I couldn't describe the experience to someone who hasn't had it himself. ... heavens crickey. :-) .
Emacs may once have been an extremely powerfull tool and the best possible thing for a remote tty command line mainframe uplink some 25 years ago. I nearly started learning it back in 1996. But all this nowadays and with a stance that is way far out even by slashdot standards
How about calling it quits? Donald Knuth stopped TeX when it was finished. And it actually still is a usable tool today. Then again, Donald Knuth is a normal, respected developer, not some strange fringe-dimension entity
We suffer more in our imagination than in reality. - Seneca
I love vim. vi is ok. vim is great.
vim is an editor that can be used as an ide. Emacs is an ide that can be used as an editor.
I can honestly recommend vim for use on every platform it supports, which is pretty much all of them, including amiga.
The only warning I would give is: bring patience with you. vi and vim do not become powerful until you become proficient at the keyboard commands, the modal system, and the command line commands. vim has a menuing system, but if you are a menu-only type of guy, why subject yourself to a new set of menus?
If you do not love and believe in vi's modal editing enough to learn it, use another editor.
pb
Viper is far superior to Vimacs! (A new kind of flame war, whee!)
In all seriousness, I have never tried Vimacs (I don't think I'd actually heard of it before reading your post) and am only recently playing with Viper as a method of reacquainting myself with vi commands. No actual flame war intended, I just thought the idea of emacs-emulating-vi vs vi-emulating-emacs as a flame war was kinda funny.
Information doesn't want to be anthropomorphized anymore.
Yes, and also King Henry of England. Okay, RMS, now who has ever heard of a king Henry Emacs?
In addition to reading the article, I downloaded the source and compiled it. The text in the GUI is STILL not anti-aliased. It's just as ugly as Emacs 21.
CfkRAp1041vYQVbFY1aIwA== RV/hBCLKKcSTP5UFK3kqsg==
So how many DVDs does this thing take up?
What about the new translation of the manual into English? We're still waiting for that one.
By the way, Ultraedit raped Emacs years ago. It does everything Emacs does, except intuitively!
I though 98% of people now used word
Zawinski's Law of Software Envelopment : All programs attempt to expand until they can read mail. Programs that cannot so expand are replaced by those that can.
vi's continued existence is a confusing exception to this rule.
Easier? Probably not. It really wasn't too hard to begin with. It's more difficult to learn than gedit or notepad, but it's also a lot more powerful. The most important thing is to read through the tutorial (Ctrl+h, t) and follow the examples. Then read through the manual and practice editting a lot of text with it. You'll feel goofy for reading a text editor manual, but after a bit of practice you'll start getting the really important stuff down, like moving around and basic editting. After you get the basics down, there's still a ton of stuff to learn that can make you type a lot faster.
The hardest part is unlearning Emacs when, for whatever reason, you have to use another editor.
Dammit! I knew I should have fone wit hthe mod points.... +1 Funny
...the operating system disguised as an editor.
I love Emacs, it makes my code look clean !
Emacs, because life isn't complicated enough
Emacs is the only user application that I know of where I have to consult the documentation for the ability to shut it down.
By your analogy, emacs is both a pigeon and a bat. And a bagel and a dump truck and an opera singer and a washing machine and an antelope and a tax refund form and a harpsichord and a pottery kiln.
Weaselmancer
rediculous.
My programming instructor said he had an evil boss at a government job who made him use Emacs.
You're lucky. *My* evil boss makes me edit Java and XML with Excel.
Fantasy: http://ferrisfantasy.blogspot.com/
I'd wait a bit before booting emacs. It is said that emacs is a very nice operating system, but it lacks a good editor.
Fantasy: http://ferrisfantasy.blogspot.com/
First of all, I don't see much use in going back in time. Usually stepping through one undo at a time is what you want. Second, :blah would just be M-x blah in Emacs, if it had a "go back in time" feature, which I don't know or even care if it does. If you want to find out, you Google or "C-h a" and type in "time". If it takes you 2 hours then it would take you 2 hours to find the same thing for Vim.
Of course, it's quite possible that RMS doesn't really care, and he's only giving us the md5sum so we can make sure it wasn't corrupted accidently somehow (as opposed to being changed and then modified to give the same md5sum.) But if that were the case, a CRC32 value would be almost as good.
Of course, I'm not sure SHA1 is that much better.
If you mention you are comfortable in emacs and VI I will not hire you.
Geez... even a massive operating system like Vista was developed in only five years. This is a freekin' TEXT EDITOR!! SIX YEARS? What the heck???
Beware of bugs in the above code; I have only proved it correct, not tried it.
like a new species of drosophila being discovered.
In retrospect, emacs seem to be developed as really bloated thing, include all, nasty to use keyboard shortcuts (although I have replaced all of them with my custom settings).. things that you expect to get on your 10GB windows vista (RMS, pls pardon me for this insane comparison).
OTOH, vim has a taste of elegance, at least in default keyboard shortcuts
That is interesting because I see things in the opposite way.
I have been using vim pretty much since I started using Linux a few years ago. My use is limited to some elementary programming (see sig) some long XML documents, config file editing and, more recently, email in Mutt. I'd say my Vim knowledge is pretty elementary, and I am learning new things all the time.
When I first used Linux, I wanted to learn Emacs. Vi has a reputation of being mean and unfriendly. But something about Emacs just wasn't clicking with me, while the Vim tutorial was easy to follow. The commands were cryptic at first, but I soon realized how quickly I could get around a file with them, even with just rudimentary knowledge.
Every so often I take another look at Emacs. Most recently it was because shells seem to work better with Emacs key bindings (they usually have vi bindings, but I don't find they work as well at the command line.) I figured that if I was going to learn Emacs bindings, I might as well take another look at Emacs.
My most recent impression of Emacs is that the basics of the editor are much more well-designed and integrated than Vim. Vim is descended from Vi, which is descended from Ex, which comes from Ed...so there is a lot of editor history and cruft and weirdness in there. Recently I've been digging through the Ex and Ed manpages, which helps me understand Vim better. But yikes, that old line-editor history is still deeply in Vim, and it is very apt to say that the the visual part of Vim is "bolted on" to Ex.
Emacs on the other hand does not seem to have this crazy history. It seems to do many things smoothly that were later added to Vim, such as editing multiple buffers. Basic functionality like searching is easier to understand--Vim's distinction between "magic" and "nomagic", for example, took awhile for me to understand (of course, it exists in part due to compatibility with the ancient regular expressions found in Ed.)
In short, the core of Emacs seems to me to be designed, while the core of Vim seems haphazard and bolted together like a historical crazy quilt.
However, where this changes is with more advanced functionality. Features such as folding and (more recently) spell checking are built in to Vim. Emacs can do these things, sure. But you have to rely on modes. Good luck finding modes and then, if you find them, good luck documenting them. Furthermore, it often seems that doing something more advanced with Emacs requires learning Emacs Lisp, where the functionality will be built-in to Vim. I don't want to have to learn to program my editor just so I can smoothly edit a file.
So, the core of Emacs seems to me to be better designed, while when it comes to more advanced functionality, Vim wins. So Vim is harder to learn, but easier to use and grow with once you get the hang of it.
A couple of final notes. Vim's documentation is much better than Emacs. Bram has done a fantastic job by writing two manuals--the user guide, to get you started, and the reference manual to exhaustively explain everything. Emacs has only one manual. Further, Bram has documented all of Vim, including the advanced functionality. Since the advanced stuff is not built in to Emacs--it uses modes instead--good luck getting good documentation to go along with advanced Emacs usage.
Also, some people compare Emacs and vi. That is an easy contest--Emacs wins hands down. I installed nvi just to see what it would be like, and the lack of documentation alone makes it very hard to use. Thus emacs versus vi is a bogus comparison. Vim is the standard bearer now.
Just my $.02; I hope an Emacs user offers a refutation.
Penny - plain text accounting
If you run emacs in a gnome-terminal, you get the anti-aliased fonts. Start gnome terminal, run "unset DISPLAY", and be happy.
(IMHO the 6x13 xterm font called "fixed" beats any anti-aliased mush, but to each their own!)
Uh, I'm not kidding. Stuff this in your .emacs file:
(setq term-setup-hook 'vip-mode)
(global-unset-key "\e\e")
(put 'eval-expression 'disabled nil)
Once you've learned the power of ex, vim will stop feeling like a bi-modal interface "bolted" on top of ex and will instead feel like a tri-modal editor. Once you make that leap, you'll never want to go back to anything else.
*sigh* back to work...
I know there was some efforts being made in autocompletion capabilities but how far has it come. I mean REAL autocompletion, intelligent completion...ie not tags.
The phrase "more better" is acceptable English. suck it grammar Nazis
C-u is one of the most important prefix command keys. It's not just "repeat n times" (which is really damn important, BTW), but also, more generally, "run the next command in a slightly different way." For example, M-x shell gets you shell-mode with a buffer called *shell*; if the buffer already exists, it switches to it. C-u M-x shell, on other hand, prompts you for a buffer name. You need to use C-u M-X if you want to have multiple shell buffers.
Are you adequate?
Comment removed based on user account deletion
Another great emacs feature is to be able to mark rectangles of text that cut across lines.
Ctrl-Spacebar sets the first mark, then move the cursor to the diagonal opposite corner of the rectangle you want to copy, and press "Ctrl-x r k", and you've marked the rectangle and can cut or copy it.
You can manually dedent a block of code with this feature, or remove the many lines of >>>>> from a forwarded message.
Are Emacs and Vi even worth learning for the next generation? I say this as a fan of Vim who uses it for all his text editing; and many of my coworkers are Vim or Emacs fans. Both are exceptionally powerful tools. But neither program is especially user friendly, and other editors and IDE seem to be catching up in terms of power. It's perfectly possible to achieve mastery and speed in more user friendly tools as well. (I know a guy who uses Visual Studio's editor with the fluidity I normally only see in Vim or Emacs users, almost never removing his fingers from the keyboard. He works almost entirely on muscle memory so his editor is almost a direct extension of his thoughts.)
Much though I love Vim and look forward to new releases, as I expect the Emacs fans do, I suspect our favorite editors are going to be increasingly marginalized. I can't in good faith suggest that younger programmers spend the time to learn either one. (Excepting of course people working on Unix, where you should know enough pure-Vi to muddle along in a worst case scenario.)
Search 2010 Gen Con events
Never used the time features in Vi, but consider how many times you've undid and redid changes and want to go back to something you undid before you've redid something and realize that you're now really confused... it might be better to get time-based snapshots of the text to go back to. If only somebody could let me in on how they remember all these damn commands and keystrokes...
... it wasn't: Emacs 6 released after 22 year wait.
Just kidding =)
Six years ago Emacs was already a bit of a passed station. It was not bad, but it wasn't very user friendly, and even after the steep learning curve it doesn't allow you to work substantially more efficient. As the years slowly crawled by rival editors became better and better and better. And now version 22 is released. It contains no important features not found in it's rivals, and the worst part is... it's still Emacs. If the developers are really doing what they do because they want to make the world a better place, perhaps they should have supported another project with the fruits of their labour.
QFT. This is the most insightful comment in the history of the vim/emacs flamewar.
I just sent out Neo to get that :q! job done!
--- I am known for the ones who want to find me on the net. Is that a privacy risk or a privilege? One might wonder..
I don't think it did, really. It only looks like that because it is so readily extended. If you compare Emacs to ed or vi or similar, it's going to look very complex and bloaty. But the better comparison is probably with bash.
Bash gives you a pretty basic programming language, and then you take a few Unix apps and pipe them together and you can do just about anything. Same thing with Emacs - you start with a relatively basic text editor and a solid extension language. A few decades later those basic ingredients have been sculpted by the user-community to provide a huge variety of features that rms never imagined way back when. It's exactly because elisp is simple and modular that Emacs has become so incredibly feature-rich.
If you really wanted to you could probably excise most of the extensions out of Emacs to trim it down. The fact that this hasn't happened suggests that most of us Emacs-ites appreciate having those features available, even if we only have time to learn to use a handful at a time.
yp.
Emacs comes with fine tutorial, available from the help menu, or via C-h t. It comes with a complete online reference manual. A tutorial introduction to elisp, aimed at getting non-programmers up to speed wrt customizing their Emacs. And there's a two-volume set for anyone interested in serious programming in elisp. And O'Reilly has a good manual as well, if you want to pay for it.
And you definitely don't have to learn elisp to use the advanced features of Emacs. You have access to a very rich suite of editing functions with standard emacs. If you want the same (comparable, if not identical) features available with Vim? you will be just fine without knowing anything about lisp.
However, with a little time invested you can increase your productivity by customizing functions. I suppose all editors worth their salt provide regexp search and replace. But if you want to automate complicated stuff having a full extension language on hand is a huge plus. For example, I'm writing a latex document, and I want to be able to pull out all the figures/tables/footnotes to a separate file. This requires a fairly sophisticated regexp, as it has to handle nested parentheses and various options for the different environment types. I don't think it can be done with a one-line regexp. It can be done in a dozen lines of elisp, and nothing too difficult to sort out since the real heavy lifting of the regexps is already done with standard functions. Of course, I'm a rank beginner at this stuff, but I'm hooked after seeing how easy it was to make a fairly complex and useful function.
I guess that dedicated TeX editors probably already have such features built-in. But another benefit of doing this with emacs is that I don't need to learn a different interface to do similar manipulations to code, mail, html...
yp.
My first comment here in Slashdot. I'm Brazilian, so I'm from Brazil. In this post they wrote BraSilian. That word don't exists. The correct is BraZilian.
Who can live without that!.
http://saveie6.com/
> vim is an editor that can be used as an ide. Emacs is an ide that can be used as an editor.
That's not at all true. Emacs is a LISP environment that happens to default to running a text editor written in LISP.
My other car is first.
When I was still reading /. through lynx a few years ago on my 486 (no joke) running Slackware, the difference between the performance of Emacs and Vim was very significant. Vim wasn't nearly as responsive as elvis, but it was still much faster than Emacs. In fact, I scrounged up a 16MB SIMM to upgrade my RAM to a total of 24MB, and that was the only way to get Emacs to run better. But at the end of the day I had learned too many convenient Vim shortcuts.
Systemd: the PulseAudio of init systems
I too started as an Emacs user, then found myself wanting to learn vi. vi is quick and easy to bring up in a terminal, and is present on nearly all Unix variant machines in existence. Learning vi was not all that difficult, like Emacs there is a lot of consistency in how the various key commands combine with each other, and once you understand how it works, you find yourself just using it. And once you know the vi basics, it is really easy to pick up on the cool features in vim.
Nowadays I use both pretty regularly. I use Emacs for programming and editing large documents. I also love that its shell buffer offers improvements to other terminal programs, and not just the shell (Oracle's sqlplus within an Emacs shell buffer is much better than from a regular terminal). I use vi for quick edits or when there isn't a good mode for Emacs.
One day I caught myself alt-tabbing between an Emacs window editing C and two vim windows for lex and yacc, using all the fancy keyboard shortcuts available within each editor. It is amazing how you get so used to something that you don't even think about how to use it.
Overall, I compare the two editors by their macro capabilities. Emacs can remember long sequences of keystrokes for later recall, and if that isn't enough, you can also write LISP code to modify a buffer however you want. vim doesn't have that level of capability (and vi somewhat less), but does offer the very inconvenient "." command to repeat the last edit. This parallels how I view the two editors - I use Emacs for most serious work, and vim when I want something quick and easy.
Learn them both, you will be better off for it.
...but I hear it's still missing a text editor. :(
I don't suppose this new version of Emacs has changed the fact that the keybindings are beyond useless on anything except a US keymap? (Either you have to bend your fingers in impossible ways, or you have to figure out which key on your keyboard corresponds to a particular key in the US keymap. Because obviously everyone should know that if the program tells you to press "Ctrl-[" you should really press "Ctrl-Å" or hatever instead. Hate!)
- renders animals into bratwurst and cooks it for you
- PBX system for editing files over the phone
- generate mathematical proofs for statements such as the Goldbach conjecture
- auto-generate code for the next version of Emacs
and much, much moreBut does it run Linux?
Mike Gallaher (UniPress Emacs Hacker Boss, aka "Evil Software Hoarder") and I were walking around a science fiction convention, and we ran into RMS.
Mike said "Richard, I heard a rumor that your house burnt down..."
RMS immediately replied: "Where you work, I thought you would have heard about it in advance!"
-Don
Take a look and feel free: http://www.PieMenu.com
Well, I *have* switched to Vim.
.emacs file was very long and full of clever hacks and yet, my XEmacs was NOT configured to my taste. It would take me many, many hours of googling, trying, debuging, going through other peoples dotemacs files to create such file from scratch.
:options and use this as a checklist so I do not forget anything.
;-)
The feature that was the final straw was:
My
It takes me several minutes to configure Vim EXACTLY to my taste from the "out of the box" state.
I simply type
Now I can spend more time editing and less time tweaking the editor
And while Emacs has really great documentation, Vim has even better one.
RMS -vs- Doctor, on the evils of Natalism
Take a look and feel free: http://www.PieMenu.com
(oops, I mean) cryptic, frustrating, limited, WYSI-NOT, relic from the 70's
When I first moved to unix from VAX/VMS, ( circa 1989 ) I was used to working in pure text mode with the "EDT" editor, so straight text didn't bother me...
But, that blasted 'vi' editor: [ begin rant ]
I recall thinking: What does 'vi' stand for anyway: VIolent, VIcious, VIctomize, VIcerate, VIlan, VIce-versa, VIrus, or just plain VILE !
I was used to plain-text editors that understood function keys, numeric keypad options, and would behave when you pressed the Page-Up key.
In "vi" under older SunOS, even arrow keys didn't work! Who decided that h-j-k-l should be used instead of arrows !?!? Except, of course that you had command mode, and insert mode, so when you forgot where you were, and started typing text, (while looking at the keyboard, since I'm a lousy touch typist), it really messed up your source code. And may the gods be merciful if you accidently hit the caps lock key! [ end rant ]
So, I found other software for my editor, called SEDT and was happy (for a while).
But, then I began working on dozens of different unix machines, and couldn't compile my nice new editor and install it on all of them, so I had to go back to learning 'vi' enough to survive in unix.
After a while, I noticed that working 'vi' actually got faster, and when my fingers got used to the keys, I actually had more flexibility than using the old cursor & function keys that I had been used to. (mind you, I still long for some of them)
But for most folks, I would say, keep going with 'vi' for now, and even try a few of these: clicky
As I said: Sometimes I like vi, sometimes not. On the other hand, when trying to post vi "command strings" above, slashdot's post review algorithm complained and told me
I'm thinking this says something about the occasional cryptic "vi" key combinations.
-- Black Holes are where God is dividing by zero
Funny, I've been considering switching from Emacs, too, but for different reasons. In my case, I'm worried by the GPLv3 and all that jazz. I guess I'm having second thoughts about the FSF---all that "forcing evil tivoizers" to "preserve people's freedoms" is starting to rub me the wrong way.
Or maybe I'm just getting paranoid and peculiar in my old age. I hope that's it.
But anyway, politics aside, I've been thinking, hypothetically, how hard would it be to go without GNU. Not only switching to BSD or OSX or something, but actual life without GNU at all. Worst case scenario. Oh and, as you say, I've not switched yet, I don't think things are that bad, and anyway I probably couldn't switch anytime soon, even if I really wanted to. So please don't kill me either.
Right now, there are two pieces of GNU software I absolutely can't live without: Emacs and GCC. To a lesser extent, Bash, GDB and GNU Make. Everything else is negotiable, I think.
Currently GCC can't be replaced, of course, no need to waste time on that one. But Emacs should be replaceable. My problem is nxml. Just thinking of giving up nxml gives me the creeps.
So I guess this rant is to ask, how do people edit XML in vim, or something else? Is there an alternative at all? Would I need a dedicated XML editor instead, besides the one I'd use to write code and plain text?
I used VIM for years, and now I almost exclusively use Emacs (VIM for config files). I do not have much customisations, and I am learning Common Lisp, so I have no time for elisp, but Emacs lets me multitask fantastically, even in a terminal window. The way VIM handles buffers, multiple files and windows is just too awkward to be productive. And emacs shell-mode is also fantastic.
But currently, I switched to XEmacs, because it has better support under Windows and Cygwin. It compiled out of the box without patching.
If I Only Had A Hurd
(The Wizard of Oz: If I Only Had...)
If the Hacker Gods beside me
Would graciously abide me
And let my wish be heard:
That I would consider shaving
I might even start behaving
If I only had a Hurd
Oh, I could tell you why
Open Source is too pragmatic and impure
Tell you things you've heard a million times before
And then I'd sit and write some more:
I'd make fun of the internals
Of monolithic kernels
Old-fashioned and absurd
Since they don't put "Gnu" before it
I'd prefer to just ignore it
If I only had a Hurd
I could maybe have a relapse
And do some work on Emacs
To make a brave Gnu/Word
I would write some manifestos
Clad in flamewar-proof asbestos
If I only had a Hurd
No - but Linux runs it - and you have not even to be in soviet Russia for this to work.
"we are all atheists about most of the gods that societies have ever believed in. Some of us just go one god further."
This is from Emacs 21:
M-x name-last-kbd-macro
to give the macro a name
M-x insert-kbd-macro
to insert it as Lisp code in the current buffer.
The VIM Quick Reference Card is nice. Hang it on your wall.
> Well... it's got a vi mode.
Here is vi-mode for emacs (with apologies to Erik Naggum):
(defun vi-mode ()
(interactive)
(use-global-map (make-keymap))
Whatever you do, it will just beep annoyingly at you.
That would be "Execute Rectangle Kill". How is that not intuitive?
Pirate Party UK
> Remember how VI couldn't handle the arrow keys before? It's come a long way, hasn't it?
Actually, no. When I first suffered vi back in the 80's, it already handled arrow keys. It relied on timing though (to distinguish the escape sequences generated by the arrow keys from a stand alone mode switching ESC), so it didn't always worked reliable when connecting over a slow line.
Emacs only got out-of-the-box support for arrow keys later (still in the 80', but later), at least on termcap terminals. I believe the X10 (and later X11) drivers supported arrow keys from the beginning. A real framework for supporting special keys on termcap terminals had to wait for Emacs 19, that is, the 90's).
Ford releases a seat belt kit for the model T.
I have been surprised at how powerful ex is as I look through the POSIX manpage. I'd definitely recommend to anybody who wants to get inside Vim that they look at the manpages for ex and ed.
Penny - plain text accounting
Also, it's just insensitive on those of us who've had hemicolectomies.
Is that because you don't like people who are comfortable in vi or emacs, or because you don't like people who brag about it?
Macros: have you tried the Normal mode "q" command? It will record keystrokes, and then you use "@" to play them back. It's handy for quick and dirty things. Also, as far as code goes, you can always throw a bunch of ex commands in a file and then :source it.
Penny - plain text accounting
It is a tool, GPL, used by programmers, and nobody made a fork of it in 6 year that became popular? hmm.. strange.
The gtk version uses twice as much memory as the standard X version of emacs22. WTF?
Comparing emacs21 and emacs22 (no gtk), the new version uses maybe 10% more memory.
I used to use Emacs all the time but I got tired of the slow loading and superfluous functionality. So I switched to "micro" versions (jed, memacs, joe etc.). I still use jed quite a bit for editing text files, but GUI editors and IDEs provide virtually everything I could want from an editor these days for other purposes. One particularly excellent GUI editor on Windows is Notepad++. I also use Eclipse which is also pretty slow loading but once running offers superb editing facilities.
I wouldn't touch vi or emacs unless I absolutely have to. Typically that means when I'm stuck in a console window or similar. Other times, give me a decent and user friendly graphic editor any time.
- I am intimidated now -
[big long silence]
So, how's the wife ?
Religion is what happens when nature strikes and groupthink goes wrong.
That would be "Execute Rectangle Kill". How is that not intuitive?
I always thought Emacs was a little scary. Now I can see why!
Cogito, ergo sig.
M-x M-g: Creates a local backup of Google for search purposes.
Vim sucks
In the tivo situation, GPLv3 ensures that everyone is free to modify the software and to run modified versions instead of the default version. This would allow Tivo users to remove the spyware that's in the default software. A Good Thing, IMO.
t ranscript#tivoisation
More info here: http://fsfeurope.org/projects/gplv3/brussels-rms-
Please help publicise swpat.org - the software patents wiki
"My most recent impression of Emacs is that the basics of the editor are much more well-designed and integrated than Vim. Vim is descended from Vi, which is descended from Ex, which comes from Ed...so there is a lot of editor history and cruft and weirdness in there. Recently I've been digging through the Ex and Ed manpages, which helps me understand Vim better. But yikes, that old line-editor history is still deeply in Vim, and it is very apt to say that the the visual part of Vim is "bolted on" to Ex."
"Old" and "new" are orthogonal to "good". Much like EF Codd's ideas on databases.
I'd be hard pressed to design something more useful than vim is from the ground up. It feels as if it was designed to:
a) minimize keystroke use
b) minimize RSI
c) allow a person to predict how to use new functions intuitively (e.g. 5dd deletes 5 lines, 5Y yanks five lines)
d) edit code in general
If a person thinks that there is any chance he will be doing a fair bit of coding over a lifetime, perhaps a large chunk, it makes sense to devote a few hours in the beginning to learning an editor with the above priorities. In much the same way as a young engineer ought to consider learning RPN and buying an HP calculator. It is an investment that will pay for itself many times over.
If I have seen further it is by stealing the Intellectual Property of giants.
especially if you're a rectangle.
awww, did someone have trouble learning the big scary *nix text editors?
You can also use the functions the sibling comment suggests to create your own macro saver (I had one that saved my macros into my emacs folder in saved-macros.el).
Also, there's an emacs extension called "better-registers". Better registers allow assignment of keyboard macros into "registers". Registers are basically variables that are assigned to keyboard keys. So you can assign a macro, string, number, or whatever into a variable associated with a key, and then perform operations on that variable (increase number, run macro) via shortcut keys. Its also pretty useful for keyboard macros (as you can have an increasing number, etc inside a macro).
I was in the same situation as you a few months back. I ended up switching and haven't looked back. There are a few things I miss. Sometimes you end up pressing Esc every other key, and things like having a built-in shell. But for the most part, I'm quite happy.
try holding alt when you drag a selection in most decent editors
Either I've missed it or nobody's referenced this classic EMACS rip: EMACS stands for Escape-Meta-Alt-Ctrl-Shift.
Of course, I think EMACS versus Vi(m) really just comes down to personal preference. Some people will naturally find one more intuitive, or be more productive with, one than the other. At least with the Vim flavor of vi, EMACS and Vim (as editors and IDEs) can probably each do 95% of what the other can do, and both are extensible enough to do the remaining 5%.
Me, I'm a Vim user. I used Emacs for quite a while in college. If I took the time to learn some LISP, I think I could have a lot of fun with EMACS. But the three things that "sold" me on vim were: (1) vim loads so much faster than emacs; (2) the constant chording required by emacs was annoying; and (3) I preferred other standalone programs to emacs' integrated ones. Regarding (1), I know there is emacs server/session or whatever that allows you to attach to an already running emacs session (thus sparing you the load time). But when I last played with this, it didn't work remotely, i.e. I couldn't start emacs server locally, then remote in to my box and attach to the already running session. (Though that was years ago and I wouldn't be surprised if they've since implemented that feature.)
Regarding (3) above, it seemed a waste to me to use emacs as an editor only. If you start it up, and live in it all day, it's great (nice, cohesive environment). But for programs that need an external editor, like mutt and slrn, it just makes more sense to have one that loads quickly. Hence, vi(m) for me .
Funny that you should mention an RPN calculator. Emacs has a really good one built into it! ;-)
Emacs certainly does have a poor reputation for points a) and b) in your list, but those are things that the Emacs developers are definitely aware of and have improved over the years. As a person who uses both Emacs and Vim quite regularly, I feel that, for the basic editing set, the two really aren't all that much different anymore. I find myself using Ctrl-KEY chords a lot more than I'd like in Vim, and once I found out that tapping the Esc key in Emacs is the same as holding down Meta, I'm doing a lot less chording in Emacs. (The secret sauce is mapping Caps Lock to Esc instead of Ctrl as Emacsers tend to want to do!) I find both editors' keybinding mnemonics to be reasonably predictable once you've gotten some experience using them as well.
Where Emacs wins big for me is in its extension language which is vastly more powerful and easy to use than Vim's. There is a reason that you can read mail, chat on IRC, and play games in Emacs: because it was easy to program! That also means that if there is some new behavior I want for editing, it is typically easy to add myself instead of waiting around for months for someone else to do it. To be sure I've done the same with Vim, and it wasn't especially hard either, but I found Vimscript to be less adept in general than elisp and considerably more inscrutable.
No kidding! Fricken insightful / hilarious.
MOD up!
As an emacs user, I frankly couldn't care how long there is between releases of "stable" versions. Emacs is 31 years old, guys. Looking at its history, version 18 went from 1986 to 1993; version 19 was from 1993 to 1997; version 20 was 1997 to 2001. Six years is not that big of a deal, particularly since minor releases have been coming out since then.
The problem as pointed out in the article is that the release version was frozen for three years, during which time no new code could go in but the code was also not released, which was frustrating for some developers. (Again, as an emacs user, I'm playing a tiny violin.)
Huh? Emacs has the tutorial (C-h t or F1 t) to get one started; it has a reference manual {C-h i m emacs or F1 i m emacs); it has a language manual (C-h i m elisp or F1 i m elisp). Then there's the documentation for any function (e.g. C-h f goto-line) or variable (e.g. C-h v global-font-lock-mode), and for the current mode (C-h m or F1 m).
Emacs is easier than vim to start out with (it's not modal in the sense that vi is), gets a little hairier for a bit, then becomes much more pleasant. Being able to extend one's writing environment is wonderful. Having a text editing environment optimised for, of all things, editing text is wonderful.
I have been using nano now forever. Keyboard shortcuts, hahahaha. And when I am feel really crazy I use NetBeans
Live Free
Emacs on Windows, 22 buffers open including a zip file:
63Mb according to Windows task manager.
Slightly more than Outlook, slightly less than Explorer.exe.
<cough>Half as much as Firefox</cough>
Four times as much as Word (3 documents open).
Can't decide between the complexity of emacs and the counterintuitiveness of vi? Try GNU nano! Now with built-in Unicode support!
...emulating-emacs-emulating-vi-emulating-emacs-em ulating-vi-emulating...
...but is it art?
Obviously you are unaware that Emacs can do all these things for you as well - such as the Semantic libraries for understanding your code, Speedbar for navigating your code and the fabulous JDEE environment with the beanshell backend that speeds up your Java compiling sessions.
The same is true for C/C++ development - in cases where Emacs does not provide direct lookup, I have tools like Cscope integrated into my Emacs sessions for speedy code traversal. Version control is built right into the Emacs sessions, including awareness of the current state of a file. Simple things like quick-access menus allowing you to jump directly to a function and the almost infinitely configurable "expand this thing" (hippie-expand!).
Remember - there is very little that Emacs can't do. You are limited only by your knowledge of how to expand what it provides by default.
Cheers,
Toby Haynes
Anything I post is strictly my own thoughts and doesn't necessarily have anything to do with the opinions of IBM.
Emacs shortcuts on a Sun keyboard are great. Switch to another platform where CTRL is moved and META is lost and you either remap your keyboard or develop RSI. VIM still rules though - if only because it allows you to say "Ugh, if can't manage the RAW POWER OF VIM I'll put it in easy mode for you."
If you are looking for the '.' command to repeat the last edit in Emacs... then check out dot-mode.el. It gives you Ctrl-. that does the same thing.
. html
http://www.wyrick.org/source/elisp/dot-mode/index
Accusing either of them of being slow or bloated, today, is silly. They're both tiny speed monsters compared to the bloatware everyone seems to run (Gnome, KDE, Firefox, bloody Eclipse ...)
Once you go to the dark side, forever will it dominate your destiny.
The truth is an offense, but not a sin.------R. N. Marley
My name ...is VIGOR!
(Don't get it? Try here after returning your geek ID)
Well played, sir or madam! :) If only the mods had seen fit to grace your post with more points!
It's good to know that GNU is releasing it's newest OS to compete with Vista, MacOSX and Feisty...
Really though, I was a emacs user but since using slickedit, I haven't found emacs to be quite as satifying.
I mean, I get the same key bindings and workflows as emacs but there's so much more out of the box that's usable.
The tagging support and customization helper dialogs come to mind immediately.
Also, if its a simple text file I want to edit nowadays, I use kate instead.
WYSIWYG is easier on the brain in these cases...
Cheers
Ben
I use nedit. It has all the features I need. Standard short cuts like ctrl s to save documents etc. There is no learning curve. Why spend time to learn how to use a text editor. To me learning vi, emacs, or any other text editor simply seems a complete waste of time.
It is a LISP execution environment, not an OS. Please learn something about computers before posting.
My other car is first.
Joke-----> 0 ---you
/ \
I laughed at the weak who considered themselves good because they lacked claws.
It is a Lisp environment Grub can boot to. You don't really need Linux. Oh yes, you do, but, I mean, you don't need actually more than Emacs, the GNU toolchain, *some* kernel, and bash. (Hey, wait ... Maybe The GNU Project has ended up producing a full-blown OS with tons of utilities ans useless bells'n whistles. After all.)
...
And they really need a HURD
(I should not post when THAT stoned)
Making laws based on opinions that stem up from false informations leads to witch hunts.
Isn't emacs like Islam? You convert away under pain of death.