[LUGOS] Emacs in sumniki

BOSTJAN.JERKO at MF.UNI-LJ.SI BOSTJAN.JERKO at MF.UNI-LJ.SI
Mon Aug 9 08:22:59 CEST 2004


> Zaenkrat tole:

>  '(keyboard-coding-system (quote latin-2))

Tukaj imam jaz:

(set-keyboard-coding-system 'latin-2)

Nato pa se dodam:

(defun slovene-latin2-mode ()
  "Slovene with Latin2 (ISO 8859-2) encoding and support for ispell."
  (interactive)
  ; enable 8 bit display
  (cond
   ((<= emacs-major-version 19)
    (standard-display-european 1)
    ))          ; enable European character display


  ; enable easy input of Slovene carons
  (iso-accents-mode)
  ; add Slovene language to list of languages & define composed characters
  (setq iso-languages (cons '("slovene"
     (?\" (?C . ?\310) (?S . ?\251) (?Z . ?\256)
          (?c . ?\350) (?s . ?\271) (?z . ?\276)
          (?\" . ?\")))
     iso-languages))
  ; make Slovene language the default language
  (iso-accents-customize "slovene")
)

(prefer-coding-system 'iso-latin-2)  ; prefer Latin-2 to Latin-1


Kaj tocno od tega je dovolj ti ne znam povedati. Upam, da bo to dovolj.

B.



More information about the lugos-list mailing list