INSTALL
changeset 303 1fee37963d5a
parent 301 da1fac055e5d
child 383 05d5f28e9ff5
equal deleted inserted replaced
288:5009c3f4afef 303:1fee37963d5a
     1 -*- mode: outline; coding: cp1251 -*-
     1 -*- mode: outline; coding: utf-8 -*-
     2 
     2 
     3 Copyright (C) 2008-2010 by Oleksandr Gavenko <gavenkoa@gmail.com>
     3 Copyright (C) 2008-2010 by Oleksandr Gavenko <gavenkoa@gmail.com>
     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 
       
     7 * Install note for .emacs.
       
     8 
       
     9 * Config file.
       
    10 
       
    11 Файл настроек имеет имя ".emacs". При загрузке emacs он ищется по пути "$HOME/.emacs".
       
    12 
       
    13 Из-за наличия в .emacs блока с функцией custom-set-variables, содержимое которого может
       
    14 меняться при настройке emacs через C-x customize, я решил хранить основные настройки в
       
    15 файле ".emacs-my".
       
    16 
       
    17 * Организация файлов настроек.
       
    18 
       
    19 По умолчанию код .emacs загружает файл "$HOME/.emacs-pre", затем
       
    20 "$HOME/.emacs-my", затем "$HOME/.emacs-post".
       
    21 
       
    22 ".emacs-my" хранит общие настройки для всех инсталляций, файлы ".emacs-pre" и
       
    23 ".emacs-post" содержат настройки для локальной инсталляции.
       
    24 
     6 
    25 * Setup on Windows.
     7 * Setup on Windows.
    26 
     8 
    27 ** Setup HOME.
     9 ** Setup HOME.
    28 
    10 
    55 
    37 
    56 for MinGW.
    38 for MinGW.
    57 
    39 
    58 Note that last colon symbol is essential for include also Emacs info to list.
    40 Note that last colon symbol is essential for include also Emacs info to list.
    59 
    41 
    60 * Особенности для Unix.
       
    61 
       
    62 Я решил сохранять файлы настроек в домашнем каталоге основного пользователя,
       
    63 а для других пользователей делать соответствующие символические ссылки:
       
    64   ln -s /home/other-user/.emacs /home/user/.emacs
       
    65   ln -s /home/other-user/.emacs-pre /home/user/.emacs-pre
       
    66   ln -s /home/other-user/.emacs-my /home/user/.emacs-my
       
    67   ln -s /home/other-user/.emacs-post /home/user/.emacs-post
       
    68 
       
    69 * GTD (org-mode).
    42 * GTD (org-mode).
    70 
    43 
    71 In home dir create .gtd subdir with todo.org file. Put sinple content in top
    44 In home dir create .gtd subdir with todo.org file. Put simple content on top
    72 of them:
    45 of them:
    73 
    46 
    74   -*- coding: utf-8 -*-
    47   -*- coding: utf-8 -*-
    75 
    48 
    76   #+STARTUP: overview
    49   #+STARTUP: overview