Emacs 24.1 Released 161
First time accepted submitter JOrgePeixoto writes "Emacs 24.1 has been released. New features include a new packaging system and interface (M-x list-packages), support for displaying and editing bidirectional text, support for lexical scoping in Emacs Lisp, improvements to the Custom Themes system, unified/improved completion system in many modes and packages and support for GnuTLS (for built-in TLS/SSL encryption), GTK+ 3,
ImageMagick, SELinux, and Libxml2."
I wonder (Score:5, Funny)
whether there's still an ongoing debate about "emacs vs vi".
Re: (Score:1)
vi users have better things to do
Re:I wonder (Score:4, Funny)
But LEXICAL SCOPING isn't one of them!
Re:I wonder (Score:4, Funny)
But LEXICAL SCOPING isn't one of them!
oh bitch - I'll scratch your eyes out
Re: (Score:2)
But LEXICAL SCOPING isn't one of them!
Which is sad, they really need some sort of closure, as far as their Emacs antipathy is concerned.
Re: (Score:2)
I heard they were considering a scheme.
Re: (Score:1)
"Debate"
Re:I wonder (Score:5, Interesting)
whether there's still an ongoing debate about "emacs vs vi".
Sure. If you need to change one line in /etc/puppet/modules/apache/files/http.conf or whatever, its silly to light up emacs and make sure you had originally SSH'ed into the puppetmaster with -X for X forwarding blah blah blah. On the other hand if you're doing "serious" all day long software development, the emacs IDE remains superior to anything else out there, and far superior to vi. All you need to do is close the view of the world down to narrow little tasks and its off to the races.
I've used both, but never interchangeably, they each have their optimum "area".
Re: (Score:2, Informative)
for X forwarding blah blah blah
On the contrary, as a die-hard emacs user, I alias emacs to /usr/bin/emacs -nw when I'm not on an operating system that offers a version compiled without X support. Text editors, of all things, should respect being run in TTYs.
Re:I wonder (Score:4, Insightful)
Did you ever feel that "emacs -nw" takes a while to start? Even more than vim or gVim?
Referring to what vlm said: I don't know what emacs does or how it starts, but I guess it is doing too much of computation on things that make it an IDE (or an OS) than a simple text editor.
Re:I wonder (Score:5, Informative)
$ time emacs -nw -Q --eval "(kill-emacs)"
Re: (Score:2)
70 ms? I think you had it all, binaries and .el and .elc files, cached in memory buffers and/or you had another emacs instance running on the same box taking advantage of copy on write.
Real world on a real machine a cold start of emacs is probably closer to 7000 ms than 700 ms. Just too much "stuff" to read off the disk if nothing else.
Re: (Score:2)
Re: (Score:2)
On a few years old dual core Xeon @ 2.5 GHz, I get 60 ms like this from a fresh start (nothing cached, basic HD not SSD). By removing the "-Q" to get a more meaningful duration I was surprised to get 360 ms only on a second run. And then below 300 ms for other runs with all cached in memory. Not as fast as vi or jed for sure, but very reasonable. Of course this will d
Re: (Score:3)
7s ?!
My computer is modest, and it doesn't take all that time.
Doing "admin stuff" on a production server (emergency, whatever) means the specs don't matter, its going to be busy. If it wasn't busy, then I failed when I over-speced it, or its purpose in life is incredibly low demand by modern standards (dns server, dhcp server, etc).
To some extent, if everything was working well, I'd not be changing things on the fly, would just be changing my puppet recipe and waiting a half hour...
Re: (Score:2)
Did you ever feel that "emacs -nw" takes a while to start?
No, because emacsclient [emacswiki.org] is the greatest thing since sliced bread. Launch an Emacs server at startup and then instantly attach to it when you want to edit something.
Re: (Score:3)
No, because emacsclient [emacswiki.org] is the greatest thing since sliced bread.
No. It's the best thing since emacs. Wouldn't make any sense for it to exist before emacs.
Re:I wonder (Score:4, Insightful)
A more common issue is that Emacs just isn't installed by default on as many servers. So it's a good idea to know how to use vi to go to a line, perform a search, insert some text and save the file at the very least.
Pico (Score:4, Insightful)
Re: (Score:2)
heh - pico was always self explanatory and didn't really have anything to learn once you knew how to get to the menus. I used it a lot except for classes that forced me to use vi or emacs. At least learning vi had some use outside of vi (God how I love sed, and the search/replace syntax is basically the same). Emacs was awful on the machines I had to use - 2 minutes was a quick start for it in non-X mode, so I preferred vi. I liked XEmacs later on, but that took about 2 minutes to load on the hardware I had
Re: (Score:2)
I know just enough vi to get my favourite editor compiled & installed if I can't get a package...
Re:I wonder (Score:5, Interesting)
Heh, I almost always launch emacs with the "-nw" switch, and when I'm installing it on my own machines, I install the "-nox" flavor of the packages. I've been using Emacs since version 18 back in the 1980s, and we didn't need no fancy GUI back then, and I don't want it today neither.
You kids get off my lawn.
(Still, I do fire up vi for very small very simple editing tasks. And sometimes I try to drive both sides of the flamewar crazy by running Emacs in vi-emulation mode.)
Re: (Score:2)
Whatever, whippersnapper. I scratch ideograms into pads of soft clay.
Give the GUI a try (Score:2)
You'll want to remove the useless icon toolbar and perhaps customize the colors and size, but when you do that, it's just much, much better. For instance copy-pasting multiple lines with mouse from Emacs in a terminal window doesn't work properly.
I used to be like you when I started with Emacs back in the nineties, but things have changed.
Re: (Score:2)
If the day comes that I want to use a mouse for copy/paste operations in Emacs, I may give it a try. Today, I tend not to touch the mouse when I'm in Emacs.
Re: (Score:2)
Well, it's often been said that Emacs is a pretty good operating system, lacking only a decent editor...
Re: (Score:2)
It's not just assuming you run other programs than emacs, but further assuming you do not run those programs within emacs. Because, if you do, the normal emacs mechanisms work just fine (as they have since I developed the habit in the late 1980s).
Re: (Score:3, Informative)
Re: (Score:3)
I tend to use emacsclient for many things, so my command line sends the file to the already running emacs window.
For remote systems or those I'm unfamiliar with, I still use vi. I switch between them easily enough.
Re: (Score:1)
Re: (Score:1)
> or whatever, its silly to light up emacs and make sure you had originally
> SSH'ed into the puppetmaster with -X for X forwarding blah blah blah.
You shouldn't have to leave your text editor and start an ssh session only to get back into your text editor again on the other system, just because the file you want to edit happens to be on another computer. It shouldn't matter where the file is stored, physically. If your t
Re: (Score:2)
Emacs does that via TRAMP.
Re: (Score:1)
A real emacs user doesn't "light up emacs" to make trivial changes to configuration files - a real emacs user already has emacs running (with emacs server, of course).
Re:I wonder (Score:4, Funny)
A real emacs user doesn't "light up emacs" to make trivial changes to configuration files - a real emacs logs directly into emacs as login shell in /etc/passwd
FTFY.
Re: (Score:2, Funny)
So you don't use Emacs as replacement for /sbin/init? How quaint!
Wait (Score:2)
I didn't understand you.
Can't you simply run Emacs in text-UI mode or, better yet, run it on the client using TRAMP
to access the files on the server?
Re:I wonder (Score:5, Informative)
Please learn about daemon mode. [blogspot.com]
emacs --daemon
alias edit='/usr/bin/emacsclient -n -c -a nano'
edit somefile.txt
If you didn't previously start emacs, it will start nano. Either way, you'll have super fast editing without the need for vi. Of course, you can always use vi in place of nano - or whichever editor you prefer.
Re: (Score:2)
emacs has a far more sensible approach to interactive editing but is a big bloated pig of an editor, with it's own arcane terminology, obscure commands and maliciously obtuse configuration.
So given the choice of editor for some qu
Re:I wonder (Score:5, Funny)
whether there's still an ongoing debate about "emacs vs vi".
Nah, people realized it was silly to still be comparing a text editor to an OS.
Web browser as OS (Score:1)
Re: (Score:2)
Re:I wonder (Score:5, Funny)
My fave emacs joke:
Emacs would be a hell of an operating system if someone would just write a decent text editor for it.
Re: (Score:2)
Emacs more closely resembles a windowing system than an OS, and you can run vi just fine under it: M-X term RET RET vi foo RET
Re: (Score:3, Funny)
Re:I wonder (Score:4, Informative)
Obligatory XKCD reference:
There's an emacs command for that, ol C-x M-c M-butterfly
http://xkcd.com/378/ [xkcd.com]
Re: (Score:2)
Re: (Score:1)
No, that debate was settled back in the eighties. Everybody knows the answer except for a few total noobs like you.
However, you're not allowed to ask what the answer is. You have to figure it out for yourself. If you do ask, some people will be nice and answer correctly, but other people will try to tell you the wrong answer, as punishment for asking the question.
HTH.HAND.
Re: (Score:3, Interesting)
But with evil-mode being such an amazing vi-like environment for emacs, for me, its really hard to justify vim anymore (even though I was a big vim guy for years). And org-mode rocks.
There are some nice plugins for vim these days though, that have no easy equivalent in emacs. Syntastic, for example, just works out of the box and does a lot of advanced things that emacs requires tons of lisp twiddling to accomplish... but oh well.
Re: (Score:1)
Yep and it is sad.
Maybe back in the 90s there was a reason for the existence of either:
"Gee what if some poor programmer is stranded in India programming on a 386 where s/he can't use the much more convenient non-archaic development software".
Well, now India has as nice as computers as Americans and Europeans do.
James Gosling, the founder of EMACS ( and Java ) has even posted pieces on the web begging people to stop living in the past and move on.
There are better things now than EMACS and VI, even free as i
Re:I wonder (Score:4, Insightful)
It could indicate that the editors are very good, perform their tasks well, and the new things aren't good enough to replace either vim or emacs. Why learn a new editor just for the sake of using a new editor?
Gosling was pushing NetBeans (Score:2)
I remember Gosling pushing to get people to move to NetBeans in 2008 (surprisingly a product created by his company, Sun). I tried it. Didn't like it. It felt like it wanted to be a gui rather than an editor. So I went back to happily using Emacs. So, serious question from an old guy and lisp programmer - what do you suggest as a replacement and why?
Re: (Score:2)
I get where you are coming from. I used EMACS in college for everything when I was learning to program. After school, I have used Visual Slickedit since it has the benefits of an IDE with the features of an advanced text editor.
I've started learning Eclipse since I am a Java programmer and it seems to be a defacto standard in many Java shops.
I've been very impressed so far. My only disappointment is the loss of a few text editing features, some of which have been replaced by this extension:
http://tkilla [tkilla.ch]
Re: (Score:2)
I don't know how well Eclipse would appeal to non-Java programmers or people who do many different things
It doesn't.
Re: (Score:2)
There are better things now than EMACS and VI, even free as in beer for the cheapskates who don't want to spend money for their career.
That's like saying that there are better things now than mugs and glasses. Or like saying that potatoes are better than rice. You do realize that different things have different purpose, don't you?
Re: (Score:2)
Re: (Score:2)
s/vi/vim/g
The original vi can be matched by almost everything (the notable exception being Notepad.exe).
Re: (Score:3)
whether there's still an ongoing debate about "emacs vs vi".
No, that was preempted when WINE announced support for Notepad.exe
Re: (Score:2)
> whether there's still an ongoing debate about "emacs vs vi"
No: Xemacs won already !
LiveCD (Score:5, Funny)
Where can I download the LiveCD?
M-x tetris (Score:2, Informative)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
This is an outrage!! (Score:2, Funny)
Honestly I'm frankly quite insulted to think that there was anything emacs couldn't do. Features? We don't need any more features. How do you improve on perfection?
Actually the only thing emacs is missing is an interface more like VI.
*ducks*
Re:This is an outrage!! (Score:4, Interesting)
Actually the only thing emacs is missing is an interface more like VI.
(insert gameshow Bzzzzt)
http://emacswiki.org/emacs/VimMode [emacswiki.org]
Re: (Score:2)
*facepalm* I should have known.
Re: (Score:2)
so, now that the vi vs emacs debate is settled...it won't be long now until it renames itself to skynet and decides to take over the world.
Re: (Score:3, Insightful)
Boustrophedontic text (Score:2)
Yes, I know. Word processors which handle Hebrew and Arabic allow for changing direction, but this is associated with different languages.
Emacs' next frontiers (Score:2)
Let's get these out of the way (Score:5, Insightful)
Eight Megabytes And Constantly Swapping, it's a great OS but it needs a text editor, etc.
Seriously though, it's really excellent that such a mature project can continue to advance. Not many projects can continue to grow for 36 years
Re:Let's get these out of the way (Score:5, Funny)
Not many projects can continue to grow for 36 years
No shit. Thank the gods that RAM and HDDs have kept pace!
Re: (Score:2)
Re: (Score:3)
Well I thought it stood for Escape-Meta-Alt-Control-Shift.
Maybe I'm just too young for the Eight Megabytes one to make sense. I just can't think of 8MB as "too big to fit in RAM" - I think I've hit 8GB before with some programs.
Re: (Score:2)
I thought it was the plural of Apple's short-lived educational Mac [wikipedia.org]...
Re: (Score:2)
Eight Megabytes And Constantly Swapping
The bizarre part is that some people, who seam not to have used Emacs for years,
still claim it is slow. It _was_ slow, back when 8 Megabytes was a lot of memory.
These days it is fast.
And I say that as a guy who used to remove every unneeded byte from his
riced Gentoo box. Even though I now use Ubuntu, I still have some speed-freakery
inside.
Re: (Score:1)
I get frustrated when people who can argue about text editors can't even tell its from it's.
Re: (Score:3)
I think I'll stick to notepad++
Gedit's Windows version is also a very nice Notepad replacement.
Re: (Score:2)
oldest I see is http://ftp.gnu.org/old-gnu/emacs/emacs-18.59.tar.gz [gnu.org]
circa 1992
not sure, but I think at some point the version # jumped too. the net.ancients might remember better
Re: (Score:2)
Here’s TECO EMACS version 170 from MIT, circa the mid 1980s I think: http://pdp-10.trailing-edge.com/mit_emacs_170_teco_1220/index.html [trailing-edge.com] To use it you need a working PDP-10 (or an emulator), with an appropriate OS (ITS, TOPS-10, or Twenex), and a working TECO. Emacs was originally a bunch of Editing MACroS implemented in TECO, the world’s most difficult text editor: http://en.wikipedia.org/wiki/TECO_(text_editor) [wikipedia.org]
I don’t know if you could get TECO EMACS working in other versions of TECO, but
awesome! (Score:1)
i was looking for an alternative to the abomination that will become windows 8....
Wow! (Score:4, Funny)
Wow! Emacs now has more features than BSD!
Re: (Score:3)
Catching up to ten-year-old XEmacs features (Score:4, Funny)
Ahh, it's nice to see GNU Emacs finally bothering to catch up to these ten-year-old XEmacs features.
Re: (Score:2)
Why is this modded funny? Is it because it's too true not to be?!
Re: (Score:2)
it's nice to see GNU Emacs finally bothering to catch up to these ten-year-old XEmacs features.
I've always wondered why FSF Emacs couldn't implement a package system...
Re: (Score:3)
I like the anthropomorphized phrasing - as if Emacs itself woke on one day and said, hey, I'm going to hack my Bazaar repository and implement those features that this other not-yet-self-aware fork has had for a decade.
Note that for Emacs, a decade is just the blink of an eye.
Re: (Score:2)
Note that for Emacs, a decade is just the blink of an eye.
I've heard that Emacs Makes A Computer Slow... but I didn't know it was that slow.
In this version (Score:1)
Lame, I know. I apologise to RMS cs.
Does it do windows? (Score:1)
I hope it works in Windows 2000...
Re: (Score:2)
Which editor? (Score:3)
So I mastered this fantastic editor.
Then I was sent out to my first assignment and this fantastic editor didn't exist there, I was in serious trouble. I had to quickly learn the common editor provided by the computer manufacturer.
I learned my lesson: First become a master of the common editor that is always installed so you can quickly handle all editing tasks, especially in an emergency -- then learn whichever editor you want.
I feel sorry for the emac-and-only-emacs gurus who, when confronted with a system lacking emacs have to flounder and misuse the always-available "vi" or "vim".
No matter how fantastic your editor-of-choice is, if you get on a system without that editor, what are you going to do?
Re: (Score:2)
Re: (Score:2)
When you are a contractor working at a client's site, not only do you not necessarily have the privileges to install whatever you want, you also may not have the outside connections to download stuff. It also bad form to install whatever you want on client's machines -- and bill them the hours required to do so.
Personally, I consider it an extremely bad image to show up at a client site and then whine, "I can't work on your machine using standard tools because I don't know how to use them. I hav
Re: (Score:2)
All I was saying was learn all the standard basic tools that exist on all *nix platforms and you'll always be able to get things done. Where did I say anything bad about also learning other tools? Geez, calm down.
emacs and the vhdl-mode (Score:2)
Emacs env and Emacs Muse (Score:4, Interesting)
Speaking of which, if one is working under Emacs, rather than ash/bash/csh/...zsh as the interface to the OS, can one use other editors, be it vim, pico, nano or whatever other editor there may be under unix (I'm using the term loosely to cover linux, bsds, minix, svr4, or any other variant)
Another question - looking @ the GNU software directory, there is also an Emacs muse, which is 'an authoring and publishing environment for Emacs. It simplifies the process of writing documents and publishing them to various output formats.'. Has anybody ever tried that before? How is it, and what is the status of its development? How does it compare to similar tools from, say, Adobe? This seems to be one application that would do well under a CLI, and not need DEs to work under, and it would be a good extension of Emacs' capabilities.
Re: (Score:3)
Re: (Score:3)
Re: (Score:2)