INSTALL
changeset 293 292c9ded7c63
parent 279 fd6164dfec82
child 294 3e152cc2f508
equal deleted inserted replaced
292:5524c165e7ad 293:292c9ded7c63
     4 
     4 
     5 You can do anything with this file without any warranty.
     5 You can do anything with this file without any warranty.
     6 
     6 
     7 * Install note for .emacs.
     7 * Install note for .emacs.
     8 
     8 
     9 * Config file.
     9 * Config files structure.
    10 
    10 
    11 Файл настроек имеет имя ".emacs". При загрузке emacs он ищется по пути "$HOME/.emacs".
    11 Main Emacs config file is '~/.emacs'. I decide don't store beside it all
       
    12 customisations. Instead it simply load files in such order:
    12 
    13 
    13 Из-за наличия в .emacs блока с функцией custom-set-variables, содержимое которого может
    14   '~/.emacs-pre'
    14 меняться при настройке emacs через C-x customize, я решил хранить основные настройки в
    15                 For manually written customisation (usually for updating
    15 файле ".emacs-my".
    16                 load-path) which can affect on '.emacs-my'. Don't overridden
    16 
    17                 on installing.
    17 * Организация файлов настроек.
    18   '~/.emacs.d/my-lisp/autoload-my.el'
    18 
    19                 For defining autoload function for modes (instead loading all
    19 По умолчанию код .emacs загружает файл "$HOME/.emacs-pre", затем
    20                 mode files to save startup time). Automatically generated.
    20 "$HOME/.emacs-my", затем "$HOME/.emacs-post".
    21   '~/.emacs-my'
    21 
    22                 Here main customisations placed.
    22 ".emacs-my" хранит общие настройки для всех инсталляций, файлы ".emacs-pre" и
    23   '~/.emacs-post'
    23 ".emacs-post" содержат настройки для локальной инсталляции.
    24                 For storing connection settings and loading modes added to
       
    25                 load-path in ~/.emacs-pre. Don't overridden on installing.
       
    26   '~/.emacs-custom.el'
       
    27                 For storing customisations by Emacs itself. Don't overridden
       
    28                 on installing.
    24 
    29 
    25 * Setup on Windows.
    30 * Setup on Windows.
    26 
    31 
    27 ** Setup HOME.
    32 ** Setup HOME.
    28 
    33