User Tools

Site Tools


other:emacs_doc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
other:emacs_doc [2024/02/16 13:23]
jypeter [Windows installation] Improved
other:emacs_doc [2024/05/06 08:40]
jypeter [Example configuration file] Improved MS Win related stuff
Line 33: Line 33:
 ==== Linux installation ==== ==== Linux installation ====
  
-Install the ''​emacs'' ​packageif it is not already available+  * Check **if ''​emacs'' ​is already installed** on the Linux computer or servers you are usinge.g with the ''​[[other:​newppl:​starting#​which_program_am_i_using|which]]''​ command. There is a good chance that ''​emacs'' ​is already available ​on shared servers! 
 +    * <​code>​$ which \emacs 
 +/​usr/​bin/​emacs</​code>​
  
-<​code>​$ sudo apt install emacs+  * **If ''​emacs''​ is not available**:​ 
 +    * On shared server: ask your local system administrators 
 +    *  On your Linux desktop/​laptop:​ install the ''​emacs''​ package the following way 
 +      * <​code>​$ sudo apt install emacs
 [sudo] password for your_login: [sudo] password for your_login:
 Reading package lists... Done Reading package lists... Done
Line 201: Line 206:
     * 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''​
-    * Edit the file (with ''​emacs''​ or another editor) ​and search ​//Microsoft// to (un)comment ​MS Windows specific ​sections of the configuration file+    * You can possibly edit the ''​.emacs'' ​file (with ''​emacs''​ or another editor) ​to make some changes, but it should theoretically work //as is// 
 +      * MS Windows specific ​section should automatically be executed only on Windows computer, and you don't have to comment them out by hand. You can find them by looking for the following strings: ''​Microsoft'',​ ''​MS'',​ ''​w32''​
     * (re)start ''​emacs''​ to take this configuration file into account     * (re)start ''​emacs''​ to take this configuration file into account
-      * If ''​emacs''​ displays the following error message, just create the ''​server''​ directory (''​c:/​Users/​your_login/​AppData/​Roaming/​.emacs.d/​server''​) by hand and restart ''​emacs''​\\ <​code>​Warning (initialization):​ An error occurred while loading ‘c:/​Users/​your_login/​AppData/​Roaming/​.emacs’:​+      * On MS Windows: if ''​emacs''​ displays the following error message, just create the ''​server''​ directory (''​c:/​Users/​your_login/​AppData/​Roaming/​.emacs.d/​server''​) by hand and restart ''​emacs''​\\ <​code>​Warning (initialization):​ An error occurred while loading ‘c:/​Users/​your_login/​AppData/​Roaming/​.emacs’:​
  
 File is missing: Opening output file, No such file or directory, c:/​Users/​your_login/​AppData/​Roaming/​.emacs.d/​server/​server</​code>​ File is missing: Opening output file, No such file or directory, c:/​Users/​your_login/​AppData/​Roaming/​.emacs.d/​server/​server</​code>​
other/emacs_doc.txt · Last modified: 2024/05/22 08:48 by jypeter