help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs 22 missing iso-accents-mode


From: Reiner Steib
Subject: Re: emacs 22 missing iso-accents-mode
Date: Sun, 04 May 2008 12:57:59 +0200
User-agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2.50 (gnu/linux)

On Sat, May 03 2008, Jason Rumney wrote:

> On May 3, 8:39 pm, Steinar Bang <address@hidden> wrote:
>
>> Hm... it's in a US locale, with Norwegian keyboard settings, Norwegian
>> time and a lot of other Norwegian settings.
>
> In that case (set-language-environment "Latin-1") in your .emacs will
> set up a lot of useful defaults. 

In case Steinar uses en_US.UTF-8 this might not be what he wants.

> Emacs doesn't have localised menus, so that shouldn't cause you any
> problems.
>
>> Hm... the behaviour I'm actually looking for, is the one I had with
>> iso-accents-mode, which is the ability to type the accents I don't have,
>> for certain modes.
>>
>> I put it into the text-mode-hook, which meant I got iso-accents mode on
>
> Then the equivalent will probably be:
>
> (add-hook 'text-mode-hook (lambda () (set-input-method 'latin-1-
> prefix)))

FWIW, there's also norwegian-postfix input method, which might me less
intrusive than a full-blown latin method:

,----[ M-x describe-input-method RET norwegian-postfix RET ]
| Input method: norwegian-postfix (mode line indicator:NO<)
| 
| Norwegian (Norsk) input method (rule: AE->Æ   OE->Ø   AA->Å   E'->É)
| 
| Doubling the postfix separates the letter and postfix: e.g. aee -> ae
| 
| 
| KEY SEQUENCE
| -----------
| You can input characters by the following key sequences:
| key char  [type a key sequence to insert the corresponding character]
| --- ---- --- ---- --- ---- --- ---- --- ---- --- ---- --- ---- --- ----
| AA  Å  AE  Æ    E'  É    OE  Ø    aa  å    ae  æ    e'  é    oe  ø
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]