Linux

  1. Home
  2. Computing & Technology
  3. Linux

Mac Directories

Emacs Documentation

By Juergen Haas, About.com

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

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Linux

  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.