Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision |
emacs_tutorial [2021/03/21 06:27] – [Shell Modes] hc9 | emacs_tutorial [2021/03/21 06:29] – [Emacs Startup and Configuration] hc9 |
---|
===== Emacs Startup and Configuration ===== | ===== Emacs Startup and Configuration ===== |
| |
When Emacs starts it will load a file named ".emacs" in your home directory and execute the commands found in it. This file is written in Emacs Lisp, but you can use it without knowing any Lisp, by copying other people's sample files. It is mainly useful for making certain extended commands a permanent part of your Emacs experience, so you don't have to type them every time you start Emacs. In the example below, comment lines start with one or more semi-colons, so you would delete the semi-colons to enable the given feature. | When Emacs starts it will load a file named ''.emacs'' in your home directory and execute the commands found in it. This file is written in Emacs Lisp, but you can use it without knowing any Lisp, by copying other people's sample files. It is mainly useful for making certain extended commands a permanent part of your Emacs experience, so you don't have to type them every time you start Emacs. In the example below, comment lines start with one or more semi-colons, so you would delete the semi-colons to enable the given feature. |
| |
<file config .emacs> | <file config .emacs> |
</file> | </file> |
| |
The above example gives you a good idea of what can be done in a ".emacs" file, for more in-depth configuration Emacs has a customization mode that can be accessed with the extended command "M-x customize". Running it will put you in a curses-style application where you can choose from customization menus and have your changes written to your ".emacs" file automatically. | The above example gives you a good idea of what can be done in a ''.emacs'' file, for more in-depth configuration Emacs has a customization mode that can be accessed with the extended command ''M-x customize''. Running it will put you in a curses-style application where you can choose from customization menus and have your changes written to your ''.emacs'' file automatically. |
| |
===== Browsing the Web in Emacs with w3m ===== | ===== Browsing the Web in Emacs with w3m ===== |