This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:emacs_doc [2023/08/30 15:21] jypeter [Upgrading emacs] Added a Windows section |
other:emacs_doc [2023/10/06 14:26] jypeter [Example configuration file] Conf = emacs_jyp_2023-09-12.txt |
||
---|---|---|---|
Line 79: | Line 79: | ||
* [[https://savannah.gnu.org/news/?id=10368|diffutils-3.10]] is available (released in May 2023) | * [[https://savannah.gnu.org/news/?id=10368|diffutils-3.10]] is available (released in May 2023) | ||
* The ''2.8.7-1'' Win32 binaries are dated //May 2004//, but **work perfectly fine**! | * The ''2.8.7-1'' Win32 binaries are dated //May 2004//, but **work perfectly fine**! | ||
+ | |||
+ | === emacs for Windows technical notes === | ||
+ | |||
+ | <note tip>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!</note> | ||
+ | |||
+ | * [[https://www.gnu.org/software/emacs/manual/html_mono/emacs.html#Microsoft-Windows|Emacs and Microsoft Windows/MS-DOS]] (//Appendix H// of the //The Emacs Editor manual//) | ||
+ | |||
+ | * [[https://www.gnu.org/software/emacs/manual/html_mono/efaq-w32.html|GNU Emacs FAQ for MS Windows]] | ||
* Extra Windows specific information (optional, read only if you need it): [[https://www.gnu.org/software/emacs/manual/html_mono/efaq-w32.html|GNU Emacs FAQ for MS Windows]] | * Extra Windows specific information (optional, read only if you need it): [[https://www.gnu.org/software/emacs/manual/html_mono/efaq-w32.html|GNU Emacs FAQ for MS Windows]] | ||
Line 84: | Line 92: | ||
=== emacs for Linux, inside WSL === | === emacs for Linux, inside WSL === | ||
- | This is the //overkill// option... Useful only if you really need WSL! But you should also install the [[#emacs_for_windows|emacs Windows version]]! | + | <note warning>This is the //overkill// option... Useful **only if you really need //WSL//**!\\ You should also install the [[#emacs_for_windows|emacs Windows version]]!</note> |
* Install [[other:win10wsl|Windows Subsystem for Linux]] | * Install [[other:win10wsl|Windows Subsystem for Linux]] | ||
Line 179: | Line 187: | ||
==== Example configuration file ==== | ==== Example configuration file ==== | ||
- | * Recommended {{ :other:emacs_jyp_2023-08-11.txt |emacs configuration file}} | + | * Recommended {{ :other:emacs_jyp_2023-09-12.txt |emacs configuration file}} |
* Download this ''emacs_jyp_yyyy-mm-dd.txt'' file to the [[other:emacs_doc#location_of_the_configuration_file|appropriate configuration directory (for your system)]] | * Download this ''emacs_jyp_yyyy-mm-dd.txt'' file to the [[other:emacs_doc#location_of_the_configuration_file|appropriate configuration directory (for your system)]] | ||
* Rename the file to ''.emacs'' | * Rename the file to ''.emacs'' | ||
Line 197: | Line 205: | ||
* ''F4'': indent the selected region (if indenting makes sense for the current buffer mode) | * ''F4'': indent the selected region (if indenting makes sense for the current buffer mode) | ||
* ''F5'': comment out the selected region (comment style depends on the current buffer mode) | * ''F5'': comment out the selected region (comment style depends on the current buffer mode) | ||
+ | * ''M-;'' can be used for commenting **and un-commenting** | ||
* ''F12'': Repeat complex command (e.g. restart a previous query-replace operation) | * ''F12'': Repeat complex command (e.g. restart a previous query-replace operation) | ||
Line 254: | Line 263: | ||
* [[https://www.gnu.org/software/emacs/manual/html_node/emacs/|The Emacs Editor]] (the official manual) | * [[https://www.gnu.org/software/emacs/manual/html_node/emacs/|The Emacs Editor]] (the official manual) | ||
* Other official related [[https://www.gnu.org/software/emacs/manual/|GNU Emacs Manuals]] | * Other official related [[https://www.gnu.org/software/emacs/manual/|GNU Emacs Manuals]] | ||
+ | |||
+ | * [[https://github.com/rougier#emacs-hacking|Emacs hacking]] by Nicolas Rougier | ||
===== Updating emacs ===== | ===== Updating emacs ===== |