Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!vanvleck!uwvax!ai!neves From: neves@ai.WISC.EDU (David M. Neves) Newsgroups: comp.emacs Subject: disk space required for GNU Emacs Message-ID: <4444@spool.wisc.edu> Date: Mon, 12-Oct-87 18:20:46 EDT Article-I.D.: spool.4444 Posted: Mon Oct 12 18:20:46 1987 Date-Received: Wed, 14-Oct-87 01:54:29 EDT Sender: news@spool.wisc.edu Reply-To: neves@ai.WISC.EDU (David M. Neves) Organization: U of Wisconsin CS Dept Lines: 72 I sent out the following message to a few people at our site and I thought it of general interest so I decided to submit it to the net. I would appreciate hearing more information about what is really needed in the Emacs distribution as it certainly is disk hungry. I would also appreciate it if you correct any errors here. ---------------------------------------------------------------- A few people have been putting Emacs on (Unix) workstations. Because of the limited amount of disk space on their machines they have had problems fitting the megabytes of Emacs code and libraries. You can delete some of these files. Necessary file: emacs 500-700K in size. All other files are optional. If you have additional space you should set up a directory for the supporting files. The location of this directory is specified when emacs is compiled. Sometimes it is called /usr/local/emacs [[is there a lisp variable that has the location as a value?]] The two subdirectories that are needed are "etc" and "lisp". The "info" subdirectory holds a tree structure representation of the emacs manual, but if you are short of disk space then delete it. ETC subdirectory The most important file in the /etc directory is the doc file. Its name is something like DOC-18.49.3. If there are several DOC files in the directory delete all but the latest one (i.e. if there was a 49.2 you could delete it). [[ This is slightly misleading. The DOC file you should keep corresponds to the version of emacs that you are running. You can see this version by typing Meta-x emacs-version.]] The doc file is used to get online documentation on functions (e.g. describe function in HELP) and for apropos. It runs about 215K bytes. You would need "loadst" if you used meta-x display-time You would need "tutorial" if you wanted to look at the online tutorial file. If you use tags in Emacs then ctags and etags would have to be placed in one of the path directories. All other files can be deleted [[ maybe someone can tell us what the other files are for]]. LISP subdirectory You can delete all the ".el" files. These are uncompiled versions of the compiled files (".elc"). You can also delete the following .elc files which are already loaded into emacs. "abbrev.elc buff-menu.elc c-mode.elc files.elc fill.elc help.elc indent.elc isearch.elc lisp-mode.elc lisp.elc page.elc paragraphs.elc paths.el register.elc replace.elc simple.elc startup.elc subr.elc text-mode.elc window.elc" The rest of the ".elc" files are optional. You might delete them all and if you find you need a particular library file then bring it over from another machine. The .elc files I use the most shell.elc - run a Unix shell within a buffer dired.elc - edit directory spell.elc - used to correct spelling errors rmail.elc - if you read your mail using Emacs sendmail.elc - if you send mail within Emacs tex-mode.elc - Used to edit TeX formatted files sort.elc - sort text in a buffer rect.elc - delete/insert rectangles of text in a buffer If you do all the above you reduce the disk space that Emacs takes up from 5.5 megabytes to a total of 1-1.5 megabytes. David Neves, Computer Sciences Department, University of Wisconsin-Madison Usenet: {rutgers,ucbvax,ihnp4}!uwvax!neves Arpanet: neves@cs.wisc.edu