Update copyright statement and year.
-*- mode: outline; coding: cp1251 -*-
Copyright (C) 2008-2010 by Oleksandr Gavenko <gavenkoa@gmail.com>
You can do anything with this file without any warranty.
* Install note for .emacs.
* Config file.
Файл настроек имеет имя ".emacs". При загрузке emacs он ищется по пути "$HOME/.emacs".
Из-за наличия в .emacs блока с функцией custom-set-variables, содержимое которого может
меняться при настройке emacs через C-x customize, я решил хранить основные настройки в
файле ".emacs-my".
* Организация файлов настроек.
По умолчанию код .emacs загружает файл "$HOME/.emacs-pre", затем
"$HOME/.emacs-my", затем "$HOME/.emacs-post".
".emacs-my" хранит общие настройки для всех инсталляций, файлы ".emacs-pre" и
".emacs-post" содержат настройки для локальной инсталляции.
* Setup on Windows.
** Setup HOME.
Setup HOME environment variable. For example:
<win-drive-char>:\home
** Setup MANPATH.
To use woman with on Windows set MANPATH like this (note that path in
Cygwin/MinGW style so you need use cygwin-mount.el):
MANPATH=:/cygdrive/d/home/usr/share/man:/usr/share/man:/usr/local/share/man
for Cygwin or like this:
MANPATH=/e/home/usr/share/man:/e/bin/MinGW/man:/e/bin/gnuwin32/man
for MinGW and other case.
To get man paths on Cygwin see <cygwin-root>\usr\share\misc\man.conf.
Also you can set woman-manpath variable.
** Setup INFOPATH.
To browse info file inside Emacs set INFOPATH like this:
INFOPATH=e:/bin/gnutls/share/info;e:/bin/gnuwin32/info;e:/bin/gnuwin32/share/info;e:/bin/MinGW/info;e:/bin/MinGW/share/info;e:/bin/wget/info:
for MinGW.
Note that last colon symbol is essential for include also Emacs info to list.
* Особенности для Unix.
Я решил сохранять файлы настроек в домашнем каталоге основного пользователя,
а для других пользователей делать соответствующие символические ссылки:
ln -s /home/other-user/.emacs /home/user/.emacs
ln -s /home/other-user/.emacs-pre /home/user/.emacs-pre
ln -s /home/other-user/.emacs-my /home/user/.emacs-my
ln -s /home/other-user/.emacs-post /home/user/.emacs-post
* GTD (org-mode).
In home dir create .gtd subdir with todo.org file. Put sinple content in top
of them:
-*- coding: utf-8 -*-
#+STARTUP: overview
#+STARTUP: hidestars
#+ARCHIVE: %s_done::