[LUGOS] Emacs in sumniki

BOSTJAN.JERKO at MF.UNI-LJ.SI BOSTJAN.JERKO at MF.UNI-LJ.SI
Mon Aug 9 09:07:23 CEST 2004


Hm, v bistvu se ne spomnim. Sem pac delal z Googlom in po nekaj poskusih
uspel nastaviti zadeve. Sedaj pa kar kopiram .emacs naokoli in zadeva
deluje.
Sicer pa mi te nastavitve delujejo v konzoli in v Xwindows-ih, tako
da nastavitev "X tipkovnice" vsaj v konzoli ni potrebna.

B.

> Huh, hvala za tole, ampak...
>
> Vnasanje znakov direktno ne deluje...
> Ce prav razuemem ta del:
>
>   ; 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))
>
> potem, bi mogu vnasat slovenske znake tako da nameso Å  napisem ?S, al
> ni v tem fora?
>
> A tebi deluje direktno vnasanje? A mas kaksne posebne nastavitve za
> tipkovnico? Te nastavitve meni zgenerira KDE:
>
> setxkbmap -model pc105 -layout us,si -variant ,basic
>
> lp,
> Uros
> On Mon, 09 Aug 2004 08:22:59 +0200 (CEST), bostjan.jerko at mf.uni-lj.si
> <bostjan.jerko at mf.uni-lj.si> wrote:
>> > 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.
>>
>
>
> --
> 5 levels of fatness: Big, Healthy, Husky, Flufy and DAMN! -- Gabriel
> Iglesias
>




More information about the lugos-list mailing list