Slashdot Mirror


GNU Emacs 24.4 Released Today

New submitter Shade writes Well over one and a half years in the works, the latest and greatest release of GNU Emacs was made officially available today. Highlights of this release include a built-in web browser, improved multi-monitor and fullscreen support, "electric" indentation enabled by default, support for saving and restoring the state of frames and windows, pixel-based resizing for frames and windows, support for digitally signed ELisp packages, support for menus in text terminals, and much more. Read the official announcement and the full list of changes for more information.

156 comments

  1. Sounds nice by NoNonAlphaCharsHere · · Score: 5, Funny

    Now if it only included a text editor.

    1. Re:Sounds nice by xaosflux · · Score: 5, Funny

      Ahh, first post, I bet you prepped this offline in vi for super-speedy readiness.

    2. Re:Sounds nice by cold+fjord · · Score: 4, Funny

      What do you mean? Emacs can emulate vi.

      --
      much of left-wing thought is a kind of playing with fire by people who don't even know that fire is hot - George Orwell
    3. Re:Sounds nice by Anonymous Coward · · Score: 4, Funny

      Or a systemd dependancy.

    4. Re:Sounds nice by Anonymous Coward · · Score: 1

      But does it run Linux?

    5. Re:Sounds nice by ZipK · · Score: 2

      vi is too slow, with all that fancy screen movement. He used ed.

    6. Re:Sounds nice by Anonymous Coward · · Score: 0

      So that's what the NSA uses internally these days? Good to know RMS fucked us all over.

    7. Re:Sounds nice by __aaltlg1547 · · Score: 2, Funny

      What do you mean? Emacs can emulate vi.

      That's the best way to use it.

    8. Re:Sounds nice by ls671 · · Score: 4, Funny

      Only Linux versions using systemd are supported for now.

      --
      Everything I write is lies, read between the lines.
    9. Re:Sounds nice by Anonymous Coward · · Score: 0

      What do you mean? Emacs can emulate vi.

      Eventually.

    10. Re:Sounds nice by the_povinator · · Score: 1

      The only important feature emacs lacks in my opinion, is the ability to run emacs within a sub-window of emacs.

      --
      The .sig is dead, and I believe I had a hand in killing it.
    11. Re:Sounds nice by Darinbob · · Score: 1

      Emacs can emulate vi which is emulating emacs.

    12. Re:Sounds nice by davydagger · · Score: 1

      it does now

      https://www.gnu.org/software/emacs/manual/html_mono/viper.html

    13. Re: Sounds nice by Anonymous Coward · · Score: 0

      Ahem, that's Gnu/Linux.

    14. Re: Sounds nice by Anonymous Coward · · Score: 1

      so, emacs can't read it's own log files directly yet? I think we need vimacs.

    15. Re:Sounds nice by Anonymous Coward · · Score: 0

      Actually that's quite easy to do - run "M-x ansi-term" to get to a shell and then run emacs inside it :)

    16. Re:Sounds nice by cold+fjord · · Score: 1

      Imagine a Beowulf mode cluster of Emacs....

      --
      much of left-wing thought is a kind of playing with fire by people who don't even know that fire is hot - George Orwell
    17. Re:Sounds nice by Anonymous Coward · · Score: 0

      Been coding since 1980. This thread is like an enclave for hesitant time travelers.

    18. Re:Sounds nice by Phillip2 · · Score: 1

      I do that often, as it happens. I often test my lisp in batch, so I run emacs inside a compilation window. I also use Emacs in batch for some builds of things other than Emacs software. For this, I run make which runs emacs inside a compilation window.

      There is a widgetized branch of Emacs which lets you use Emacs as a widget and lets you put widgets into Emacs, so you could probably do it graphically if you really wanted.

    19. Re:Sounds nice by Anonymous Coward · · Score: 0

      The real question is, does it run on Hurd?

    20. Re:Sounds nice by Anonymous Coward · · Score: 0

      Currently Debian HURD has 24.3.1, Emacs 23 didn't build but 24 works fine.

    21. Re:Sounds nice by marcello_dl · · Score: 1

      Why should emacs depend on systemd when it can reimplement it?

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    22. Re:Sounds nice by Barsteward · · Score: 1

      i wonder how the systemd detractors who continuely argue its not the Unix way of doing one thing etc, react to this Emacs?

      --
      "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
    23. Re:Sounds nice by marcello_dl · · Score: 2

      They won't react badly unless emacs gets pulled as a dependency and renames network interfaces. Which it won't do because it is not cancer.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    24. Re:Sounds nice by Anonymous Coward · · Score: 0

      We do not react, we just flee away.

      And then we fall into the kitchen sink. End of story.

    25. Re:Sounds nice by Barsteward · · Score: 0

      but but but but it does more than one thing, its not the Unix Way ......

      --
      "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
    26. Re:Sounds nice by Barsteward · · Score: 1

      now thats the way, voting with your feet (keyboard)

      --
      "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
    27. Re:Sounds nice by Anonymous Coward · · Score: 0

      Eventually, all linux systems will only have three pieces of code: linux kernel, systemd and emacs.

    28. Re:Sounds nice by Anonymous Coward · · Score: 1

      Emacs does one thing well
      after all, it is a shell.-

    29. Re:Sounds nice by amck · · Score: 1

      Emacs works fine as pid1, as long as you don't expect X.

      (In practice I've done this with a startup sh script as init=/bin/do_emacs.sh that set up stuff and ended as
      "exec emacs" but still. An old underpowered laptop as file editor, with tramp mode for remote editing, no problem.

      --
      Anyone who believes exponential growth can go on forever in a finite world is either a madman or an economist
    30. Re:Sounds nice by the_povinator · · Score: 1

      Oh. I use text mode emacs normally and tty settings disallow it.

      --
      The .sig is dead, and I believe I had a hand in killing it.
    31. Re:Sounds nice by Anonymous Coward · · Score: 0

      There is no need for systemd, though, and it will hopefully soon be possible to run emacs on bare metal.

    32. Re:Sounds nice by tqk · · Score: 2

      but but but but it does more than one thing, its not the Unix Way ...

      That's what you guys have always misunderstood about emacs. It's really an operating system that merely looks like an editor.

      --
      "Tongue tied and twisted, just an Earth bound misfit ..." -- Pink Floyd.
    33. Re:Sounds nice by jnana · · Score: 1

      If the web browser supports Javascript, then you may be able to run Linux inside the browser using something like jslinux, so you could compile an Emacs to run inside the web browser inside your Emacs.

    34. Re:Sounds nice by Barsteward · · Score: 1

      "editor and web browser" == shell? quick, someone needs to set up a forkemacs.com

      --
      "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
    35. Re:Sounds nice by Barsteward · · Score: 1

      so is it doing more than one thing? its monolithic. it does web browsing, editting :)

      --
      "The hands that help are better far than lips that pray." - Robert Ingersoll (1833-1899)
    36. Re:Sounds nice by marcello_dl · · Score: 1

      Emacs is neatly packaged so you can install only the things you like, just as debian does for python, ruby, and lots other environments (emacs is more like them than a mere editor).

      Because, I repeat, it is not cancer.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
  2. Start your engines! by nawcom · · Score: 1

    Let the flame war commence!

    1. Re:Start your engines! by turkeydance · · Score: 1

      our GNU Emacs car ran good in qualifying today. i'd like to thank the boys in the shop who worked for over a year to get the pixel-based resizing just right.

    2. Re:Start your engines! by Anonymous Coward · · Score: 0

      Real programmers:

      http://xkcd.com/378/

      LOL, C-x M-c M-butterfly

  3. Tried emacs years ago by Anonymous Coward · · Score: 0

    Maybe it was my dvorak keyboard, but found it impossible to learn. Always wanted to have those mythic productivity benefits for myself too.

  4. But does it run Linux? by Anonymous Coward · · Score: 0

    ????

  5. Emacs OS by ThePhilips · · Score: 4, Funny

    Emacs OS - I know it is missing a text editor - but does it support systemd?

    --
    All hope abandon ye who enter here.
    1. Re:Emacs OS by tjb6 · · Score: 1

      Includes everything, including the kitchen sink :-)
      First editor I ever really liked, and my standard for longer than I care to think now.

      It is perilously close to an operating system - in stark contrast to the usual unix philosophy of small tools to do single jobs well.
      Aaahh!, I see the cunning plan. By using all of those small tools, emacs can do everything for you without ever needing to see the shell again!

      Fiendishly cunning, those GNU people!

    2. Re:Emacs OS by ThePhilips · · Score: 1

      But systemd is written in C. I gather we would have to start by implementing C in elisp.

      --
      All hope abandon ye who enter here.
    3. Re:Emacs OS by ThePhilips · · Score: 5, Informative

      It is perilously close to an operating system - in stark contrast to the usual unix philosophy of small tools to do single jobs well.

      GNU is not Unix. :)

      Emacs is not based on the UNIX.

      It is based on the lisp machines.

      The lisp machine have died, but Emacs still lives on.

      --
      All hope abandon ye who enter here.
    4. Re:Emacs OS by Greyfox · · Score: 2

      Did you try meta-x systemd?

      --

      I'm trying to teach myself to set people on fire with my mind... Is it hot in here?

    5. Re: Emacs OS by Anonymous Coward · · Score: 0

      Actually, systemd is a dependency.

    6. Re:Emacs OS by Aighearach · · Score: 1

      But systemd is written in C. I gather we would have to start by implementing C in elisp.

      emacs is written in C, too.

    7. Re:Emacs OS by budgenator · · Score: 1

      But systemd is written in C. I gather we would have to start by implementing C in elisp.

      Not really just moving the lisp interperter to /bin and it should work, and from what I'm hearing it should add much to systemd's runtime size or slow it down much. A recursive run level manager, sounds like tons of fun!

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
    8. Re:Emacs OS by Anonymous Coward · · Score: 1

      C-x M-c A-systemd (it's 2 lines of lisp).

    9. Re:Emacs OS by unixisc · · Score: 1

      Actually, it sounds more like the complete system to put on top of HURD, once that project has a stable microkernel. How's that going, btw?

      The web browser that Emacs now includes - is it linq, or is it epiphany/GNOME web? Or is it Stallman's wet dream of an offline browser that one can't use while online for one's own good & protection from Snowden's NSA?

    10. Re:Emacs OS by tjb6 · · Score: 1

      It might not be based on unix, but it is strongly supported by tools from unix, and does it's best to provide you access to most unix tools in some form.

      I certainly first encountered it on unix platform of some kind, and it is (in my mind) strongly associated with various unix descendants, derivatives, and other hangers on. Including the unix toolset supported by linux.

    11. Re:Emacs OS by Anonymous Coward · · Score: 0

      And it comes with all the Unix/C style exploits. Nice how they meta-pwned the computer industry.

    12. Re:Emacs OS by Anonymous Coward · · Score: 0

      "they" being JCS, NSA, Bell Labs, AT&T - all branches of USG.

    13. Re:Emacs OS by Anonymous Coward · · Score: 0

      They're currently reimplementing it in elisp.

    14. Re:Emacs OS by aaaaaaargh! · · Score: 1

      It would be more fun to first implement C in Elisp and then let the C interpeter run systemd.

  6. RMS must be very proud of the Linux Emacs editor by sideslash · · Score: 0, Flamebait

    RMS must be very proud of the progress the Linux Emacs editor has made over the years. And though he would try to deny it, I'm sure credits like this give him warm, fuzzy feelings. Thanks for Linux Emacs, RMS! ;p

  7. Emacs OS by Anonymous Coward · · Score: 0

    As it's Turing complete I'm sure there's nothing stopping you implementing systemd in elisp ;)

  8. The UNIX way by Anonymous Coward · · Score: 0

    I wonder how many emacs fanboys whine about systemd for not adhering to UNIX ways.

  9. Bring back 19.34b by freelunch · · Score: 1

    emacs releases have been on a downward arc since 19.34b. Unfortunately that version won't build on any recent versions of Linux.
    I said this on /. back in 2008, and things have not improved.
    The problems are a mix of bloat and changes to the default behaviors.

    1. Re:Bring back 19.34b by Anonymous Coward · · Score: 0

      TANSTAAFL. Therefore, you do not exist, Mr. freelunch, and your concerns will not be noted.

      Please bloat elsewhere. Thank you and so long for all the default behavior.

    2. Re:Bring back 19.34b by Anonymous Coward · · Score: 0

      How hard can it possibly be to make 19.34b compile on a modern system?

      It sounds trivial to me, but I'm sure you would have to hunt down the occasional
      library that used to be around.

    3. Re:Bring back 19.34b by 19thNervousBreakdown · · Score: 1

      Yes, how hard can it possibly be to get millions of lines of code written over a span of decades by thousands of authors to interoperate close enough to flawlessly to parse some simple text in hundreds of grammars through the use of a couple dozen basic operations executed billions of times a second? Geez.

      Whenever a computer problem arises, the first thing to remember is that it's not strange that it doesn't work.

      --
      <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
    4. Re:Bring back 19.34b by ConceptJunkie · · Score: 1

      That happens to me when fixing bugs in a particularly old piece of code (usually the stuff done by overseas consultants... friends don't let friends outsource programming)... once getting the thing fixed, I often fail to understand how it could have ever worked in the first place.

      --
      You are in a maze of twisty little passages, all alike.
    5. Re:Bring back 19.34b by Anonymous Coward · · Score: 0

      I said this on /. back in 2008, and things have not improved.

      Wow. Do you want a cookie?

  10. Better EMACS 24.4 download link by gregben · · Score: 2

    The mirrors don't all have the latest version yet, so you can download here:

    http://ftp.gnu.org/gnu/emacs/e...

  11. THIS JUST IN... by arfonrg · · Score: 0

    vi is still better.

    --
    Your thin skin doesn't make me a troll
    1. Re:THIS JUST IN... by Anonymous Coward · · Score: 0

      We all know Nano is the One True Editor. BOTH your warring camps are heretics...

    2. Re:THIS JUST IN... by Anonymous Coward · · Score: 0

      Heathen! Your editor is far too bloated. Use pico instead!

    3. Re:THIS JUST IN... by ls671 · · Score: 2, Interesting

      joe - Joe's Own Editor

      Description
                    JOE is a powerful ASCII-text screen editor. It has a "mode-less" user interface which is similar to
                    many user-friendly PC editors. Users of Micro-Pro's WordStar or Borland's "Turbo" languages will
                    feel at home. JOE is a full featured UNIX screen-editor though, and has many features for editing
                    programs and text.

                    JOE also emulates several other editors. JSTAR is a close imitation of WordStar with many "JOE"
                    extensions. JPICO is a close imitation of the Pine mailing system's PICO editor, but with many
                    extensions and improvements. JMACS is a GNU-EMACS imitation. RJOE is a restricted version of JOE,
                    which allows you to edit only the files specified on the command line.

                    Although JOE is actually five different editors, it still requires only one executable, but one with
                    five different names. The name of the editor with an "rc" appended gives the name of JOE's initial-
                    ization file, which determines the personality of the editor.

                    JOE is free software; you can distribute it and/or modify it under the terms of the GNU General Pub-
                    lic License as published by the Free Software Foundation. I have no plans for turning JOE into a
                    commercial or share-ware product. JOE is available over the Internet from www.source-
                    forge.net/projects/joe-editor.

      --
      Everything I write is lies, read between the lines.
    4. Re:THIS JUST IN... by ortholattice · · Score: 1

      vi is still better.

      Everyone knows that Ed is the standard text editor.

  12. New Web Browser by Etherwalk · · Score: 1

    Now if it only included a text editor.

    You can run it in the new "built-in web browser." They must have refactored Firefox to Emacs Lisp. Firefox can run java when you bundle it with the jre, and there are lots of text editors in java. So you're golden.

  13. Huzzah by mrflash818 · · Score: 1

    Emacs is still my favorite programming editor.

    Looking forward to using this latest version.

    --
    Uh, Linux geek since 1999.
  14. Changelog: - implementation of systemd by Anonymous Coward · · Score: 0

    ... Emacs now depends on hardwired systemd because of Emacs now runs as PID 1

  15. systemd envy? by Anonymous Coward · · Score: 0

    systemd put in a webserver so now

    include a built-in web browser

  16. At least Emacs can open files over 2 MB in size. by Anonymous Coward · · Score: 3, Informative

    There are some JavaScripters at work, and lately they've been going all gaga over some text editor called Atom. They were telling the rest of us (we mostly use Vim and Emacs) about how great Atom is because it's developed by GitHub, and because it's developed as an HTML and JavaScript web app embedded in a standalone dedicated Chrome process, or something like that.

    These guys tend to be wrong about most everything, but I figured that I should at least try Atom out on my own before making any judgement. Jesus Christ, what a laughably horrible experience it was!

    I couldn't even find an official build for Linux. So I had to go borrow somebody's OS X laptop. You're not off to a good start, Atom!

    Then I saw the size of the installer: over 60 MB! I couldn't fucking believe it! Why does does a basic text editor require an installation package that's over 60 MB?!

    Well, I downloaded and installed it. I started it up, and it was, well, a pretty bare-bones text editor. The first thing I do with any text editor is to check out its preferences. Fuck me, Atom has what has got to be the worst preferences/configuration support I've ever seen in an GUI app. I thought Chrome's settings sucked ass. Atom manages to make it even worse! It's the worst of GUI configuration, with the worst of text file config.

    Ignoring those problems, I decided to open up some files. Small files were rather slow to load. I thought that maybe it was just the computer, but nope, the same files loaded instantaneously in Emacs, Vim, and Nano. In Atom, I'd sit there waiting for them to finally open. Then it would take even longer before any syntax highlighting was finally applied.

    Then I hit the most idiotic part of the whole experience when I went to open a 5 MB file. This file opens just fine in Vim, Emacs, Nano, and every other text editor I've ever tried. Atom? Nope! It said it couldn't open files greater than 2 MB! I'm not even kidding! Fucking unbelievable.

    I just don't get these JavaScript guys. Their choice of programming language sucks. It's pure shit. They use git, which is supposedly a distributed VCS, but then they all totally centralize on GitHub! Then they think that Atom is a good text editor, when it can't even open a goddamn file that's larger than 2 MB! These JavaScript guys must be mentally deficient in some way. I don't want to call them retards, because I've never had a retard come up to me and tell me that JavaScript is "a good programming language" or that Atom is a "great text editor".

  17. I think I know the question on all our minds by Progman3K · · Score: 1

    Can it read e-mail?

    --
    I don't know the meaning of the word 'don't' - J
    1. Re:I think I know the question on all our minds by godrik · · Score: 1

      Of course it can! It can even edit videos: http://www.youtube.com/watch?v...

      The question should be, what ridiculous use of a text editor has the developers not think of yet?

    2. Re:I think I know the question on all our minds by Anonymous Coward · · Score: 0

      can it play Eliza or towers of hanoi?

    3. Re:I think I know the question on all our minds by fahrbot-bot · · Score: 4, Informative

      Can it read e-mail?

      Serious question?
      Answer: I was able to read email and news within Emacs in the late 1980s. I imagine that's still true :-)

      --
      It must have been something you assimilated. . . .
    4. Re:I think I know the question on all our minds by Wintermute__ · · Score: 3, Funny

      M-x doctor
      M-x hanoi
      M-x tetris

      But you knew that already, didn't you?

    5. Re:I think I know the question on all our minds by Shade · · Score: 2

      Yes, with "M-x doctor" and "M-x hanoi". They've been there for longer than I can remember (which is to say, a lot). More details in the relevant section of the manual.

    6. Re:I think I know the question on all our minds by vrt3 · · Score: 1

      The question should be, what ridiculous use of a text editor has the developers not think of yet?

      A sufficiently smart grammar checker.

      --
      This sig under construction. Please check back later.
    7. Re:I think I know the question on all our minds by Anonymous Coward · · Score: 0

      Edit your linux command line to set "init=/usr/bin/emacs"

    8. Re:I think I know the question on all our minds by Darinbob · · Score: 4, Interesting

      You make the mistake of thinking that emacs is a text editor. Emacs is an extensible framework, a display system with lots of scripting code underneath. In the early days it was basically just a text editor plus shell interface, but that quickly grew and the program became more flexible.

      This is just like web browsers, which are basically just display systems designed to handle an arbitrary set of layouts that are given to it. In the early days they basically just gave you a list of scientific articles from the net and then would kick off an ftp program to fetch them for you, but today they can show video and let you do banking and so forth.

    9. Re:I think I know the question on all our minds by Anonymous Coward · · Score: 0

      Yes. But you need an external editor to write message.

    10. Re:I think I know the question on all our minds by Anonymous Coward · · Score: 0

      Can you suck my dick?

      I would appreciate it if you would watch your tongue!

      Please suck my dick.

      Perhaps you could avoid such unwholesome thoughts.

      Why?

      Can you elaborate on that?

      No

      Why not?

      Because not.

      Please, continue.

      Stop.

      My secretary will send you a bill.

      Bye.

      Bye bye.

    11. Re:I think I know the question on all our minds by PigleT · · Score: 1

      This is emacs. The question is not whether it can read email, but which way you want to do it.

      One of my colo servers has a permanent screen session in which one virtual terminal is dedicated to running emacs -f gnus. I access it daily (normally when email needs rescued from procmail+bogofilter).

      --
      ~Tim
      --
      .|` Clouds cross the black moonlight,
      Rushing on down to the circle of the turn
  18. But does it run Linux? by Anonymous Coward · · Score: 0

    LOL

  19. Now that it has a web browser built-in ... by Anonymous Coward · · Score: 0

    ... (and it can tweet and blog since long ago), I'm confident that my decision to switch over from Vim was fine. :)

  20. Re:At least Emacs can open files over 2 MB in size by Anonymous Coward · · Score: 0

    Atom is mainly "WebKit plus a bunch of lame JavaScripts". No real competitor.

  21. Lost me because of Java by iamacat · · Score: 2

    IntelliJ code inspection and refactoring features are so great that it's worth sacrificing power tools like apply-macro-to-region-lines. Maybe theoretically some of these things could be configured in Emacs, but work to discover the packages and create/learn keyboard shortcuts is too much for my patience. It would help to have "emacs distributions" with task specific documentation for particular use cases.

    1. Re:Lost me because of Java by davids-world.com · · Score: 1

      These distributions exist... (shameless plug: Aquamacs 3.1 was released today, based on Emacs 24.4). You're right in that its Java support is sub-par. Packages like JDEE exist, and CEDET has recently been included in Emacs, but you won't get out-of-the-box code completion, nice visual debugging, inline compile error messages and so on.

    2. Re:Lost me because of Java by davids-world.com · · Score: 2
    3. Re:Lost me because of Java by Anonymous Coward · · Score: 0

      These distributions exist... (shameless plug: Aquamacs 3.1 was released today, based on Emacs 24.4).

      You're right in that its Java support is sub-par. Packages like JDEE exist, and CEDET has recently been included in Emacs, but you won't get out-of-the-box code completion, nice visual debugging, inline compile error messages and so on.

      I am happy that they don't include everything per default. Some people just want to edit texts. The only gripe is that you needed someone to know the cool add-ons to be aware they are out there at all. To the extent that the IT dep of our faculty had a package for java development with class browser, autocompletion and compiler macros the faculty didn't know about. So they wanted early versions of eclipse which were a big burden on the systems at that time and didn't deliver more, just slower. If they had marketed emacs extensions/plugins more more people would know about it and more features could have been added over time. Even with today's hardware a smaller footprint would be nice sometimes.

    4. Re:Lost me because of Java by AqD · · Score: 1

      It couldn't.

      Emacs was one of the very first things to understand what you code, to be able to do semantic highlighting and real refactoring, and also the very first to have what you call "Language Injections" in IntelliJ. But these were largely left untouched for like 10 years, already dead when I was learning it, and today all these are nothing more than proof of concept and parts of its glorious history that might worth a place in museum.

      Until the core developers have better vision of text editor more than a text editor, it's dead.

    5. Re:Lost me because of Java by mrchaotica · · Score: 1

      The only gripe is that you needed someone to know the cool add-ons to be aware they are out there at all.

      So, what you're saying is that you want to add a package manager?

      --

      "[Regarding the 'cloud,'] ownership was what made America different than Russia." -- Woz

    6. Re:Lost me because of Java by jrumney · · Score: 1

      So, what you're saying is that you want to add a package manager?

      The package manager was added back in 24.1. 24.4 makes it safe to use, by allowing packages to be digitally signed.

  22. do one thing and do it well by Anonymous Coward · · Score: 0

    I'm shocked (shorting out usb ports need fixing) I haven't seen this posted... I guess if it doesn't say systemd that rhetoric doesn't apply.

    1. Re:do one thing and do it well by phantomfive · · Score: 5, Insightful

      I'm shocked (shorting out usb ports need fixing) I haven't seen this posted... I guess if it doesn't say systemd that rhetoric doesn't apply.

      Because the people who don't like emacs don't use it. No one builds software with emacs as a dependency and then tried to get every Linux environment to use it as a core dependency.

      Emacs is a good citizen. It is cross-platform, stable, and easily replaceable. Unlike it-that-must-not-be-named.

      --
      "First they came for the slanderers and i said nothing."
    2. Re:do one thing and do it well by El_Oscuro · · Score: 1

      You mean VI, the notepad for Unix? Since it is by default installed on pretty much every Unix system, including Macs, I would say it is cross platform. It is even easy to get for Windows. As far as stability goes, it has never crashed in the 20+ years I have used it on any platform. An it is easy to replace. All you have to do install another editor, i.e. sudo apt-get install emacs.

      --
      "Be grateful for what you have. You may never know when you may lose it."
    3. Re:do one thing and do it well by phantomfive · · Score: 1

      You mean VI, the notepad for Unix?

      VI is another fine tool. Portable, easily replaced, a good citizen. It-that-must-not-be-named is certainly not VI.

      --
      "First they came for the slanderers and i said nothing."
    4. Re:do one thing and do it well by 19thNervousBreakdown · · Score: 1

      Soooo.... what's its name?

      --
      <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
    5. Re:do one thing and do it well by phantomfive · · Score: 1

      ValdesystemDmort

      --
      "First they came for the slanderers and i said nothing."
    6. Re:do one thing and do it well by itsdapead · · Score: 1

      Because the people who don't like emacs don't use it. No one builds software with emacs as a dependency and then tried to get every Linux environment to use it as a core dependency.

      True, although GNU info... er, sorry, GNU info had a good college try at inflicting the emacs help system on the world.

      --
      In a survey of 100 programmers, 111111 thought that duck-typing was a good idea.
    7. Re:do one thing and do it well by marcello_dl · · Score: 1

      vi is pretty much the best example to push in the face of systemd apologists.

      vi is default in every distribution, nobody bats an eye.
      systemd tries to do the same and everybody lose their mind.
      The reason is simple. You don't have to deal with vi at all if you don't choose so. And if you really really do not like it...

      # aptitude search vi | grep ^i ...
      i vim-common
      i vim-tiny ...

      # aptitude purge vim-tiny vim-common
      The following packages will be REMOVED:
          vim-common{p} vim-tiny{p}
      0 packages upgraded, 0 newly installed, 2 to remove and 1 not upgraded.
      Need to get 0 B of archives. After unpacking 1093 kB will be freed.

      vi is not cancer.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    8. Re:do one thing and do it well by Anonymous Coward · · Score: 0

      He means systemd.

  23. Well, it is Amazing. EMACs continues to do it all by Anonymous Coward · · Score: 0

    While I disagree with EMACs doing everything, it impressive that is continues to actually have the feature creep that RMS might have railed against.

  24. An integrated web browser? by Anonymous Coward · · Score: 2, Funny

    Systemd had that since release 215.

  25. Now with World Peace by Anonymous Coward · · Score: 0

    Emacs can now bring peace to the world. No, vi can do it, together.

  26. Still no decent source browser integration by Magnus+Pym · · Score: 2

    I've used Emacs for more than 20 years, but cannot justify that any more; the source browsing integration of modern IDEs is just too nice and the editing goodness that is Emacs is just not enough.

    1. Re: Still no decent source browser integration by Anonymous Coward · · Score: 0

      Then u r doing it the wrong way, time to learn it again...

    2. Re:Still no decent source browser integration by Phillip2 · · Score: 3, Informative

      There are quite a few ways (too many, which is an Emacs flaw) of achieving Source Browsing. ECB is a nice example, if you like the full windows environment. Mostly, though, I use ido.el and projectile. It's very quick. Indeed, the ability to move between files with extreme rapidity is one of the things that keeps me on Emacs.

      The core of Emacs is very stable, and you get used to do things in certain ways. At times, you need to shake things about a bit and investigate new packages. While this comes with a cost, the benefit of Emacs is that the old ways still work. You won't get forced into a new way of working with each new release, if you are happy with the old.

    3. Re:Still no decent source browser integration by Dixie_Flatline · · Score: 1

      Oh, thanks for the tip. I'm using ECB...sort of. I'm mostly just using helm to search through all my files and trying to force semantic to parse through my humongous project and not screw up the class referencing. :/

      Projectile looks interesting--I'll give it a shot. Any other stuff you like? :)

    4. Re:Still no decent source browser integration by Magnus+Pym · · Score: 1

      ECB has not been updated since 2009... and it was very slow & buggy when I used it last. It is based on cscope which has little support for C++/Java.

      What I don't get is: commercial text editors like Visual Slickedit have had fabulous source browsing capabilities for more than 15 years. Another example is sublime text. Why is this not a priority for the emacs devs, whom I would assume are hardcore programmers?

  27. Start rant here by anarcobra · · Score: 3, Interesting

    Ok, maybe I've been doing it wrong all these years, but emacs default indenting scheme is completely braindead imho. (or should I say GNU indenting scheme)
    Of all the indenting schemes they could have chosen, they chose the one that is the most inconsistent.
    Generally here are some common indentation schemes:
    Tabs only
    Spaces only
    Tabs for indent level, spaces for alignment
    Which one do you think emacs uses by default? None of the above.
    No, emacs uses spaces for indenting 4 spaces, and tabs for indenting 8 spaces.
    This means that if you write a function whose name is at indentation level 0, the braces will be indented by 2 spaces.
    The code will be indented by 4 spaces. If you then start an if statement, the code in the if statement will be indented not by 8 spaces, but by 1 tab.
    This is completely braindead and breaks completely if you ever over one of those files in an editor with tabs configured differently.
    At least with the other approaches you can still open the file in an other editor and have the indentation levels make some kind of sense.

    1. Re:Start rant here by KingOfBLASH · · Score: 3, Insightful

      Like so many things in emacs, this is probably easy to fix if only you spoke lisp ;)

    2. Re:Start rant here by geantvert · · Score: 1

      It seems to me that using TAB to indent is always a bad idea except in language where they are strictly needed.

      There are actually 2 ways to indent using TAB:
          (1) by giving each TAB a fixed width
          (2) by jumping to the next alignment column (as in libreoffice, word)

      The second method makes sense for regular text using proportionnal fonts but not for code.

      The first method is the most common and the reason why codes idented that way often look bad in emacs is because it interprets TAB as 8 spaces instead of 4 or 6. This can easily be fixed by setting the variable tab-width to the proper value

      Unless you really care saving a few bytes per line of codes, I recommend disabling TAB globally in emacs with
      (setq-default indent-tabs-mode nil)

    3. Re:Start rant here by Anonymous Coward · · Score: 0

      No, emacs uses spaces for indenting 4 spaces, and tabs for indenting 8 spaces.
      This means that if you write a function whose name is at indentation level 0, the braces will be indented by 2 spaces.
      The code will be indented by 4 spaces. If you then start an if statement, the code in the if statement will be indented not by 8 spaces, but by 1 tab.

      Emacs committer here. I've never seen the behavior parent describes. Indeed, AFAICT there's no combination of settings that would produce that behavior; you'd have to rewrite some of the indentation code.

    4. Re:Start rant here by geantvert · · Score: 1

      Emacs also allows you to add local configuration variable inside each file to customize its behavior.So if you do not want to change tab-width globally, just add the following to each C/C++ file indented using a tab-width of 4:

      /* Local Variables: */ /* tab-width: 4 */ /* End: */

      This works for almost all major modes using their respective comments

      PS: Slashdot insists for removing newline from the code above. More exemples are in https://www.gnu.org/software/e...

    5. Re:Start rant here by Anonymous Coward · · Score: 0

      Why are tabs bad for indenting? Just be consistent. At my workplace tabs==indenting level, *no spaces at the start of a line* period.

      This works like a dream. Every coder can set his preferred tab width (I prefer 2 or 4, depending on monitor size) and everything is consistent. Furthermore indenting/unindenting code is fast in about every editor in the world.

      And no, it's not about saving a few bytes. But boy do I hate having to manually input lots of spaces to align with someone else's badly formatted code.

      I never understood the supposed problem with this approach. But maybe that's because we're a stricty C/C++shop, so other languages might have other problems.

    6. Re:Start rant here by geantvert · · Score: 3, Informative

      Anarcobra description of what is happening is probably quite accurate (at least for some styles) but the problem is that he tries to give a complex interpretation to a simple behavior: What is actually happening in emacs is that everything is indented using spaces (of various numbers depending of the choosen style and context) and every sequence of 8 spaces (as controled by tab-width) is replaced by a TAB (unless indent-tabs-mode is nil).

      If you wrongly believe that the indentation algorithm has rules to select spaces and tabs according to the current context then the behavior is likely to appear very strange. Most of the other editor I know also work using a similar approach except that their default tab width is smaller and their default indentation levels are choosen to match the tab width which gives the impression that everything is indented using TABs. Simply speaking, Emacs with a tab width of 2 or 4 will do exactly the same.

         

    7. Re:Start rant here by Anonymous Coward · · Score: 0

      Recent Emacs committer should I say.
      Not only is it possible, but it still is the default behaviour.
      I like it that way, but had to change it to the needs of a recent project.

    8. Re: Start rant here by Anonymous Coward · · Score: 0

      Yeah because I want to spend all my time programming something so I can start programming.

    9. Re:Start rant here by daffmeister · · Score: 3, Informative

      (setq-default indent-tabs-mode nil)
      in your .emacs file.

    10. Re:Start rant here by Anonymous Coward · · Score: 0

      You can probably find an option somewhere in the preferences, but you can drop this into .emacs:

      (indent-tabs-mode nil)

      More information is here:

      http://www.pement.org/emacs_tabs.htm#spaces_only

      There are also other references with more details on customizing tab use (I like the comic in the second link):

      1. http://www.emacswiki.org/emacs/TabsAreEvil
      2. http://www.emacswiki.org/emacs/SmartTabs
    11. Re:Start rant here by ggrocca · · Score: 1

      It seems strange to me that the above is modded up. I do not remember the behaviour described and only someone that has been in a cave for thirty years would consider the indentation syle a roadblock for adopting emacs usage anyway: the indentation system is - you betcha - extremely flexible and easily configured. That said there could be good reasons for disliking emacs and choosing to avoid it but indentation is certainly not among them.

      Anyway, as long time emacs user, I think that changing the default indentation style is often a good idea. Personal preference and interoperabilty with people using other editors should guide your choice, and I don't particularly like the default GNU style myself. Configuration of indentation styles only requires adding a lines or two to your .emacs file. A five minute search on google/stackoverflow etc will fetch the proper magic formulas for your language and use case; just to get you started (C/C++):

      you can choose among several default indentation styles:

      (setq c-default-style "linux")
      (setq c++-default-style "stroustrup")

      or you can configure indentation parameters to obtain the desired results (in this case, no tabs, 4 spaces indentation, braces have no indentation - simple and effective):

      (setq c-basic-offset 4)
      (setq indent-tabs-mode nil)
      (c-set-offset 'substatement-open 0)

    12. Re:Start rant here by jrumney · · Score: 1

      Emacs, like every other text editor I've ever seen, actually does (2). A tab character always indents to the next tab stop. By default, there is a tab stop every 8 characters. When all your tabs are at the start of a line, as is typical in a programming environment, the effect may look the same as (1), but try typing the following key sequence in Emacs, or any other editor which you think does (1), and see what the result is:

      TAB x ENTER
      SPACE TAB x

    13. Re:Start rant here by jrumney · · Score: 1

      Or you can put it in .dir-locals.el to cover a whole directory (including subdirectories that don't override it).

    14. Re: Start rant here by KingOfBLASH · · Score: 1

      Well, stating the obvious here, but my tongue in cheek remark was meant to highlight the fact that Emacs is wonderful if you happened to have spent the 70s in an AI lab, but if you are illisperate, the usefulness goes down significantly.

      This was not a suggestion that you actually go out and learn lisp so you can make your text editor work.

      (Although, as an emacs user, if you invest in learning some basics of the language it pays off big dividends, fast)

    15. Re:Start rant here by jrumney · · Score: 1

      Or if you work on projects with different coding styles, use a .dir-locals.el file:

      ((nil . ((tab-width . 4)
      (c-line-comment-starter . "// ")))
      (c-mode . ((c-file-style . "bsd")
      (c-basic-offset . 4))))

      PS: where's the help link that tells you what "allowed HTML tags" are for Slashdot comments? I'm sure there used to be one, and I'm sure you used to be able to format code properly.

    16. Re:Start rant here by ggrocca · · Score: 1

      Err.. I too remembered it, tried to find it and couldn't. But I searched no more than a minute, than tried the code html tag and hit "preview"...

    17. Re:Start rant here by jrumney · · Score: 1

      ...and if you'd looked at the preview, you'd have noticed that all it does is uses a fixed-width font , no indentation or line breaks as you'd expect when looking for a tag for formatting code samples.

    18. Re:Start rant here by John+Bokma · · Score: 1

      *sigh* you can fix this in less time it took to write this rant; that's the beauty of Emacs.

    19. Re:Start rant here by strikethree · · Score: 1

      Like so many things in emacs, this is probably easy to fix if only you spoke lisp ;)

      I can't thpeak lithp becauthe I have a lithp.

      --
      "Someone needs to talk to the tree of liberty about its ghoulish drinking problem." by ohnocitizen
    20. Re: Start rant here by DeVilla · · Score: 1

      OK. We'll point & click.

      Options -> Customize Emacs -> Browse Customizations Groups

      Emacs -> Editing -> Indent -> Indent Tabs Mode
      press Option

      In the new buffer...
      press toggle
      press Set for current session
      press Save for future sessions

      Surely that's no worse than what I've had to do to make various IDEs usable.

  28. systemd by LocutusOfBorg1 · · Score: 2

    Can it replace systemd?

  29. Using emacs to edit code by msobkow · · Score: 1

    Using emacs to edit code is like using Eclipse to edit a text file. :P

    --
    I do not fail; I succeed at finding out what does not work.
    1. Re:Using emacs to edit code by msobkow · · Score: 0

      Awww, the poor butthurt emacs fans can't take a joke.

      What a shock. I mean really, I'm stunned.

      People with no sense of humour seem to abound at slashdot lately.

      --
      I do not fail; I succeed at finding out what does not work.
    2. Re:Using emacs to edit code by msobkow · · Score: 1

      Maybe slashdot needs a <joke> tag so all you wankers can tell the difference.

      --
      I do not fail; I succeed at finding out what does not work.
    3. Re:Using emacs to edit code by iggymanz · · Score: 1

      Someone made fun of your mediocre operating system with the crappy editor

    4. Re:Using emacs to edit code by aaaaaaargh! · · Score: 1

      It also needs a <stupid joke> tag.

  30. Yes, you are doing it all wrong by Anonymous Coward · · Score: 1

    Tabs are 8 spaces. In terminal windows and editors that don't misbehave like, gess what, Notepad, the code looks nice.
    I used to prefer that style, because it is the better trade off between readability and bandwidth. Bandwith still matters, if you do not want to uglify HTML.
    Then there are all the braindead people, editors, browsers, wo don't understand this simple fact and paint the sky in a tone of pink and argue with the ones that till think it is blue.
    So now I dont use tabs anymore. No arguments needed.

    1. Re:Yes, you are doing it all wrong by Anonymous Coward · · Score: 1

      Even typewriters do it right. Redefining the tab width is like redefining PI to 3 like Linus said.

    2. Re: Yes, you are doing it all wrong by serviscope_minor · · Score: 1

      What? I fist, Linus is a bit of an opinionated idiot on many things. Secondly, you've never used a typewriter.

      They literally had stops you could place anywhere on the carriage. The tab key lifted the movement ratchet so that the carriage would slide to the left under the power of a large spring. The carriage would stop when it hit a tab stop (a metal tab). Without settable stops, it would have been really hard to do tables properly.

      Even really really really old typewriters had tab stops. It was a fairly early feature.

      And Linus seems to be proudly ignorant on things he knows nothing about. If you write scientific code, especially things like filtering in 3d or even 4d, you can end up with very deep nesting of indent levels. With tabs set to 8, you end up wasting most of your pixels on empty space.

      But he never writes code like that, so he assumes it doesn't exist it is somehow wrong and therefore advocates text editors with fewer features than a typewriter from the 1920s.

      --
      SJW n. One who posts facts.
    3. Re:Yes, you are doing it all wrong by Anonymous Coward · · Score: 0

      "Tabs are 8 spaces."
      That's if you don't want to give meaning to something that could be meaniful. I choose to believe tabs is "one level deeper", the conversion to 8 or 4 or pi spaces being a visualisation feature.

  31. Tried emacs years ago by slashdice · · Score: 1

    The productivity gains are real. It's not from using emacs, from by not showering, not bathing, not shaving your beard, etc.

    --
    Copyright (c) 1990 - 2014 Dice. All rights reserved. Use of this comment is subject to certain Terms and Conditions.
  32. Times have changed by DrXym · · Score: 1
    I expect the predominant use pattern for editors (in a console) is to be fired up to quickly to edit a file, save and exit, e.g. to commit files in source control. Longer term activity has moved out to the desktop and editors / IDEs running there - the likes of Eclipse, Notepad++, Sublime Text, Gedit etc.

    So I wouldn't be surprised if emacs does lose out to lighter rival editors that better suit the quick-fix pattern. All the power and flexibility and add ons that emacs has built up (and which weigh it down) are largely redundant on a modern desktop. I think I would prefer nano or joe to vi/vim (and its annoying split personality modes) but the latter tends to be ubquitous so its a good idea to learn it.

    1. Re:Times have changed by jrumney · · Score: 1

      I expect the predominant use pattern for editors (in a console) is to be fired up to quickly to edit a file, save and exit, e.g. to commit files in source control. Longer term activity has moved out to the desktop and editors / IDEs running there - the likes of Eclipse, Notepad++, Sublime Text, Gedit etc.

      And since that was an issue with Emacs around 20 years ago, emacsclient exists, to load the file into an already running instance of Emacs, but otherwise act as a console editor is expected to (hanging around until the edit is finished). But on any modern machine, Emacs starts pretty much instantly with a warm cache, and in a couple of seconds at most with a cold cache, so starting Emacs for a quick edit really isn't the issue you think it is any more.

  33. You forgot the best one... by gerald.edward.butler · · Score: 1

    M-x dunnet

  34. Re:At least Emacs can open files over 2 MB in size by znrt · · Score: 1

    i had a ver similar experience. :) it was amusing.

    no, it's not viable as a heavy duty editor yet, by far. however it's remarkable that such apps are at all possible grinding the dom in a browser. the setup for desktop integration is awkward, but keep in mind that this is a pure standard html webapp. you can easily embed that thing in any webpage to be used in any browser, considering this fact both functionality and performance are quite remarkable.

    oh, and i'm afraid you don't know anything about javascript, but better don't ask those "fellow javascripters" of yours! :) no pressing either, atom will probably come and go, but you will be hearing A LOT about javascript/ecmascript in the future.

  35. Re:At least Emacs can open files over 2 MB in size by Anonymous Coward · · Score: 0

    JS has its quirks, but I believe it is a good language. Practically speaking, it is one language that can run anywhere, and I doubt if any other language can claim the same so boldly.

    HTML for a text editor that needs syntax highlighting means you end up with a jungle of nodes, one per element in your code. And it sucks. Agreed, atom sucks. Any one who thinks a HTML based code editor will outsmart vim/emacs is detached from reality. Good for taking maybe a quick peek or simple editing, but nothing more for me.

    Also, if anyone is serious about a HTML based editor, they should probably compile vim/emacs or any other sane editor to JS and render it using a canvas element.

    Regarding git, github just happened to get developers to like it. If you are a Hg user, and I had a successful company called Hydragrum that most developers flock to, would you criticise Hg users for Hydragrum's success?