From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: emacs 22 missing iso-accents-mode Date: Sun, 04 May 2008 12:57:59 +0200 Organization: T-Online Message-ID: References: <871w4q9t7d.fsf@dod.no> <1d447a86-7749-4777-b076-7da8814ae154@26g2000hsk.googlegroups.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1209901287 17028 80.91.229.12 (4 May 2008 11:41:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 4 May 2008 11:41:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun May 04 13:42:01 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JscbE-0007sk-Ud for geh-help-gnu-emacs@m.gmane.org; Sun, 04 May 2008 13:41:49 +0200 Original-Received: from localhost ([127.0.0.1]:49114 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JscaX-0001nG-7D for geh-help-gnu-emacs@m.gmane.org; Sun, 04 May 2008 07:41:05 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!panix!newsfeed-00.mathworks.com!kanaga.switch.ch!switch.ch!news.belwue.de!newsfeed01.sul.t-online.de!newsfeedt0.toon.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 50 Original-X-Trace: news.t-online.com 1209898762 00 n15003 MuEFOpH1dbTGShl6 080504 10:59:22 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: GWmV3GZc8e9wzyKb5sqShoPmB1HsFBt8sxx67vIdjtnFfF11iiHQEc X-Face: .*T0'iU(sujq_j9\J>-d4fg; N/1++U#U$_5ii6k.=|"-n'?5O:Hyz&wi'-!I~,}7~GgT=0S /&-R5sbkNy5+Xo1y{Tw2KKxi@Xh"g@]Qc|.U<*]WDd)qvGowFDvfU1F]{EDho:7P0@|oOD=Bc{K4?> WP68K[Mx:}=`ZT'6g4'f+g?;`vri2!)xGy}3:=l'(/Cea0l4lo^H5#@/Z3ev Mail-Copies-To: nobody User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2.50 (gnu/linux) Cancel-Lock: sha1:q4mMYWaFtUXaI0A0VmGMca/cP4c= Original-Xref: shelby.stanford.edu gnu.emacs.help:158387 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53756 Archived-At: On Sat, May 03 2008, Jason Rumney wrote: > On May 3, 8:39 pm, Steinar Bang 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/