Table of Contents

Using the emacs text editor

TODO

FIXME

Installing emacs

Linux installation

Mac installation

Install Aquamacs

Windows installation

emacs binaries for Windows

When installing emacs, you will need an account that can get elevated (i.e. administrator) permissions


On a computer configured at LSCE, use your .\admin account

emacs for Windows technical notes

These notes are only here for finding them easily, but you probably don't need them.
Just follow exactly the windows related instructions on this page!

Launching emacs

Linux launch

Windows launch

Mac launch

FIXME

Using (and learning) emacs

Use C-g (CTRL+g) to abort or interrupt something in emacs

e.g. When you are searching forward with C-s, type C-g to exit the search

All the common functions of emacs are available from the pull-down menus at the top, but the real power comes from knowing (a few of) the keyboard shortcuts!

emacs configuration file

Location of the configuration file

Configuration file name: .emacs

emacs knows (of course) where its .emacs configuration file is located! You can open the configuration file just by typing C-x C-f ~/.emacs and you can then check how your Home folder (~/) has been expanded

Related emacs (configuration) files and folders (e.g. .emacs.d/ folder) are located in the same place as the main configuration file

Example configuration file

Useful shortcuts

Working with remote text files

Prerequisite

Using the tramp mode

Troubleshooting...

The tramp mode is quite complex and relies on connections to one or more remote computers using external programs and protocols. You may have to experiment a bit till you find the correct syntax and inline method to work with a particular remote server. Make sure you have read the prerequisite section!

Buffer*Messages*

Having fun with emacs

emacs documentation

Updating emacs

Linux

Mac

Windows

Using winget upgrade for updating emacs on Windows unfortunately does not work yet (May 2024). The easiest way to update Emacs is:





[ PMIP3 Wiki Home ] - [ Help! ] - [ Wiki syntax ]