Running is therapy

a blog about running, cats, Linux and programming.
  • Home
  • Current Schedule
  • Personal Records
  • Upcoming Races

Emacs tip #1

Published by Nathan Powell on March 2, 2007 06:32 am under emacs

I figure I can post emacs tips as I run across them.

If you often open the same buffers everytime you start Emacs, you can save them so that upon reopen they are already there and open.

Get everything the way you want, and do

  M-x desktop-save

Then in your .emacs file

  (desktop-read)

That will open all the buffers from the desktop-save session, and you are ready to go.

8 Comments so far

  1. rbohn on March 2nd, 2007

    Emacs: The best 1990 has to offer :-) Seriously, if you’re doing ruby development, you should consider using an IDE like Eclipse, which has support for Ruby (http://www-128.ibm.com/developerworks/opensource/library/os-rubyeclipse/). Take it from a guy who used to program Java using vi.

  2. Patrick on March 2nd, 2007

    Why do you like eclipse?

  3. Nathan Powell on March 2nd, 2007

    Just in case rbohn doesn’t read the comments here, I will say that I have worked beside him and his eclipse-fu. He’s a java developer and pretty deft at the eclipse.

    When I was doing Java stuff I liked Eclipse as well. It’s pretty good at it.

  4. John on March 2nd, 2007

    VIVA LA NANO!

  5. rbohn on March 2nd, 2007

    The bottom line is you need to work with makes you most productive. If that’s emacs, that’s great. I’m not interested in getting into a holy war about what emacs can do vs. what vi can do vs. what eclipse can do. Here’s the bottom line: Give Eclipse (or some other GUI-based IDE) a try. I’m only talking about Eclipse because that’s what I personally have experience with. Plus, Eclipse is not just a Java IDE and there’s great support for Ruby Development (see my previous comment). If you are doing Ruby on Rails there’s the RadRails IDE, which (drumroll please), is built on top of Eclipse. I’ll leave you with this thought. You’re not using lynx anymore to browse the internet (at least I hope not), so why use a text-based program to do serious devlopment. Even James Gosling, who wrote a version of emacs, says it’s time to move on (http://blogs.sun.com/jag/entry/converting_the_hardcore_users).

  6. Mark A. Hershberger on March 2nd, 2007

    “A version of emacs…” In the early 80s every editor was called emacs, it seems.

    And Bill Joy disses his high school project (vi).

    Now, something that is signifigant to me is when Tim Bray (Long-time emacs user) says NetBeans is “another blow to emacs.”

    But, then you have this screencast…

  7. Nathan Powell on March 3rd, 2007

    rbohn, I have used radrails, it’s pretty cool. Also, the new Adobe Flex IDE is another “runs on top of eclipse editor”. Nothing wrong with eclipse at all. I am also not interested in editor holy wars, I like jumping around from time to time trying out software to see if it fits my workflow.

    Emacs is dated in a lot of ways, but I still am finding it to be very powerful.

    I should whip out some java and see how that works on it.

  8. rbohn on March 3rd, 2007

    Mark, Gosling did write a version of emacs that was sold to UniPress. Code from Gosling’s emacs was included in the initial version of GNU emacs written by Richard Stallman. That code remained there until version 16.56 and only a few bits of Gosling’s emacs code that controlled display remained. http://en.wikipedia.org/wiki/Gosling_Emacs

    Nate,

    We miss you at work buddy.

Posting your comment.

  • Search

  • Archives

    • October 2008 (5)
    • September 2008 (4)
    • August 2008 (10)
    • July 2008 (11)
    • June 2008 (14)
    • May 2008 (15)
    • April 2008 (10)
    • March 2008 (16)
    • February 2008 (17)
    • January 2008 (37)
    • December 2007 (21)
    • November 2007 (30)
    • October 2007 (29)
    • September 2007 (22)
    • August 2007 (30)
    • July 2007 (49)
    • June 2007 (32)
    • May 2007 (29)
    • April 2007 (38)
    • March 2007 (26)
    • February 2007 (25)
    • January 2007 (23)
    • December 2006 (10)
    • November 2006 (12)
    • October 2006 (9)
    • September 2006 (9)
    • August 2006 (5)
    • July 2006 (13)
    • June 2006 (9)
    • May 2006 (8)
    • April 2006 (11)
    • March 2006 (12)
    • February 2006 (12)
    • January 2006 (13)
    • December 2005 (15)
    • November 2005 (19)
    • October 2005 (8)
  • Categories

    • blather (63)
    • books (10)
    • computers (177)
    • cooking (1)
    • economics (3)
    • emacs (3)
    • football (1)
    • gaming (1)
    • hiking (5)
    • housekeeping (5)
    • lifehacking (7)
    • music (3)
    • paddling (2)
    • personal (1)
    • politics (21)
    • programming (70)
    • running (233)
    • smoking (40)
    • sysadmin (10)
    • tlc (10)
    • Uncategorized (1)
  • Pages

    • Current Schedule
    • Personal Records
    • Upcoming Races

Copyright © 2008 Running is therapy
WordPress Theme based on Light Theme