1. Home
  2. Computing & Technology
  3. Linux

Mac Directories
Emacs Documentation

By , About.com Guide

Volumes and Directories on the Mac

The directory structure in the Mac OS is seen by Emacs as

/volumename/filename

So when Emacs requests a file name, doing file name completion on / will display all volumes on the system. You can use .. to go up a directory level.

To access files and folders on the desktop, look in the folder Desktop Folder in your boot volume (this folder is usually invisible in the Mac Finder).

Emacs creates the Mac folder :Preferences:Emacs: in the System Folder and uses it as the temporary directory. Emacs maps the directory name /tmp/ to that. Therefore it is best to avoid naming a volume tmp. If everything works correctly, the program should leave no files in it when it exits. You should be able to set the environment variable TMPDIR to use another directory but this folder will still be created.

* Emacs Manual Index

Explore Linux
About.com Special Features

The Best Web Trends of the Decade

A look back at the best innovations, ideas and technologies over the last 10 years, More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  1. Home
  2. Computing & Technology
  3. Linux
  4. Linux Software
  5. Editors
  6. Emacs
  7. Emacs Documentation - Mac Directories

©2009 About.com, a part of The New York Times Company.

All rights reserved.