Emacs Hits Version 23
djcb writes "After only 2 years since the previous version, now emacs 23 (.1) is available. It brings many new features, of which the support for anti-aliased fonts on X may be the most visible. Also, there is support for starting emacs in the background, so you can pop up new emacs windows in the blink of an eye. There are many other bigger and smaller improvements, including support for D-Bus, Xembed, and viewing PDFs inside emacs. And not to forget, M-x butterfly. You can get emacs 23 from ftp.gnu.org/gnu/emacs/ or one of its mirrors; alternatively, there are binary packages available, for example from Ubuntu PPA."
Shit, these days VIM requires no less than 30 megs....
Does it run Linux?
Thanks RMS for Emacs, the GPL and the spirit of GNU that I found in 1995 and has not left me since!
Happy Hacking!
Creationist Textbook Stickers Declared Unconstitutional by CowboyNeal
The summary misses the absolute best new feature: the separation of the client and server. I have a GUI Emacs running on my workstation, always. I sshed in a few days ago, wishing I could access one of its buffers. Voila! emacsclient -nw connected to the underlying server and gave me full access, in console mode, to the running Emacs. Thank you! Thank you! Thank you!
Dewey, what part of this looks like authorities should be involved?
Best command ever.
1984 was not supposed to be an instruction manual.
Decent text editor still not included in this great operating system right?
A lone geek runs into the middle of the forum, screaming "vi forever! Praise the hex codes!" *boom* :)
#fuckbeta #iamslashdot #dicemustdie
Before anyone starts the emacs/vi wars: A primer
Well, there's spam egg sausage and spam, that's not got much spam in it.
Slightly shortened to accommodate the special event:
I asked my email-pal: "UNIX or Windoze?". He replied "UNIX". I said "Ah...me too!".
I asked my email-pal: "Linux or AIX?". He said "Linux, of course". I said "Me too".
I asked him: "Emacs or vi". He replied "Emacs". I said "Me too. Small world."
I asked him: "GNU Emacs or XEmacs?", and he said "GNU Emacs". I said "oh, me too."
I asked him, "GNU Emacs 22 or GNU Emacs 23?", and he replied "GNU Emacs 22". I said "DIE YOU OBSOLETE NO-GOOD SOCIALLY MALADJUSTED CELIBATE COMMIE FASCIST DORK!", and never emailed him again.
Dislike the Electoral College? Lobby your state to join the National Popular Vote Interstate Compact.
Call me old and grumpy but I think Emacs had enough features when they got the kitchen sink in it.
What's in a forking number anyway?
Get a fast SSD and all your apps will start in the blink of an eye without memory-hogging quickstarters. Hell, even NetBeans loads in less than a second on my X25-E.
A slashdotter who didn't build his own computer is like a Jedi who didn't build his own lightsaber.
it's a conspiracy. None of you are aware. emacs = Emulate Mac Software.
Solly, Chally. I said it, therefore it's true.
Seriously, though, happy 23rd rev, Emacs!
Sent from your iPad.
I don't use Emacs as my primary editor anymore, but I do turn to it pretty often still.
For short repetitive tasks, there's simply nothing more useful than the macro recording mode that lets you execute a combination of searches, multiple buffer stores, and cursor position storage states to easily repeat very complex tasks over a block of code.
For reading in obscure file formats, Emacs usually has an answer - with good syntax highlighting.
I look forward to this next iteration of emacs and what else it can do...
"There is more worth loving than we have strength to love." - Brian Jay Stanley
of a recent /. article entitled the amazing world of software version numbers
It starts almost instantaneously on my machine.
It is one of the only programs that works equally well in text mode and GUI mode.
It was designed to run well on a PDP-11, so it just screams on a modern machine.
Emacs was the IDE of choice before people even knew what an IDE was.
People who freak at the emacs feature set should compare it to Eclipse.
I have used emacs on ITS, TOPS-20 and Multics. I am still getting used to this Unix emacs thing, I still smile at the fact that I don't have to put up with gosling emacs any more.
Let me be the first one to say this: "Illuminatus!"
Warning: EMACS/VI Flame War Approaching... You now have: T - minus 10 seconds, to reach *minimum* safe distance...
I seriously doubt Alan Cox is going to upgrade
Hurd sounds really promising and exciting until you realize that it's been in development for 19 years and it's still not ready. Until it gets the popular support from kernel developers that Linux has, I'm afraid it will never be a viable alternative (look at me saying alternative; Linux is the alternative, not Hurd!). Better (superscalable) microprocessor implementations that support even better parallelization would make also make Hurd more attractive.
M-x version gives me "GNU Emacs 23.0.0.2 (i686-pc-linux-gnu, GTK+ Version 2.10.6) of 2007-01-18". This is a version I checked out from emacs CVS on that date, compiled with GTK support and antialiasing (at least one, possibly both of which were experimental at the time) and have been using this version ever since. I've been sticking to it because of the antialiasing, basically. Whenever I start it up it displays a warning about how it might be horribly unstable, eat my data, etc.
But I have found it to be remarkably stable - much more so than many / most final releases of software. I can probably count the crashes I've had from it on my fingers - in unary, not binary, for the benefit of any pedants out there. If the final release is at least as good as the random CVS checkout I have then it ought to be pretty good! To be fair it sounds like lots of features have been added since my checkout ...
On the basis of my experience I will consider testing CVS versions of emacs in future if they have useful features that I need. Obviously still gotta take care with that vital data when doing so, my good experiences notwithstanding!
On a side note, the emacs versioning system is amusing in itself ... IIRC they were numbering the releases 0.x and working up to 1.0 as normal. But it took so many releases that they ended up just dropping the "0." designation and calling it "x" instead. Which is why emacs is at version 23 where vim (on my machine) is only at 7.2 and nano at 2.0.9 ;-)
/waves hand "The previous post was on topic."
Sent from your iPad.
is a feature that allows me to surf _pr0n_ from within emacs, and then i'd consider using it
oh wait, those guys think of everything!
How about adding word wrapping when displaying? My local emacs expert wasn't even able to do that, but MS Notepad can do it. It's really useful for editing latex documents where your want a paragraph on a single line (that makes it much easier to search for phrases).
WTF? Joe's Own Editor? I keep typing "e" but a previous sysadmin wants me to type "j". ARRRGGHH!!!
Does the feature list include "Shortcuts that make sense to humans who never used the 30-year old keyboards that were around when RMS was hacking on TEX"?
Until I stop seeing Emacs primers that start with advice to start remapping my keyboard, I'll pass.
With a charismatic figure like Stallman behind it, I can't imagine what might be holding it back.
a gui command shell for manipulating data into pipes/handlers to scripts, no different than at a text console prompt but as a GUI with more powerful control functions like as Labview.
Anyone willing to name that software IBM created to do just that, and included way back when SuSE was in version 7 Professional?
With fine RPM-based distributions on the market (SuSE, CentOS, etc), Do you realy want to install A Debian?
Apple should take over dev of it. We could all be using iHurd
The image libraries for jpeg and tiff are not by default in OS X 10.5.7. You have to pass the configure flags --with-gif=no --with-jpeg=no to get it to compile.
Aeroespacio.org
Can I copy/paste successfully/reliably without trying to use some kludgy third party libraries?
Emacs is merely a TECO macro.
Given enough random characters and memory space, TECO can simulate the human brain.
--
BMO
On a side note, the emacs versioning system is amusing in itself ... IIRC they were numbering the releases 0.x and working up to 1.0 as normal. But it took so many releases that they ended up just dropping the "0." designation and calling it "x" instead. Which is why emacs is at version 23 where vim (on my machine) is only at 7.2 and nano at 2.0.9 ;-)
Wait, what you're saying is....that Emacs hasn't even hit 1.0 yet? This is actually emacs 0.23? *looks scared*
My blog
Because (at least in Debian Lenny) I am still using 21 because 22 hasn't been working out so well.
Lots of problems, eg find-grep-dired not finding any results at all.
I uninstalled 22 and installed 21 instead, now my find-grep-dired is working again...
In the free world the media isn't government run; the government is media run.
Taking the time to write that out was the best usage of your time ever.
Also, there is support for starting emacs in the background, so you can pop up new emacs windows in the blink of an eye.
It will be a sad day indeed when I have to run my text editor in the background just so it will start up in a reasonable amount of time.
Fortunately, I use Vim, so that day is further off.
This author takes full ownership and responsibility for the unpopular opinions outlined above.
They might want to choose another image---the command entry area in the image of emacs on the linked page has an error in it: "(s-print) is undefined".
Not counting his friendly samurai sword, obviously.
emacs is an IDE
If you want a text editor, use nano
Vim is the hammer - it does one job really well. Emacs is more like a leatherman tool. Leatherman tool cultists have several approaches to making the leatherman function as a hammer. The first is to just place the leatherman over a nail and bash it with a rock. Problem solved! Other more advanced leatherman tool afficianados have started duct taping the leatherman to a hammer in attempting to make it more palatable to hammer users, expressing that this is the leatherman's "hammer mode". "You get all the power of the leatherman, and it "comes with" a hammer! Ha ha! See? Why are you running away from me? Come back!"
If I have seen further it is by stealing the Intellectual Property of giants.
So now I have enough to run Emacs.
If my call is important, why am I talking to a recording?
look for yourself!
oblig xkcd reference
Remap your brain.
Emacs 23 rules! :)
Aquamacs has a preview version based on 23, probably shortly to become a final...
They generally have a little nicer system integration than the stock emacs.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
That's incorrect. A quick Wikipedia search will show that this is in fact Emacs 1.23 .
They dropped the 1. because it became clear that they wouldn't be introducing anything that would cause sufficient trouble to merit a 2.0 release (being that the major version number connotes a lack of backwards compatability.)
I use the Emacs-snapshot package from the repositories, which is built from the trunk every week. It is the most stable GUI program I have ever used.
I wish they would stop using CVS and start using Mercurial or something other reasonably decent DVCS so I felt like I could contribute maybe.
Need a Python, C++, Unix, Linux develop
Emacs23 isn't on the Ubuntu PPA archive yet, only emacs22, published last year.
Slashdot flamewars are not what they used to be.. Sept 11 simply changed everything..
Semi-literate stories, completely ignorant comments
Emacs isn't a text editor, it's an OS.
General Relativity: Space-time tells matter where to go; Matter tells space-time what shape to be.
I herd u liek Emacs. So I put an Emacs in yr Emacs so u can edit while u Tetris.
Ah Ha McTouché!
I see you still don't remember the Zippy program in EMACS. Seeing you have knee-jerk responses, are over the 1.2 million Slashdot account number, you must be new here to GNU studies.
Taking the time to respond to my Godly postwas was the greatest use of your time.
M-x firehose :)
Ooops, I stand corrected, thanks. I was dredging that up from somewhere in my longterm memory - I probably actually got it from the Wikipedia article but my memory had apparently got corrupted in the years since ;-)
Totally serious question: do you guys really use emacs (or even vi, etc) to write code rather than a modern Studio/IDE?
I wouldn't even think of doing so, but I am willing to accept that I'm missing something.
I know of no "Zippy program"...I know of "M-x psychoanalyze-pinhead" wherein Zippy is the patient, not the psychologist, and I know it sounded nothing like your unfunny post.
I'm not going to respond to your prejudice against when I finally bothered to stop being an anonymous coward.
And I fully realize I'm being retarded in bothering to respond...Damnable trollbait.
Emacs is now tied with Print Shop 23 for the highest version ever.
I use the Zenitani Carbon Emacs port on OS X, and I noticed a while back that the Carbon wrapper for OS X had been removed. Can anyone describe the differences in Emacs 23? The NEWS file says: "The Nextstep port is not as stable as the other existing ports."
Apple's special "youth empowerment" team is working on iHurd now. From now on, it's going to be known as iHurdYouTheFirstTime.
I believe they're intending to move to Bazaar, since that's apparently (whether potentially or actually I am not sure) going to become a GNU project as some point in the future.
My favourite choice for them would have been Mercurial but bzr supports distributed operation and also lightweight, current revision-style checkouts, so it's quite a nice system too.
my favorite!
*plays the Apogee theme song music*
emacs = Emulate Mac Software.
Uh... in that case, all I can say to the Emacs team is "Yer doin it wrong!"
The enemies of Democracy are
People still use this? lol Do you guys still use EDLIN as well?
An application should do one thing and do it well, not do a gazillion things in a mediocre way
That is exactly what Emacs is.
It's not one giant monolithic thing, at all.
Just like UNIX it's a core in which you can write very specific modules to address some aspect of editing. Perhaps it's formatting C style code. Perhaps it's a variant built around C++ or objective-C in particular. Perhaps it's a bit of logic to sort some parts of a file based on criteria in the file - or by running a shell command.
Each of these pieces can be tied to any particular file type, or called on at will. You can easily write your own, in elisp (basically a LISP variant). All of the standard behavior is also written in elisp, so you can modify or extend it as desired (most things have many points in which you can insert behavior hooks)
Never has a program more dearly held to the concepts you espouse, and it's actually the core of why I think people who prefer emacs over VI do so.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Bazaar is as nice as Mercurial in many respects. I find the command set to be a little less nice than Mercurial's and though I haven't seen any recent benchmarks in the past it's been a lot slower.
Need a Python, C++, Unix, Linux develop
Did they fix that bug with the bad EAGAIN handling?
I've had enough abrasive sigs. Kittens are cute and fuzzy.
Apparently my explanation of versioning wasn't correct - that's not how it happened although my explanation does preserve much of the craziness of the real events ;-)
Read (and up-mod, if you can) this guys post, he has the story straight:
http://slashdot.org/comments.pl?sid=1320833&cid=28888279
it's the best and will hopefully stay the best. or do you know some program which allows me to connect to my mpd server while compiling 20000 lines of C code, debugging a perl script, executing shit on an interactive shell, reading my mail and programming cool stuff in guile and clisp? and even if there is something which can do all this and thousand things more: will it start up in 2 seconds flat in text mode ???? emacs is not just an "IDE" it's a way of life like zen buddhism or cynic philosophy. *sigh* ...nevermind!
I never realized in the ageless war between Emacs and VI, that we even had high level defectors... :-)
"There is more worth loving than we have strength to love." - Brian Jay Stanley
Very amusing. But I'm not talking about simple things like that.
Let's look at a real example, that I was just doing today - you start with the following kind of code:
- (double) averageRating
{ return [self.averageRatingDD boolValue]; }
- (void) setAverageRating:(double)averageRating
{ self.averageRatingDD = [NSNumber numberWithDouble:averageRating]; }
- (int) reviewPages
{ return [self.reviewPagesII intValue]; }
- (void) setReviewPages:(int)reviewPages
{ self.reviewPagesII = [NSNumber numberWithInt:reviewPages]; }
- (BOOL) hasLoaded
{ return [self.hasLoadedBB boolValue]; }
- (void) setHasLoaded:(BOOL)hasLoaded
{ self.hasLoadedBB = [NSNumber numberWithBool:hasLoaded]; }
and you want to generate the following kinds of lines from it, keeping type and variable names into account:
@property (nonatomic) double averageRating;
@property (nonatomic) int reviewPages;
@property (nonatomic) BOOL hasLoaded;
I had about twelve sets of these things.
With just a few keystrokes more than "@property (nonatomic)", I had a macro that would let me go through each section, and automatically generate the @property line with the correct type and name.
Now I could write an awk script to do this, but it's not something I really needed to do more than this one time. Or I could manually copy and paste a bunch of text. Or I could even just type it in. But that's all slower than doing what I did. A small savings, but writing code you are endlessly coming up with small savings like this if you have an editor to help you.
Other editors support "macros" as well, but mostly those turn out to be text block insertion (sometimes with parameters), not really reacting dynamically to stuff you already have in code or offering the true ability to record absolutely everything you are doing (like switching files and searching for other things). Emacs macros as so far ahead of any other text editor macro ability, that it's not even funny...
VI actually has a similar macro recording feature, but it's not as useful in the end just because emacs has so many more things the editor understands and records as part of the macro.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
What is it u Hurd?
I want to hur it, too.
ViM only needs 7 versions to get it right. Emacs is at 23?
That's not really too much to hope for in another 37 releases, is it? Seriously... I used to call WordPerfect 4.2 the Control-Alt-Shift-Left Elbow-Q software for its obscure key combinations. I take back everything I ever said about WP; after more than ten years of intermittent usage, I can't sit here and actually recall any keystroke combinations for Emacs. This tells me that, if there is a sweet spot for software usability, then Emacs inhabits the single point in the omniverse which is most distant from that spot. Geekiness was kind of fun 30 years ago when I was a teenager; I've better things to do with my time now - and so do you.
Then I've taught you somthing, and that's to be less like your former self after meeting me to be your exhonerated teacher.
Your prejudice towards the indignity of assuming that I'm prejudice, aside, you may be less the burden this moment forward to be un-retarded, and if you relapse then you may pick-up any phone in your proximity and talk to the dial-tone for free Slashdot advice from the madam of the hour.
I wish emacs would not put stuff in /usr/local/share. I just deleted the contents of /usr/local on my debian box via a script that puts my custom stuff there since I assumed it wouldn't break anything and now emacs complains it's gone. Boo.
There I vented my gripe.
...
Parent did not read the article before posting.
Reading the Emacs news file says what the feature is there for.
Emacs 23 starts really fast in in my computer (with a cheap 80 GB HD).
FWIW, I am a speed freak, using lightweight applications such as
LXDE, claws-mail and emacs.
DISABLED ACCOUNT
no text here
On a side note, the emacs versioning system is amusing in itself ... IIRC they were numbering the releases 0.x and working up to 1.0 as normal. But it took so many releases that they ended up just dropping the "0." designation and calling it "x" instead. Which is why emacs is at version 23 where vim (on my machine) is only at 7.2 and nano at 2.0.9 ;-)
Actually, I'm pretty sure it went from 1.6 to 17.
... until Emacs becomes self aware.
I started using Emacs about 3 years ago, away from my workstation, doing web developement on my trusty old G4 iBook. Eclipse was running for PHP stuff, Mamp was running in the background, jEdit (my favorite editor) was running to edit ActionScript and Flash MX 2k4 Pro was running to compile Flash/SWF and do some vector images I needed for the project. The system was totally bogged down and I pondered the thought of buying TextMate once again. Since I do Linux, OS X and Windows and also do a lot of CLI work, I eventually dismissed the TextMate option and went for the editor I've been wishing to learn since 1997.
Using Emacs is a huge pain. Basically everything you know about common user access standard is completly obsolete - Emacs is from before such things even existed. You have to actually proactively learn and practice(!!) the equivalents to select, copy and paste in order for them to be usable in everyday work. Getting emacs extensions to run and finding the correct place to put them is a science in itself, since the options for that are countless. Using anything but the most trivial things instantly requires a lookup in reference cards and often even the manual and switching from jEdit or something else to Emacs cold turkey will have your productivity plummet to unseen depths and your frustration skyrocket for months to come. Which is why I avoid that, and only expect to be fluent in Emacs and ELisp (the native Emacs PL) after another few years of usage.
Having said all that I have to say that attemting to move to Emacs as your primary tool for all IT related work has its very solid appeals. Which is why I've allways had Emacs on the radar. Only the work and effort it takes to switch kept me away from it for way more than a decade.
1) Nowadays Emacs runs *EVERYWHERE*, contrary to TextMate, which is closed source, only runs on OS X and requires scripting as much as Emacs does. No matter how obscure the OS, no matter how limited the enviroment, Emacs will run. If it runs with electricity, it will run Emacs.
2) It's basically an Operating System in itself. ELisp - an ancient scripting language - is the foundation to Emacs and you can script *EVERYTHING*.
3) Emacs is actually native to the CLI. There is nothing worth mentioning that an Emacs shoehorned into a GUI (aka XEmacs) has as benefit over the regular CLI Emacs, appart from maybe easyer installation on Windows or something like that.
4) Emacs is very powerfull. It supports seperated Windows on the CLI and there are a huge amount of scripts. There is a very neat PHP mode, still actively maintained and available on sourceforge and there's a lot of other neat stuff out there too.
5) Emacs was a massive performance hog ... 25 years ago. Which means it's lightning fast by todays standards. It's very small and an entire custom Emacs work enviroment for every OS you can think of easyly fits on todays smallest USB-drive keychains.
6) Since it runs in the CLI, using it via a remote terminal makes no difference.
7) It is still actively maintained with regular releases (sic).
8) The input device it the Keyboard, and nothing else. Mouse support with xEmacs basically is a hack and feels very tacky and many occasions. For an editor you eventually expect to use everywhere, that is an advantage.
The 'Learn Linux' benefit of learing once, use until the day you die applies just as well to Emacs. That learning however is a walk through hell. I expect it to start paying off anytime soon.
Bottom line: Emacs is the oldest non-trivial end-user application in existance, and it shows in every respect. However, if you are an IT pro and expect to be working in the field for the rest of your worklife, in many heterogenous enviroments, learning Emacs (and Elisp) is a challange worth attempting. It is work, but with a very usefull result.
My 2 cents.
We suffer more in our imagination than in reality. - Seneca
When I tried emacs it seemed like, well, a girl with fat ankles. Know what I mean?
What?
Maybe you (Slashdot admins) should make a new category called "Free software" (or if you must, "Open Source") alongside, or better yet, replacing "Linux". All free software news are apparently not suitable for "Linux", and if someone is subscribed to Linux only (as I was), he or she is not getting all the news he'd/she'd want.
The build seems to work well except for a few key differences with earlier Emacs versions.
Compiling a Carbon version for OS X from the
First off, the Global Menu items are no longer in the OSX Menu Bar. It just makes the newer Cocoa version look sloppy and unfinished compared to the Carbon version. The second, and far more annoying difference, is the reservation of the Command-key for OS X-style functions. Command-N (new window), Command-W (close window), Command-C (copy) now all work just like on the Mac. But the infinitely more useful Emacs Meta-key functionality is now relegated to the Alt/Option key.
Whoops. A little bit of reading and testing lead me to come up with this bit of code for my
(when (and (eq 'darwin system-type) (eq 23 emacs-major-version)) (setq ns-alternate-modifier 'super) (setq ns-command-modifier 'meta))
This solves the Emacs Meta-key functionality problem. Looks like I'm moving to the newest version of Emacs today!
Yeah, I like this little section from the Wikipedia entry:
the good ground has been paved over by suicidal maniacs
That's easily done, you know, also in vi.
Yes I've used VI's macro creation feature extensively.
But because VI simply does not have as many functions dealing with text, it simply is not as powerful in this regard. And what if you need to write a custom text alteration method for use in a maco? That's a few lines of code in Emacs, and impossible in VI.
"There is more worth loving than we have strength to love." - Brian Jay Stanley
... install emacs w3m mode.
Browser with pictures inside emacs
Because of the daemon feature being added in this release, I was more surprised than I otherwise would have been: when I finally managed to compile emacs 23 for Solaris 10, it started much faster than 22.1. It really is almost instantaneous now even though I do have plenty of customization going on.
Is it sentient yet?
---- Booth was a patriot ----