Page 1 of 1

åäö in emacs, or emacs23

Posted: 15 Apr 2010, 05:06
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

Re: åäö in emacs, or emacs23

Posted: 15 Apr 2010, 09:18
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 :)

Re: åäö in emacs, or emacs23

Posted: 15 Apr 2010, 17:52
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