Slashdot Mirror


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."

21 of 367 comments (clear)

  1. But... by Brian+Gordon · · Score: 4, Funny

    Does it run Linux?

    1. Re:But... by Anonymous Coward · · Score: 4, Funny

      Emacs would be the perfect operating system, if only it included a decent text editor.

  2. Congrats! by just_another_sean · · Score: 5, Insightful

    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
  3. Missed the best feature! by Just+Some+Guy · · Score: 5, Informative

    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?
    1. Re:Missed the best feature! by Brett+Buck · · Score: 4, Funny

      I don't know why someone modded this "Funny"! Well, actually, I do - because there's no tag for "Scary"

            Brett

    2. Re:Missed the best feature! by oGMo · · Score: 4, Insightful

      "Haw haw a text editor that duz stuff, we here around these parts just use NOTEPAD.EXE"

      Yawn. Tired jokes that aren't funny anymore.

      Text editing, text processing, and generally manipulating anything involving language---especially natural language---is the most complicated thing that's ever done on a computer. Yet people---even supposedly knowledgeable people---demand stupidly broken tools that lack sophisticated tools for doing a sophisticated thing. When you understand this, jokes about "ha ha your text-editor-operating-system does X" aren't funny. It makes you wonder why other text editors don't do things.

      --

      Don't think of it as a flame---it's more like an argument that does 3d6 fire damage

    3. Re:Missed the best feature! by zeromorph · · Score: 5, Informative

      They also missed to mention the full unicode support, which is quite nice.

      Anyway they could have linked to NEWS.23.1, which has a concise list of new feature.

      --
      "Hannibal's plans never work right. They just work." Amy/A-Team
    4. Re:Missed the best feature! by elasticlogic · · Score: 4, Funny

      Awesome. The post above parent says

      now all it needs is a feature that allows me to surf _pr0n_ from within emacs, and then i'd consider using it

      and then I read

      This is also called 'multitty'.

      I was 10 Mb into the Ubuntu iso download before I read the whole post and realized what he was talking about.

    5. Re:Missed the best feature! by Anonymous Coward · · Score: 5, Funny

      Text editing, text processing, and generally manipulating anything involving language---especially natural language---is the most complicated thing that's ever done on a computer.

      Yup, you're an Emacs user alright.

    6. Re:Missed the best feature! by RAMMS+EIN · · Score: 5, Funny

      No kidding. When I started using Linux, I used emacs because it was the more user-friendly editor that was mentioned in the manual (the other being vi). Then, for years, I used vi because it is ubiquitous and usually fast.

      But now I'm back to emacs. What convinced me was M-x tetris. I figured if it could do _that_, it was powerful enough for my current and future editing needs. And it is. The secret is that the people who say that Emacs is more an operating system than a text editor are right. It's a Lisp environment where anything and everything can me modified while the system is running. It has a file manager, a client for your version control system, a web browser, a tetris game, a psychoanalyst, and countless other things.

      Oh, yes, I almost forgot. There is a text editor, too.

      --
      Please correct me if I got my facts wrong.
  4. Terrorist post. by girlintraining · · Score: 4, Funny

    A lone geek runs into the middle of the forum, screaming "vi forever! Praise the hex codes!" *boom* :)

    --
    #fuckbeta #iamslashdot #dicemustdie
  5. Re:Decent text editor still not included right? by erroneus · · Score: 4, Insightful

    emacs is what happens when a project goes too far beyond its intended purpose.

    It's a frikken text editor for God's sake. If it's not a text editor any longer, and is now the beginning of its own OS, then let it be identified as such. I mean my god, the extensions this thing can have? Calendar/Planners? I like advanced text editing functions as much as the next guy... maybe some useful macros here and there... but this is just ridiculous. How long will it be before Microsoft starts seeing emacs as a threat to Windows + Office?

  6. Remember this one? by AdmiralXyz · · Score: 5, Funny

    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.
  7. Re:Decent text editor still not included right? by itsdapead · · Score: 5, Funny

    emacs is what happens when a project goes too far beyond its intended purpose.

    Why do you feel that emacs is what happens when a project goes too far beyond its intended purpose?

    --
    In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
  8. Re:Decent text editor still not included right? by the+Atomic+Rabbit · · Score: 5, Insightful

    Correct: Emacs is a text editor. And guess what: a calendar consists of text. Plans consist of text. So are emails and newsgroup contents. Source code, XML data files, patches, changelogs, directory listings, version control messages, compilation messages, are all text.

  9. I seriously doubt Alan Cox is going to upgrade by Anonymous Coward · · Score: 5, Funny

    I seriously doubt Alan Cox is going to upgrade

  10. Re:Word wrapping by the+Atomic+Rabbit · · Score: 4, Informative

    1. M-x visual-line-mode RET (or Options->Line Wrapping->Word Wrap)
    2. Live happily ever after.

  11. Re:Still useful after all these years... by Anonymous Coward · · Score: 4, Funny

    Oh I totally agree. For example, just today I was writing a program that needs to load in around 1000 sequentially-numbered images. Like any decent coder, I had typed all of the filenames into my main program loop. But then my manager called me up to let me know that the base filename of the images had changed! You can just imagine the sinking feeling I had in my stomach, knowing that I would need to retype every single filename! It would have taken me hours, if not for the macro recording functionality in Emacs. Thanks, Emacs.

    It doesn't stop there, of course. I needed a function to count how many images had been loaded in, and save that number as a string. Then my boss phones me to say that they don't want image #0003 any more. Think of all the 'if/then' statements I'd have been forced to rewrite by hand, if it wasn't for Emacs!

  12. Re:Eight megs and constantly swapping by Lord+Bitman · · Score: 4, Funny

    at least in VIM, random typing can accidentally put you in a useful mode.
    Emacs starts in some sort of.... okay, I typed "useless scratchpad thing" here, then went to see if anything had changed since last I tried it. What fun! Here goes "Attempt #4 at actually using emacs"

    $ sudo apt-get install emacs22
    $ emacs

    Oh look, I'm in a GUI this time. Hm, I expected to get a useless scratchpad thing, but it looks like instead I'm in some sort of crudely-made slapped together temporary menu that they'll replace with something more sensible in the final version.

    Oh well, there's a standard "new file" button in the corner, I'll click that.

    Alright, now the bottom of the window says "Find file: ~/"... okay, I guess that wasn't it, I'll try through the menu instead.
    File... "Visit new file"? Are you serious? Okay, fine, they're hippies, whatever.. I'll just click it.
    oh, "find file" again.. I don't want to find a file, I want a new file.

    Yeah, I get it, I'll stop playing dumb now. It's using 1970s technology or something so it needs a filename before it can edit anything. "emacs foo" opens as expected, lets me type normally and clicking the save button saves.

    Now how do I use the console?
    man emacs /console
    nope.. /terminal
    nope..

    I'll force it:
    DISPLAY= emacs

    press C-h for help.. and C-h actually works this time! Though only once.. better than last time though. May actually be usable, I'll give it credit.

    Emacs works better than it did last time I tried it. Still looks like crap, but it seems to be working, for the most part.

    --
    -- 'The' Lord and Master Bitman On High, Master Of All
  13. But that's exactly the strength of Emacs by SuperKendall · · Score: 5, Insightful

    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
    1. Re:But that's exactly the strength of Emacs by the+Atomic+Rabbit · · Score: 4, Interesting

      There's also the point by Debian's vim maintainer, who switched to Emacs earlier this year: that Emacs makes it very easy to interact with more specialized tools, such as ispell. Contrast with vim, which implemented its own spell checker. Now, let's see... which approach is more consistent with the Unix philosophy?