help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Creating projects in Emacs


From: Greg Hill
Subject: Re: Creating projects in Emacs
Date: Wed, 24 Apr 2002 10:30:38 -0700

In the Miscellaneous Commands chapter, under "Saving Emacs Sessions" (section 30.11 in my copy) of the GNU Emacs Manual, it also recommends:

        add these lines at the end of your '.emacs' file:

                (load "desktop")
                (desktop-load-default)
                (desktop-read)

That way all you have to do is make the directory in which you saved your desktop your current shell directory, and type:

        emacs

to get right back to where you were when you last worked on that project. Every time you exit from emacs it automatically updates your saved desktop for the next time. You have to manually type "M-x desktop-save" only once per project. And you don't ever have to type "M-x desktop-read". Everything else is automatic.

--Greg

At 9:58 AM -0700 4/24/02, Chuck Siska wrote:
raghu --

1. "load" all the files for the project into emacs (an emacs
   frame).

2. type M-x desktop-save, and specify the directory into which
   you would like to save the desktop (i.e., the list of files).

3. when you want to reload all the files from the project, start
   a fresh emacs (not really necessary, an already running one
   will do) and type M-x desktop-read giving the same directory.

good luck

-- chuck

 Raghuraman wrote:

 Hi,

     I'm a newbie and was wondering if there is any way to
 create a project/filegroup in emacs and save it - so that the
 next time the file is loaded, it loads all the files in the
 project. Pls reply to my id.

 tia,
 Raghu

--
|\_/\_.-'""``:-._ What is life without looking for . . `; -._ )-;-,_`)
the next cute little bug to play with?     v_,-    _  ),(,.\  ``-'
_.- _.,-_/ / ((.' -- chuck.siska@conexant.com `<}:.. ((,.-' ((,/

_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]