Slashdot Mirror


Learning GNU Emacs, 3rd Edition

barryhawkins writes "It's safe to assume that people who are thinking of learning GNU Emacs or improving their Emacs skills are motivated. These people probably know their way around a command prompt, and likely know that Lisp is more than just a speech impediment. They need a book that offers expert advice without wasting time or insulting the intelligence of the reader: Learning GNU Emacs, 3rd Edition is that book." Read on for the rest of Hawkins' review. Learning GNU Emacs, 3rd Edition author Debra Cameron, James Elliott, Marc Loy, Eric Raymond & Bill Rosenblatt pages 534 publisher O'Reilly Publishing rating 9 reviewer Barry Hawkins ISBN 0596006489 summary An intelligent, graded treatment of the landscape of useful Emacs skills and how to internalize them

For a programmer, it is reasonable to question whether or not a word processor or graphical IDE is the right tool to edit a simple script or properties file. IDEs like Eclipse have become universals hammers, and to some of their users, any file containing text looks like a nail. Specific tasks are rarely handled well by universal tools, and text editing is no exception. Dave Thomas and Andy Hunt, authors of The Pragmatic Programmer and founders of the Pragmatic Bookshelf series, recommend that programmers adopt a text editor as an essential utility in their collection of appropriately-suited tools. The tried-and-true text editor is enjoying a renaissance of sorts, and one of the most extensible and customizable applications among text editors is the venerable GNU Emacs.

Tutorials and documentation for Emacs are abundant, but they often prove time-consuming and ineffective for actually learning Emacs. The printed version of the official GNU Emacs manual reads more like an application programming interface (API) document than an instructional guide. This book is a refreshing break from the documentation many have come to expect. Imagine having a group of leading experts on Emacs at your disposal to teach you how to use it in a conversational, consultative style. That is what has been bundled into this book.

The extensibility of Emacs is considered both a key strength and a confusing weakness of the application. The Emacs community has created all sorts of additional capabilities for Emacs, ranging from the impressive to the absurd. The authors have done well to judiciously select which Emacs capabilities to cover. For example, while Emacs does have the capability to function as an email client, other applications have long superseded its ability. The authors have chosen not to cover this topic, and instead devote the available space to learning Emacs' core functionality -- powerful, efficient text editing.

This edition of the book uses the space gained by the removal of esoteric topics to flesh out areas of more common interest. Peripheral areas of Emacs, such as compatibility modes for programming languages (other than Java and Perl), have been left for the user to research after gaining a solid foundation on Emacs as editor and work environment. Integration with the major version control systems has been expanded to include Subversion alongside the age-old standards CVS, RCS, and SCCS. Coverage of support for Java and Perl has also improved, as well as sections for editing HTML and XML. Users wanting to tap into the power of Lisp programming for Emacs should find the coverage satisfying as well.

The pace of the material is comfortable, and the order in which topics are introduced allows the user to progress smoothly through the book. Users with some experience can skip past the first three chapters, but would be advised to read through them, particularly those who are self-taught (which applies to most Emacs users). Given the amount of time the average user spends in Emacs, picking up one or two time-saving shortcuts would be well worth an investment of a few hours. Instructions are given in a way that reflects the fact that there are multiple ways to achieve the same outcome; the authors do not attempt to foist "the only way" to accomplish something upon the reader. Some readers will find that bothersome, desiring instead a simple, straightforward heuristic for performing a task. However, the typical users of Emacs tend to be people who embrace the fact that the world is not a simple, straightforward abstraction. The book reflects the authors' awareness of this nuance.

Perhaps the most distinguishing feature of this book is the chapter devoted to the use of Emacs on different platforms. Unix, Windows and Mac OS X users receive equal acknowledgment. The precautions and insights regarding subtle differences in Emacs when used on particular platforms can reduce users' frustration when getting started.

The mnemonic devices and conventions used in the book allow users to commit useful keyboard commands to memory. The memorization is further solidified by the exercises sprinkled appropriately through each chapter. Readers do not go for very many pages before it is time to be at the keyboard again, harnessing the power of muscle memory to reinforce the material presented. Those who spend any time at a shell prompt or in console applications will find that their new mastery of Emacs keyboard shortcuts translates into increased proficiency with command-line operations as well.

You can purchase Learning GNU Emacs, 3rd Edition from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.

