aboutsummaryrefslogtreecommitdiff
path: root/.emacsrc
blob: dd30cf26e0e061a932a4815cd4d54a2ebd82774f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(defun greek-input (arg)
  (interactive "p")
  (set-input-method 'greek))

(defun russian-input (arg)
  (interactive "p")
  (set-input-method 'cyrillic-jcuken))

(set-language-environment 'utf-8)

(global-set-key "\M-g" 'greek-input)
(global-set-key "\M-r" 'russian-input)

(setq load-path (cons "elisp" load-path))
(load-file "elisp/ellinika-mode.el")       
(load-file "elisp/ellinika-dict-mode.el")       

(setq ispell-program-name "aspell")
(setq ispell-extra-args (list "--encoding=utf-8"))

(require 'ispell)
(setq ispell-dictionary-alist
      (append '(("russian" "" "" "" nil ("-d" "russian") nil utf-8)
		("greek" "" "" "[---]" nil ("-B" "-d" "el") "~tex" utf-8))
	      ispell-dictionary-alist))


(setq w3-default-homepage "http://localhost/cgi-bin/dict.cgi")

Return to:

Send suggestions and report system problems to the System administrator.