The Register Home Page

back to article 'Mother of all editors' Emacs is 50

No lesser authority than the MIT Technology Review says that the Emacs editor has turned 50 years old. But then, it is biased — Emacs was invented in MIT's AI lab. Simson Garfinkel's article is simply called EMACS turns 50, but the sub-heading explains why it matters more: "How the MIT AI Lab's text editor gave birth to the free …

  1. Anonymous Coward
    Anonymous Coward

    What? Why doesn't my favourite editor have pride of place?!?

    Back in the DOS days, there were so many different "programmer's editors". Some with all the features, some with fewer, some even minimal. Sort-of funny that in the "Unix-like" world there's only really two, with minor variations between their various forks and look-alikes. I'm discounting pico (and its ilk) as programmer's editors since they're targeted at a different audience -- though you can program with them, sure enough.

    These days it all has to be integrated into an "environment", so you can't just have an editor, you have to have a compiler and a debugger, and a lot of supposedly helpful scaffolding as well. That's pretty sad, because it makes it that much harder to bring your own favourite editor. A bit like how forums or webmail in a browser can't hold a candle to USENET or email with your own client, and yet very many people stick with the browser anyway. Why is that?

    Come to think of it, emacs is probably better seen as the ur-IDE, having grown so large it's really more of an operating system. It does have an email client. Cue obligatory comment: Now if only they could add a decent text editor.

    1. Anonymous Coward
      Anonymous Coward

      Re: What? Why doesn't my favourite editor have pride of place?!?

      In the DOS days I used BRIEF a lot, mainly to write a few Borland Paradox Application Language scripts.

      I have tried EMACS, but I found I much better got on with vi(m)..

    2. joeldillon

      Re: What? Why doesn't my favourite editor have pride of place?!?

      I first learned to program on Unix with pico because it was what I was used to from my email client (Pine, at the time, this was the mid 1990s). Then I tried both vi and emacs and absolutely could not get on with vi's modal thing so emacs it was and has been since - though I've learned just enough vi, and I do mean System V vi, to edit config files since that's sort of important if e.g. you have a freshly installed AIX box to set up.

  2. Doctor Syntax Silver badge

    So that makes TECO the grandmother of editors.

    1. Scene it all

      I used TECO as my main editor. starting on a paper-tape equipped PDP-8, then Emacs on a PDP-10 when it came out. This was in the late 1970s. I still use Emacs to this day. I have used various IDE's from time to time and the best one was Microsoft's for C#. But Emacs with appropriate language-mode plugins is still my preference.

  3. Alan J. Wylie

    Viper

    emacs even contains a vi emulation

    https://doc.emacsen.de/viper/index.html

    --------8<---------8<

    $ grep viper .emacs

    (setq viper-mode t)

    (require 'viper)

    --------8<---------8<

    1. andy the pessimist Bronze badge

      Re: Viper

      I mostly use vi (vim).

      Occasionally i use emacs (and viper) for repetitive text processing using macros.

      Elreg are you trying to have a war between vi and emacs users?

      1. gv

        Re: Viper

        Absolutely unthinkable that such a thing could be possible!

        1. FIA Silver badge

          Re: Viper

          That's because we all know StrongED is the one true editor.

          1. J.G.Harston Silver badge

            Re: Viper

            I still use View.

    2. Liam Proven (Written by Reg staff) Silver badge

      Re: Viper

      > emacs even contains a vi emulation

      You did read as far as the part about Spacemacs, right?

    3. Michael Strorm Silver badge

      Re: Viper

      > "emacs even contains a vi emulation"

      So you're saying that Emacs *does* actually include a decent text editor?

      1. Liam Proven (Written by Reg staff) Silver badge

        Re: Viper

        > So you're saying that Emacs *does* actually include a decent text editor?

        Nah -- it's Vi.

        Wake me up when it includes MS-DOS Edit emulation.

        I traded in my muscle memory of Wordstar, Wordperfect, Locoscript, The Last Word, Tasword, Displaywrite, MultiMate, and even Edlin. I have no desire to learn another proprietary system now. I don't write code so all that functionality is of no interest to me.

        Now, use its famed versatility to imitate the Canon Cat UI, and I will wake up and pay attention.

        1. captain veg Silver badge

          Re: Viper

          Interesting that you mention Wordstar. It had a plain text editing mode that was quite widely used for coding in pre-IDE days, so much so that some of its key combinations, e.g. Ctrl+Y to delete a line, lived on in VB through to version 6.

          -A.

          1. Liam Proven (Written by Reg staff) Silver badge

            Re: Viper

            > It had a plain text editing mode that was quite widely used for coding in pre-IDE days

            Indeed it did. Most distros today offer `joe`, a very minimal editor that uses the keystrokes.

            Unix folks knew Vi keystrokes, Lisp folks knew Emacs ones, and CP/M and DOS folks knew WordStar.

            I knew WordStar.

            https://www.theregister.com/software/2024/08/06/wordstar-7-the-last-ever-dos-version-re-released-for-free/464207

            That does _not_ mean I _miss_ WordStar, because I really do not.

            Aside and blatant plug: my little USB-DOS project includes it... and needs an update, but it works.

            https://github.com/lproven/usb-dos

  4. Danny 14

    I must be one of thr few people who hates the old editors and will install nano as quickly as I can.

    1. Liam Proven (Written by Reg staff) Silver badge

      > one of thr few people who hates the old editors

      Why do you think I wrote the article about _not_ making you work like it's 1976?

      I mean the clue is right there in the title.

      1. Philo T Farnsworth Silver badge

        And what's wrong with 1976?

        My car then had a gas pedal, brake pedal, a clutch pedal, and a gearshift then and it worked just fine.

        The car I have today has the same.1

        In the 1980s, when I got back into this business after a decade's hiatus2, I first started with vi3 but at some point about a year or so later, switched over to emacs for reasons lost to the mists of time and memory, probably for the same reason I switched from a manual transmission to a stick -- it worked better for me -- and since it brought everything to the party that I want or need, I've seen no reason to change.

        Plus ça change, plus c’est la même chose.

        Or at least maybe it should be that way.

        ___________________

        1 Though a lot of the rest of the UI has been in retrograde. I mean, why do I have to dig through a couple of screens in order to find the speed control for the fan, for heaven's sake? While trying to also keep my eyes on the road, no less. This is somehow better?

        2 Don't ask. Just consider it a "gap in employment history."

        3 Actually I started with XEDIT, a variant of something called EDGAR, on an IBM CP/CMS system but let's not talk about that, okay? Just call it another "gap in my employment history" and move on.

        1. Philo T Farnsworth Silver badge

          D'oh

          I meant "from an automatic transmission to a stick."

          Some day I'll write one of these comments without a serious error.

          If only El Reg's comments supported emacs.

        2. FIA Silver badge

          And what's wrong with 1976?

          My car then had a gas pedal, brake pedal, a clutch pedal, and a gearshift then and it worked just fine.

          But in 1976 cars weren't new. The design and user interface had been largely standardised.

          Vi and Emacs are more like the early cars when compared to modern software.

          1. Liam Proven (Written by Reg staff) Silver badge

            > Vi and Emacs are more like the early cars when compared to modern software.

            Exactly!

            Here are the 3 pedals of a Model T Ford:

            https://en.wikipedia.org/wiki/Ford_Model_T#/media/File:Model_T_pedals.jpg

            The mean Clutch, Reverse, and Brake.

            That reverse pedal is the equivalent of talking about a Meta key in the mid-2020s.

            We have moved on. Time to join everyone else.

        3. Liam Proven (Written by Reg staff) Silver badge

          > My car then had a gas pedal, brake pedal, a clutch pedal, and a gearshift then and it worked just fine.

          Oh, cool, retro stuff. Nice. Does it have a choke as well? Can you advance or retard the ignition? Crank to start it when the battery's flat?

          Mine just has "go" and "stop" pedals, and the stick pretty much says "go forwards", "go backwards", "park" and a fairly useless option that in theory puts it into neutral, but as I discovered when the little 12V battery died, is electronically operated so doesn't work at all.

          Luckily it still has manual door handles.

          1. Philo T Farnsworth Silver badge

            > Mine just has "go" and "stop" pedals, and the stick pretty much says "go forwards", "go backwards", "park" and a fairly useless option that in theory puts it into neutral, but as I discovered when the little 12V battery died, is electronically operated so doesn't work at all.

            And you consider that an improvement?

            For all the useful new features you can count in modern vehicles, you can probably count twice as many less than useful and sometimes outright lethal1 misfeatures. I mean a whole screen full of data-gobbling "apps" that make an automobile more like a pinball arcade2 or a vending machine than a device to get you from Point A to Point B3 with a minimum of bother is just a bit much, don't you think?

            That's why I try to keep things as basic as possible. And, yeah, I do sort of miss the choke.

            Similarly, a text editor should do just that: edit text4 and otherwise just stay out of my face.5

            ___________________

            1 Electrically operated door handles with a difficult to find and operate manual override leaps immediately to mind.

            2 Yes, retro.

            3 While leaving those at Point C wishing "that people would just once and for all work out where the hell they want to be," to borrow a phrase.

            4 Yes, I realize we're talking about emacs here, and as it is well known, every GNU application will expand to the point where it can read and send mail, the nice thing about emacs is that it doesn't try to shove new "features" down my throat.

            5 I mean, if I want autocomplete, I'll ask for it. Don't wave popdowns in front of my face and make me chase down a configuration in Setup to turn the stupid thing off.

            1. Liam Proven (Written by Reg staff) Silver badge

              > And you consider that an improvement?

              You are missing the key point.

              The car's *UI* is an improvement, yes.

              I can't turn my right hand any more. I don't need to keep taking my left hand (my dominant hand) off the wheel to change gear. That's a big win. It is not a performance car. I am not doing racing changes. I don't want or need that.

              My wife is Czech and right-handed. She is not used to taking _her_ dominant hand off the wheel to change gear. Driving on the wrong side of the road for her, she has enough to think about. This is an improvement for her, too.

              Simpler controls that do all the essentials you need are better, yes.

              I am not arguing with you here. Your points are valid.

              My boss at Red Hat used JEdit on a Maltron keyboard. Phenominal editing power. He had a single keystroke for moving a line up or down. Very clever. I need that so seldom, I do not need a key for it, and I definitely do not need to learn a new editor just for that.

              A new UI has to be remarkably good to replace the existing perfectly functional UI which I know.

              For me, this is where Emacs fails, and Vim fails, and Hyprland, and Miracle-WM, and almost every other new WM I've seen in 15 years fails.

              We have something that works. Start with that, and improve that.

              My car starts with the 3-pedals, clutch-and-gear-lever model, and it improves it. It removes the clutch pedal, simplifies the gear lever beyond any ICE auto box because I don't have 1 or 2 settings, and yet, it does the same job... simpler.

              When I use a little throttle, the petrol engine stays off, and it uses the electric motor, whose torque is largely independent of revs, so I don't need 1 and 2 "low gears" any more.

              Hyprland et all remove all the pedals, all the levers, and give me a joystick and a yoke and 100 concealed buttons, and tell me to relearn. Get lost. I don't want to.

              COSMIC gives me a panel, and a dock, or combined, and a file manager and a desktop... but press a button and it's tiling. No more window management. That is a good compromise.

              Back to text editors...

              I do not need Emacs for occasionally editing my config files or once in a blue moon writing a script.

              I write Markdown and Panwriter does that and little else, and it can import and export from anything thanks to Pandoc. It's clean and it's simple and it shows me if I mess up my Markdown. That is all I need.

              I could use Ghostwriter or Gram or a dozen others if I needed, or if I didn't have 32GB of RAM... but I do, and on this old iMac, Panwriter is fast, so I use it.

              1. Philo T Farnsworth Silver badge

                > I can't turn my right hand any more. I don't need to keep taking my left hand (my dominant hand) off the wheel to change gear.

                I'm all for assistive technologies, so no argument there. For me, a manual shift gives me more control over what the vehicle does1 and I'll continue to use it as long one is available and/or I'm able to use it.

                > A new UI has to be remarkably good to replace the existing perfectly functional UI which I know.

                Precisely.

                And how often is that the case?

                My gripe (and point), if poorly made, is that much change seems to be made simply for the sake of making a change, not improving utility.

                It's as if auto manufacturers changed to position of the pedals with every new model, so accelerator pedal was now brake, braking was handled by a slider on the computer display, and the former brake pedal switched high/low beams.2

                emacs doesn't change the UI with every update. Learn it once and know it forever.

                The 1970s weren't all that bad. Other than disco, of course.

                ________________

                1 A couple of cars back I got talked into getting an automatic with one of those paddle shifters on the steering wheel and absolutely hated it -- you always had to add about a half second for the transmission's lag in a downshift and that got hairy on some of the twisty mountain roads I drive.

                2 Automatic high/low beam switching is one case of an actual improvement -- just one less thing to take your attention of the actual job of driving.

          2. CrazyOldCatMan Silver badge

            Oh, cool, retro stuff. Nice. Does it have a choke as well? Can you advance or retard the ignition? Crank to start it when the battery's flat?

            [Looks at Morris Minor}

            Choke? Check

            Advance/retard? Sort of but you have to open the bonnet to do it.

            Crank? Check. And not just the woman in the driving seat :-) (The MM starter handle is referred to as a wrist-breaker in the trade. It might only be a 1098cc engine but that's enough to have a pretty wicked kick back. It was bad enough with my old 250cc bike. The few times I've needed to use the starter crank I've used motorbike technique and used it as a kick starter..)

        4. CrazyOldCatMan Silver badge

          Plus ça change, plus c’est la même chose.

          Geddy? That you?

          Actually I started with XEDIT

          Likewise. Xedit on VM/CMS on an IBM S370. In the days when I had ambitions to be a mainframe assembler (TPF) programmer. Before I realised how *utterly* boring it was and wanted to do PC/LAN support instead. I was young and foolish OK? I'm not so young now..

          PS: Then I used OS/2 with kedit (sort-of-clone of xedit on the mainframe). I tried the linux version of xedit at one point but have always gravitated back to vi. It's Good Enough (tm) for what I need it to do (edit config files, tweak scripts etc etc) so I've never bothered to learn emacs. I'm sure it's a perfectly good OS editor but not for me.

          1. Philo T Farnsworth Silver badge

            > PS: Then I used OS/2 with kedit. . .

            Same here, on a PC running DOS something or another. Decent clone and well documented, to boot.

            The greatest failing of both xedit and kedit, as I recall, was that they were both "unit record" oriented, so when "card images" went their merry way, that was sort of it.

    2. Steve Graham

      I usually edit text in a GUI editor (mostly L3afpad, a revival of the defunct Leafpad) including on my headless Pi server via Xorg*, but if necessary I'll use nano on the console or a terminal window. Learning emacs or vi doesn't seem useful now.

      *(Having applications open a window on a remote device was not a design goal of Wayland.)

    3. FIA Silver badge

      I must be one of thr few people who hates the old editors and will install nano as quickly as I can.

      Never got on with nano, but recently discovered micro which has quickly become a default install.

    4. katrinab Silver badge
      Thumb Up

      I'm another

      On FreeBSD:

      pkg install curl

      curl https://i.mysite/bsd.sh | sh

      On Debian:

      apt install curl

      curl https://i.mysite/deb.sh | sh

      sets everything up the way I want it

    5. Scene it all

      Nano is still my choice when working remotely over a terminal emulator, or when doing quicky things like editing config files in /etc.

  5. Ace2
    Joke

    What’s vi?

    1. MonkeyJuice Silver badge
      Devil

      It's a modal text editor! This is far more efficient than other kinds of editors, because it operates in two modes- BEEP CONSTANTLY, and BREAK EVERYTHING.

      1. jake Silver badge

        "it operates in two modes- BEEP CONSTANTLY"

        :set noerrorbells # This should be in your rc file if you've been using vi for more than a day or two ...

        "and BREAK EVERYTHING."

        That's a wetware issue; sorry, I can't help you with that.

    2. Androgynous Cupboard Silver badge

      As a jobbing contractor in the 90s, it was the one tool you could rely on being installed on whatever UNIX variant you’re working on that month.

      No-one ever said that about Emacs.

      1. MonkeyJuice Silver badge
        Flame

        ED(1) Unix Programmer's Manual ED(1)

        NAME

        ed - text editor

        SYNOPSIS

        ed [ - ] [ -x ] [ name ]

        DESCRIPTION

        Ed is the standard text editor.

        1. jake Silver badge

          A fine example of immutable documentation, that.

          With that said, ed was the standard editor for six or seven years, at least until Bill Joy started hacking on ex.

          ed is still about the only editor guaranteed to be on a *nix ... I use it near daily, although mostly in scripts these days.

          1. oliversalmon

            ed is still about the only editor guaranteed to be on a *nix

            vi is part of the POSIX standard so included in every POSIX compliant *Nix

          2. Eric 9001 Bronze badge

            GNU ed is unfortunately not guaranteed to be included in all GNU/Linux distro, as many are dedicated to removing many crucial GNU packages by default.

          3. James R Grinter

            Indeed, who among us hasn’t had to fix an Ultrix rc.local on a DECstation console in single user mode?

            (That was my introduction to ed: no curses support on the console, so no vi.)

        2. dlc.usa
          Flame

          Before vi was ed

          Too many vi users do not know : commands are from ed. Actually, too many vi users do not know there are : commands.

      2. Persona Silver badge

        It was always funny to see the Emacs advocate log onto a random Unix box and attempt to use Emacs only to find it wasn't there, curse and use vi. After a few machines they gave up on typing "emacs" and cursing.

        1. Roland6 Silver badge

          The other bit of fun from wayback was seeing those who didn't know vi had a file size limit and discover if they wanted to edit particularly large files you had to use ed...

          1. STOP_FORTH Silver badge

            Too big

            You learn something every day in the Reg comments. Well, I do.

      3. OldTM

        This! My first Unix experience was BSD on a VAX 11/70 in 1984 and we used emacs. Then came my first job and we were using various System III and System V variants without emacs so I ended up learning vi as by this point I could guarantee it was present no matter what weird and wacky variant of *ix I used. After many years in the programming then networking trenches, vi commands are embedded so deep in my brain they’ll probably be one of the last things to fade!

    3. FirstTangoInParis Silver badge

      I learnt on ex on a PDP 11/44 and then saw what the flash people over in School of Physics were doing and went over to vi. Forty years later it’s still my weapon of choice.

    4. Philo T Farnsworth Silver badge

      One more than v.

      1. jake Silver badge

        It;s not Latin. It's UNIX.

        1. Philo T Farnsworth Silver badge

          Forget it, Jake. It's Linuxtown.

      2. Peter Gathercole Silver badge

        In the Vi yellow book (was it Prentice Hall?) there was an introductory paragraph that said that it should be referred to as "vee eye" not vye or six. It took me a while to get that last one, I must have been feeling very thick when I first read it.

        I wish that I knew where my copy of that book went. I lent it to someone, and don't remember ever getting it back.

    5. FIA Silver badge

      What’s vi?

      Generally usable on BSD, but seemingly confusing as fuck by default on most Linux's.

      It's vi, I'm using it for speed and possibly because I'm on a terminal. I don't need it to syntax colour things or auto format stuff...

      (Whoever thought the default setting that makes it seemingly impossible to just paste stuff into a putty window when SSHd into a new install of Ubuntu would be hunted down and told 'No!' if I wasn't so goddamn lazy).

  6. Chris Gray 1
    Go

    Gosling emacs?

    Where does Gosling emacs fit in? I thought it was pre-gnu??? How about micro-emacs?

    I'm about 99% an emacs user - the emacs-client stuff is just soooo useful. However, when I first started using it, the one character difference between "write all modified buffers" and "start email client" caused all email in my regular mailbox to disappear into an emacs mailbox. I was quite perturbed. I added a set of dozens of "unbind key" to my emacs startup file. Their binding set has since continued growing furiously, so that's pointless.

    Oh, when I started using emacs, I added/replaced a few bindings with ones from an old CP/M editor ("edit" I think) to make it more familiar. So, others are definitely advised to not use my emacs window!

    1. jake Silver badge

      Re: Gosling emacs?

      Gosling was a rewrite, and a child of the '80s.

      uEMACS was built for micro computers, which mostly didn't have the RAM to run the real thing.

      Back in the day, I ran Mark Williams Company's C compiler on DOS. It came with a copy of uEMACS that had been hacked into a fairly decent proto-IDE, and csd, their C source debugger.

      Fun times. (I think????)

      1. jiho

        uEmacs

        also came with the Digital Research CP/M-68K development suite in the Atari ST Developer's Kit, which I got as soon as available in early 1986 for my 520ST. It was the first editor I learned to use, as the Developer's Kit was my first serious foray into programming. Learned 68K assembler before C. After that I could never quite swallow "real" Emacs. Nowadays I like mg.

      2. Liam Proven (Written by Reg staff) Silver badge

        Re: Gosling emacs?

        > uEMACS was built for micro computers,

        Linus still maintains his own personal fork.,

        https://github.com/torvalds/uemacs

    2. Liam Proven (Written by Reg staff) Silver badge

      Re: Gosling emacs?

      > I thought it was pre-gnu???

      No, it came later. That's why I didn't mention it: it doesn't push the timeline back.

      AFAICT:

      Gosmacs was a lightweight partial clone of Emacs after Emacs got established, but while it was still a bit big and heavy for many computers.

      1. kamen_n

        Re: Gosling emacs?

        "Gosmacs was a lightweight partial clone of Emacs after Emacs got established, but while it was still a bit big and heavy for many computers."

        Indeed. It appears that Gosling wasn't able (or willing) to provide it with a full Lisp implementation. So he devised a scripting language that looked a lot like lisp (parentheses, etc.), but really wasn't. He called it "Mocklisp".

        So, no, Gosmacs wasn't an Emacs implementation to rival the original. Multics Emacs and, later, Lucid/XEmacs were.

  7. Pete 2 Silver badge

    From the time when memory was properly expensive

    > the Keymacs keyboard. ... they cost from €2,998 for the Lispsaver up to €6,878 for the A624N Space Cadet.

    Which is a hell of a lot less than the "required" 8MB of Vax memory needed to run EMACS. DEC was said to be charging $10,000 per megabyte in 1976. The same ten grand (in UKP) that year would buy you a house in London

    1. jake Silver badge

      Re: From the time when memory was properly expensive

      In roughly that era, we were converting core memory to DRAM. Also in roughly that era, the VAX came out and virtual memory became a thing (we won't discuss the evils of the overlay loader ...).

      I have a hand-written receipt[0] dated early December of 1977 for "8ea 16 Kbit Mostek MK4116 DRAM, new, in factory tube, with seals" ... for the low, low price of $336, plus tax. So I guess one question to the "42" answer is "What was the price in US dollars for 1 (one) 16K bit DRAM in late 1977?" ...

      [0] From the late, very much lamented Haltec, no less ...

  8. kamen_n

    €2,998!!!!

    "You can buy a modern replica, the Keymacs keyboard. They are hand-made in the Czech Republic, and depending on exactly what model and specifications you want, they cost from €2,998 for the Lispsaver up to €6,878 for the A624N Space Cadet."

    Gee, what are these keyboards made out of? Bohemian porcelain?

    1. Giles C Silver badge

      Re: €2,998!!!!

      I just looked at the website and those prices are excluding vat - which is 21% in the eu.

      So that make it a €8,322.38 price tag.

      R

      However nothing on the page mentions the supported OS to somehow drive all those extra keys

    2. MonkeyJuice Silver badge

      Re: €2,998!!!!

      It is not an official 3600 space-cadet unless you can drop it from 6 inches and kill someone with it, so probably depleted uranium.

      1. Doctor Syntax Silver badge

        Re: €2,998!!!!

        For that money I wouldn't want anything depleted.

    3. Liam Proven (Written by Reg staff) Silver badge

      Re: €2,998!!!!

      > Gee, what are these keyboards made out of?

      I spoke with the chap that runs it. His postal address was within walking distance of my place in Prague. (A long walk and actually I'd have cycled or taken the tram, but it was possible. It was about 20 min away.)

      Sadly, as I was hoping to do an interview and Geek's Guide, it's a forwarding address and he's the other end of the country. Ah well.

      It's mainly the hand-cast keycaps, apparently. He reckons on a cost-per-hour basis they'd be €75 each or something in that vicinity.

      Getting the weight, feel, and etched legends is very tricky... and the key switches are almost unobtainium these days too.

      1. FirstTangoInParis Silver badge

        Re: €2,998!!!!

        Three grand! And I thought Apple iPad keyboards were a rip-off at 160 quid. And why FFS didn’t apple make them transferable when you bought a new iPad?

        1. Richard 12 Silver badge
          Joke

          Re: €2,998!!!!

          To make you pay another £160. Obviously.

          It's bad enough for their struggling bottom line that you can re-use some peripherals, like your home cinema and car.

    4. FIA Silver badge

      Re: €2,998!!!!

      €2,998!!!!

      "You can buy a modern replica, the Keymacs keyboard. They are hand-made in the Czech Republic, and depending on exactly what model and specifications you want, they cost from €2,998 for the Lispsaver up to €6,878 for the A624N Space Cadet."

      Gee, what are these keyboards made out of? Bohemian porcelain?

      Someone's time and effort, plus a lot of bespoke parts.

      No economies of scale here.

  9. STOP_FORTH Silver badge

    Weird ending to article

    I was expecting wq!

  10. Mint Sauce
    Thumb Up

    Eight Megs And Constantly Swapping

    Ah.... such innocent times :-D

    Also, before LLMs we had ELIZA running in EMACS to help us out with our existential problems.

    1. T. F. M. Reader Silver badge

      Re: Eight Megs And Constantly Swapping

      What do you mean, "we had ELIZA"??? M-x doctor works perfectly well in any Emacs even now.

    2. jake Silver badge

      Re: Eight Megs And Constantly Swapping

      ELIZA was invented in the mid- 1960s and had nothing to do with EMACS until much, much later, mid 1980s if I remember correctly.

  11. billdehaan Silver badge
    Happy

    An agnostic caught between Eastern and Western orthodoxies

    For those unfamiliar, there were two schools, or orthodoxies, of text editor design. Eastern orthodox editors viewed files as a series of lines/rows, with rows having either fixed or varible numbers of columns. Western orthodox editors viewed files as simply a stream of bytes. While the display would break lines at a CR, LF, or CR/LF, internally the editor didn't care.

    For structured column-based programming languages like COBOL, RPG, and even FORTRAN, having column and row based commands was a godsend. When comments are defined as having a C in column 1, an eastern orthodox editor, like XEDIT or ISPF (or on the PC, KEDIT or ISPF/PC), can enable or disable function blocks with a single command line command.

    For unstructured languages like C, columns and rows were insignificant. Regular expressions could include, add, or delete CR,LF,CR/LF as required, without caring what line a piece of text was at.

    Basically, eastern orthodox editors were used on IBM systems, while western orthodox editors were used on Unix systems.

    Being a contractor bouncing between IBM and Unix contracts, I became familiar with both. When working on XEDIT, I really noticed the lack of regular expressions (ARBCHAR and VARBLANK are poor substitutes), and on Unix, I noticed the lack of things like RANGE, ALTER, and CAPPEND.

    Oh, for anyone interested, my favourite editor, since 1985 has been Kedit. Initially a clone of IBM XEDIT, they added features from western orthodox editors like regular expressions. There are native DOS, OS/2. and Windows versions, but sadly no Linux, although it does run under Wine, and can be tweaked to use Linux LF and EOL/EOF format as opposed to Windows CR/LF.

    After two years the Institute of Black Magic, I worked at a major bank which was Solaris based. Vi wasn't programmable, and vim wasn't a viable option yet, so I ended up using Emacs. I ended up migrating many of my XEDIT and KEDIT REXX scripts to Lisp for Emacs, and built a frankeneditor that was ugly as hell, but the automated workflow cut my workload by at least 50%.

    While my co-workers were struggling with the Solaris debugger, I ended up writing a bunch of Lisp macros that integrated GDB (GNU debugger) into Gmacs (GNU emacs) that not only did everything they were doing in the "better" Sun debugger, it actually a few things more.

    There's a reason that the animated icon for Gmacs at the time was an overflowing sink. Eight(y) Megabytes And Constantly Swapping, indeed.

    For anyone interested, my personal favourite editor is Kedit, a PC editor, originally written on and for DOS, later ported to OS/2 and later Windows. It started as an XEDIT clone, but later added things from the western orthodox editors, notably regular expressions. It's the only editor I know of where a command can use regular expressions in a column range.

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: An agnostic caught between Eastern and Western orthodoxies

      You repeat yourself regarding Kedit, which I think is a sign of how important it is to you. :-)

      What is "Gmacs"? Is this an abbreviation for GNU Emacs?

      1. billdehaan Silver badge

        Re: An agnostic caught between Eastern and Western orthodoxies

        The repeat was actually due to an edit. I made one edit, it didn't show, I made a second one, and it showed, so naturally in the final cut, it showed up twice.

        And yes, gmacs was the name for GNU emacs. At the time, that was the name of the binary (which we got on an O'Reilly CD). It was text based, as opposed to XEmacs and the "standard" emacs that shipped with many Unix systems back then. There were a number of differences between them, the most important (to me) being that gmacs integrated with gdb properly.

        I haven't used it in years, but over time, I think GNU emacs has become the most popular version, and it's just "emacs" now.

      2. Peter Gathercole Silver badge

        Re: An agnostic caught between Eastern and Western orthodoxies

        Originally, gmacs (also known as Gosmacs) was a term used for Gosling Emacs in the 1980's, before the original Emacs was published under the GPL as Gnu Emacs. James Gosling (later of Java fame) wrote this version of Emacs in C which came with significantly different licensing conditions to the original Emacs, and also had a basterdised lisp (called Mock Lisp) in place of Lisp as the macro language, and significantly more efficient screen driving code for multiple windows on ASCII terminals than Stallman's version.

        Richard Stallman and the company marketing a commercial version of Gosling Emacs (UniPress) had a series of spats about various things to do with copyright, ownership, naming etc. in the late '80s.

        Because there was a threat of a legal dispute between GNU and UniPress, IBM, who had originally intended to ship Emacs as an additional editor with AIX 3.1 on the RS/6000 in 1990, removed it from the original 9003 Gold Build (Week 3 of 1990) of AIX and all later builds, but it has been a part of the previous release candidate (8943 - 43rd week of 1989). Instead, they pushed an editor called InED which that had from the 6150 PC/RT (a,d some other places).

        1. Eric 9001 Bronze badge

          Re: An agnostic caught between Eastern and Western orthodoxies

          Gosling developed Gosling Emacs with the help of multiple other developers - each developer received copyright permission to distribute their own version by Gosling.

          Gosling later decided to be a sellout and sell his copyright to UniPress (such sale would arguably only be legal if all developers had assigned their copyright to him), who marketed a proprietary version of GE.

          rms some time later received a old version of the source code of GE, from a developer who had copyright permission to distribute his own version.

          He saw that all it had was mocklisp and proceeded to start rewriting it, adding proper lisp and releasing it as GNU Emacs.

          UniPress later noticed the popularity and competition of GNU Emacs (proprietary software developers absolutely hate the slightest competition) and made a legal threat.

          rms requested a copy of the copyright permission to send to them - but the developer couldn't find a copy of the email, as it was on a backup tape somewhere.

          So, rms decided to spend a week replacing what little remained of the original GE C code (he and GNU Emacs contributors had already rewritten most of the C in a different way).

          UniPress didn't end up carrying out their legal threat, as they likely released their copyright claim wasn't valid (maybe UniPress was infringing copyright) and they thought there was no way volunteers could develop an Emacs implementation that was practically superior (it was already far superior).

          Not sure what happened next with UniPress, but I figure, considering that proprietary programs age like milk, they went onto peddling the next program.

    2. Gordon Shumway

      Re: An agnostic caught between Eastern and Western orthodoxies

      Take a peek at https://hessling-editor.sourceforge.net

      1. billdehaan Silver badge

        Re: An agnostic caught between Eastern and Western orthodoxies

        I looked at it in the past, and played with it both on Windows and Linux. It's a fair editor, but nowhere near as powerful as Kedit is.

    3. david 12 Silver badge

      , I ended up writing a bunch of Lisp macros that integrated GDB (GNU debugger) into Gmacs

      People sometimes comment about editors like MS Word that contain a scripting language.

      For whatever reason, they don't remember that scripting was, and remains, an original use-case for editors.

  12. stiine Silver badge

    I've changed my mind. The first thing I'll do with my new time machine isn't go back and compliment young Adolf on his painting.

  13. Jason Bloomberg Silver badge
    Pint

    Tempus Fugit

    I have never used EMACS, vaguely recall TECO on the DECsystem-10, but favoured SOS - "Son of Stopgap".

    "It was the best of times, it was the worst of times" comes to mind.

    I'll raise a glass to those who finally brought us WYSIWYG editors. Those who prefer an archaic keyboard command driven editor can raise one to their own favourite.

    Then we can duke it out again in the car park :)

    1. Chris Gray 1

      Re: Tempus Fugit

      WYSIWYG (What You See Is What You Get) refers to formatted documents, with font changes, size changes, underlining, italics, included images and tables, etc. etc. It doesn't refer to editing simple text. The name "vi" is a big clue: "VIsual". Vi shows you your text file on screen, and you edit it directly by moving the cursor around, overstriking, inserting, whatever. Emacs is the same, which you could guess from the story talking about emulating "vi" inside "emacs". They have both always been that version of WYSIWGY. Command-oriented editors (TECO is one, "ed" on Unix is another) are quite different - you cannot see a window-full of your file on a glass screen all the time. But, they could work on ancient beasts like teletypes and other typewriter-like terminals.

      1. dlc.usa
        Flame

        Re: Tempus Fugit?

        Ever try using vi on a 300-baud connection from home? While seeking to resolve an expensive outage? Not me--I'd use ed instead.

        1. PRR Silver badge

          Re: Tempus Fugit?

          > Ever try using vi on a 300-baud connection from home?

          And 110 baud.

          Last time I used vi, if it detected a slow line, it shrank down to like a 6(?) line window, toggleable to 24 line.

        2. JoeCool Silver badge

          Re: Tempus Fugit?

          Yep. 1987. Got the program assignment done by the midnight timeline. But I could have used another 600 baud. Mind you it was a modem pool, so that might have been the bottleneck.

          Since Vi includes an ed mode, I could have dropped down, but I didn't need to.

        3. jake Silver badge
          Coat

          Re: Tempus Fugit?

          "Ever try using vi on a 300-baud connection from home? While seeking to resolve an expensive outage? Not me--I'd use ed instead."

          Would you believe just last week, from our place outside Fort Bragg, CA? Sometimes at speeds as low as 110 (sea fog and aging, cracked, dusty cable plant with copper stretched to its distance limit makes for bad signal to noise ratio) ... And that's barely 200 miles by road from Silly Con Valley.

          Truthfully, when it gets much slower than 1200 I'll use ed instead, and unless it's an emergency, I usually disconnect and wait for the sun to dry things out. No great loss.

          Mine's the one with the Telebit Trailblazer in one pocket & floppy with Kermit code in the other ...

        4. Peter Gathercole Silver badge

          Re: Tempus Fugit?

          Whilst I would agree about using ed on slow links, Vi as originally written had a number of features that allowed it to work better than expected on very slow links.

          This included looking at the line speed and if it was very slow, only using about half of the lines that the terminal had, and deferring certain line modifications and batching them all up together, eliminating intermediate ones that became redundant.

          I was reminded of this when working on my PiDP11 with Edition 7 Unix not that long ago. The Bell Labs. tape did not have Vi, but it could be added from a BSD tape, as long as you had a PDP-11 with separate I&D spaces. The available BSD2.11 image on the TUHS archive has pre-compiled PDP11 binaries on it. Because of a limitation of the SimH PDP-11 emulation, there is no emulation of a DH-11 RS232 interface, the standard one used for multiple RS232 high(er) speed lines on earlier PDP-11s before the DZ-11 became available, and I am having difficulty with the DZ-11 drivers in Unix, which at Edition 7 were marked as 'experimental'. So I am having to run a hardware serial line as a DC-11 or a DL-11C (the faster DL11-E which uses different vector addresses is also poorly implemented in SimH), neither of which could do high-speed RS232 (2400 baud appears to be the fastest). When I attached a real serial terminal (well, a PIC32 driven VT100 physical terminal appliance, I would dearly love to have a real VT compatible terminal) directly via a USB to RS232 adapter allocated to SimH, I could not get it to report it any faster than 2400 baud, and this triggered the low line-speed code in Vi.

          One thing that I did find is that the different termcap entries, selecting one that defined VT100 scroll-regions correctly allowed Vi to be used in a tolerable manner even on slow speed lines. Other, slightly dumber terminals would do much more screen writing, which would become tiresome.

          But I suspect that I have a different view on this to many people. I grew up with 1200 and 2400 baud local serial terminals, so I am a lot more patient than I believe that many people used to modern systems are!

  14. yogidude

    Regular expression search and replace

    I have a woefully inadequate knowledge of EMacs features.

    But I still use one feature on an almost weekly basis and have done for the last 15 years: regular expression search and replace, particularly when working with csv files. I have also used the sed grammar in vi, but it’s not as flexible. Having sed that, this is real granddad stuff, who hand-edits files anymore?

    1. jake Silver badge

      Re: Regular expression search and replace

      "who hand-edits files anymore?"

      Intelligent people who don't trust stupid machines.

    2. Michael Strorm Silver badge

      Re: Regular expression search and replace

      I haven't checked to see whether the original vi included regex search and replace, but vim very certainly does, and I use that facility very frequently (sometimes for processing and formatting the aforementioned CSV files).

      1. Peter Gathercole Silver badge

        Re: Regular expression search and replace

        Vi had all of the regex search and replace that Ed had. IMHO, it's worth learning Ed just for these, and it is largely applicable to simple sed scripts and on into Vim and the other Vi re-implementations.

        Remember, Vi was written on top of Ex, which had features adopted from Em (Editor for Mortals from Queen Mary College in the UK), which was itself an extension of the original Ed. Ancestry is important.

  15. munnoch Silver badge

    I've been using emacs for just under 40 years so just a youngster. I have it to thank for making me as productive as I was in my professional life. Every so often I would learn something wonderous about it but keeping all that knowledge in main memory for a 1960's model like me was difficult.

  16. mcswell Bronze badge

    unsupported

    Unfortunately, my card punch doesn't support emacs or vi. I do however have the possibility of backspacing on the line, so I can go back and fix things earlier on the line. And I have a wastebasket (dustbin to you Brits) to deal with any previous lines that I messed up. So I think I have the same features! Oh, and I can always get a printout, which I bet is longer than your screen height has rows.

    1. STOP_FORTH Silver badge

      Re: unsupported

      We call 'em wastebaskets or waste bins for indoors/paper/office waste. Dustbins is strictly outside receptacles. I assume they were full of ash from coal fires and dust from carpets once upon a time.

      Nowadays they are all multicoloured recycling bins.

      Since Hallowe'en has just come and gone, I will just mention that Bram Stoker wrote a short story about the ash-heaps on the outskirts of Paris.

  17. frankyunderwood123 Silver badge

    vi user here…

    I tried to like emacs, many times, I failed.

    However to this day I still use vi, or rather vim.

    I know enough to edit what I need to and no more, just a handful of commands and shortcuts.

    I reach for it wherever in a terminal, which is quite frequently, even on my local pc despite the fact I have GUI text editors at my disposal.

    Most times it’s just quicker to vi a config file than to open it in a gui app.

  18. seven of five Silver badge

    "but Vi mainly survives as re-implementations."

    yeah, mainly. Of course, there are certain small villages of of indomitable UNIXs still holding out against ... Both AIX and Solaris still hold out.

    And we will fight them in the clouds, we will fight them in the download directories, in the repositories - WE WILL NEVER SURRENDER! (now playing "Aces High")

  19. DrXym Silver badge

    I never liked Emacs

    I remember using in on Sun workstations and it could take 10 or 20 seconds to start because big chunks of lisp had to be executed to make it appear. Microemacs was a WAY more useful tool to me - written in pure C and supporting most Emacs commands and launching fast. Compared to vi it felt more intuitive since editing and running commands were not two separate modes of operation. So I liked the concept of Emacs as an editor but not the big implementation of it.

    RMS was also legendarily bad at accepting patches which is how the Lucid / Xemacs stuff fork came about from pure frustration. And while development picked up a bit, Emacs today still feels arcane. It has some graphical support - a menu, toolbar and some other bits, but it's arcane. It doesn't open a new window it opens a new "frame". A "window" in Emacs is actually a panel. It doesn't have syntax highlighting, it has "font locking". Even putting those things aside the experience still feels way behind a proper graphical editor in an IDE, or Sublime or VS Code.

    I suspect most people never even use Emacs as a result - they'll fire up IntelliJ, or VS Code to do most of their work in the GUI and if they edit in a command line they'll just use nano or vim because it's easier to get in and out.

    1. Chris Gray 1

      Re: I never liked Emacs

      I think it strongly depends on the age of the developer. Older ones (like me!) don't like all that "smart" stuff. I'm currently on a "play with trains" hiatus from it, but sometimes when working on my Zed compiler I would have nearly 100 source files in various emacs buffers. "goto-next-error" will add lots of buffers when you are doing global structure changes!

      In fact, I went to some trouble to *prevent* emacs from doing any window decorating or colour changes.

      1. DrXym Silver badge

        Re: I never liked Emacs

        I was using Emacs 35 years ago so I wouldn't consider myself young but I'll learn new things if it helps me get stuff done. I used to use microemacs all the time back then, but my forays into big emacs were usually frustrated by the speed of the thing. These days I'll live in an IDE and in VS Code and just fire up Nano or vi if I need something done on the console.

    2. Peter Gathercole Silver badge

      Re: I never liked Emacs

      Using Emacs as just an editor was a waste of resource. Where it really made an impact was using it as a multi-windowed work environment.

      For example, when I was writing more documents than I do now, I would have a mode with multiple windows, one for basic editing, and I could then split the screen and have another window for the output of spell against the document, with a macro stepping through each misspell to correct it, and I could also have a (nroff) preview window which would show basic table formatting, headings and paragraphs, all on an ASCII terminal. I could hold this in multiple buffers, and show or dismiss these windows on demand.

      Similarly, it could be used as an IDE, something that you may be familiar with nowadays, with the code, the output from make and compiler messages, and even a debugger running in different windowed regions for code debugging, with code highlighting in the source window. Again, on a suitable ASCII terminal.

      Emacs has/had a mail mode, that allowed you to interact with UNIX mailboxes easily, and there were many language specific 'electric' modes that offered assists when writing programs.

      Basically, anything that required interaction, you could write macros in Emacs to automate and process. This was especially the case on Unix systems, were you could drive most things through stdin, stdout and stderr.

      We take all of these things for granted nowadays, but many of the things that are used now had similar features implemented in Emacs (and certain other high function editors such as TECO or DEC's LSE) 40 years ago, before VS Code or any of the modern tools we're used to (and even the OSs themselves) even existed.

      I had one friend who worked almost exclusively from inside Emacs, including playing nethack!

      The biggest problem was really that 80x24 screens were a bit small for this way of working, and the memory footprint of Emacs (even if it was compiled with shared-text, which reduced total memory use across multiple users and reduced start-up time) made it silly to use it just for small edits.

  20. The Central Scrutinizer Silver badge

    I use Emacs daily and love it. I finally decided to learn it about 10 years ago and have never looked back.

    I do a lot of text editing (notes to myself about 3D tips and techniques, raw photo processing etc).

    My default is always to use org mode and it is brilliant. Expand and collapse headings and subheadings with a tap of the Tab key and much more besides that.

    The list goes on and on.

    I'll be using Emacs until I can't physically type anymore.

  21. anonymous boring coward Silver badge

    VI is for self-flagellators.

    In the early days, when Emacs was relatively big, other Emacs-like editors were very useful. Jove, for example.

  22. anonymous boring coward Silver badge

    "Emacs is 50-plus-year-old software, and it shows. This is a huge and complicated program: decades ago, the joke was that EMACS stood for "Eight Megs And Constantly Swapping""

    Somewhat outdated info. Notes on my MacBook is up to 136MB right now. This web page in Safari is 115.4MB.

    I've seen Firefox swell (leak) up to 20GB with only 10-15 tabs.

    Today Emacs is positively lightweight.

    P.S: Many input fields in various apps accept Emacs Ctrl keys to edit them. Like this text I'm inputting right here in Safari.

    1. Liam Proven (Written by Reg staff) Silver badge

      > Somewhat outdated info.

      Not really "info".

      A joke. Yes an outdated one, but then again, see the earlier comments about how much 8MB of RAM cost for a VAX.

      (A PDP-11 couldn't address that much RAM, I think...)

    2. Eric 9001 Bronze badge

      If you do `pmap -x $(pidof emacs)`, you'll see that emacs-30 still uses eight megs of memory (8.5 megs, but oh well).

      When you include all the shared libraries and .eln's, it works out to 650MiB, but that's with all the GtK, libwebp, libjpg, libpng, harfbuzz and Xorg shared libraries (many already loaded and most optional - for example you can use Motif as the GUI backend, or use no GUI backend and the ncurses interface only).

      It's sad many of the emacs keybindings are mapped to something else in many programs.

  23. Will Godfrey Silver badge
    Coat

    EMACS?

    It's life Jim, but not as we know it.

  24. STOP_FORTH Silver badge
    Joke

    Suggestion

    Reg hacks should use edlin for their copy.

    You can even write edlines with it.

    1. Liam Proven (Written by Reg staff) Silver badge

      Re: Suggestion

      > You can even write edlines with it.

      Kindle leave the stage.

  25. ICL1900-G3 Silver badge

    Tilde

    Thanks for that, never heard of it so will give it a go.

    I always used Emacs until my boss begged me to give vi a go. He was right, still using it now - that should start some flame wars!

    Lisp? Beautiful? Really?

  26. herman Silver badge

    Ed is the standard editor

    https://www.gnu.org/fun/jokes/ed-msg.en.html

  27. Juha Meriluoto

    EMACS - Eight Megabytes And Continuous Swapping... On a VAX11/750 with a whopping 12 MB of memory. Those were the days...

  28. Locomotion69

    Obligatory xkcd...

    https://xkcd.com/378/

  29. Throatwarbler Mangrove Silver badge
    Coffee/keyboard

    Alternately . . .

    Escape Meta Alt Control Shift.

    Semi-related: I've recently started using a MacBook, and it's astounding to me how many unintuitive key combinations exist to do basic things. Want to capture part of screen? Why that's Option-Ctrl-4, of course! Want to paste it? Option-Ctrl-Shift-4! Or something. Clearly the legacy of emacs is alive and well.

  30. Eno River

    Having used TECO for several years before EMACS or Vi were released I never saw much point in either of them. I had already written TECO macros to support PDP assembly and Pascal programming so I could implement my own multiprocessor real-time OS. Then came Vedit in 1980.

  31. J.G.Harston Silver badge

    Outdated terminology

    I remember at university the editor documentation talked about the "gold key". Where TF was the "gold key"?????

    The Wiki article even says "the gold key was not always coloured gold, and sometimes coloured blue."

    The moronicity still persists in instructions such as "press the green button". What green button? Which green button? Do you mean "press the OK button"? If so, then ****ing well say so!

    Describe by functionality, dammit, not irrelevant trivial manufacturing-specific irrelevancies.

  32. Daniel Pfeiffer

    Emacs also has modern, innovative features

    When I switched to Rust, I grudgingly gave the “modern” VS code a shot. Besides that its intrusive selection handling feels annoyingly alien on Linux, it lacks (or makes hard to find) some elementary features. These have existed on Emacs for a long time, so I’ve mostly gone back: Double click a quote or a paren to select the whole thing, undo on selected region only, rectangle editing…

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon