Next: Backups and Auto-Saving, Previous: Documentation, Up: Top [Contents][Index]
In SXEmacs, you can find, create, view, save, and otherwise work with files and file directories. This chapter describes most of the file-related functions of SXEmacs Lisp, but a few others are described in Buffers, and those related to backups and auto-saving are described in Backups and Auto-Saving.
Many of the file functions take one or more arguments that are file
names. A file name is actually a string. Most of these functions
expand file name arguments using expand-file-name
, so that
~ is handled correctly, as are relative file names (including
‘../’). These functions don’t recognize environment variable
substitutions such as ‘$HOME’. See File Name Expansion.
• Visiting Files: | Reading files into SXEmacs buffers for editing. | |
• Saving Buffers: | Writing changed buffers back into files. | |
• Reading from Files: | Reading files into buffers without visiting. | |
• Writing to Files: | Writing new files from parts of buffers. | |
• File Locks: | Locking and unlocking files, to prevent simultaneous editing by two people. | |
• Information about Files: | Testing existence, accessibility, size of files. | |
• Changing File Attributes: | Renaming files, changing protection, etc. | |
• File Names: | Decomposing and expanding file names. | |
• Contents of Directories: | Getting a list of the files in a directory. | |
• Create/Delete Dirs: | Creating and Deleting Directories. | |
• Magic File Names: | Defining "magic" special handling for certain file names. | |
• Partial Files: | Treating a section of a buffer as a file. | |
• Format Conversion: | Conversion to and from various file formats. |
Next: Backups and Auto-Saving, Previous: Documentation, Up: Top [Contents][Index]