Next: Contents of Directories, Previous: Changing File Attributes, Up: Files [Contents][Index]
Files are generally referred to by their names, in SXEmacs as elsewhere. File names in SXEmacs are represented as strings. The functions that operate on a file all expect a file name argument.
In addition to operating on files themselves, SXEmacs Lisp programs often need to operate on the names; i.e., to take them apart and to use part of a name to construct related file names. This section describes how to manipulate file names.
The functions in this section do not actually access files, so they can operate on file names that do not refer to an existing file or directory.
• File Name Components: | The directory part of a file name, and the rest. | |
• Directory Names: | A directory’s name as a directory is different from its name as a file. | |
• Relative File Names: | Some file names are relative to a current directory. | |
• File Name Expansion: | Converting relative file names to absolute ones. | |
• Unique File Names: | Generating names for temporary files. | |
• File Name Completion: | Finding the completions for a given file name. | |
• User Name Completion: | Finding the completions for a given user name. |