New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

åäö in emacs, or emacs23

Got problems with your B2 or B3? Share and get helped!
Post Reply
Bo Mellberg
Posts: 2
Joined: 07 Oct 2008, 18:33

åäö in emacs, or emacs23

Post by Bo Mellberg »

As emacs is my favourite editor and Swedish is my native language, it'd be nice if you could type "åäö" in emacs. I haven't gotten it to work in emacs21 (which is what Bubba|2 runs at the moment).

1. Anyone have info on how to get åäö to work with utf8 support in emacs21?

2. Anyone knows how to install emacs23 on Bubba|2? I tried to add the "sid" repository, but it won't accept it.

Thanks!

/Bo
Kiff
Posts: 48
Joined: 08 Feb 2010, 04:09
Location: Norway
Contact:

Re: åäö in emacs, or emacs23

Post by Kiff »

Regarding 2, If you can't find it in any repository and really want it, you can install it from source.

Code: Select all

(as root) apt-get install make gcc g++ libncurses5-dev

Code: Select all

wget http://ftp.gnu.org/pub/gnu/emacs/emacs-23.1.tar.gz
tar -xvf emacs-23.1.tar.gz
cd emacs-23.1

./configure --without-x --without-makeinfo
make
(as root) make install 
The last 3 steps will take some time :)
ryz
Posts: 183
Joined: 12 Feb 2009, 06:03

Re: åäö in emacs, or emacs23

Post by ryz »

To get äöå to work in emacs21 you should add this

Code: Select all

(set-keyboard-coding-system 'mule-utf-8)
in your .emacs file
Post Reply