334 comments

  1. VI can't we have this thread without someone... by djh101010 · · Score: 5, Funny

    ...doing just what I just did? I mean, just once?

    1. Re:VI can't we have this thread without someone... by ackthpt · · Score: 2, Funny
      ...doing just what I just did? I mean, just once?

      vi is for people who can't hunt-and-peck (I should know)

      --

      A feeling of having made the same mistake before: Deja Foobar
    2. Re:VI can't we have this thread without someone... by AKAImBatman · · Score: 3, Funny

      Just run EMACS in VI mode and watch everyone's heads explode.

    3. Re:VI can't we have this thread without someone... by saskboy · · Score: 2, Funny

      VIrtually every EMACS thread is going to have some VIcious person bringing up the VItality of competing text editors.

      Now if you managed to say what you did with a LISP, I think moderators would give you a few bonus karma points for that vocabulary VIctory.

      --
      Saskboy's blog is good. 9 out of 10 dentists agree.
    4. Re:VI can't we have this thread without someone... by SComps · · Score: 1

      wouldn't that be a lithp?

    5. Re:VI can't we have this thread without someone... by freshman_a · · Score: 5, Funny

      Since you've already started...

      The only 3 commands any Emacs user needs to know:

      Ctrl-x
      Ctrl-c
      vi

      Let the flame wars begin! :)

      (for the record, I use both Emacs and vi...)

    6. Re:VI can't we have this thread without someone... by revisitor · · Score: 2, Informative

      There is http://www.delorie.com/gnu/docs/emacs/viper_26.htm l/ for those wanting to return to the one true path (and avoidance of carpal tunnel syndrome).

    7. Re:VI can't we have this thread without someone... by Sponge+Bath · · Score: 4, Funny
      for the record, I use both Emacs and vi...

      We need a mod option '+1, poor bastard'

    8. Re:VI can't we have this thread without someone... by Varitek · · Score: 1

      I use both vi and emacs, too. I use each one for the thing it's best at - emacs as the operating system in which Gnus runs, and vi for editing text.

    9. Re:VI can't we have this thread without someone... by kilodelta · · Score: 1

      Bravo! The majority of the time I use vi but every now and then I have to use emacs.

      I much prefer vi. I don't ever recall having to twist my fingers into knots trying to ctrl-right_shift-something, though being a Windows user ctrl-alt-delete is easy enough.

      And vi uses nice easy to remember commands like cw to change word, r to replace a character, dd to delete a line, etc.

      So for my money I'd choose vi. I suppose if I knew emacs better I'd vote it equal but that is not the case at this juncture in my career.

    10. Re:VI can't we have this thread without someone... by m50d · · Score: 1

      He's an infidel. We all know ed is the one true editor.

      --
      I am trolling
    11. Re:VI can't we have this thread without someone... by InThane · · Score: 1

      Bah, I'm all about 'cat > $FILENAME'.

      --
      InThane
    12. Re:VI can't we have this thread without someone... by dgarbett · · Score: 1

      Alt-x viper-mode works better

    13. Re:VI can't we have this thread without someone... by bwt · · Score: 1

      The funny thing about the vi/emacs flame wars is I tend to agree with both sides -- I hate both Emacs and vi. Both of them are symptomatic of the core problem with a lot of open source software: they both suck from a usability point of view. I simply refuse to use a program that requires me to learn arcane key bindings.

      Having said that, I also hate most IDE's. The suck for the opposite problem -- they dumb down the noble task of programming. Saving me from key bindings is good, making me clueless about my code is bad.

      Is there anyone out there like me?

      If you are, I recommend jEdit. It is a nice GUI editor with a lot of power programmer features. It's open source with a very good plugin architecture. One of the plugins allows you to run a console, and once you get used to this, you realize that when you are coding it is better to run your shell in your editor than your editor in your shell.

      It can edit over sftp and this defeats the standard "what if I need to remote in" argument that defenders of vi and emacs always use to say why they can't switch. We all know the real reason is they are just set in their ways.

    14. Re:VI can't we have this thread without someone... by Halfbaked+Plan · · Score: 1

      But then we'd be hacking the book 'Learning the vi Editor' instead, from the same publisher.

      At least my link leads to an all-tech online bookseller who consistenly have lower prices than the big Barney-Noble or Amazott octopusses that threaten to devour all publishing.

      Why are they shucking for Barney here on slashdot?

      --
      resigned
    15. Re:VI can't we have this thread without someone... by Halfbaked+Plan · · Score: 1

      Sounds wonderful, if you can be certain it's installed on every environment you encounter.

      It isn't.

      I like vi because I haven't encountered a Unix or Unix-like environment that doesn't have it installed and ready for me to use.

      --
      resigned
    16. Re:VI can't we have this thread without someone... by Halfbaked+Plan · · Score: 1

      missing close tags suck

      --
      resigned
    17. Re:VI can't we have this thread without someone... by Halfbaked+Plan · · Score: 1
      A Tutorial Introduction to the UNIX Text Editor

      Brian W. Kernighan

      AT&T Bell Laboratories
      Murray Hill, New Jersey 07974

      ABSTRACT

      Almost all text input on the UNIX operating system is done with the text-editor ed. This memorandum is a tutorial guide to help beginners get started with text editing.

      Although it does not cover everything, it does discuss enough for most users' day-to-day needs. This includes printing, appending, changing, deleting, moving and inserting entire lines of text; reading and writing files; context searching and line addressing; the substitute command; the global commands; and the use of special characters for advanced editing.

      Introduction

      Ed is a ``text editor'', that is, an interactive program for creating and modifying ``text'', using directions provided by a user at a terminal. The text is often a document like this one, or a program or perhaps data for a program.

      This introduction is meant to simplify learning ed. The recommended way to learn ed is to read this document, simultaneously using ed to follow the examples, then to read the description in section I of the UNIX Programmer's Manual, all the while experimenting with ed. (Solicitation of advice from experienced users is also useful.)

      Do the exercises! They cover material not completely discussed in the actual text. An appendix summarizes the commands.
      --
      resigned
    18. Re:VI can't we have this thread without someone... by BrokenHalo · · Score: 1
      they both suck from a usability point of view.

      That depends on your point of view. When I first started working with computers, all lines of code were entered into our old Burroughs B3700 computer via an 029 card-punch. Believe me, editing with those was not much fun. Consequently, I was quite happy with most of the line editors (syntax resembling that of sed I used on subsequent machines. But the best of all was TECO, which was more strictly a character editor.

      TECO was great because it was blazingly fast, small, easily scriptable and could edit any kind of file, including binaries. My first sessions with emacs (remember emacs was originally a box of macros for teco) were pretty frustrating because it was so slow: Eight Megabytes And Constantly Swapping.

    19. Re:VI can't we have this thread without someone... by BBF_BBF · · Score: 1

      Like no MS Windows Thread can exist without somebody saying Linux or Mac OS is better. Or a graphics card thread without the ATI and NVIDIA "psycophants" duking it out. Or x86 cpu threads without the AMD and Intel camps beating each other out. The moral to this story is when you talk religion you always get burned.

    20. Re:VI can't we have this thread without someone... by Afrosheen · · Score: 1

      That's pretty much the reason I started remembering VI commands to begin with. Each unix-ish machine I log in on has it by default 90% of the time and I can get to work right away.

    21. Re:VI can't we have this thread without someone... by techno-vampire · · Score: 1
      vi is for people who can't hunt-and-peck (I should know)

      Fi on vi, I say, Emacs forever! Eight Meg And Constantly Swapping isn't a problem whe you have 256Meg.

      --
      Good, inexpensive web hosting
    22. Re:VI can't we have this thread without someone... by m50d · · Score: 1

      That doesn't let you edit as such, although of course real programmers get their code right the first time.

      --
      I am trolling
    23. Re:VI can't we have this thread without someone... by jweatherley · · Score: 1

      This is the one true emacs vi mode.

      --

      --
      Reverse outsourcing: it's the future
    24. Re:VI can't we have this thread without someone... by object88 · · Score: 1

      And vi uses nice easy to remember commands like... r to replace a character...

      Why do you need a command to replace a single character?

    25. Re:VI can't we have this thread without someone... by kilodelta · · Score: 1

      Because sometimes only one character in oh, say a regex needs to be changed.

    26. Re:VI can't we have this thread without someone... by object88 · · Score: 1

      Because sometimes only one character in oh, say a regex needs to be changed.

      Ah, so the 'r' command is stacked with something else-- you're doing a regex search across some or all of the document, and doing a single-letter replace. That makes much more sense.

    27. Re:VI can't we have this thread without someone... by justinhj · · Score: 1

      Two things people always say about emacs if they've only spent 15 minutes with it... The key combos suck I use Vi/Notepad/Ed/Word so why use emacs? Well firstly the key combos used in normal text editing are placed right where your fingers are when you're touch typing. Compare copying a line of text in a normal windows editor and emacs and see where your fingers are during the steps... Windows: Home Shift-End Ctrl-C (cursors keys top target position) Ctrl-V Emacs: Ctrl-A Ctrl-Space Ctrl-E Ctrl-W Ctrl-Y It really does take a little while to get used to the commands, but they were evolved to what they are by constant use. It's worth the time investment. Secondly, emacs is not comparable to other text editors because it is more than a text editor. It's a programmable platform. You can do so many things on it because of that single fact that it's just not a text editor any more. It also closely ties in with other Gnu tools, so that out of the box you can use grep and g++ etc, and have the results navigable in your emacs environemnt. I would advise everyone who has briefly(sic) tried Emacs to read a book like this one and spend a few weeks using it before dismissing it.

  2. Buy vi? by JWW · · Score: 3, Funny

    Vi would I want to learn emacs????

  3. I've tried to learn emacs to no avail by winkydink · · Score: 2, Interesting

    I've been using vi for over 20 years. From time to time, I have tried to learn emacs (seeing the benefits) but the learning curve seems so steep, relative to just sticking with the statuis quote. Short of taking a couple of months off to focus on this extensiveley, what's the best way?

    --

    "I'd rather be a lightning rod than a seismometer." -Ken Kesey

    1. Re:I've tried to learn emacs to no avail by Anonymous Coward · · Score: 3, Funny
      (http://www.networkmirror.com/ | Last Journal: 2005.07.14 12:45) I've been using vi for over 20 years. From time to time, I have tried to learn emacs (seeing the benefits) but the learning curve seems so steep, relative to just sticking with the statuis quote. Short of taking a couple of months off to focus on this extensiveley, what's the best way?

      It seems you have misspelt 'VI Rules!'
    2. Re:I've tried to learn emacs to no avail by Anonymous Coward · · Score: 0

      Run through a tutorial and then just start using it. Each day for a month spend 15 minutes reading through a reference book to learn something new about it.

    3. Re:I've tried to learn emacs to no avail by slim · · Score: 3, Informative

      I'm in exactly the same boat. I don't consider myself to be stupid, but I've made serious efforts to learn Emacs (initially, just as a text editor), using the built in tutorial and previous editions of the O'Reilly book, and none of the keybindings, obscure combinations and long commands stick in my memory.

      Vi wasn't easy to learn either -- but while unintuitive, it is all logical and most of the keybindings have obvious mnemonics.

      I decided to give up on Emacs, and to be honest I've never been given a reason to regret it.

    4. Re:I've tried to learn emacs to no avail by Anonymous Coward · · Score: 0
      "Run through a tutorial and then just start using it. Each day for a month spend 15 minutes reading through a reference book to learn something new about it."
      Why it's so easy, and it sounds fun too! What is this revoloutionary process called?
      "It's called learning, and if you order now you will recieve at no extra charge the AC Guide to Obvious Shit. Remember, operators are standing by for this limited time offer.


      ~Anonymous Celebrity Endorsement
    5. Re:I've tried to learn emacs to no avail by panda · · Score: 4, Informative

      I've been using Emacs for 15 years and started using Emacs before I even knew that vi existed. I use vi when I must, i.e. no Emacs on the server or I'm going in on a slow remote connection, but don't want to use vi for my every day editing. I can do all the basic editing that I need in vi, but for the truly fancy stuff, I feel much more at home in Emacs.

      Automation of repetitive task can go way beyond recorded key strokes once you get a grip on Emacs lisp. This tool has saved me years of work over the time that I've used it.

      The best way to learn Emacs is to just use it. Having this book will help you. I have the first edition now collecting dust on a shelf at home. The help, actually info, is very helpful. There's an interactive tutorial that comes with it, etc.

      My favorite editor, though, must be sed. ;)

      --
      Just be sure to wear the gold uniform when you beam down -- you know what happens when you wear the red one.
    6. Re:I've tried to learn emacs to no avail by Karma_fucker_sucker · · Score: 1

      I know what your saying. Back in the day, I used XEmacs (here). That had some menu items with their subsequent key commands in the menu items. So, the dirst couple of times I would use the menu item while paying attention the command keys. As far as the macros are concerned, I guess that's where a book like the review would come in handy.

      --
      Evil people don't think they're evil. - George Lucas, Making of Ep III
    7. Re:I've tried to learn emacs to no avail by soloport · · Score: 4, Informative
      what's the best way?

      Start with the most basic navigation commands. Learn to use "Ctrl-H, A" and type words in to learn about other commands you may need (e.g. "Ctrl-H, A, page" yields backward-page, forward-page, etc.)

      The most useful thing I've ever done for my productivity, when it comes to Emacs, is to add the following line to my ~/.emacs file:
      (global-set-key "\C-z" 'call-last-kbd-macro)
      So, when I type Ctrl-Z, it doesn't drop me into the shell (very annoying), but instead executes the last macro. Creating a macro is so easy and executing a gazillion iterations of a macro is now that much easier.

      I've tried to switch to IDEs, to Kate (very, very nice), Quanta+ and others. But the power of the easy, fast macro keeps me coming back to Emacs, every time.
    8. Re:I've tried to learn emacs to no avail by Malc · · Score: 2, Informative

      M-x viper-mode

      (Meta or alt key plus x, then type viper-mode when prompterd). Now you have VI keybindings.

    9. Re:I've tried to learn emacs to no avail by sammy+baby · · Score: 3, Insightful
      (global-set-key "\C-z" 'call-last-kbd-macro)
      So, when I type Ctrl-Z, it doesn't drop me into the shell (very annoying), but instead executes the last macro. Creating a macro is so easy and executing a gazillion iterations of a macro is now that much easier.

      Except that for plenty of us, Ctrl-Z is already mapped in our heads to "Undo." So while we're stabbing at Ctrl-Z to undo what we just did, Emacs will helpfully be doing it again.

      (Sorry - I'm sure it works well for you, but for someone just learning Emacs, it might not be the best idea. ;) )
    10. Re:I've tried to learn emacs to no avail by yagu · · Score: 1

      Yeah, me too. I've been tempted numerous times into trying emacs again, but seem to always come back to vi/vim. Original speedbumps for me included (but not limited to) the ungodly resources required to run emacs (back then the machine could almost be brought to its knees by one emacs session, and the full package installation required juggling and managing available disk space...); the obfuscation factor of the META key -- one time I had forgotten the key sequence to quit emacs, and finally had to just abandon the frigging xterm session because I couldn't figure out how to get out of the edit session; and the ability of vi/vim to perform everything I needed without the obfuscation factor. And, with minimal investment, vi/vim really approaches emacs in its abilities. I know that would trigger a religious flame war, but for my purposes, I believe it to be true. (I'm in no way dissing emacs, I'm amazed at its abilities, it's just not for me.) Anyway, I agree with you -- emacs is tempting to want to learn -- the advocates tout it as the ultimate editing and shell environment... but, it really doesn't seem to give me the return on investment of time learning, installing, etc.

    11. Re:I've tried to learn emacs to no avail by hwestiii · · Score: 5, Insightful

      I used to work with a guy who used Emacs exclusively for everything, on WinNT even, and I used to think it was a joke. I'd tried learning the standard key-bindings but while they weren't completely non-intuitive, they seemed unneccearily difficult. I used to joke with him that Emacs needed foot pedals in addition to a keyboard.

      Then I discovered VIPER mode and the way became clear. I'd taught myself vi a few years earlier while going to school, forcing myself to write my CS homework assignments using it on a Linux box.

      Perhaps Emacs is really no more difficult to learn than vi, but it set up a sort of cognitive dissonance in me that I could not overcome. Of course vi can be difficult and cryptic with it single letter keystrokes and love affair with the escape key, but it simply seems so much smaller than emacs, with just that little blank window and blinking cursor.

      Emacs on the otherhand just looks so feature rich with all its cascading menus and multiple modes and such that I felt intimidated only learning the basic editing commands. It made me feel stupid, and try as I might, it did not appear to get any more accessible with use.

      VIPER is just the ticket for me. All the run-of-the-mill editing is there at the tips of my fingers with familiar commands, and the deeper emacs stuff is still available if and when I care to use it.

      Honestly, I think the default key-bindings of Emacs are its greatest impediment to common use. Perhaps every copy of this book (I own the 2nd. edition as well as the manual and references from GNU) should come with a vi quick ref just for good measure.

    12. Re:I've tried to learn emacs to no avail by Trixter · · Score: 1

      Here's my odd take: I must be the only person on the planet to switch to VI *from* emacs. I learned it when stuck on a server that didn't have emacs, and I was so impressed at how much faster (ie. less effort to perform complex tasks) VI was over emacs that I just stopped using emacs.

      However, this may have been ingrained at an early age -- In 1986 I started playing a PC port of Hack, which used... wait for it... VI h-j-k-l movement keys. It wasn't until a few years after switching to VI and picking up Hack again (still haven't finished it!!) that I realized the coincidence.

    13. Re:I've tried to learn emacs to no avail by Bob+Uhl · · Score: 1
      ...one time I had forgotten the key sequence to quit emacs, and finally had to just abandon the frigging xterm session because I couldn't figure out how to get out of the edit session...

      That's not really something vi's any better at--would you have guessed that :q quits?

      ...the ability of vi/vim to perform everything I needed without the obfuscation factor...

      Well, a lot of that is simply the fact that you're used to vi. I used to be like you--vi rox, emacs sux. But I kept on seeing so many folks using it, and one day sat down and forced myself to learn it--and you know what, those folks were right: emacs really is several orders of magnitude more powerful. And the ROI is definitely there. I wouldn't go back now; I'm so much more productive and my text editing is actually fun, if you can believe that.

    14. Re:I've tried to learn emacs to no avail by benwb · · Score: 1

      (global-set-key "\C-z" 'undo)

    15. Re:I've tried to learn emacs to no avail by An+Onerous+Coward · · Score: 2, Informative

      As a die-hard Emacs fan, I would suggest that you stay with vi. You've got lots of experience with it, it's always available, the number of fans it has would indicate that Emacs can't be all that superior, etc.

      Having said that, if you're still interested in learning Emacs, the best way to do it is cold turkey. You start using Emacs for your daily text-editing activities. All of them. Make yourself a cheat sheet, and stick it on the side of your monitor for easy reference.

      Just try to get the basics at first. Simple navigation, selecting regions, cutting, pasting, and the saving and loading of files should be enough to get you started. Once you're comfortable with those, add in searching, switching between buffers, "autocomplete", find-and-replace, etc. Only add a couple of new features at a time, and give yourself time to make them instinctive before moving on.

      One last thing: Don't touch the mouse. This will help you in the long run, as it will be an incentive to learn to navigate around a buffer. Avoiding the mouse will soon feel very natural.

      My biggest hurdle with Emacs was the fact that I'd never used the Ctrl key, and I kept hitting Shift instead.

      In summary, don't "take a few months off" to learn Emacs in its own right. You'll learn it better by simply using it for whatever project you're already working on. Remember that the learning curve is always steep when compared with sticking to the status quo, but don't be surprised if, once you get up the mountain, you find that you're approximately as productive as you were in vi.

      --

      You want the truthiness? You can't handle the truthiness!

    16. Re:I've tried to learn emacs to no avail by Anonymous Coward · · Score: 0

      no that's not right... my mind says ctrl-_

    17. Re:I've tried to learn emacs to no avail by Dan+Ost · · Score: 1

      Out of curiosity, what is the advantage of running emace in viper mode over
      simply running an actual vi clone like vim?

      --

      *sigh* back to work...
    18. Re:I've tried to learn emacs to no avail by Dan+Ost · · Score: 1

      After years of playing nethack, I'm sometimes confused when I can't
      move diagonally in vim.

      --

      *sigh* back to work...
    19. Re:I've tried to learn emacs to no avail by Doctor+Faustus · · Score: 1

      Having the Windows keu bindings on by default for Windows binaries would be a big help, too.

    20. Re:I've tried to learn emacs to no avail by drauh · · Score: 1

      Apple-Z, for me. Anyway, I've hacked my .emacs files to make Emacs behave like WordStar. Originally, this was a learning adaptation: I'd used WordStar in high school, and still had the keystrokes in my "muscle memory". This rapidly became a survival skill when I became a sysadmin: I could not answer any Emacs questions because I never knew what the standard keybindings were. For that, it was worth the hand-tweaking of mode files.

      --
      This is a tautology.
    21. Re:I've tried to learn emacs to no avail by hwestiii · · Score: 1

      You also get access to all the native emacs features, of which there are a great deal.

      If all you need to do is edit a file and get out, there may be no need to run emacs, but it has a lot of extra self either built-in or easily added, like a pretty good directory listing mode, source code control integration, a great mode for viewing man pages, a pretty good shell mode, a mode for editing rectangular areas of documents, etc.

      Vim might have all that now, for all I know. Actually, I think I look at Vim now the way a lot of people look at emacs. It does so much more stuff than vi, that figuring out how to do it all is a job in itself.

      Emacs isn't really just an editor. Its a whole generalized user environment in which to build editors. Its definitely a lot more than most people may need, but if you use it enough, chances are you'll find that it can do something for you, that you will soon not be able to do without.

    22. Re:I've tried to learn emacs to no avail by maw · · Score: 1
      (global-set-key "\C-z" 'call-last-kbd-macro)

      Good tip, but be careful about using global-set-key. Many modes override things you've set that way.

      --
      You're a suburbanite.
    23. Re:I've tried to learn emacs to no avail by Coryoth · · Score: 1

      Alternatively you can use

      M-:
      (use-global-map (make-sparse-keymap))

      It's not quite as complete an emulation as Viper mode, but it is a surprisingly close approximation.

      Jedidiah.

    24. Re:I've tried to learn emacs to no avail by halber_mensch · · Score: 1
      Vi wasn't easy to learn either -- but while unintuitive, it is all logical and most of the keybindings have obvious mnemonics.

      For the record, how can something be both unintuitive and logical? :)

      I started using vi at the start of my unix use 7 or 8 years ago. I did have trouble at first keeping track of the mode I was in, but it was not a big deal. I accumulated many crib sheets for vi commands over the years and I can naturally do a number of tasks in vi.

      That being said, I use vi for quick simple edits only, and I exclusively code in emacs. I can't remember when I started using emacs. I do remember that in a terminal it was impossible at first to remember commands at all and it was frustrating - but no more frustrating than remembering vi command mode keys and colon commands. As with any tool, I found that the more I used it, the more neat functionality I could discover and learn to use effectively. Major and minor editing modes tailor the environment for specific tasks, the control keys are now more natural to me than exiting to command mode every time I want to do something, and now I'm endeavoring on learning to use elisp expressions. I've picked up the emacs pocket reference and browsed through TFB a few times to learn essential commands, and spent as much time in the editor environment as possible, and now I'm fairly competant and comfortable with it.

      But it's just like any other tool. If the style fits you and you work with it for a while, you'll appreciate what it can accomplish for you. If you learn vi first, and pick up emacs expecting it to be like vi you will get pissy and post on slashdot Just How Much You Think Emacs Stinks. But that's no more intelligent than hammering nails into wood for a few years, grabbing a screwdriver to do the same thing one day, and then bitching in the hardware forums that screwdrivers are a piece of crap because hammers are so much more intuitive.

      --
      perl -e "eval pack(q{H*},join q{},qw{70 72696e74207061636b28717b482a7d2c717b343 637323635363534323533343430617d293b})"
    25. Re:I've tried to learn emacs to no avail by hackstraw · · Score: 1

      I used to joke with him that Emacs needed foot pedals in addition to a keyboard.

      That my friend is the control key :)

      Of course vi can be difficult and cryptic with it single letter keystrokes and love affair with the escape key

      I use vi, and it works fine for me. Back when I was studying the "Scientific Study of Common Sense" (aka "Human Factors Engineering"), I was kicking around the idea of measuring basic editing skills with a vi novice with a modified version of vi that would actually use a foot pedal that when depressed the editor would be in "command mode" and when not pressed the editor would be in "insert mode". I still wish I had such a setup from time to time. Back when I was a code monkey, I used vi so much that I started to get some kind of repetitive stress or carpal tunnel thing in my left hand from hitting the escape key all the time.

      I really like just about everything about vi except for hitting the escape key all the time. It has a steep learning curve, but once you get the hang of it, you don't think about the commands, you just do them.

      Perhaps every copy of this book (I own the 2nd. edition as well as the manual and references from GNU) should come with a vi quick ref just for good measure.

      As a sysadmin, you have to know vi because you will never know if emacs is going to be installed. I really feel sorry for new *NIX users. There is so much to learn to begin with, and an editor is one. The only simple to use with little to no learning curve is pico, but again that is not always installed.

    26. Re:I've tried to learn emacs to no avail by Anthony · · Score: 1

      I found it easier to teach Emacs than vi to my then-12 yo son as there is no "beep-mode/non-beep mode" that you get with vanilla vi. He always used it in a window manager so he had access to the X menu without having to use the key short-cuts. 8 years on, his mind has been poisoned by nano ;-). He was probably mocked by some evil vim users.

      --
      Slashdot: Where nerds gather to pool their ignorance
    27. Re:I've tried to learn emacs to no avail by DrXym · · Score: 1
      I'm more comfortable with emacs than vi. I know a handful commands in vi which is sufficient to deal with it when I'm forced to but emacs strikes me as the more "normal" of the two. Even so, I find emacs to be absolutely horrible to configure properly and I just hate trying to get the bloody thing to indent C++ the way I like it. The entire configuration of emacs is a total mess in fact, almost requiring you to learn to program lisp. IMHO Xemacs is a better emacs than emacs is because the prefs and configuration is simpler.


      My current choice of editor when I absolutely positively have to use a text window is jed (a tiny emacs clone) since it's considerably faster to load. And failing that I'd rather use a GUI editor anyway. I'm not averse to dedicated editors - I like Jedit quite a lot, but frankly I'd take an IDE or a GUI editor over emacs / vi + make + command line anyday.

    28. Re:I've tried to learn emacs to no avail by rsheridan6 · · Score: 1

      As an Emacs user, I agree. Emacs has brain-dead defaults. To get usable keybindings, you have to do it yourself. OTOH, when you do it yourself you get keybindings customized to what YOU do, not some one-size-fits-all-but-not-that-well least common denominator keymap.

      --
      Don't drop the soap, Tommy!
    29. Re:I've tried to learn emacs to no avail by ctzan · · Score: 1
      "needed foot pedals in addition to a keyboard"


      This doesn't sound like a bad idea at all.
      Isn't how the "UI" of a church-organ, car or
      sewing machine works ?


      Many times I used my feet/toes when I had to
      hack two computers in parallel, instead of
      continually switching mice and keyboards.

    30. Re:I've tried to learn emacs to no avail by Fahrenheit+450 · · Score: 2, Insightful

      For the record, how can something be both unintuitive and logical? :)

      Because intuition and logic aren't the same thing. For a simple example take the birthday paradox (which isn't a paradox, but I didn't name it so don't blame me). It is completely unintuitive that a random set of 23 people has a greater than 50% chance of containing at two people who share a birthday. However, a straightforward proof shows that this is indeed the case.

      Another logical, yet unintuitive thing is that the cardinality of the integers and rational numbers is the same...

      --
      -30-
    31. Re:I've tried to learn emacs to no avail by Anonymous Coward · · Score: 0

      I learned just enough vi to be able to install Emacs. :) I don't think Vi is "bad", but I just can't stand having to enter some specific mode in order to enter text into a text editor. In Emacs, you just type!

    32. Re:I've tried to learn emacs to no avail by D3m3rz3l · · Score: 1

      Actually I switched to vi from emacs this summer. vi is much faster to code in without having to make custom bindings (which then don't follow you around from machine to machine). vi regex searching also kick's emacs' butt. :)

    33. Re:I've tried to learn emacs to no avail by Tamerlan · · Score: 1

      I did exactly the opposite. Not that I was "gof of emacs" but I knew hundreds of key bindings wrote my .emacs from scratch and even wrote some Lisp stuff.

      And then I switched to Vim (I still find classic vi horrible). Not that I like vim system of editing more - the simple reason is that I often had to fire up an editor from the command line. And emacs in terminal is painful to work with (at least it was for me). Now I am very comfortable in Vim and pretty comfortable in Emacs should the need arise.

    34. Re:I've tried to learn emacs to no avail by thakadu · · Score: 1

      I use both vi and emacs extensively. I often use vim with the vimacs extension or emacs with viper mode. To me the most powerful thing about vi is the command mode. Its downfall though is that vi in insert mode is soarly lacking. Emacs on the other hand has an extremely powerful insert mode, but essentially no command mode (some people have claimed that M-x takes you into command mode, but this is not the same). So both vimacs and viper give me emacs keys in insert mode, but still allow me access to the very powerful vi command mode with the press of the escape key.

    35. Re:I've tried to learn emacs to no avail by tlord · · Score: 1

      What's the best way [to learn].

      Allocate a couple of hours. Run emacs. Type C-h t ("control-h t").

      That runs a venerable tutorial which gives you enough foundation that you can explore from there as the mood suits you.

      -t

    36. Re:I've tried to learn emacs to no avail by Khazunga · · Score: 1
      I also moved to vim from emacs. In my case it was because of server administration over lines with some lag (0.5s-1s). Vim allows you to queue commands like move 25 characters right, change characters from here to '(', type something. Over lines with lag, this is a killer feature.

      From then on, I grew attached to the lightweight nature of vim.

      --
      If at first you don't succeed, skydiving is not for you
    37. Re:I've tried to learn emacs to no avail by Anonymous Coward · · Score: 0
      I have tried to learn emacs...what's the best way?
      Keep a reference card by your side while you use it.
    38. Re:I've tried to learn emacs to no avail by Anonymous Coward · · Score: 0


      The most useful thing I've ever done for my productivity, when it comes to Emacs, is to add the following line to my ~/.emacs file:

              (global-set-key "\C-z" 'call-last-kbd-macro)



      In vi, you just use "." No remapping necessary.

    39. Re:I've tried to learn emacs to no avail by halber_mensch · · Score: 1
      Because intuition and logic aren't the same thing. For a simple example take the birthday paradox (which isn't a paradox, but I didn't name it so don't blame me). It is completely unintuitive that a random set of 23 people has a greater than 50% chance of containing at two people who share a birthday. However, a straightforward proof shows that this is indeed the case.

      You mean mathematically or statistically correct, not logical. Logic deals with truths and falsehoods, not statistics or numbers.

      e.g. A=" a -> b" is true. a is true. Therefore by the truth table of ->, b is true.

      But I will concede that logic is not necessarily intuitive (arising from experience or instinct) and my little pun isn't correct.

      --
      perl -e "eval pack(q{H*},join q{},qw{70 72696e74207061636b28717b482a7d2c717b343 637323635363534323533343430617d293b})"
    40. Re:I've tried to learn emacs to no avail by slim · · Score: 1

      For the record, how can something be both unintuitive and logical? :)

      For the purposes of UIs:
      Intuitive means "you can work out how to use it by guessing"
      Logical means "it makes sense once you've been told how it works"

      I don't think I would ever have guessed that "yy" would yank a line: so it's unintuitive.

      But once you grok the rules, they're logical. Look at "y" for yank and "d" for delete.

      Hitting the same key twice acts on a line: "dd" or "yy".

      Space, w, b, {, } etc. all move the cursor in various ways (one char, one word, back one work, back or forth one paragraph. That's not intuitive.

      Prefixing any of these movements with a "d" or a "y" deletes or yanks the characters that the movement command covers. That's not intuitive, but it is perfectly logical. It means you can check the scope with an actionless movement before performing the action.

      Prefixing any of that with a number, performs the action that many times. That's not intuitive either, but once you know it, it applies to every command, logically.

      I don't think Emacs stinks: on the contrary, the reason I've tried to learn it so many times is that I see all these features it purportedly has, and my mouth waters. People are different though, and it seems clear that Emacs' UI is designed for people different to me.

    41. Re:I've tried to learn emacs to no avail by slim · · Score: 1


      As an Emacs user, I agree. Emacs has brain-dead defaults. To get usable keybindings, you have to do it yourself. OTOH, when you do it yourself you get keybindings customized to what YOU do, not some one-size-fits-all-but-not-that-well least common denominator keymap.


      This is intriguing, because it might give me an excuse for failing so badly when I tried to learn Emacs :)

      But:
      (1) Designing a set of keybindings is quite a challenging task in itself
      (2) Doesn't this mean that if you try and use Emacs on a system other than your own, you're stuck?

    42. Re:I've tried to learn emacs to no avail by Anonymous Coward · · Score: 0

      I'm in the other boat. I found Emacs fairly intuitive (coming from the Mac/GUI world). I've tried learning vi*, but I end up spending a whole day trying to figure out basic stuff.

  4. Bah by dduardo · · Score: 0, Offtopic

    jedi@localhost# vim slashdot_post

    i
    I use Vim you insensitive clod!
    <ESC> :wq

    1. Re:Bah by Anonymous Coward · · Score: 0

      If you're really a Vim user then that would simply be:

      I use use Vim you insensitive clode! :x

    2. Re:Bah by Aneurysm9 · · Score: 1

      No it would be: i I use Vim you insensitive clod! ZZ

      --
      There was Cowboy Neal at the wheel of a bus to never-ever land.
    3. Re:Bah by Laxitive · · Score: 1


      Meh.. I've been a vim user (junkie) for the last 7 years or so.. and I've always used :wq .

      -Laxiive

    4. Re:Bah by Anonymous Coward · · Score: 0

      !@#$ Slashdot and its !@#$ "plain old text" mode that apparently did not escape < and >...
      Looks like it picked up those characters and decided I really wanted HTML. Riiight.
      <Insert>
      I use use Vim you insensitive clod!
      <Esc>:x

    5. Re:Bah by Anonymous Coward · · Score: 1, Funny

      Real Vim users know that Perl's motto equally applies to their text editor.

    6. Re:Bah by nherm · · Score: 2, Funny

      nherm@localhost:~$ cat > slashdot_post

      back in my days we dindt have those fancy text editors and we where hppy^H^H^H^Hhapy^H^H
      ^C
      nherm@localhost:~$

    7. Re:Bah by Anonymous Coward · · Score: 0

      still wrong.

      iI use vi or whatever:wq

  5. teco? by ackthpt · · Score: 1, Funny
    Just run EMACS in VI mode and watch everyone's heads explode.

    How about teco?
    Does it have a teco mode?

    --

    A feeling of having made the same mistake before: Deja Foobar
    1. Re:teco? by HuguesT · · Score: 2, Informative

      Look at the official Emacs FAQ.

      Short answer, yes it does.

    2. Re:teco? by armb · · Score: 1

      More comprehensive and only slightly less accurate answer: the answer to "Does emacs have a foo mode?" is "yes" for all possible values of foo.

      --
      rant
    3. Re:teco? by ambrosen · · Score: 1

      Does emacs have a multi-threaded mode?

    4. Re:teco? by armb · · Score: 1

      Not really, as far as I know (I did say it was a slightly less accurate answer).
      It can spawn child processes though, so you can edit something while M-x compile output is filling another window, and http://www.mit.edu/~raeburn/guilemacs/ says Guile supports multiple threads.

      --
      rant
  6. Hand hurts after using Emacs all day by zomper514 · · Score: 1, Interesting

    I have noticed when I use Emacs for extended periods of time my right hand hurts at the end of the day.

    I upgraded to a Microsoft Wireless Comfort Keyboard to try and aleviate the problem but it doesn't seem to be helping all that much.

    Any suggestions from the Slashdot crowd. Are their any emacs friendly keyboards?

    1. Re:Hand hurts after using Emacs all day by Anonymous Coward · · Score: 0

      stop jacking off so much!

    2. Re:Hand hurts after using Emacs all day by mrpotato · · Score: 2, Informative

      I don't really see why your right hand would hurt much, but still, here's my trick for Emacs hand comfort: make sure you use a keyboard where the left Control key sticks out well. That way, you can press Control with only the side of your hand, instead of having to use your pinky finger.

      Think of this as a sixth finger for your hand. The shape of your hand was intelligently designed to use Emacs that way.

      --

      cheers
    3. Re:Hand hurts after using Emacs all day by Anonymous Coward · · Score: 0

      Switch the caps lock and the control key like a sun keyboard. It takes a while to get used to, but it's worth it.

    4. Re:Hand hurts after using Emacs all day by EvanED · · Score: 2, Interesting

      Agreed. I flop caps and ctrl (even in Windows) and have never looked back.

      The Sun layout with respect to that is, IMO, vastly superior to the PC layout even w/o the Emacs benefit.

      (Of course, I suggest you don't actually get a Sun keyboard, because the location of backspace (no longer at the corner) is an abomination. If you have to use one, may I suggest the following:
      (global-set-key "`" 'backward-delete-char-untabify)

      (Add that to ~/.emacs) That will fix that braindead decision. I've been known to run a shell from inside Emacs when I'm working on a Sun just so that I can press backspace in the normal location and it will work.

      I'd have moded you up but I wanted to take that pot shot at the Sun layout.)

    5. Re:Hand hurts after using Emacs all day by trash+eighty · · Score: 4, Funny

      stop using Emacs to surf porn then

    6. Re:Hand hurts after using Emacs all day by Anonymous Coward · · Score: 0

      His hand will probably hurt for other reasons then..

    7. Re:Hand hurts after using Emacs all day by AtrN · · Score: 1
      press Control with only the side of your hand

      Uggghhhh...The control key is supposed to be where caps lock is usually placed (IBM fucked up big time and moved it many, many years ago, everyone else copied their stupidity). Map caps lock to a control and use it with your left little finger.

    8. Re:Hand hurts after using Emacs all day by Anonymous Coward · · Score: 0

      I use the dvorak keyboard layout, and those problems went away for me. (Actually helped with vi as well, but not as much)

    9. Re:Hand hurts after using Emacs all day by rsheridan6 · · Score: 1

      Some people (not me) swear by swapping the Control key with Caps Lock. I have my Windows key bound to Super (old keyboards had Super and Hyper modifier keys) and all of the strenuous chords that I actually use are bound to it: For example, the function bound by default to Control-Meta-F is bound to WindowsKey-F. That's helped a lot.

      --
      Don't drop the soap, Tommy!
    10. Re:Hand hurts after using Emacs all day by Zed+Lopez · · Score: 2, Informative

      My favorite Emacs-specific ergo tip: avoid chording. It's not for nothing that Emacs is so massively configurable. I have:

      (define-key global-map [f1] 'Control-X-prefix)
      (define-key global-map [f2] 'find-file)
      (define-key global-map [f3] 'save-buffer)
      (define-key global-map [f4] 'kill-buffer)
      (define-key global-map [f5] 'switch-to-buffer)
      (define-key global-map [f6] 'other-window)
      (define-key global-map [f9] 'compile)

      in my .emacs (inspired by this.) I used to have a host of other things mapped all over the numeric keypad -- kill, yank, undo -- but I lost them at some point. I should re-create those.

      Also don't neglect a good setup (good posture, good keyboard, good pointing device), and stretch breaks at least once an hour.

    11. Re:Hand hurts after using Emacs all day by (1+-sqrt(5))*(2**-1) · · Score: 1
      I use the dvorak keyboard layout, and those problems went away for me.
      Hmm; I did find C-x C-s to be more strenuous on Dvorak at the beginning, however.
  7. Oh my god! by bigtallmofo · · Score: 3, Funny

    This review is amazing!

    I haven't been this excited since Slashdot's review of "Learning GNU Emacs, 2nd Edition".

    --
    I'm a big tall mofo.
    1. Re:Oh my god! by Anonymous Coward · · Score: 0

      This reVIew is amazing!

    2. Re:Oh my god! by Halfbaked+Plan · · Score: 1

      Slashdot wasn't around to review:

      GNU Emacs Manual, Sixth Edition, Version 18, March 1987, by Richard Stallman.

      Really and honestly, if you need a good book on Emacs and want the money to go to a good cause, order a printed copy of the GNU Emacs manual from the FSF. It won't be $15 like this 1986 edition, but it's actually about that same price, adjusted for inflation.

      (The FSF website says it's on sale right now!)

      --
      resigned
  8. Reviewed 9 months after publication! by GLevangelist · · Score: 5, Funny

    But given Emacs' startup time, you're forgiven.

    1. Re:Reviewed 9 months after publication! by ArmorFiend · · Score: 1

      Startup times for text editors on my system:
      vi = 1 second
      emacs = 2.5 seconds
      gedit = 5 seconds
      kedit = 7 seconds

      Those were for starting the first of each program. Additional ones were faster, _especially_ kedit, which got screwed by me not running kde by default.

    2. Re:Reviewed 9 months after publication! by Anonymous Coward · · Score: 2, Informative

      There is a Linux kernel module für emacs to make it start faster.

    3. Re:Reviewed 9 months after publication! by grumbel · · Score: 1

      Ironically with the apearance of kedit, gedit, eclipse and friends, Emacs is now actually one of the *fastest* starting editors on my system. That however tells little about the speed of Emacs and more about the slowness of the rest...

    4. Re:Reviewed 9 months after publication! by rsheridan6 · · Score: 2, Funny

      Upgrade to a 386 and it won't be a problem.

      --
      Don't drop the soap, Tommy!
    5. Re:Reviewed 9 months after publication! by Anonymous Coward · · Score: 0

      Well, I would argue that emacs 22.0.50 with the new
      command line option -Q (quick),
      -D (basic display) and -nw (now window system) loads at least as fast as vi(m).

    6. Re:Reviewed 9 months after publication! by Profane+MuthaFucka · · Score: 1, Funny

      No kidding. Emacs is so bloated because it has a lot of unnecessary software built into it. Did you know that Emacs has a psychiatrist program built into it? And did you know that there is a FLIGHT SIMULATOR built into Emacs? It's true. To see the flight simulator in Emacs, first you have to start up the Emacs simulation of MS Excel ...

      --
      Fascism trolls keeping me up every night. When I starts a preachin', he HITS ME WITH HIS REICH!
    7. Re:Reviewed 9 months after publication! by nidarus · · Score: 1
      Or just about any non-steam-powered computer.

      You know, comments like the grandparent's really give you a feeling of how old this flamewar is.

    8. Re:Reviewed 9 months after publication! by Anonymous Coward · · Score: 0

      Whoever modded this offtopic, I want to thank you. If only we could moderate EVERY post about Emacs in a story about Emacs offtopic, then we'd be fucking right on target to cleaning this place up.

      This is sarchasm, you cocksucking morons.

  9. Come on, do it right by Mr.+Underbridge · · Score: 3, Funny

    It's like this:

    Vi, vi vould I vant to learn emacs????

    1. Re:Come on, do it right by revisitor · · Score: 1

      Yes. Especially when emacs needs to be revivified.

  10. Emacs allows MACROS. by Karma_fucker_sucker · · Score: 1

    So, you can write a macro that takes the specs, emails them to India where the code is written, emails the code back to you, and then you take credit for it!

    --
    Evil people don't think they're evil. - George Lucas, Making of Ep III
  11. status quo extensively by winkydink · · Score: 1

    My fingers are connected to my brina, I swear.

    --

    "I'd rather be a lightning rod than a seismometer." -Ken Kesey

  12. Could people actualy be RTFA? by budgenator · · Score: 2, Insightful

    Intersting the author appears to be presenting the "atheist" point of view, into a subject the stirs religious rants amongst the editor's loyalist.

    What I'd like to find and or write is a good PHP/HTML mode for emacs, or even a CPAN/CTAN clone for emacs modes and scripts.

    --
    Apocalypse Cancelled, Sorry, No Ticket Refunds
    1. Re:Could people actualy be RTFA? by panda · · Score: 1

      What I'd like to find and or write is a good PHP/HTML mode for emacs, or even a CPAN/CTAN clone for emacs modes and scripts.

      You might want to check this out: http://www.emacswiki.org/cgi-bin/wiki/HtmlModeDelu xe

      Also, I've got a somewhat extensive file of html advice that loads whenever SGML mode runs in HTML mode. It provides advice functions for the HTML mode commands so that things work the way that I want. I'm lazy and don't like a lot of typing, so I have the advice scan the text and insert stuff where I think it ought to go, and not where HTML mode's author thought it should go. If I keep adding to it, I may just have my very own, complete, HTML mode.

      On the Help menu there are two options that can help you find Emacs packages. The first is Find Emacs Packages and is bound by default to ^h-p. It will give you the hierarchal list of packages stored on your system. The other command, Find Extra Packages, opens an info page with information on a few Emacs code repositories and links to some extra packages.

      Additionally, there's a news group (gnu.emacs.sources) where folks have traditionally posted their Emacs lisp code.

      You are right, though, it would be nice to have something like CPAN/CTAN available straight from Emacs. A light bulb turns on over Panda's head.

      --
      Just be sure to wear the gold uniform when you beam down -- you know what happens when you wear the red one.
    2. Re:Could people actualy be RTFA? by bored · · Score: 1

      Google for "emacs PHP mode". I have one that I use, I can post if you can't find a good one.

    3. Re:Could people actualy be RTFA? by budgenator · · Score: 1

      emacswiki is way cool thanks

      --
      Apocalypse Cancelled, Sorry, No Ticket Refunds
  13. GNU Emacs Manual Is Excellent by Anonymous Coward · · Score: 5, Informative

    The GNU Emacs Manual available for free at http://www.gnu.org/software/emacs/manual/ is excellent. Printed versions are available too.

    Emacs also comes with a built-in tutorial that is a good interactive introduction to Emacs.

    If you are considering learning Emacs, yes, it can seem like an intimidating task. The interface and commands are nothing like what people are used to today. But it is certainly worth the effort learning Emacs and getting used to it.

    1. Re:GNU Emacs Manual Is Excellent by grumbel · · Score: 4, Informative

      ### Emacs also comes with a built-in tutorial that is a good interactive introduction to Emacs.

      It not only comes with a tutorial, the editor itself is completly self-documenting.

      Don't know what a key combo means: 'C-h k' then enter the combo
      Don't know what a function means: 'C-h f' then the function name
      Don't know whats available: 'C-h a' to search through all commands
      Wanna know what other commands are hiding behind 'C-x ...': 'C-x C-h' to get a list

      All the stuff you get as results is hyperlinked and Emacs even allows you to let you click through all that docu down the the actual line of source that performs the function. This self-documentation is something that I miss in almost every other app that is around these days and shows that Emacs, for all its problems, is still quite a few years ahead in some areas bejoint other 'state of the art' applications that people use these days.

    2. Re:GNU Emacs Manual Is Excellent by Anonymous Coward · · Score: 0

      You may think it's worth the effort to learn Emacs, however I believe most sane people would prefer to massage their anus with a handful of rusty nails.

    3. Re:GNU Emacs Manual Is Excellent by Blakey+Rat · · Score: 0, Troll

      But it is certainly worth the effort learning Emacs and getting used to it.

      Why? What can you do in Emacs that you can'd do in, for instance, BBEdit? (Which has a modern standard GUI interface.)

      I'm not trying to be a troll or anything, I just really don't get it.

    4. Re:GNU Emacs Manual Is Excellent by p2sam · · Score: 1

      A lot of times, it's not about what you *can* or *cannot* do. It's about what can be done easily, and effectively.

      PS: I'm a vi user. :)

    5. Re:GNU Emacs Manual Is Excellent by Rolo+Tomasi · · Score: 1

      But :viusage gives you a nice text that you can scroll through! How neat is that?

      --
      Did you know you can fertilize your lawn with used motor oil?
    6. Re:GNU Emacs Manual Is Excellent by grumbel · · Score: 1

      ### What can you do in Emacs that you can'd do in, for instance, BBEdit?

      Emacs can read usenet, run tetris, has type-ahead search, has a buildin 'doctor', has an info reader, send mail, run a shell, read Slashdot and a whole lot of other crazy stuff, this is possible because Emacs at its core is a Lisp-Machine, so its actually quite a bit closer to an simple OS then to just a text editor, so its extremly flexible and extensible, way bejoint the scripting support seen in many other applications.

      One of the other nice things of Emacs is that its 100% keyboard driven, every little feature is accessible via the keyboard, be it the file-manager, the mail reader or whatever. Sure, a additional GUI would be nice (the one that is their is extremly primitve and best switched off), but having absolutly everything accessible via keyboard gives quite a nice workflow, since one never has to grab the mouse, unless one wants to.

      That said, Emacs isn't perfect, most IDEs have more powerfull features than Emacs when it comes to code completion or graphics (Emacs tends to use ASCII art where others use a proper tree-view). The GUI of Emacs is basically non-existant and the default configuration just sucks in many parts. So if you are already familiar with something else and have your workflow worked out, there is little need to switch, but if you are searching for an editor that basically solves every editing problem you will ever have, isn't tided to a single programming language and extremly customizable, even so it has some rough edges here and there, Emacs is quite a good choice.

      There is really little that comes close to Emacs as a whole, but when you see each part of it on its own its often possible to find better alternatives.

    7. Re:GNU Emacs Manual Is Excellent by Anonymous Coward · · Score: 0

      Can you play tetris, or get free psychiatric counseling in BBEdit? It's only a few keys away in Emacs! (M-x tetris and M-x doctor respectively)

    8. Re:GNU Emacs Manual Is Excellent by RLiegh · · Score: 1

      The interface and commands are nothing like what people are used to today.

      This is very true, but it begs the question: why bother?

      Modern Unixes have a vareity of modern editors with UIs designed along modern UI standards. Even NetBSD has abiword available for it, and Open Office has been ported to most free unixes. If you want an IDE, there are several free ones (ajunta and kdevelop come to mind) which are available and are based on modern design theory so you can go straight to coding instead of learing obscure ^@S^X^U^{^H type commands.

      There's some value to knowing vi (I know far more than I'd like to be honest); but that's really only needed for single-user emergencies: if you have access to a GUI, you have access to a better editor (kedit, abiword, etc).

      why not use it?

    9. Re:GNU Emacs Manual Is Excellent by SquadBoy · · Score: 2, Funny

      Because you gimp yourself.

      I too was once like you. Then I found myself at 0230 hrs dialed into a firewall on a 56k modem that wasn't pulling anywhere even near 56k, trying to teach myself vi cause it was the only text editor on the box.

      It was at that point that I groked the need to know a text editor that is almost everyplace, fast, and can be used with no GUI. And to be able to use it in your sleep. That's why I now only use vi.

      Sure if you never mean to really do anything guis are fine. But if you are ever going to step up to the plate and put on your big boy pants vi is the only way to fly.

      --

      Cypherpunks: Civil Liberty Through Complex Mathematics. Those who live by the sword die by the arrow.
    10. Re:GNU Emacs Manual Is Excellent by Intron · · Score: 1

      "The interface and commands are nothing like what people are used to today."

      In what way is this true? emacs under X comes up with the standard Files/Edit/Options/etc menus and a set of standard-looking icons. Even if you don't learn the control-character keyboard operations you can use it with a mouse just like Notepad. The only thing that might take a novice a moment to figure out is that when you try to open a file, you don't get a modal dialog pop-up, you have to either type in a filename in the minibuffer, or select it in a dired window. This is a better user interface in my opinion.

      People who think emacs has a big learning curve have probably used some crippled Windows variant and not the real thing.

      --
      Intron: the portion of DNA which expresses nothing useful.
    11. Re:GNU Emacs Manual Is Excellent by Anonymous Coward · · Score: 0

      The plural of UNIX is unices, after multics, you stupid fucking gimp :-D

    12. Re:GNU Emacs Manual Is Excellent by ksheff · · Score: 1

      Can BBEdit step through programs as they are being debugged, retrieve files on other machines via ssh or ftp, step through compiler output for correcting warnings & errors, or interface with a source code control system? I don't know if it can or not, but those are some of the big reasons I use emacs. Being able to write extensions to the auto-insert skeletons comes in handy too.

      --
      the good ground has been paved over by suicidal maniacs
    13. Re:GNU Emacs Manual Is Excellent by Anonymous Coward · · Score: 0

      "..Then I found myself ... dialed into a firewall on a 56k modem ..."
      "...Sure if you never mean to really do anything guis are fine..."

      And if you only mean to masturbate 1980's technology, a CLI is fine too. ;-)

    14. Re:GNU Emacs Manual Is Excellent by dotgain · · Score: 1

      Great, so would adding Tetris and pyschiatric counselling to MS Windows give it the edge over OS X?

    15. Re:GNU Emacs Manual Is Excellent by techno-vampire · · Score: 1

      What can you do in Emacs you can't do in other editors? Well, how many other editors do date conversions for you? Need to know what the Hebrew date is for tomorrow? Or in the Coptic calander? How about the Julian Date? Emacs does that. Granted, you don't have to translate things to the French Revolutionary Calander very often, but if you ever do, Emacs is there waiting to be asked.

      --
      Good, inexpensive web hosting
    16. Re:GNU Emacs Manual Is Excellent by nihilogos · · Score: 1

      kedit and abiword are better editors? Better than notepad maybe.

      I am far more productive in vim than I am in any other text editor. All sorts of complicated tasks can be performed with a few keystrokes, whereas you'd probably need to navigate some klutzy menu interface in kedit, assuming you could do it at all. Besides, if clickable buttons and menus are what you judge an editor by there's always kvim.

      Modern UIs and UI standards are great for making it possible for novices and non-technical people to become productive with computer, but they don't compete at all with the sort of power that emacs and vim give you at your fingertips.

      --
      :wq
    17. Re:GNU Emacs Manual Is Excellent by jazman · · Score: 1

      Well, yes, but only if you know what weird word Emacs uses to describe a function. Want to reformat text to the margins? Look up "fill", then wonder why a semicolon makes it reformat the entire paragraph to lines containing seventy spaces, a semicolon, and one word. Want cursor down to scroll by ONE LINE AND ONE LINE ONLY JUST LIKE EVERY OTHER TEXT APPLICATION ON THE PLANET? Tough titty, without vast amounts of reprogramming. Want it to always pad with spaces instead of using tabs? No chance. Used to "vi" and want to do a yank? Look up kill. Paste? Look up "yank". Now try to work out why vi::yank and emacs::yank are exact opposites. And(())())(what's(((((((((((((()with all)()())(((())(())( the brackets?))))))))))))))))))))

      Having said that though, Emacs is still my main text editor. I think it's amazing, if somewhat quirky.

    18. Re:GNU Emacs Manual Is Excellent by macshit · · Score: 1

      Modern Unixes have a vareity of modern editors with UIs designed along modern UI standards ... if you have access to a GUI, you have access to a better editor (kedit, abiword, etc). why not use it?

      Because the "modern UI standards" suck massively for anything except getting grandma painlessly up to speed on her first day. Granted they do a good job for grandma in those scary few hours.

      Seriously, if you think kedit/abiword are better editors, it's abundantly clear you haven't done very much serious text editing. They're not even on the same planet.

      --
      We live, as we dream -- alone....
    19. Re:GNU Emacs Manual Is Excellent by afabbro · · Score: 1
      abiword and the like do not support some great functions for editing text:
      • regular expressions
      • piping to awk, sort, et al.

      Additionally, using abiword means using a mouse for editing text. Mice are slow. I'm not anti-mouse, but I bet I can edit a text file in vi a lot faster than anyone can type them in abiword. With vi, you don't need to take your hands off the keyboard to do editing functions, the commands are built for speed on a QWERTY keyboard, etc. And the same is true for emacs (which you can always run in vi compatibility mode ;)

      --
      Advice: on VPS providers
    20. Re:GNU Emacs Manual Is Excellent by Uerige · · Score: 1

      Funny, I never used a version of emacs where cursor down did anything except just scrolling ONE LINE AND ONE LINE ONLY JUST LIKE EVERY OTHER TEXT APPLICATION ON THE PLANET. Agree with your other points though.

    21. Re:GNU Emacs Manual Is Excellent by jazman · · Score: 1

      Yeah, for some reason, when you scroll off the bottom (or top for that matter) of the screen, the text moves so that the point is in the middle of the screen instead of just scrolling the lot up (down) by one line.

      It seems every version of emacs I download has this same feature. If you have found downloads where this isn't the case, I'd like to know where you get it from, cos I want one too.

    22. Re:GNU Emacs Manual Is Excellent by informationeagle · · Score: 1

      > I'd like to know where you get it... Place the following line into your .emacs: (setq scroll-step 1)

  14. What is Emacs? by Sir+Homer · · Score: 1

    Is anyone ever sure what it is? It's been called a text editor, an e-mail application, an IDE, and even a web browser. Is there something that Emacs can't do?

    1. Re:What is Emacs? by Anonymous Coward · · Score: 0

      It's been called a text editor, an e-mail application, an IDE, and even a web browser. Is there something that Emacs can't do?

      Yes. It can't actually edit text very well.

    2. Re:What is Emacs? by Anonymous Coward · · Score: 0

      > Is there something that Emacs can't do?

      Find you a girlfriend?

    3. Re:What is Emacs? by Magnusite · · Score: 1
      Is there something that Emacs can't do?

      Sure, it can't walk your Nintendogs, or pick up their Nintendpoop.

    4. Re:What is Emacs? by VolciMaster · · Score: 1

      It hasn't yet unseated Bill Gates as emperor of the world...

    5. Re:What is Emacs? by Billly+Gates · · Score: 2, Funny

      Is there something that Emacs can't do?

      Come with a good editor that doesnt require obscure unlogical keystrokes.

    6. Re:What is Emacs? by Anonymous Coward · · Score: 0

      Is there anything that Emacs can't do?

      no

    7. Re:What is Emacs? by Anonymous Coward · · Score: 0

      "...obscure unlogical keystrokes"

      Like:
      ^f - forward
      ^b - backward
      ^p - previous line
      ^n - next line
      ^h - help

      Yeah. Very unlogical. Oh. And they work all the time instead of having "insert" vs "command" modes. Its called "modeless editing" for those who are clueless.

    8. Re:What is Emacs? by Anonymous Coward · · Score: 0
      Is there something that Emacs can't do?

      "Emacs can do anything -- just ask it!" -- Rob Pike.

      Pike probably meant M-x doctor.

      He also would present slides on acme (and sam) and would put his hand onto the slide projector casting a large shadow with of his thumb and three fingers together and his little finger stuck out as far as he could make it go, and say: "this is not natural behaviour for a hand".

      GNU Emacs is nice, but it's no zmacs.

    9. Re:What is Emacs? by Anonymous Coward · · Score: 0

      Because its so intuitive to move around based on control key combos.

      So much easier than using those ugly keys with "Arrow" shapes on them to move around.

    10. Re:What is Emacs? by HermanAB · · Score: 4, Funny

      EMACS is a text mode desktop environment. Sorta like KDE on chemotherapy. Strictly for masochists only.

      --
      Oh well, what the hell...
    11. Re:What is Emacs? by rsheridan6 · · Score: 1

      It's a Lisp interpreter that happens to come with a lot of pre-defined utilities for text editing. It uses an old, obsolete version of Lisp, which nobody would use if those text utilities didn't exist, so it has become confounded with the text editor. You can do anything with it that you could do with any other scripting language. Except start up in a reasonable amount of time on hardware from the early '90s, as vi zealots point out incessently.

      --
      Don't drop the soap, Tommy!
    12. Re:What is Emacs? by bored · · Score: 1

      Those work too, just like in vi. I do have about 30 lines of rebound keys in my .emacs file. I don't know any serious emacs user that doesn't. I like being able to do remote builds on the development server with my editor and other simple things with 1 keystroke. I have rebound the 'delete', 'home', 'end' etc keys behave as I would expect but that took all of 30 seconds to do.

    13. Re:What is Emacs? by Anonymous Coward · · Score: 0

      Arrow keys also work in every emacs setup that I have used in the last 10 years. Also the mouse. Also the menus. Maybe you last used emacs in 1989 and are still having nightmares. HOW DO I GET OUT. NOOOO!

    14. Re:What is Emacs? by rsheridan6 · · Score: 1

      Emacs is very Darwinian. If you don't learn how to rebind your keys, it will destroy your wrists and weed you out of the gene pool. Not a nice feature, but keybindings are customizable.

      --
      Don't drop the soap, Tommy!
    15. Re:What is Emacs? by Anonymous Coward · · Score: 0

      Humff... Arrow keys for moving around... They're just a fad!! USE CONTROL COMBOS! They make a macho nerd!

      PS: Isn't the word 'illogical' not 'unlogical'?

  15. VIM * EMACS by Anonymous Coward · · Score: 0

    VIM is EMACS done right!

  16. How do I get out of this?? by Anonymous Coward · · Score: 0, Troll

    All I want to know is how to exit this piece of crap so I can go back to using Vi

    1. Re:How do I get out of this?? by CanadaDave · · Score: 2, Funny

      Close your browser!

  17. quick and easy way with BASH by Anonymous Coward · · Score: 0

    echo "alias emacs='vim'">>.bashrc

  18. A lot of words by Red+Flayer · · Score: 2, Interesting

    "Instructions are given in a way that reflects the fact that there are multiple ways to achieve the same outcome; the authors do not attempt to foist "the only way" to accomplish something upon the reader."

    Do the authors discuss the relative benefits and drawbacks of each method? Do they discuss when it is and isn't appropriate for each? More info on this would be helpful.

    "Readers do not go for very many pages before it is time to be at the keyboard again, harnessing the power of muscle memory to reinforce the material presented."

    This is not muscle memory. This can be called learning through use. If the reader were to repeat the intended action 5,000 times, then maybe it could be called muscle memory.

    My impression from the review is that the book will:

    Give me the basics of Emacs use, and how they differ sometimes on different platforms;
    Give me mnemonics to memorize keyboard shortcuts;
    Show me multiple ways of doing some things;
    Show me how to use basic Emacs with different languages, in some common situations.

    So, my understanding from reading the review is that this is an fairly thorough introduction to Emac use that is easy to understand and doesn't bother with extraneous material.

    Am I off base here?

    --
    "Trolls they were, but filled with the evil will of their master: a fell race..." -- J.R.R. Tolkien on Olog-hai
    1. Re:A lot of words by op12 · · Score: 1

      So, my understanding from reading the review is that this is an fairly thorough introduction to Emac use that is easy to understand and doesn't bother with extraneous material.

      Am I off base here?


      While true that the review lacked a conclusion, what you said is clear

      from the intro: "They need a book that offers expert advice without wasting time or insulting the intelligence of the reader: Learning GNU Emacs, 3rd Edition is that book."

      and the summary: An intelligent, graded treatment of the landscape of useful Emacs skills and how to internalize them

  19. IDE vs Emacs vs Jove all have their place by TheNarrator · · Score: 3, Informative

    I like Emacs and its brethren, however, I don't do software development in Emacs anymore. Full blown IDEs like Eclipse are really worth the power, especially since they are able to semantically understand source code.

    However, when I just need to do some basic config file editing I use Jove which is a scaled down version of Emacs that has the same keys as Emacs but loads as quickly as vi.

    Emacs works great though when I have to interact in a complex way with the shell. For instance, I find it very useful when used in conjunction with command line SQL clients for Postgres, Mysql, or Oracle. The history and multiple command buffers are great for working with these command line clients. When I work with Oracle DBAs they are often impressed with how powerfully I can use SQLPlus from inside of Emacs.

    1. Re:IDE vs Emacs vs Jove all have their place by JChris · · Score: 1
      However, when I just need to do some basic config file editing I use Jove which is a scaled down version of Emacs that has the same keys as Emacs but loads as quickly as vi.

      Or you could use Vile, which is a scaled-down version of Emacs that has the same keys as vi but loads as quickly as vi. Oh, wait...

    2. Re:IDE vs Emacs vs Jove all have their place by Bob+Uhl · · Score: 1

      Emacs is also able to semantically understand source code, provided someone takes the time to write the ability. Remember that Lisp was the mainstay of artificial intelligence for decades.

    3. Re:IDE vs Emacs vs Jove all have their place by Anonymous Coward · · Score: 0

      'Someone' has already written the semantic package, but unfortunately emacs development is not as active these days as it once was, and there is little progress at rewriting programming language modes around semantic, and even less at providing refactoring operations.

    4. Re:IDE vs Emacs vs Jove all have their place by Coryoth · · Score: 1

      I like Emacs and its brethren, however, I don't do software development in Emacs anymore. Full blown IDEs like Eclipse are really worth the power, especially since they are able to semantically understand source code.

      I used to be a huge Emacs user and had all manner of interesting custom macros and functions written specialised for some of the things I did. In practice though the full scale IDEs have plowed ahead while Emacs is still wed to its way of doing things. Eclipse simply offers more features and a much more pleasant interface for editing code. Kile is so much better for editing LaTeX documents than the Emacs modes that it isn't funny. If I just want to edit config files then vi or nano are so much faster to load that it isn't worth breaking out Emacs.

      Emacs works great though when I have to interact in a complex way with the shell. For instance, I find it very useful when used in conjunction with command line SQL clients for Postgres, Mysql, or Oracle.

      This is the one area Emacs still stands out as being a better option than most. It works nicely for R and a number of other similar applications as well. I think, however, that such a lead is going to diminish. Already things like JEdit offer similar sorts of tet editor extensibility features that make customised functions and macros easily available in a more modern editing environment.

      Jedidiah.

    5. Re:IDE vs Emacs vs Jove all have their place by rascal1182 · · Score: 1

      However, when I just need to do some basic config file editing I use Jove which is a scaled down version of Emacs that has the same keys as Emacs but loads as quickly as vi.

      Look into using emacsclient or gnuclient so you can load Emacs as quickly as vi without removing the features that make it Emacs.

      --

      "Yarrgh! I be just a paintin' of a head..."
    6. Re:IDE vs Emacs vs Jove all have their place by Christianfreak · · Score: 1, Insightful

      Full blown IDEs like Eclipse are really worth the power, especially since they are able to semantically understand source code.

      So can vim, and it does it better. About the only thing Eclipse can do that vim can't (as far as i know) is context help (like hover over a function and get an annoying pop-up as to what it does), an annoying and useless "feature" for someone like me who's been programming enough years to know what most of the functions are by now, and by the time Eclipse's help finally stops causing my harddrive to help I can have it looked up in the man page or Google or whatever.

      I have a ton of other problems with Eclipse but I won't get into it here. I just wish someone could tell me why I need some huge bloated thing that takes over my entire screen and needs a gig of RAM to do the same thing I've been doing for nearly 10 years with a program that typically uses less than 100k.

    7. Re:IDE vs Emacs vs Jove all have their place by Anonymous Coward · · Score: 1, Interesting

      Are you talking about Vim's semantic colouring? If so, it most certainly does *not* do it better than eclipse and if not then I'd really like to know what feature of vim you *are* talking about! :-)

    8. Re:IDE vs Emacs vs Jove all have their place by Ingolfke · · Score: 1

      I run my IDE on in a virtual machine running a sandboxed OS running on top of Emacs. Doesn't everybody do it that way?

    9. Re:IDE vs Emacs vs Jove all have their place by p2sam · · Score: 1

      Vim's syntax colouring is NOT the same as Eclipse's. Vim uses some pretty simple heuristic to do syntax colouring, while Eclipse has a built in parsing for the actual language you are using, and continuously parse what you are coding.

      BTW: I'm a vi user, and I don't need my editor to semantically understand my code. I can see it now, "What are you coding Dave? I'm afriad I can't let you do pointer arithemtics..."

    10. Re:IDE vs Emacs vs Jove all have their place by Lars+Arvestad · · Score: 1

      I have now looked at the feature list of Kile, and also its screenshoots, and I don't get it: When I use (X)Emacs together with AUXTeX and RefTeX etc, I have basically everything that Kile boasts. The only thing I could see Emacs not matching Kile on would be "Quick Preview", but that is not explained in the documentations so I am not sure about that one either.

      Whenever I use XEmacs for LaTeX, I also have immediate access to spell checking, dynamic abbreviations (a felxible completion system), and every other crazy minor mode there is. Unless Kile is extensible with an integrated scripting environment, for example a Lisp environment, I don't think Kile can keep up with Emacs!

      And yes, I am an Emacs fan boy.

      --
      Reality or nothing.
    11. Re:IDE vs Emacs vs Jove all have their place by jubei · · Score: 1
      Some useful features of Eclipse:
      • You can hold down CTRL to make any class or method a hyperlink that opens up the appropriate file.
      • You can also have method, field, and variable completion, preventing any typos.
      • It can automatically manage your Java import statements
      • It can generate getters & setters
      • It can rename classes and members, and fix references
      • You can pull up a file by entering the appropriate java class name
    12. Re:IDE vs Emacs vs Jove all have their place by bored · · Score: 1
      I like Emacs and its brethren, however, I don't do software development in Emacs anymore. Full blown IDEs like Eclipse are really worth the power, especially since they are able to semantically understand source code.

      This is emacs primary problem, the type of people who used to use emacs have all moved on to fully integrated IDE's. The people who don't know a programmers editor from a text editor continue to use VI.



    13. Re:IDE vs Emacs vs Jove all have their place by Coryoth · · Score: 1

      Well I just had a look at AucTex and it has improved since I last used it, but things that would be nice are: automatic refernce and citation completion, folding that doesn't suck, a more integrated dvi/ps/pdf/html viewer, document structure, project and file, and reference/figure/table tag trees, a symbol picker (for those more obscure symbols), automated project archiving, context sensitive integrated LaTeX help, and a clean looking environemnt with antialised fonts.

      Kile offers spellchecking and dynamic abbreviations. You don't have an entire lisp environment and email, webbrowser, newsreader and kitchensink, but then I'm more interested in editing LaTeX.

      Look, I love Emacs. You wouldn't believe how much I used to use (pretty much everything), but in the end different tools were all slightly better at different specific tasks and Emacs attempt to e everything to everybody left it looking like an ugly stepchild. If you honestly think the speedbar is an elegant and beautiful solution, you need help.

      Jedidiah.

    14. Re:IDE vs Emacs vs Jove all have their place by Anonymous Coward · · Score: 0

      I can (and do) do all of those things with emacs.

  20. Refcards.com by bokumo · · Score: 5, Informative

    I learned emacs in school, but by far the most helpful thing was the PDF reference card I printed up and carried with me. You can get the emacs card at http://refcards.com/

    --
    Physicists do it with a big bang!
    1. Re:Refcards.com by Anonymous Coward · · Score: 0

      Nice link. Parent should be a 5 for posterity.

    2. Re:Refcards.com by game+kid · · Score: 1
      You can get the emacs card at http://refcards.com/

      You win the internet. Parent post is an example of an instant (5, Informative).

      --
      You can hold down the "B" button for continuous firing.
    3. Re:Refcards.com by rthille · · Score: 1

      That's great and all, but I can't find the PDF viewer inside of Emacs. How am I supposed to use this card? :-)

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
  21. Tim O'Reilly on vi or emacs by Noksagt · · Score: 4, Informative
    Reference:
    Despite emacs' higher profile as a free software poster child, I think more people actually use vi than emacs. We sell more copies of our vi book than of our emacs book -- almost twice as many each year. This could be because emacs has a free manual that is distributed with it. But I saw a matching statistic at Linux Expo, where O'Reilly sponsors a vi vs. emacs paintball game each year. I happened to check the signup list, and noticed that there were about twice as many people signed up for the vi team as for the emacs team. (Maybe they just like the vi t-shirt -- the team "uniform" -- more than the emacs t-shirt, but I don't think so.
    1. Re:Tim O'Reilly on vi or emacs by bill_mcgonigle · · Score: 1

      In my experience, a great many vi users 'hate' emacs users, but most emacs users don't really care if you use vi.

      So, the paintball roster may be representative of that condition.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    2. Re:Tim O'Reilly on vi or emacs by p2sam · · Score: 1

      In my experience, we hate one another pretty evenly. But my slashdot id is 6 digits, yours is only 4 ... so I humbly bow to you on this one. :)

      PS: Started with Turbo Pascal 7.0 -> Emacs -> Vim.

    3. Re:Tim O'Reilly on vi or emacs by streepje · · Score: 1


      Despite emacs' higher profile as a free software poster child, I think more people actually use vi than emacs. We sell more copies of our vi book than of our emacs book -- almost twice as many each year.


      This speaks volumes, IMHO.

      Emacs speaks for itself, while VI users need to buy books to learn how to jump through hoops with an inferior editor.

      There, I've said it!

    4. Re:Tim O'Reilly on vi or emacs by robin · · Score: 1

      I didn't realise early slashdot registration conferred priviliges of any sort -- fwiw I reluctanctly use vi

      --
      W.A.S.T.E.
    5. Re:Tim O'Reilly on vi or emacs by rthille · · Score: 1

      I think most people that use emacs also use vi (if they do any sysadmining at all), but not so the other way around. Also, I'd agree with Tim that it could be the free manual Emacs includes that keeps people from buying one.
      And on the flamebait note, just because people use something more doesn't make it better (Windows vs. just about anything?)

      --
      Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
  22. The problem with Emacs... by doublem · · Score: 3, Funny

    Emacs is a great operating system, but it needs a better text editor.

    --
    "Live Free or Die." Don't like it? Then keep out of the USA
    1. Re:The problem with Emacs... by Pseudonym · · Score: 1

      Perl is an even better operating system, but it's a shame about the scripting language.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
  23. Hefty tome by Dachannien · · Score: 5, Funny

    534 pages, 437 of which contain a table of all the keyboard shortcuts.

  24. Save THIRTEEN BUCKS! by Anonymous Coward · · Score: 0

    Save yourself $13.58 by buying the book here: Learning GNU Emacs. And if you use the "secret" A9.com discount, you can save an extra 1.57%!

  25. Re:Arr! by Cocoronixx · · Score: 0

    Arr! Ye be right young scallywag! This post be not of topicalness, nary is it flamebait!

    --
    "Obscenity is the crutch of the inarticulate motherfucker." - cloak42
  26. Re:status quo extensively by fbjon · · Score: 1

    ..and they are just as much in a twist, it seems.

    --
    True confidence comes not from realising you are as good as your peers, but that your peers are as bad as you are.
  27. emacs is awesome... by Anonymous Coward · · Score: 3, Insightful

    ..yet I hardly ever use it.

    I used to use Emacs for development, vi for sysadmin, but once I discovered Vim, I've started using Emacs less and less for dev, except when hacking Lisp (using SLIME.. you just can't do Lisp effectively without an editor at least as powerful as Emacs).

    I can really appreciate Emacs, and I love Lisp (being able to code some quick Lisp right in the middle of an email reply is pretty damn cool for instance), but I just don't *need* that kind of flexibility. And the lack of consistency with Meta keys is frustrating (on my Mac, Carbon Emacs uses command, the terminal uses option, but on other machines I have to fall back on Esc).

    I noticed the new Emacs has a built-in spreadsheet, by the way (M-x ses-mode). It's actually pretty cool (the cells are Lisp expressions, and the code is checked for dangerous operations before being excecuted). It's also a sign that maybe Emacs is a little TOO flexible???

    Anyway, I'm not sure the point of this post, except that everybody should at least give Emacs a try.

    1. Re:emacs is awesome... by Anonymous Coward · · Score: 0

      I've always loved vi for the smaller quick stuff or even for the times when I wanted a text editor that interacts wonderfully with the Unix text programs through pipes. Upon being stuck with vim on the RedHat distributions, I quickly downloaded the real vi from http://ex-vi.sourceforge.net/ because I wanted a small editor that does exactly what I expect it to do. Vim makes no sense to me.

    2. Re:emacs is awesome... by feijai · · Score: 1
      on my Mac, Carbon Emacs uses command, the terminal uses option
      (setq mac-command-key-is-meta nil)

      All better now?

  28. here's an ancient joke by middlemen · · Score: 3, Funny

    Dude: "You have to leave now!"
    Stallman: "Do you know who I am ? I made EMACS!!"
    Dude: "I don't care. I use vi."

    1. Re:here's an ancient joke by Anonymous Coward · · Score: 0

      For many of these ancient emacs jokes have a look at
      the etc/JOKES file in the emacs installation directory itself.

  29. Nothing to see here. Move along by Vodak · · Score: 1

    I loved using pico & nano until I found wonderful jed. =]

  30. Planck? by cp.tar · · Score: 1

    Would that be Max?

    --
    Ignore this signature. By order.
  31. All I know is by doublem · · Score: 2, Funny

    All I know about Emacs is that all the Emacs books are in the MAC/Apple section of my local Barnes and Noble.

    So it must be a MAC thing, and since I use Windows...

    --
    "Live Free or Die." Don't like it? Then keep out of the USA
  32. Nice referral link! MOD DOWN! by Anonymous Coward · · Score: 0

    Well played, dunandgroup. I like the subtle way you substituted your own Amazon-whoring referral link where the original quote included the following link to "our vi book":

    http://www.oreilly.com/catalog/vi6/

    And you even got modded informative for posting a word-for-word copy of a single paragraph from the O'Reilly site! Well trolled!

  33. EMACS by Daveznet · · Score: 1

    I strictly use VI, and now I find out that Emacs stands for Editing MACroS, here I thought it stood for Eight Megs And Constantly Swapping. What an informative book!!!!11one!

    --
    GL HF!
    1. Re:EMACS by Anonymous Coward · · Score: 0

      No, it stands for ESCAPE-META-ALT-CONTROL-SHIFT

      I am not shouting, lameness filter.

  34. ESR! by Anonymous Coward · · Score: 0

    Oh, so that's what ESR has been doing other than flaming MS recruiters with leet skills.

    http://geekz.co.uk/lovesraymond/archive/show-them- the-code

  35. Re:Arr! by ScriptedReplay · · Score: 1

    make 'em walk the planck.

    Aye, but that'd be a mighty short walk (Planck scale is 1.6 x 10^-33 cm)

  36. 1992 called... by Anonymous Coward · · Score: 0

    and they want their pirate voice back

    1. Re:1992 called... by fimbulvetr · · Score: 1

      May his Noodleness' appendage be a bit to short to touch ya, landlubber.

    2. Re:1992 called... by Cocoronixx · · Score: 0

      Arrr but what of the intelligent design of me pirate ship. It is of the gods! Arrr

      --
      "Obscenity is the crutch of the inarticulate motherfucker." - cloak42
  37. EMACS for Development by ewhac · · Score: 4, Insightful
    One of the things I've often noted about EMACS users is that they seem so effective. A couple former colleages of mine would flip around at amazing speed, getting to the exact point in the code they needed, make a change, launch a build in a separate EMACS window, and the error output would take them to the correct line in the broken file where they'd fix it.

    Granted, most of the other editors do this, too. I've been using 'vi' variants for over 20 years, and have currently settled on VIM. Most of them have built-in help for parsing build output, but it just seems so much clunkier than when I watch an EMACS user do it.

    What I'd really like is a book or HOWTO that's focused on effective software development using EMACS. The general-purpose "learning" books just don't get into that kind of narrow depth.

    Schwab

    1. Re:EMACS for Development by Anonymous Coward · · Score: 0

      I agree that emacs is nicer and the tools are more powerful. However, I settled on VIM as, even with the viper vi keys, emacs hurts my fingers. Does anyone else find that?

    2. Re:EMACS for Development by Derek+Pomery · · Score: 1

      Those times I have used Vim as a development environment I've found such things trivial to do using exuberant-ctags and antmenu.
      Vim has supported parsing error output from various compilers for ages, usually without much configuration for standard error syntax.

      Could be fewer Vim users shared my compulsion to use Vim as an IDE.
      Certainly most vi folks don't see the need to use a text editor as a mail client, web browser and IDE as well.

      --
      -- perl -e'print pack"H*","6e656d6f406d38792e6f7267"' /. ate my old sig. Bastards.
    3. Re:EMACS for Development by meowsqueak · · Score: 2, Informative

      If you rebind the control input to the caps lock key (like the old style keyboards) then these 'crazy' keyboard combos become easier.

    4. Re:EMACS for Development by sanjoymahajan · · Score: 2, Informative

      Agreed, rebinding caps lock -> ctrl is a must. And type ctrl-[ instead of escape, since the escape key is usually hard to reach and anyway its position varies from keyboard to keyboard. ctrl-[ is also easier to reach than the alt key is (important for alt-x in Emacs).

    5. Re:EMACS for Development by tlord · · Score: 1

      There are folklore points you have to pick up here and there and, sure, those could be better documented. Mostly, though, it's just a matter of practice. Some of us don't suck as badly as others. Specifically, we care about our tool skills and have some patience in learning them. That said: the emacs paradigms for user interaction are truly underdeveloped. It could be made vastly more "friendly" to users who won't spend lots of time learning. -t

  38. Proceeds go to F/OSS projects by Noksagt · · Score: 1

    Mod me how you like, but proceeds go to F/OSS projects. Feel free to see what I donate to. Greasemonkey automatically rewrites my amazon links & I don't mind if you rewrite the referral either. (I also encourage direct donations to F/OSS projects.)

    1. Re:Proceeds go to F/OSS projects by Noksagt · · Score: 1
      Yes. Because I've donated from out-of-pocket as well:
      To date, $38.90 has been given to these projects because of referral click-throughs.
  39. But how do you exit? by msaver · · Score: 1

    I tried emacs, but couldn't figure out how to exit! Why do they make it so hard?

    :wq

    1. Re:But how do you exit? by Shaleh · · Score: 1

      ok, I'll take the bait.

      Back in the day, emacs was rather slow to load. Poeple tended to start one instance of it and never leave it.

      C-x f, open file. Edit to hearts content.
      C-x w, save the file
      C-x k, close the close

      later, rinse, repeat. Throw in a few C-x b to switch buffers for added spice.

      Besides, once emacs is open you have a nice shell environment, network tools, etc.

    2. Re:But how do you exit? by Anonymous Coward · · Score: 0

      Short instructions for exiting emacs: Move the mouse pointer on top of the File menu on the top left corner of the emacs window. Click the left mouse button. Move the mouse pointer down to the last entry of the menu, and click again. Hope this helps, and please feel free to ask if you have any further problems.

    3. Re:But how do you exit? by hb0mb · · Score: 1

      Only noobs would even try to exit anyways...

    4. Re:But how do you exit? by Intron · · Score: 1
      Here are three ways:
      • Use your mouse to press the "x" on the top right corner of the window, just like every other program.
      • In the file menu, go to "Exit" just like every other program.
      • Learn the shortcut key which the File menu tells you, just like every other program.
      --
      Intron: the portion of DNA which expresses nothing useful.
    5. Re:But how do you exit? by Anonymous Coward · · Score: 0

      Ctrl-Z
      shutdown -f now
      (wait a couple of minutes)
      (login)
      Presto! Emacs has exited.

      Emacs is a bit heavy for my taste but I love jed in emacs mode.

        - Peder

  40. Emacs doesn't do email well...what?!? by Bob+Uhl · · Score: 2, Insightful
    For example, while Emacs does have the capability to function as an email client, other applications have long superseded its ability.

    I'll have the reviewer know that I use gnus for my email and news reading, and it's perfect for the task. I've still yet to find a program which has as many features, and yet to find one which is accessible over a command-line as well as through a GUI.

    1. Re:Emacs doesn't do email well...what?!? by Philip+K+Dickhead · · Score: 1

      I wonder if the book comes with decals to replace worn-out semi-colon keytops?

      --
      "Speaking the Truth in times of universal deceit is a revolutionary act." -- George Orwell
    2. Re:Emacs doesn't do email well...what?!? by Just+Some+Guy · · Score: 1
      I felt the same way for a long time, but still eventually migrated to Kmail. Gnus' single-threading had begun to drive me nuts, and while it's possible to create extremely powerful filters with elisp, sometimes it nice to let the program do that work for you.

      Yeah, there are things I still miss, but most of the features that kept me on Gnus for years are the ones that I realized I hated given up in concept more than in reality.

      --
      Dewey, what part of this looks like authorities should be involved?
    3. Re:Emacs doesn't do email well...what?!? by Bob+Uhl · · Score: 1
      Yeah, multi-threading would be nice, particularly since my news server seems to have gotten very slow for some strange reason. But I've yet to find something which does everything gnus does and is usable from the CLI or GUI. I very much like to be able to ssh into my box at home and get work done. I do this every day, so I'm pretty sure that I'd hate the reality of giving it up:-)

      Also I tend to do a lot of other things in emacs, and it's nice to be able to switch back and forth between 'em.

    4. Re:Emacs doesn't do email well...what?!? by Just+Some+Guy · · Score: 1
      But I've yet to find something which does everything gnus does and is usable from the CLI or GUI.

      True, but moving to an IMAP setup made that a much easier migration. I can trivially swap between email clients as the situation demands - I don't depend on being able to access one particular client's mail store. I realize this isn't an option for everyone, but if you have that ability you might want to check out some of the other setups.

      --
      Dewey, what part of this looks like authorities should be involved?
  41. emacs's ultimate power.. the shell by acomj · · Score: 4, Informative

    I run a shell in emacs (esc-x shell). It works great for searching through reams of command line job output and is slightly easier the piping to a file then searching through it (less, more etc...)

    Its better than xterm -sl XYZ (set scroll lines to XYZ)

  42. The best thing by Anonymous Coward · · Score: 0

    I used vi for 7 years and it took only 7 days to learn emacs. Since then, no turning back.. got it?

    Yes! I read 2.0 and it is very good.
    Hopefully I can get more out of 3.0 book.

    Get this book, if you want to learn emacs. It's not a rocket science, but it is not less exiting one you learn it.

  43. outdated joke by namekuseijin · · Score: 4, Insightful

    "Eight Megs And Constantly Swapping"

    next to the "Over Eighty Megs And Constantly Swapping" of nowadays heavy-duty IDEs, Emacs is as feather-weigth as vi.

    --
    I don't feel like it...
    1. Re:outdated joke by zumajim · · Score: 1

      Well back in the day, EMACS stood for Emacs Makes A Computer Slow

    2. Re:outdated joke by p2sam · · Score: 1

      Escape
      Meta
      Alt
      Control
      Shift :)

  44. Hah! by John+Nowak · · Score: 1

    *uses BBEdit*

    1. Re:Hah! by __aaasvk1266 · · Score: 1

      Right On. I was looking to see if somebody was going to beat me to it. Emacs is a bloody waste of time.

    2. Re:Hah! by John+Nowak · · Score: 1

      Glad to see I'm not the only one. :-)

      BBEdit has it where it counts, without nonsense I don't need. The Mac integration is very nice too. Very elegant.

  45. Exiting isn't that bad by jd0g85 · · Score: 1

    "one time I had forgotten the key sequence to quit emacs"
    That's not too hard:
    Ctrl-X,Ctrl-C

    Or the work around:
    Ctrl-z (send it to the background)
    ps|grep emacs
    kill -9

    Is it just me, or is the work around the only way to exit emacs when it's run inside cygwin?

    --
    There is no belief, however foolish, that will not gather its faithful adherents who will defend it to the death.-Asimov
    1. Re:Exiting isn't that bad by yagu · · Score: 1
      "one time I had forgotten the key sequence to quit emacs"

      That's not too hard:

      Ctrl-X,Ctrl-C

      Well, the whole point is if you don't remember it, it is way hard! :-)

      I would be willing to bet out of a thousand people on the street if they were asked to provide 10 guesses how to exit emacs, and they had never used it before, NONE of the 10 guesses from the thousand people would be CTL-X CTL-C. There's just nothing mnenomic about it. So, when you get the brain fart, it's a nightmare! (And I even KNEW it was two keystrokes! And, I knew it involved the CTL key! No luck.)

      As for the CTL-Z... that would've been nice but I happened to be running in a shell without job control... sigh.

    2. Re:Exiting isn't that bad by uncqual · · Score: 1
      I would be willing to bet out of a thousand people on the street if they were asked to provide 10 guesses how to exit emacs, and they had never used it before, NONE of the 10 guesses from the thousand people would be CTL-X CTL-C.

      True - but none of these people would have guessed how to start it either so it's not a problem.

      Seriously, I have the same problem with vi (which I only use when forced to because emacs isn't installed) and I can't remember how to get into command mode and then save a file. My answer is usually to ask someone who knows vi to do the editing. Of course, then I get frustrated when I ask them to do simple things like chop out a rectangular section and they stare at me blankly - I assume there's a way to do this but just that most vi users don't know how.

      --
      Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading /.
    3. Re:Exiting isn't that bad by object88 · · Score: 1


              "one time I had forgotten the key sequence to quit emacs"

              That's not too hard:

              Ctrl-X,Ctrl-C

      Well, the whole point is if you don't remember it, it is way hard! :-)


      No doubt. But oddly enough, after a good 10 years of NOT using EMACS (happily coding away in various IDEs), I still remember Ctrl-X,Ctrl-C. And it's not like I remember lots of EMACS commands; that one is just stuck.

      On the same token, who've thought of Alt-F4 to quit an application? Or the ESC key to navigate text? It's a weird, weird, weird world we hack in.

  46. Emacs solved by drxray · · Score: 2, Funny

    Why buy a book when the solution to Emacs is right here:

    get shovel, look shovel, e, e, dig, look, get cpu, look cpu, se, get
    food, se, look bear, drop food, look, get key, sw, get bracelet, ne, nw,
    nw, ne, ne, ne, e, look bins, w, w, put cpu in computer, type, toukmond,
    robert, ls, uncompress paper.o.Z, exit, look paper, type, ftp gamma,
    anonymous, toukmond, binary, send lamp.o, send shovel.o, send key.o, send
    bracelet.o, send paper.o, quit, rlogin gamma, worms, get lamp, get
    shovel, get key, get bracelet, get paper, e, n, e, drop shovel, drop key,
    drop bracelet, drop paper, get weight, d, drop weight, nw, u, get
    statuette, look statuette, get floppy, se, d, nw, ne, drop floppy, w, s,
    e, turn dial clockwise, turn dial clockwise, turn dial clockwise, turn
    dial counterclockwise, turn dial counterclockwise, turn dial
    counterclockwise, w, n, e, get life, get shovel, get key, get bracelet,
    get paper, get floppy, d, nw, u, se, d, nw, nw, s, s, s, s, put diamond
    in chute, put bracelet in chute, s, get gold, e, e, s, d, look urinal,
    put gold in urinal, flush, n, sleep, d, sw, e, u, dig, look, get
    platinum, d, w, ne, u, s, put platinum in urinal, flush, n, d, sw, w, d,
    e, get towel, look towel, d, s, s, s, look pc, put floppy in pc, reset, ,
    dir, type foo.txt => xxx (combination), exit, n, n, n, n, n, u, look box,
    put key in box, u, u, ne, ne, get axe, d, n, w, xxx (combination), cut
    cable, exit, get key, e, n, get lamp, get license, get silver, w, put
    silver in mail, n, n, e, e, e, e, e, get coins, get egg (in rooms 60 to
    78), w, w, w, w, w, s, s, put egg in mail, put coins in mail, n, n, n, n,
    e, e, e, e, e, look bus, in, s, s, s, w, w, w, w, w, nw, out, n, get
    bone, e, e, get nitric, press switch, n, get glycerine, w, look bone, get
    jar, get ruby, s, w, s, in, se, out, e, e, e, e, n, n, put nitric in jar,
    put glycerine in jar, drop jar, in, n, n, put ruby in disposal, d, get
    amethyst, u, put amethyst in disposal, d, ne, sw, u, u, w, w, s, w, s,
    se, s, e, s, w, type, rlogin endgame, drop license, drop bone, drop key,
    get diamond, get gold, get platinum, get amethyst, n, n, n, n, get bill,
    n, get mona, s, drop bill, drop mona, drop diamond, drop gold, drop
    platinum, drop amethyst, s, s, s, s, get silver, get egg, get coins, get
    ruby, get bracelet, n, n, n, n, n, drop silver, drop egg, drop coins,
    drop ruby, drop bracelet, n, quit,

    I'm afraid I can't help you with Emacs Tetris.

    --
    Slashdot - Mutual Assured Discussion
    1. Re:Emacs solved by (1+-sqrt(5))*(2**-1) · · Score: 1

      Emacs Dunnet for the win!

  47. I agree. by game+kid · · Score: 1

    Maybe I CAN do more stuff in this GNU Emacs thingy, and maybe I CAN use Vi bindings with it.

    But I'm a stubborn guy who likes Notepad and Vi. I figured out Vi when I dl'ed the Windows version (and tried Cygwin's too). Didn't take me long. Emacs is one of those non-conformist, odd things (a right-facing mouse pointer? kill/yank?) that make me go "Huh?" like Jessica Simpson in a fish market...but I have the first edition (with "minor corrections") of this book, so I might learn it someday...

    (As for Notepad, I just felt right at /home/gamekid with it from the get-go...)

    --
    You can hold down the "B" button for continuous firing.
  48. The king of editors by beforewisdom · · Score: 1, Interesting

    I used gnu emacs all throughout and college and thought it was the best thing since sliced bread.

    Then a boss introduced me to slickedit.

    It is EXPENSIVE, but it is worth every penny.

    Imagine the power of emacs, more power, and an elegant, easy interface.

    No offense to anyone, just my two cents worth.

    Steve

    1. Re:The king of editors by g-san · · Score: 1

      Slickedit is slick, but I still run it in vi mode.

    2. Re:The king of editors by beforewisdom · · Score: 1

      Those key bindings are hard to get out of your reflexes.

      I have several commands bound to gnu emacs key strokes.

  49. Fools! by Guppy06 · · Score: 1

    Ed, the Standard Text Editor, needs no such frivilous documentation!

    1. Re:Fools! by Anonymous Coward · · Score: 0

      I think the mods didn't understand what you meant.

    2. Re:Fools! by Anonymous Coward · · Score: 0

      Ed, the Standard Text Editor, needs no such frivilous documentation!

      ?

  50. shells vs emacs by tendays · · Score: 2, Informative

    Emacs shell mixes up too much command input and output to my taste...
    Then most shells (and every program using the readline library) support the Ctrl-R function to search through command history, just like emacs.
    For searching through command outputs there are terminal emulators like konsole that provide such functions...
    Check man readline you'll be surprised how much of emacs functionality you have in your daily shell!

  51. Software fails by TheSkepticalOptimist · · Score: 1

    If you need a 500 page manual to use it, especially a text editor. If you can't type and save text without a manual, then what good is the software?

    --
    I haven't thought of anything clever to put here, but then again most of you haven't either.
    1. Re:Software fails by be-fan · · Score: 1

      That's a completely asnine statement. By your logic, CATIA or SoftImage are failures. You not only need a manual for those, most people even take classes on them and spend years learning their ins-and-outs! That's a silly statement, of course, CATIA and SoftImage are widely regarded as category-leading pieces of software. A programmer doesn't just "type and save text" with a text editor. That's like saying an engineer "draws lines" with CATIA, or an artist "colors pixels" with SoftImage. It's superficially true, but completely misleading. In reality, all three professions use these programs to create very complex works. For them, a few months spent learning the software is nothing compared to years of daily use of the software. If a steep learning curve is the price of software that makes the programmer/artist/engineer more productive during those years of daily use, well, that's quite a good deal indeed.

      --
      A deep unwavering belief is a sure sign you're missing something...
  52. Try Aquamacs Emacs on Mac OS X by alispguru · · Score: 2, Informative

    And the lack of consistency with Meta keys is frustrating (on my Mac, Carbon Emacs uses command, the terminal uses option, but on other machines I have to fall back on Esc).

    Aquamacs (Carbon Emacs with settings to make it more Mac-like) cleans up a lot of that stuff. If you map meta to option, you can even use standard Mac keystrokes (command-S -> C-X C-S, command-Q -> C-X C-C, etc.). And SLIME works well under it - Aquamacs + Lisp-in-a-box without Emacs worked for me right out of the box (so to speak).

    And, its default font is so much prettier...
    --

    To a Lisp hacker, XML is S-expressions in drag.
    1. Re:Try Aquamacs Emacs on Mac OS X by hardcoreUFO · · Score: 2, Interesting

      I think the Aqua and Carbon emacs are both terrible. If you are going to have an Aqua version of emacs, you could at *least* not use gnome icons in the toolbar. I'm not sure what the motivation for doing Aqua was if it ends up that ugly.

    2. Re:Try Aquamacs Emacs on Mac OS X by davids-world.com · · Score: 1

      Hey, Aquamacs doesn't use Gnome icons in the toolbar. It uses the original ones from the main GNU Emacs distro. Apart from that, I agree that they're a bit ugly.

  53. Faster starting by meowsqueak · · Score: 2, Interesting

    Emacs has a feature where it can save it's entire state to disk as an executable binary. If you subsequently invoke this binary, Emacs starts up extremely quickly with the restored state, bypassing the usual initialisation and dot-emacs processing. A very neat feature IMO.

    1. Re:Faster starting by DrMorris · · Score: 1

      Please tell me more about this. I use Emacs for some years now, but I haven't heard about such a thing.

    2. Re:Faster starting by Anonymous Coward · · Score: 0

      That's how it's been since the 80s and it's a part of the normal build process. When you built your copy of emacs from the FSF sources, you could edit a lisp file that would load whatever modules into that runtime and then dump the executable.

    3. Re:Faster starting by meowsqueak · · Score: 1

      It's an internal feature called 'dump-emacs':

      http://www.zvon.org/other/elisp/Output/SEC661.html

      I don't use it because a). I usually run emacs in X11 and it apparently doesn't work well outside of console mode, and b). I leave emacs running 24/7 and use gnuserv to 'send' files to it (e.g. clicking on a .c file in a file browser is configured to run gnuserv which opens the file as a new buffer in an existing emacs session) so I don't require fast startup.

      It's not a very usable feature I'm afraid, but I did try it once or twice and thought "cool, I must remember that"... :)

    4. Re:Faster starting by meowsqueak · · Score: 1

      Also, I just found this:

      http://www.emacswiki.org/cgi-bin/wiki/DumpingEmacs

      Some useful bits in there if you want to give it a try.

    5. Re:Faster starting by DrMorris · · Score: 1

      Hey, cool, thanks! I don't have the possibility to run Emacs 24/7, but I'm quite happy with the "session" handling of desktop.el. A quick startup is nice, but not necessarily a requirement for me as I use Emacs for many things -- I can wait those 2 seconds more.

  54. Emacs: fix you undo/redo stack by tod_miller · · Score: 1

    one problem with non-visual editors, you hands can fly quite fast and all of a sudden ^cg^s^x-o oops, was that ^c-s^s^g^x-o or something else?

    whoops, where is half my document gone? what button did I push?

    I know, why don't I royally arse my document up by using undo/redo snaking biting its own tail HACK of an undo system.

    Unable to work out how to do a real undo, they hacked it 100% using basic hackery of adding and removing key codes to a stack.

    This means that when you undo, you are ADDING to your history.

    This is like a brokwn temporal back button, becuase it doesn't actually work like one and can quickly destroy any semblance of data it held.

    Anyway, Emacs is an ok editor, it does the job, it can be improved, and those proponents who like simple keyboard only editors, and like to ^xo!!^xo^xbTtabenter^sremove^s^sescqremoveenteradd spacespacespace^xs^xo!!

    that is fine - but there are even better ways.

    So that is my rant, and I realise that flaming anything vi or emacs is dumb, so here is a bunos, M$ suck! yeah.

    To confirm you're not a script,
    please type the word in this image: culpable

    random letters - if you are visually impaired, please email us at pater@slashdot.org

    --
    #hostfile 0.0.0.0 primidi.com 0.0.0.0 www.primidi.com 0.0.0.0 radio.weblogs.com
  55. Vi more logical than emacs? Good one! by Prof.+Pi · · Score: 2, Informative
    Vi wasn't easy to learn either -- but while unintuitive, it is all logical

    Yes, because typing L to go right, K to go up, J for down and H for left is so much more logical than ^F for forward, ^B for backward, ^N for the next line and ^P for the previous line! (I realize non-English speakers will be hosed either way.) Or that a linefeed character has a special status in vi, so you can't just delete it, you have to "join" the lines it separates. Or having to switch constantly between "navigating" and "inserting text," instead of just doing whichever you need to do right away.

    This argument has been going on almost as long as the Catholic/Protestant thing. It seems once people get the habit of doing things one way, the other way is "strange" and "counterintuitive." Kind of like every other UI debate.

    To answer the GP question: you can get by with about 10-15 basic commands. Open up emacs or xemacs, then type control-H followed by a t (no control). This gets you into the tutorial. Learn the basic navigation, editing and file commands. This will enable you to do all you need to do. Get comfortable with these first, because most of the special modes (like Dired, which lets you navigate directories) use the same keys for analogous operations). Also learn how to do M-x commands, like query-replace. After that, just learn new things a few at a time. The ones that are most useful to whatever you're doing will be the ones you remember.

    It also helps to fix your keyboard. Try swapping cntl and caps lock if you're on a PC keyboard (the bane of emacs users), and using Alt as the meta key (great for the meta-based navigation).

  56. Different Tools for Different Tasks by water-and-sewer · · Score: 1

    I happen to like emacs as my text editor for text-type things like email and prose, but I use vim exclusively for editing config files. I'm an editor junky though, so I've tried just about every editor I could find out there. I love Jed because it's quicker than emacs to start up and has a nice LaTeX environment. My biggest complaint is how much work it takes to get a good console environment configured in order to write using accented characters. The combination of console, framebuffer, and text editor eccentricities drive me to a macintosh more often than not. This review seems like as a good a place as any to post a link to one of my creations, the Woodnotes Guide to Emacs for Writers, by yours truly. It covers using emacs for writing and editing text/fiction/prose, not for programming. Available in PDF at http://www.therandymon.com/papers/emacs-for-writer s.pdf (HTML version: http://www.therandymon.com/linux/woodnotes/emacswr iter/emacs-for-writers.html). A corresponding reference card (PDF) is at http://www.therandymon.com/papers/emacs-writers-ch eatsheet.pdf. Be kind - I'm on a limited bandwidth host and it's the beginning of the month.

    --
    If this were Usenet, I'd killfile the lot of you.
  57. LIsping seems all Emac users do by Anonymous Coward · · Score: 0

    Yes that was the beginings of a flamewar.

  58. So is Emacs any less general than Eclipse? by Ed+Avis · · Score: 1
    IDEs like Eclipse have become universals hammers, and to some of their users, any file containing text looks like a nail.
    And this differs from Emacs how?
    Specific tasks are rarely handled well by universal tools, and text editing is no exception.
    Are they saying that GNU emacs (which has at least two mail clients, a news reader, an IRC client, debugger, shell-buffer and terminal emulator, Towers of Hanoi and goodness knows what else) is too universal to do one thing and do it well?
    --
    -- Ed Avis ed@membled.com
  59. Real programmers don't eat quiche by GerritHoll · · Score: 1

    $ cat > /usr/src/myapp/myapp.c
    #include

    int main () { ...
    } /* What else do you need? */

    1. Re:Real programmers don't eat quiche by tehshen · · Score: 1

      $ cat > /usr/src/myapp/myapp.c
      #include "/dev/tty"^D
      $ gcc myapp.c

      one-line program

      --
      Guy asked me for a quarter for a cup of coffee. So I bit him.
  60. vi only editor I can use.... by infonography · · Score: 1

    when drunk off my ass.

    I invite everybody here on slashdot to try this. And you will see that it's true.

    --
    Sorry about the writing. Robot fingers, you know? Cliff Steele in DOOM PATROL #23
  61. M-$ by leighklotz · · Score: 1

    It's nice to see they have a download for the windows version of ispell to make M-$ work. I wrote the original M-$ code in TECO for the PDP-10 in 1981, and it used ISPELL (ITS SPELL) for ITS, the PDP-10 OS, which itself came from some other TOPS-10 SPELL program. The Lisp EMACS implementation is wholly new, though, and I had nothing to do with writing it. (My M-X command for the buffer was m-x Check Buffer Spelling, which I think is less awkward than M-X spell-buffer).

  62. For a summary of the book by duckpoopy · · Score: 1

    just type : man emacs

    --
    word.
    1. Re:For a summary of the book by Anonymous Coward · · Score: 0

      That's:

      info emacs

    2. Re:For a summary of the book by Anonymous Coward · · Score: 0

      Out, hideous androphobe!

  63. Times change by beforewisdom · · Score: 1

    The email client and many of the non programming features were covered in earlier editions.

  64. Fat lady or crazy sister? (try MicroEmacs) by puzzled · · Score: 1



      You run GNU Emacs you're getting the fat lady, use vi and you've got her crazy sister.

      MicroEmacs loads as quickly as vi and it is very powerful. I've tried others, but I keep coming back to what has always worked the best.

    --
    I am very easy to get along with, but I don't have time to waste being nice to people who are being stupid. -Theo
  65. Not to troll or anything by jasonditz · · Score: 1

    But what exactly is the incentive to learn Emacs anymore?

    1. Re:Not to troll or anything by swb · · Score: 1

      What was the incentive to learn it ever?

      I suppose on some system 10 or more years ago it was the only full-screen text editor and better than some vendor-included vi for doing application development.

      I've never been a developer, beyond a few shameful but effective perl and shell scripts, and I've never managed to learn vi or emacs. I made a run at emacs because it seemed kind of like a text-mode desktop, but it was always *way* faster to download and install joe, edit what I wanted editing, and get back to whatever I was actually trying to accomplish than to stumble around in emacs.

  66. HierarKeys? by metamatic · · Score: 1

    There used to be a set of alternate key bindings for emacs called HierarKeys. That was back in the late 80s...

    It seems as though HierarKeys disappeared. I know that once I was faced with the normal Emacs key bindings, I quickly switched to vi.

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
  67. Re:Hefty tome (spoiler) by Ingolfke · · Score: 2, Funny

    On page 498 the headmaster dies.

  68. emacs originally written by 101percent · · Score: 0

    If you didn't know Richard Stallman originally created emacs because vi was non-free propreitary software.

  69. GNU Emacs Manual Is Long, but not Excellent by Darkforge · · Score: 2, Interesting

    There's no reason why learning Emacs has to be intimidating, but it's misleading comments like this that make people believe that they don't understand Emacs.

    Do us all a favor and compare the Emacs Manual Table of Contents with the Learning GNU Emacs Table of Contents.

    The Emacs manual begins with an encyclopedic glossary of Emacs terms. 17 pages of terms, according to "Print Preview" in Firefox. Afterwards, you get index pages: a list of all the default keys, a list of all the default options (without even a link to a chapter explaining how to tweak an option), a command index (again, no info on how to run a command), a variable index (same deal), and a "concept index" full of links all over the manual. Finally you get to a very abstract section about how to interpret what's on the Screen, but still no information on how to actually use Emacs.

    The O'Reilly book begins with "Emacs Basics", an easy-to-follow guide to the beginnings of Emacs. It looks more like the Emacs tutorial in a plain text format.

    The Emacs "Manual" is a gigantic man page. It's not a "manual" in the sense that you're supposed to sit down and read it as a first introduction to Emacs. It's not a guide for people to read. It's a reference guide for you to go find information you already knew was there.

    I'll admit, the built-in tutorial is a much better introduction, but it leaves you at the novice level. You know how to push the cursor around, but you know *nothing* about how to set options, what a variable is, how to set them, etc. To get from here to there requires hours of reading random info pages to try to find what you're looking for. Nothing like reading a clear manual.

    Never recommend that a newbie to Emacs read the Emacs Manual. The Manual is for Intermediate users wishing to become Advanced. The Tutorial is for novices. For those wishing to get to the Intermediate level, this O'Reilly book isn't a half bad choice.

    --

    When I moderate, I only use "-1, Overrated". That way, I never get meta-moderated!

    1. Re:GNU Emacs Manual Is Long, but not Excellent by DrMorris · · Score: 1

      The O'Reilly book is certainly a good choice if you want an easy introduction on Emacs. I own the 2nd edition, which was published in 1996. This may seem as quite dated for an IT book. But to introduce Emacs, it's still very convenient. Remember: this piece of software is over 20 years old, the UI has matured, big changes [in the basic usage of the editor] are seldom. My advise: if you want to learn the basics of Emacs, get a [cheap] copy of the 2nd edition until|if it is available in some stores. If you want to learn about advanced topics, the GNU Emacs manual is a good source!

  70. Why vi sucks (and so does emacs) by Anonymous Coward · · Score: 0

    vi users, please, I beg you, read this: http://en.wikipedia.org/wiki/Mode_error

    (For the record, I don't use emacs or vi anymore. They're both obnoxious in their own ways.)

  71. EMACS VHDL mode ... by Bassman59 · · Score: 1
    ... is (mostly) great; there are a couple of instances where the indent engine gets confused by VHDL'2002 syntax changes.

    But no other editor even comes close. If you are an electrical engineering using VHDL, you need EMACS.

  72. emacs & utf8? by bokel · · Score: 0

    I really wanted to give emacs a try, but it doesn't seem to be possible to edit utf-8 content, so i stick with eclipse.

    1. Re:emacs & utf8? by belg4mit · · Score: 1

      You need a modern emacs with MULE, of course google could have told you that.

      --
      Were that I say, pancakes?
  73. Nice troll! by Some+Random+Username · · Score: 2, Informative

    For those who will fall for this: emacs was written in 1975, vi in 1976. So its very unlikely that emacs was written in response to vi, unless the MIT dudes had a time machine working. And vi was always free, it was written as part of BSD.

    1. Re:Nice troll! by 101percent · · Score: 1

      Well RMS has said to me in an email that one reason he wrote Emacs was because vi was non-free.

    2. Re:Nice troll! by Some+Random+Username · · Score: 1

      Maybe you are confused about how he wrote GNU emacs because Gosling emacs was not free? As I said, vi didn't exist when he made the first emacs, and its always been free.

  74. Ok I agree. by xmorg · · Score: 1

    I would probably say that this book would be for advanced users.(and as well it should be)

    When I checkout or buy a linux/bsd book, I am looking to get my hardward working. I am trying to get Xwindows up, or understand how to get an InkJet printer, or internal dhcp working to an outside DSL line. I see alot of "Beginner" linux books out there spending time on old *nix lore, shell scripting in VI, etc. Its nice to see that they are lumping all this emacs knowlege into an emacs book. now maybe they will keep emacs paper documentation out of (insert your favorite distro here)

  75. Poor old emacs got beaten by the IDE not vi. by bored · · Score: 1

    Well, I use emacs at work, but I don't really like it. I've used VI a lot too. The diffrence is that emacs can be used as a real programmers editor (by definition a programmers editor needs a built in scripting language). I can make it do anything I can imagine and then bind those things to any key I want. In VI I end up writting lots of bash/perl/awk/etc scripts, and shelling out to perform some task. Plus the vi key bindings drive me crazy. I expect certain keys to behave certain ways. In emacs I just remap them to do what I think they should do.



    In truth, As I pointed out in an erlier post, emacs lost a lot of its following to the IDE crowd. People who wanted a programmers editor discovered that editors tailor made for particular languages with built in utilities and real syntatic parsing were easier to use. Especially when they are bound to GUI toolkits like Borland C++ and Netbeans. Emacs was a general purpose editing enviroment that takes a bit of pain to setup as a programmers editor but is functional. The IDE's just tend to work, and the good ones have macro languages, and key rebinding just like emacs. I still run GDB from emacs, but the integration isn't nearly as nice as visual studio and its debugger, even with my hacks. With an IDE the fact that your editing or debugging your code is transparent. Given the choice I would bail from emacs and use a real IDE. Given my mostly unix enviroment (all the major unix's with some driver development mixed in), things like kdevelop still doesn't work for me. So I have emacs, and probably will, until I start doing more regular windows programming again, in which case I will use the IDE that comes with whatever development enviroment I'm using.



    Oh, and I will continue to show off to vi users when they come in my office by doing fancy reformats and moving around our CVS repository like file boudaries and diffrent cvs versions don't exist. I know enough about vi to know what it can't do and its not hard to find things that are easier in emacs. My .emacs file will also continue to grow as I add cool new things I think up each day while programming my fingers off enough to produce more code than all our vi users here put together.

  76. More emacs jokes... by Intron · · Score: 1

    emacs - Escape Meta Alt Control Shift

    Anyone who uses emacs should have their head examined. Fortunately, that's built in.

    And finally: M-x yow

    --
    Intron: the portion of DNA which expresses nothing useful.
  77. Emacs questions - help me migrate back? by Just+Some+Guy · · Score: 1
    I switched from Emacs to Kate about a year ago, since it took forever to transfer files between a certain FTP server and Emacs' singlethreadedness meant I couldn't do anything else until it was finished. That's no longer an issue and I'd like to go back (or at least have a nice visit), but:

    1. I still don't see an obvious way to use WebDAV. Since much of my development involves hacking Zope over DAV, this is absolutely critical. Is there a nice, robust WebDAV package for Emacs?

    2. After several years, I still don't know how to set the Emacs fonts and hate the defaults on my system. Where, oh where, do I configure that? Do I need to hack .Xdefaults or is there something a little more click-and-drool friendly?

    --
    Dewey, what part of this looks like authorities should be involved?
    1. Re:Emacs questions - help me migrate back? by sinewalker · · Score: 1
      I don't know about WebDAV, but googling for "emacs webdav mode" brings up a few hits. It seems you aren't alone there and people's mileage varies with the current offerings. Since I know nothing about WebDAV beyond what it is, I can't recommend, sorry.

      But I hate the fonts too and "invested" some time to figure it out.

      Newer X versons of Emacs (v 21 and up, maybe earlier) have the notion of "faces" to describe the fonts used by the editor. You can click-and-drool the config for your "default face" like so (these instructions are for GNU Emacs/X11, though I think it's the same for Xemacs):

      0) Open the Options menu, choose Customize Emacs > Browse Customization Groups. A new buffer opens, containing the *Customize Browser* buffer, in Custom mode. This mode lets you click on Emacs buttons to select things.

      1) Expand the Faces group (by clicking on the [+] button next to it, and then expand Basic Faces

      2) Click on the Face button next to "Default". Other faces inherit basic options from this face, so for a global change like font size, this is the place to go.

      3) you can change the values for the font Height, Width, Colo[u]r etc. I find the "misc-fixed" font family with a Height of 173 1/10pt (that is, 17.3 pt) to be readable and still small enough to fit two 80-char wide Emacs windows side-by-side on my 1600x1200 screen (handy for ediff).

      4) When you are happy with your selections, press the State button and choose "Save for Future Sessions" from the pop-up menu. Emacs will write the necessary stuff to your ~/.emacs file which is loaded each time Emacs starts.

      5) Once it's in your .emacs file, you can transfer to other machines (either the whole file, or just the font bit written by the Custom buffer). Look for the call to custom-set-faces. Mine follow (which, together with the default colours results in an LCARS-like appearance):

      (custom-set-faces
      ;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
      ;; Your init file should contain only one such instance.
      '(default ((t (:stipple nil :background "Black" :foreground "Orange" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 180 :width normal :family "misc-fixed"))))
      '(cursor ((t (:background "yellow"))))
      '(highlight ((((class color) (background dark)) (:background "blue"))))
      '(mouse ((t (:background "green")))))
      --
      “Our opponent is an alien starship packed with nuclear bombs. We have a protractor.” — Neal Stepnenso
    2. Re:Emacs questions - help me migrate back? by Anonymous Coward · · Score: 0

      nice

  78. Re:Arr! by Anonymous Coward · · Score: 0

    At least they dont be nano or pico users

  79. Re:Nice referral link! MOD DOWN! by bill_mcgonigle · · Score: 1

    Good for him. What kind of idiot would post an Amazon link without a referral code? Some kind of Tibetan monk with a poverty vow?

    What kind of idiot Slashdotter would want Amazon to keep the money rather than have it to go to a compadre?

    Amazon sells every book known to man, so this isn't a sign of bias, it's a sign of intelligence.

    --
    My God, it's Full of Source!
    OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
  80. Re:Nice referral link! MOD DOWN! by 2008 · · Score: 1

    I don't, because the referrer system is crap and I want them to stop it. It encourages spam referrer links.

    --
    I quit!
  81. Neil Stephenson on EMACS by Anonymous Coward · · Score: 0
    From Neil Stephenson's book, "In the begining was the command line."

    In the GNU/Linux world there are two major text editing programs: the minimalist vi (known in some implementations as elvis) and the maximalist emacs. I use emacs, which might be thought of as a thermonuclear word processor. It was created by Richard Stallman; enough said. It is written in Lisp, which is the only computer language that is beautiful. It is colossal, and yet it only edits straight ASCII text files, which is to say, no fonts, no boldface, no underlining. In other words, the engineer-hours that, in the case of Microsoft Word, were devoted to features like mail merge, and the ability to embed feature-length motion pictures in corporate memoranda, were, in the case of emacs, focused with maniacal intensity on the deceptively simple-seeming problem of editing text. If you are a professional writer--i.e., if someone else is getting paid to worry about how your words are formatted and printed--emacs outshines all other editing software in approximately the same way that the noonday sun does the stars. It is not just bigger and brighter; it simply makes everything else vanish. For page layout and printing you can use TeX: a vast corpus of typesetting lore written in C and also available on the Net for free.

    For all you VI whiners out there, just shut your stupid traps and learn a real editor. Or you can go back to writing Visual Basic where you belong.

  82. MOD PARENT DOWN by holy+zarquon's+singi · · Score: 1

    It looks like a Harry Potter spoiler.

    --
    "...we should just trust our president in every decision that he makes and we should just support that." B.Spears 2003
  83. Emacs Versus Visual Studio by Sludge · · Score: 1

    Admittedly shameless plug: I have written an article about making Emacs work with (and better than) Visual Studio 7. If you're stuck with developers who use this environment, check it out:

    Emacs vs Visual Studio

    1. Re:Emacs Versus Visual Studio by Anonymous Coward · · Score: 0

      So you basically compared GUI click/right click functionality of features that are built-in and fast to using a command line mess that requires running cryptic commands to produce a result nowhere near as good.

      Oh yeah, works much better than the best IDE available anywhere.

      -1, Zealot

  84. My reason for using Emacs by GnuVince · · Score: 1

    I don't use Emacs because I don't like vim; I love vim and I absolutely adore its keybinding. However, vim does not have anything nearly as powerful as Emacs Lisp. With Elisp, I can modify my work environment easily and quickly. That for me is worth the weird key bindings.

  85. Re:emacs's ultimate power.. the shell by UnapprovedThought · · Score: 1

    You can also try eshell (emacs shell) and py-shell (python shell). Where else do you have reusability like the following?

    (print "hello\n") | sed "s/l/w/g"

    And consider that all of the elisp commands have command completion, so that typing longer commands:

    (describe-key-briefly "\C-p") | awk '{ print $NF }'

    ...aren't such a big chore.

    While it's kind of neat to have an i-searchable buffer, be able to attach pipes to all kinds of things you didn't know existed, eshell is still a bit green (at least in my version of it). There are a few defaults that I (and apparently a sibling post) found annoying.

    First, when you try to edit a command you had previously typed (e.g. command line editing, ^P) it instead moves you up a line in the (fully editable) buffer, so that you find yourself in the output of the previous command. So, you soon learn to use esc-P instead. Then, if you go to the start of a line with ^A, instead of going to the start of the command line as usual, it puts you at the start of your shell prompt (ugh -- how often do I want to edit that?) I realize this keeps things more or less generalized, but these defaults are apparently there to motivate people to customize their copy of emacs.

    With enough customization, eventually we'll be watching ascii movies in an emacs pane and be able to use vi keys to fast-forward past the commercials :) But don't say it too loud, as the RIAA might put this on their emerging threat list, along with that internet 3 thing that we were supposed to keep hushed up about.

  86. Please, please tell me by nagora · · Score: 2, Funny

    what the hell the /. icon for GNU topics is supposed to be? It looks like a little penis with a silly hat and a security blanket. WTF is it?

    --
    "Encyclopedia" is to "Wikipedia" what "Library" is to "Some people at a bus stop"
  87. charsets for emacs - eg PINYIN by Anonymous Coward · · Score: 0

    it would be cool if text editors could handle unicode - or if not, then at least support the tone marks for pinyin ABOVE the characters instead of folliwing them.

    possible?

    1. Re:charsets for emacs - eg PINYIN by jrumney · · Score: 2, Informative

      Emacs supports composed characters, so it should be possible to support putting the tone marks in the right place, even if they are saved as seperate characters in the buffer. The problem is that the internationalization features of Emacs are a bit of a black art that very few people know enough about to do anything with.

  88. Suggestion for new flamewar topic... by rdwald · · Score: 1

    Which is the bigger flamewar topic, Linux vs. BSD or emacs vs. vi?

    Clearly the latter is a bigger flamewar topic. Only Nazis would believe otherwise.

    (And yes, it's a joke.)

  89. Re:Refcards.com - Thank You! Thank You! Thank You! by Anonymous Coward · · Score: 0

    You are the greatest! A million blessings upon you!

  90. Too bad I missed the show... by Hosiah · · Score: 1
    Being a huge Emacs fan, I would probably have had fun in this discussion. But after the flamewar kicking Linux's ass for not being Microsoft last week, and the savages ravaging the Gimp for not being Photoshop this week, I really didn't have the heart to come in here and see all the pea-brains buggering Emacs because it isn't Word Perfect. Loud noises still have me diving for cover.

    I will say, that Emacs (and Vi) are like Zen - you either get them or you don't. Yeah, and I like them both, for they are Two Different Programs, and vi is good for banging out the World's Fastest Edit from the command-line, and Emacs (formerly criticized for it's bloat, but on today's hardware and environment, one of the lightest running processes when considering all it can do), is good for playing with the one program that comes the closest to being a full operating system in itself.

    I think Emacs is single-handedly keeping the Lisp language alive. With the extensions for it that keep popping up, and the many reincarnations of it in different environments, it is feasible to ask: Will Emacs go on expanding forever, like a Big Bang Universe?

  91. Why I Use Emacs. by BBF_BBF · · Score: 2, Interesting

    Why I Started:
    1. I was forced to learn EMACS as the *only* text editor for CPSC200 by a Nazi like professor and his TA henchmen eons ago.
    1a. I was a unix newbie, so when told to use emacs and told nothing about vi... guess which one I'll use. Anyways when one is clueless [ESC]:q! is as incomprehensible as [CTRL]x-c. (Anyways cursor movement without using cursor keys sucked with both vi and emacs: the vi "hjkl" movement keys that worked only in certain modes vs. emacs' mnemonic [CTRL]bnpf movement keys... thank {place a deity here, or "DEC" you're athiest or an uber gEEk} for creating VT100 terminals and with it the defacto standard for cursor keycodes, and full screen cursor placement.)
    2. I actually used Wordstar before learning emacs, so incomprehensible control key commands were nothing new.

    Why I Continued to Use EMACS after CPSC 200 while in University:
    1. Unix boxes actually had a control button in a place that made control commands almost ergonomic.
    2. One only has so much time to learn other editors when one's busy trying to avoid studying by playing/tweaking MUD's, xtrek, xtank, compiling and trying out beta versions of NCSA Mosaic.

    Why I Still Use Emacs Today in an Embedded Development Environment Hosted Off MS Windoze:
    1. Same reason I use Linux, Firefox, etc: It's Open Source software so there are alot of gEEks smarter and have more spare time than me developing plugins, extensions, Emacs major modes, etc, etc, so as a result
    a) I have access to extensions that would take me forever to write myself, that's assuming I could even come close to implementing such feats of software prowess even if given an infinite number of monkeys to work with,
    b) I have the source code for the tool and the extensions, so I can modify and reconfigure them as I like if they don't exactly fit my needs,
    c) I don't have to beg to get some purchase order from the accountants to avoid getting the company into trouble with lawsuits for using *my* favourite commercial editor and conversely can use the same editor at home.
    2. I have the evolved my .emacs configuration from my university days and have transmuted from apollo Domain to SunOS to HP/UX to VMS and finally to Windoze XP with linux slotted in there for home use.
    3. It's entertaining watching your coworkers get all pissed off when trying to cut and paste on your Windoze computer because you've swapped the key mapping for CAPS LOCK and CTRL on the Windoze Keyboard and didn't bother to relabel the keys. Note it can get dangerous if your coworkers are near the end of their ropes because everybody's been working way too many hours to meet some artificial deadline that management has decreed upon the peons.
    4. Last but not least, Has anybody mentioned the easy macro programming? Without learning a line of lisp, one can create complex macros... and by just learning a smattering of lisp, make macros that will amaze your co-workers (except the unix gods that use only "ed" because they believe that "vi" is not light weight enough, let alone an editor that includes a lisp interpreter and many megabytes of elisp scripts... anyways who needs to see more than one line of text at a time.)
    5. Anyways it's gEEky to use Gnu Emacs ([flame suit on] not XEmacs, only weirdo's use that [flame suit off]). What other reason does a nerd need to do anything?

  92. I also read the book by Anonymous Coward · · Score: 0

    I read the 2nd edition of this book, and it helped me a lot.
    I learned commands I never knew about, like all the rectangle copy-cut-paste commands that are so helpful with tables of numeric data.
    Emacs is my editor of choice (without making a religion out of it), and this book is a great way to start liking it.

  93. Advanced users guide to VI by janwedekind · · Score: 2, Funny

    Chapter One: How to exit vi without rebooting the system.

    Chapter Two: Learn how to put all your C++ programs and LaTeX documents in a single file.

    Chapter Three: How to copy a block of text without having to count the number of lines.

  94. Then I assume by Ulrich+Hobelmann · · Score: 1

    that he'll post the review to Eclipse (http://www.oreilly.com/catalog/eclipse/index.html released a year ago) around Xmas.

  95. Investment by blais · · Score: 0

    One thing that I always find so strange, is how people focus on the difficult learning aspect of the editor.

    I understand that such usability is important for a web application users are going to access once/week or month or so, they have to be able to guess their way around, but for a programmer, your text editor is where you spend 10 hours/day. Who cares if it's a little hard to learn? Soon enough it'll be in your fingers anyway.

    Learning emacs is the best practical investment I have ever done in my career, and it is the best computer program I have ever used! People who diss emacs invariably show lack of knowledge of it, and I have yet to meet a competent emacs user who was willing to change to something else.

    Make the effort, it's definitely worth it.

  96. Emacs not worth it as an editor... by rthille · · Score: 1

    But as an _environment_ Emacs kicks ass. I've got a headless box I never bothered to get X running on. I just run emacs on it within 'screen'. That lets me connect and disconnect from different computer and pickup right where I left off. I've got 4 shells, and about 20 other buffers open, including a few which are effectively editing files on a remote FTP server.

    But if I'm on another machine and I'm not already running emacs there, I'll use vi to just do a quick edit.

    --
    Awesome furniture, accessories and cabinetry in Santa Rosa, CA: http://humanity-home.com/
  97. Yeah, the icons are ugly, but you can hide them by alispguru · · Score: 1
    For me, it's not so much the looks as it is the screen real estate. Fortunately, you can click Options - Show/Hide - Toolbar and poof! They're gone. Click Options - Save Options afterwards and they're gone for good.

    Aqua, Brushed Metal, whatever - I need an emacs that works well with OS X. For me, that means:

    Trivial install and update

    Control and meta work right, and don't interfere with command

    Fonts that don't burn my eyes

    Non-trivial elisp (like SLIME, that does sockets) just works

    Aquamacs works for me. At least, the Aquamacs guys credit Andrew Choi for doing the original Carbon port - from looking at his blog, some people don't do that.

    --

    To a Lisp hacker, XML is S-expressions in drag.
  98. Try GNU Moe by Ocrad · · Score: 1
    From time to time, I have tried to learn emacs (seeing the benefits) but the learning curve seems so steep
    GNU has now a new option, GNU Moe, a text editor very easy to use, and two orders of magnitude smaller than Emacs, yet powerful enough for most editing tasks.

    Try the latest version (0.4) of Moe here.

  99. Re:Vi more logical than emacs? Good one! by slim · · Score: 1

    Yes, because typing L to go right, K to go up, J for down and H for left is so much more logical than ^F for forward, ^B for backward, ^N for the next line and ^P for the previous line! (I realize non-English speakers will be hosed either way.)

    They're nicely lined up around the right-hand home key, whereas the Emacs movement keys are all over the place and require you to hold down ctrl.

    Maybe this is why RMS got crippled by RSI?

    Admittedly the normal cursor keys work in every version of Emacs I've tried. I tried to learn using CTRL-L/R/N/P because I assumed they'd been chosen for a reason, and maybe that was my mistake.

  100. sorry, no by namekuseijin · · Score: 1

    "So can vim, and it does it better."

    Nope. Both vim and emacs don't know anything about the semantics of the underlying code. If it knew, once you typed "foo." For a struct, for instance, it could prompt you for the member variables of such struct. Both editors offer syntax highlighting, which has nothing to do with semantics.

    "an annoying and useless 'feature' for someone like me who's been programming enough years to know what most of the functions are by now"

    Yes, i see what you're problem is: you seemingly only use standard lib functions, never used functions from another lib for the first time and most likely never ever touched object-oriented code.

    Code-completion ( semantic completion ) does show you in a very handy popup all the functions a module exports or all the member variables and methods for a class, in a glance, for you to choose from.

    But, yeah, vi is ok for shell scripts or low-level C plumbering...

    Emacs has a number of experimental code-completion elisp code that promise a lot but still are pretty unsubstantial...

    Of course, superior general-purpose text-editing and quick source navigation features are something that places emacs high above any other IDE's editors i know of...

    --
    I don't feel like it...