INSTALL
author Oleksandr Gavenko <gavenkoa@gmail.com>
Sun, 16 Aug 2009 22:26:50 +0300
changeset 159 caee78ca8c40
parent 158 f3ed60aecfd8
child 160 81412bb74bf3
permissions -rw-r--r--
About MANPATH on Windows.

-*- mode: outline; coding: cp1251 -*-

Copyright (C) 2008 by Oleksandr Gavenko <gavenkoa@gmail.com>

* Install note for .emacs.

* Файл настроек.

Файл настроек имеет имя ".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" содержат настройки для локальной инсталяции.

Дополнительные загружаемые модули я решил сохраниять в `$HOME/.el'.

* Особенности для 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:

  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

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.

* Особенности для 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
  ln -s /home/other-user/.el /home/sasha/.el

* 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::